Home
last modified time | relevance | path

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

/hardware/nxp/nfc/halimpl/utils/
DphNxpConfig.cpp207 string& filePath) { in findConfigFilePathFromTransportConfigPaths() argument
209 filePath.assign(transport_config_paths[i]); in findConfigFilePathFromTransportConfigPaths()
210 filePath += configName; in findConfigFilePathFromTransportConfigPaths()
212 if (stat(filePath.c_str(), &file_stat) == 0 && S_ISREG(file_stat.st_mode)) { in findConfigFilePathFromTransportConfigPaths()
216 filePath.assign(transport_config_paths[transport_config_path_size - 1]); in findConfigFilePathFromTransportConfigPaths()
217 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/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.cpp8961 String8 filePath(timeBuf); in dumpMetadataToFile() local
8968 filePath.append(buf); in dumpMetadataToFile()
8969 int file_fd = open(filePath.string(), O_RDWR | O_CREAT, 0777); in dumpMetadataToFile()