/hardware/google/pixel/pwrstats_util/ |
D | pwrstats_util.cpp | 46 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/ |
D | config.cpp | 146 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/ |
D | LogBuffer.cpp | 117 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()
|
D | LogBuffer.h | 84 void dumpToLogFile(string filePath);
|
/hardware/qcom/sm7150/gps/utils/ |
D | LogBuffer.cpp | 117 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()
|
D | LogBuffer.h | 84 void dumpToLogFile(string filePath);
|
/hardware/google/camera/devices/EmulatedCamera/hwl/tools/ |
D | parse_bugreport.py | 35 def storeJsonConfigration(filePath, chars): argument 36 with open(filePath, 'w') as jsonFile:
|
/hardware/interfaces/power/stats/1.0/default/ |
D | PowerStats.cpp | 52 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/ |
D | config.cpp | 147 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/ |
D | phNxpConfig.cpp | 217 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/ |
D | QCamera2HWICallbacks.cpp | 2823 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()
|