Home
last modified time | relevance | path

Searched refs:filePath (Results 1 – 20 of 20) 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/google/camera/devices/EmulatedCamera/hwl/tools/
Dparse_bugreport.py35 def storeJsonConfigration(filePath, chars): argument
36 with open(filePath, 'w') as jsonFile:
/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/qcom/sm8150/gps/utils/
DLogBuffer.cpp122 void LogBuffer::dumpToLogFile(string filePath) { in dumpToLogFile() argument
123 ALOGE("Dump GPS log buffer to file: %s", filePath.c_str()); in dumpToLogFile()
125 s.open(filePath, std::fstream::out | std::fstream::app); in dumpToLogFile()
DLogBuffer.h84 void dumpToLogFile(string filePath);
/hardware/qcom/sm7250/gps/utils/
DLogBuffer.cpp122 void LogBuffer::dumpToLogFile(string filePath) { in dumpToLogFile() argument
123 ALOGE("Dump GPS log buffer to file: %s", filePath.c_str()); in dumpToLogFile()
125 s.open(filePath, std::fstream::out | std::fstream::app); in dumpToLogFile()
DLogBuffer.h84 void dumpToLogFile(string filePath);
/hardware/samsung/nfc/halimpl/src/
Dconfig.cpp239 string& filePath) { in findConfigFilePathFromTransportConfigPaths() argument
241 filePath.assign(transport_config_paths[i]); in findConfigFilePathFromTransportConfigPaths()
242 filePath += configName; in findConfigFilePathFromTransportConfigPaths()
244 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFilePathFromTransportConfigPaths()
248 filePath.assign(transport_config_paths[transport_config_path_size - 1]); in findConfigFilePathFromTransportConfigPaths()
249 filePath += configName; in findConfigFilePathFromTransportConfigPaths()
/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/interfaces/audio/core/all-versions/vts/functional/tests/
Dgenerators_tests.cpp52 bool init(const std::string& filePath, const std::string& fileName) { in init()
53 mConfig = std::make_unique<PolicyConfig>(filePath, fileName); in init()
/hardware/nxp/nfc/pn8x/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/nxp/nfc/snxxx/halimpl/utils/
DphNxpConfig.cc243 string& filePath) { in findConfigFilePathFromTransportConfigPaths() argument
246 filePath.assign(transport_config_paths[i]); in findConfigFilePathFromTransportConfigPaths()
247 filePath += configName; in findConfigFilePathFromTransportConfigPaths()
249 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFilePathFromTransportConfigPaths()
253 filePath = ""; in findConfigFilePathFromTransportConfigPaths()
/hardware/google/aemu/base/include/aemu/base/files/
DIniFile.h67 void setBackingFile(std::string_view filePath);
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosDevice.cpp991 char filePath[MAX_DEV_NAME] = {0}; in saveToFile() local
994 snprintf(filePath, MAX_DEV_NAME, in saveToFile()
996 FILE *fp = fopen(filePath, "w"); in saveToFile()
1011 ALOGE("Fail to open %s", filePath); in saveToFile()
/hardware/interfaces/automotive/vehicle/aidl/impl/fake_impl/hardware/src/
DFakeVehicleHardware.cpp1880 std::string filePath = dirPath + "/" + std::string(f->d_name); in loadPropConfigsFromDir() local
1881 ALOGI("loading properties from %s", filePath.c_str()); in loadPropConfigsFromDir()
1882 auto result = mLoader.loadPropConfig(filePath); in loadPropConfigsFromDir()
1884 ALOGE("failed to load config file: %s, error: %s", filePath.c_str(), in loadPropConfigsFromDir()
/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()
/hardware/qcom/camera/msm8998/QCamera2/HAL3/
DQCamera3HWI.cpp9006 String8 filePath(timeBuf); in dumpMetadataToFile() local
9013 filePath.append(buf); in dumpMetadataToFile()
9014 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpMetadataToFile()