Home
last modified time | relevance | path

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

12

/hardware/google/pixel/thermal/utils/
Dthermal_files.cpp45 std::string file_path = getThermalFilePath(std::string_view(thermal_name)); in readThermalFile() local
47 if (file_path.empty()) { in readThermalFile()
51 if (!::android::base::ReadFileToString(file_path, &sensor_reading)) { in readThermalFile()
/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/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/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/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/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/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/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/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/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/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()
/hardware/qcom/audio/post_proc/
Dvolume_listener.c596 char file_path[PATH_MAX]; in resolve_audio_hal_path() local
600 snprintf(file_path, PATH_MAX, "%s/%s", in resolve_audio_hal_path()
602 if (F_OK == access(file_path, mode)) { in resolve_audio_hal_path()
603 strcpy(file_name, file_path); in resolve_audio_hal_path()
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/
Dhw_hdmi.cpp556 char file_path[kMaxStringLength]; in OpenResolutionFile() local
557 memset(file_path, 0, sizeof(file_path)); in OpenResolutionFile()
558 snprintf(file_path , sizeof(file_path), "%s%d/res_info", fb_path_, fb_node_index_); in OpenResolutionFile()
560 int fd = Sys::open_(file_path, file_mode); in OpenResolutionFile()
563 DLOGE("file '%s' not found : ret = %d err str: %s", file_path, fd, strerror(errno)); in OpenResolutionFile()
/hardware/qcom/display/msm8998/sdm/libs/core/fb/
Dhw_hdmi.cpp544 char file_path[kMaxStringLength]; in OpenResolutionFile() local
545 memset(file_path, 0, sizeof(file_path)); in OpenResolutionFile()
546 snprintf(file_path , sizeof(file_path), "%s%d/res_info", fb_path_, fb_node_index_); in OpenResolutionFile()
548 int fd = Sys::open_(file_path, file_mode); in OpenResolutionFile()
551 DLOGE("file '%s' not found : ret = %d err str: %s", file_path, fd, strerror(errno)); in OpenResolutionFile()
/hardware/qcom/display/msm8909/sdm/libs/core/fb/
Dhw_hdmi.cpp573 char file_path[kMaxStringLength]; in OpenResolutionFile() local
574 memset(file_path, 0, sizeof(file_path)); in OpenResolutionFile()
575 snprintf(file_path , sizeof(file_path), "%s%d/res_info", fb_path_, fb_node_index_); in OpenResolutionFile()
577 int fd = Sys::open_(file_path, file_mode); in OpenResolutionFile()
580 DLOGE("file '%s' not found : ret = %d err str: %s", file_path, fd, strerror(errno)); in OpenResolutionFile()
/hardware/qcom/sdm845/display/sdm/libs/core/fb/
Dhw_hdmi.cpp565 char file_path[kMaxStringLength]; in OpenResolutionFile() local
566 memset(file_path, 0, sizeof(file_path)); in OpenResolutionFile()
567 snprintf(file_path , sizeof(file_path), "%s%d/res_info", fb_path_, fb_node_index_); in OpenResolutionFile()
569 int fd = Sys::open_(file_path, file_mode); in OpenResolutionFile()
572 DLOGE("file '%s' not found : ret = %d err str: %s", file_path, fd, strerror(errno)); in OpenResolutionFile()
/hardware/qcom/sdm845/bt/libbt-vendor/src/
Dhw_rome.c822 int rome_get_tlv_file(char *file_path) in rome_get_tlv_file() argument
833 ALOGI("File Open (%s)", file_path); in rome_get_tlv_file()
834 pFile = fopen ( file_path , "r" ); in rome_get_tlv_file()
836 ALOGE("%s File Open Fail", file_path); in rome_get_tlv_file()
/hardware/qcom/bt/msm8909w_3100/libbt-vendor/src/
Dhw_rome.c821 int rome_get_tlv_file(char *file_path) in rome_get_tlv_file() argument
832 ALOGI("File Open (%s)", file_path); in rome_get_tlv_file()
833 pFile = fopen ( file_path , "r" ); in rome_get_tlv_file()
835 ALOGE("%s File Open Fail", file_path); in rome_get_tlv_file()

12