Home
last modified time | relevance | path

Searched refs:file_path (Results 1 – 25 of 38) sorted by relevance

12

/hardware/google/pixel/thermal/pid_1_0/utils/
Dthermal_files.cpp52 std::string file_path = getThermalFilePath(std::string_view(thermal_name)); in readThermalFile() local
56 if (file_path.empty()) { in readThermalFile()
61 if (!::android::base::ReadFileToString(file_path, &sensor_reading)) { in readThermalFile()
72 std::string file_path = in writeCdevFile() local
76 if (!android::base::WriteStringToFile(data.data(), file_path)) { in writeCdevFile()
/hardware/google/pixel/thermal/utils/
Dthermal_files.cpp52 std::string file_path = getThermalFilePath(std::string_view(thermal_name)); in readThermalFile() local
56 if (file_path.empty()) { in readThermalFile()
61 if (!::android::base::ReadFileToString(file_path, &sensor_reading)) { in readThermalFile()
72 std::string file_path = in writeCdevFile() local
76 if (!android::base::WriteStringToFile(data.data(), file_path)) { in writeCdevFile()
/hardware/knowles/athletico/sound_trigger_hal/tests/
Dsetparamblk_test.c127 char file_path[MAX_FILE_PATH_SIZE]; in main() local
135 file_path[0] = '\0'; in main()
163 strcpy(file_path, optarg); in main()
197 if (file_path[0] == '\0') { in main()
249 file_path); in main()
254 file_path); in main()
261 response_data_size_in_words, file_path); in main()
Doslo_data_injection_test.c177 char *file_path = NULL; in main() local
202 file_path = argv[1]; in main()
248 if (stat(file_path, &file_stat) == -1) { in main()
249 fprintf(stderr, "Could not stat file: %s - %s\n", file_path, strerror(errno)); in main()
264 fid = fopen(file_path, "r"); in main()
266 ALOGE("Cannot open '%s' (%s)\n", file_path, strerror(errno)); in main()
267 fprintf(stdout, "Cannot open '%s' (%s)\n", file_path, strerror(errno)); in main()
/hardware/qcom/sdm845/gps/msm8960/utils/
Dloc_target.cpp63 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
69 fp = fopen(file_path, "r" ); in read_a_line()
71 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
79 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/gps/msm8960/utils/
Dloc_target.cpp63 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
69 fp = fopen(file_path, "r" ); in read_a_line()
71 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
79 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/gps/msm8084/utils/
Dloc_target.cpp69 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
75 fp = fopen(file_path, "r" ); in read_a_line()
77 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
85 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/sdm845/gps/msm8084/utils/
Dloc_target.cpp69 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
75 fp = fopen(file_path, "r" ); in read_a_line()
77 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
85 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/gps/msm8994/utils/
Dloc_target.cpp70 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
76 fp = fopen(file_path, "r" ); in read_a_line()
78 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
86 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/sdm845/gps/sdm845/utils/
Dloc_target.cpp68 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
74 fp = fopen(file_path, "r" ); in read_a_line()
76 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
84 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/sm8150p/gps/utils/
Dloc_target.cpp69 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
75 fp = fopen(file_path, "r" ); in read_a_line()
77 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
85 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/sdm845/gps/utils/
Dloc_target.cpp70 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
76 fp = fopen(file_path, "r" ); in read_a_line()
78 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
86 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/gps/utils/
Dloc_target.cpp70 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
76 fp = fopen(file_path, "r" ); in read_a_line()
78 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
86 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/sdm845/gps/msm8994/utils/
Dloc_target.cpp70 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
76 fp = fopen(file_path, "r" ); in read_a_line()
78 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
86 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/sdm845/gps/msm8909/utils/
Dloc_target.cpp71 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
77 fp = fopen(file_path, "r" ); in read_a_line()
79 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
87 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/gps/msm8996/utils/
Dloc_target.cpp71 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
77 fp = fopen(file_path, "r" ); in read_a_line()
79 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
87 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/gps/msm8998/utils/
Dloc_target.cpp71 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
77 fp = fopen(file_path, "r" ); in read_a_line()
79 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
87 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/sdm845/gps/msm8998/utils/
Dloc_target.cpp71 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
77 fp = fopen(file_path, "r" ); in read_a_line()
79 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
87 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/sdm845/gps/msm8996/utils/
Dloc_target.cpp70 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
76 fp = fopen(file_path, "r" ); in read_a_line()
78 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
86 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/sm7150/gps/utils/
Dloc_target.cpp69 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
75 fp = fopen(file_path, "r" ); in read_a_line()
77 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
90 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/sm8150/gps/utils/
Dloc_target.cpp69 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
75 fp = fopen(file_path, "r" ); in read_a_line()
77 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
90 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/gps/msm8909w_3100/utils/
Dloc_target.cpp68 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
74 fp = fopen(file_path, "r" ); in read_a_line()
76 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
84 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/sm7250/gps/utils/
Dloc_target.cpp69 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
75 fp = fopen(file_path, "r" ); in read_a_line()
77 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
90 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/gps/msm8909/utils/
Dloc_target.cpp71 static int read_a_line(const char * file_path, char * line, int line_size) in read_a_line() argument
77 fp = fopen(file_path, "r" ); in read_a_line()
79 LOC_LOGE("open failed: %s: %s\n", file_path, strerror(errno)); in read_a_line()
87 LOC_LOGD("cat %s: %s", file_path, line); in read_a_line()
/hardware/qcom/display/msm8996/sdm/libs/core/fb/
Dhw_hdmi.cpp460 char file_path[kMaxStringLength]; in OpenResolutionFile() local
461 memset(file_path, 0, sizeof(file_path)); in OpenResolutionFile()
462 snprintf(file_path , sizeof(file_path), "%s%d/res_info", fb_path_, fb_node_index_); in OpenResolutionFile()
464 int fd = Sys::open_(file_path, file_mode); in OpenResolutionFile()
467 DLOGE("file '%s' not found : ret = %d err str: %s", file_path, fd, strerror(errno)); in OpenResolutionFile()

12