Home
last modified time | relevance | path

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

/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/bsp/intel/peripheral/libmraa/src/aio/
Daio.c44 char file_path[64] = ""; in aio_get_valid_fp() local
47 snprintf(file_path, 64, "/sys/bus/iio/devices/iio:device0/in_voltage%d_raw", dev->channel); in aio_get_valid_fp()
49 dev->adc_in_fp = open(file_path, O_RDONLY); in aio_get_valid_fp()
51 syslog(LOG_ERR, "aio: Failed to open input raw file %s for reading!", file_path); in aio_get_valid_fp()
/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/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/msm8909/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/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/display/msm8996/sdm/libs/core/fb/
Dhw_hdmi.cpp461 char file_path[kMaxStringLength]; in OpenResolutionFile() local
462 memset(file_path, 0, sizeof(file_path)); in OpenResolutionFile()
463 snprintf(file_path , sizeof(file_path), "%s%d/res_info", fb_path_, fb_node_index_); in OpenResolutionFile()
465 int fd = Sys::open_(file_path, file_mode); in OpenResolutionFile()
468 DLOGE("file '%s' not found : ret = %d err str: %s", file_path, fd, strerror(errno)); in OpenResolutionFile()
/hardware/qcom/bt/msm8992/libbt-vendor/src/
Dhw_rome.c799 int rome_get_tlv_file(char *file_path) in rome_get_tlv_file() argument
810 ALOGI("File Open (%s)", file_path); in rome_get_tlv_file()
811 pFile = fopen ( file_path , "r" ); in rome_get_tlv_file()
813 ALOGE("%s File Open Fail", file_path); in rome_get_tlv_file()
/hardware/qcom/bt/msm8996/libbt-vendor/src/
Dhw_rome.c799 int rome_get_tlv_file(char *file_path) in rome_get_tlv_file() argument
810 ALOGI("File Open (%s)", file_path); in rome_get_tlv_file()
811 pFile = fopen ( file_path , "r" ); in rome_get_tlv_file()
813 ALOGE("%s File Open Fail", file_path); in rome_get_tlv_file()
/hardware/qcom/bt/msm8909/libbt-vendor/src/
Dhw_rome.c817 int rome_get_tlv_file(char *file_path) in rome_get_tlv_file() argument
828 ALOGI("File Open (%s)", file_path); in rome_get_tlv_file()
829 pFile = fopen ( file_path , "r" ); in rome_get_tlv_file()
831 ALOGE("%s File Open Fail", file_path); in rome_get_tlv_file()
/hardware/bsp/intel/peripheral/libmraa/src/x86/
Dintel_edison_fab_c.c310 char file_path[64] = ""; in mraa_intel_edison_aio_get_fp() local
312 snprintf(file_path, 64, "/sys/bus/iio/devices/iio:device1/in_voltage%d_raw", dev->channel); in mraa_intel_edison_aio_get_fp()
314 dev->adc_in_fp = open(file_path, O_RDONLY); in mraa_intel_edison_aio_get_fp()
318 file_path); in mraa_intel_edison_aio_get_fp()