Home
last modified time | relevance | path

Searched refs:filePath (Results 1 – 11 of 11) sorted by relevance

/hardware/google/pixel/pwrstats_util/
Dpwrstats_util.cpp46 std::string filePath; member in Options
73 opt.filePath = std::string(optarg); in parseArgs()
188 std::ofstream myfile(opt.filePath, std::ios::out | std::ios::binary); in daemon()
/hardware/st/nfc/1.0/adaptation/
Dconfig.cpp146 string& filePath) { in findConfigFile() argument
148 filePath.assign(transport_config_paths[i]); in findConfigFile()
149 filePath += configName; in findConfigFile()
151 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFile()
155 filePath.assign(transport_config_paths[transport_config_path_size - 1]); in findConfigFile()
156 filePath += configName; in findConfigFile()
/hardware/qcom/sm8150/gps/utils/
DLogBuffer.cpp117 void LogBuffer::dumpToLogFile(string filePath) { in dumpToLogFile() argument
118 ALOGE("Dump GPS log buffer to file: %s", filePath.c_str()); in dumpToLogFile()
120 s.open(filePath, std::fstream::out | std::fstream::app); in dumpToLogFile()
DLogBuffer.h84 void dumpToLogFile(string filePath);
/hardware/qcom/sm7150/gps/utils/
DLogBuffer.cpp117 void LogBuffer::dumpToLogFile(string filePath) { in dumpToLogFile() argument
118 ALOGE("Dump GPS log buffer to file: %s", filePath.c_str()); in dumpToLogFile()
120 s.open(filePath, std::fstream::out | std::fstream::app); in dumpToLogFile()
DLogBuffer.h84 void dumpToLogFile(string filePath);
/hardware/google/camera/devices/EmulatedCamera/hwl/tools/
Dparse_bugreport.py35 def storeJsonConfigration(filePath, chars): argument
36 with open(filePath, 'w') as jsonFile:
/hardware/interfaces/power/stats/1.0/default/
DPowerStats.cpp52 char filePath[MAX_FILE_PATH_LEN]; in findIioPowerMonitorNodes() local
62 snprintf(filePath, MAX_FILE_PATH_LEN, "%s/%s", ent->d_name, "name"); in findIioPowerMonitorNodes()
63 fd = openat(dirfd(iioDir), filePath, O_RDONLY); in findIioPowerMonitorNodes()
65 ALOGW("Failed to open directory: %s", filePath); in findIioPowerMonitorNodes()
69 ALOGW("Failed to read device name from file: %s(%d)", filePath, fd); in findIioPowerMonitorNodes()
75 snprintf(filePath, MAX_FILE_PATH_LEN, "%s/%s", kIioDirRoot, ent->d_name); in findIioPowerMonitorNodes()
76 mPm.devicePaths.push_back(filePath); in findIioPowerMonitorNodes()
/hardware/st/nfc/st21nfc/adaptation/
Dconfig.cpp147 bool findConfigFile(const string& configName, string& filePath) { in findConfigFile() argument
150 filePath.assign(transport_config_paths[i]); in findConfigFile()
151 filePath += configName; in findConfigFile()
153 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFile()
157 filePath = ""; in findConfigFile()
/hardware/nxp/nfc/halimpl/utils/
DphNxpConfig.cpp217 string& filePath) { in findConfigFilePathFromTransportConfigPaths() argument
220 filePath.assign(transport_config_paths[i]); in findConfigFilePathFromTransportConfigPaths()
221 filePath += configName; in findConfigFilePathFromTransportConfigPaths()
223 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFilePathFromTransportConfigPaths()
227 filePath = ""; in findConfigFilePathFromTransportConfigPaths()
/hardware/qcom/camera/msm8998/QCamera2/HAL/
DQCamera2HWICallbacks.cpp2823 String8 filePath(timeBuf); in dumpMetadataToFile() local
2825 filePath.append(buf); in dumpMetadataToFile()
2826 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpMetadataToFile()
2959 String8 filePath(timeBuf); in dumpFrameToFile() local
3027 filePath.append(buf); in dumpFrameToFile()
3028 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpFrameToFile()
3063 strlcpy(m_BackendFileName, filePath.string(), QCAMERA_MAX_FILEPATH_LENGTH); in dumpFrameToFile()