Home
last modified time | relevance | path

Searched refs:fopen (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/hardware/samsung/nfc/halimpl/src/
Dutil.cc98 if ((file = fopen(CFG_FILE_1, "rb")) == NULL) { in __get_config_int()
100 if ((file = fopen(CFG_FILE_2, "rb")) == NULL) { in __get_config_int()
169 if ((file = fopen(CFG_FILE_1, "rb")) == NULL) { in get_config_string()
171 if ((file = fopen(CFG_FILE_2, "rb")) == NULL) { in get_config_string()
240 if ((file = fopen(CFG_FILE_1, "rb")) == NULL) { in get_config_count()
242 if ((file = fopen(CFG_FILE_2, "rb")) == NULL) { in get_config_count()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Diio_utils.h145 sysfsfp = fopen(filename, "r"); in iioutils_get_type()
230 sysfsfp = fopen(filename, "r"); in iioutils_get_param_float()
310 sysfsfp = fopen(filename, "r"); in build_channel_array()
344 sysfsfp = fopen(filename, "r"); in build_channel_array()
385 sysfsfp = fopen(filename, "r"); in build_channel_array()
445 sysfsfp = fopen(temp, "w"); in _write_sysfs_int()
456 sysfsfp = fopen(temp, "r"); in _write_sysfs_int()
501 sysfsfp = fopen(temp, "w"); in write_sysfs_int64()
527 sysfsfp = fopen(temp, "w"); in _write_sysfs_string()
536 sysfsfp = fopen(temp, "r"); in _write_sysfs_string()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/gesture_test/
Dinv_gesture_test.c119 fp = fopen(filename, "r"); in read_sysfs_int()
139 fp = fopen(filename, "w"); in write_sysfs_int()
260 fp= fopen(mpu.name, "r"); in is_android_hub()
356 fp = fopen(mpu.event_tap, "rt"); in tap_handler()
412 fp = fopen(mpu.pedometer_steps, "rt"); in pedometer_handler()
416 fp = fopen(mpu.pedometer_time, "rt"); in pedometer_handler()
451 fp = fopen(mpu.event_display_orientation, "rt"); in display_orientation_handler()
471 fp = fopen(mpu.event_orientation, "rt"); in host_orientation_handler()
504 fp = fopen(mpu.event_smd, "rt"); in smd_handler()
/hardware/qcom/sm8150/display/libmemtrack/
Dkgsl.c68 fp = fopen(syspath, "r"); in kgsl_memtrack_get_memory()
82 fp = fopen(syspath, "r"); in kgsl_memtrack_get_memory()
99 fp = fopen(syspath, "r"); in kgsl_memtrack_get_memory()
/hardware/qcom/sm7250/display/libmemtrack/
Dkgsl.c68 fp = fopen(syspath, "r"); in kgsl_memtrack_get_memory()
82 fp = fopen(syspath, "r"); in kgsl_memtrack_get_memory()
99 fp = fopen(syspath, "r"); in kgsl_memtrack_get_memory()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/devnode_parser/
Diio_utils.h147 sysfsfp = fopen(filename, "r"); in iioutils_get_type()
232 sysfsfp = fopen(filename, "r"); in iioutils_get_param_float()
311 sysfsfp = fopen(filename, "r"); in build_channel_array()
345 sysfsfp = fopen(filename, "r"); in build_channel_array()
386 sysfsfp = fopen(filename, "r"); in build_channel_array()
448 sysfsfp = fopen(temp, "w"); in _write_sysfs_int()
458 sysfsfp = fopen(temp, "r"); in _write_sysfs_int()
501 sysfsfp = fopen(temp, "w"); in _write_sysfs_string()
511 sysfsfp = fopen(temp, "r"); in _write_sysfs_string()
560 sysfsfp = fopen(temp, "r"); in read_sysfs_posint()
[all …]
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Diio_utils.h147 sysfsfp = fopen(filename, "r"); in iioutils_get_type()
232 sysfsfp = fopen(filename, "r"); in iioutils_get_param_float()
311 sysfsfp = fopen(filename, "r"); in build_channel_array()
345 sysfsfp = fopen(filename, "r"); in build_channel_array()
386 sysfsfp = fopen(filename, "r"); in build_channel_array()
448 sysfsfp = fopen(temp, "w"); in _write_sysfs_int()
458 sysfsfp = fopen(temp, "r"); in _write_sysfs_int()
501 sysfsfp = fopen(temp, "w"); in _write_sysfs_string()
511 sysfsfp = fopen(temp, "r"); in _write_sysfs_string()
560 sysfsfp = fopen(temp, "r"); in read_sysfs_posint()
[all …]
/hardware/invensense/6515/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c103 nameFile = fopen(filename, "r"); in find_type_by_name()
129 if(NULL == (fp = fopen(input, "rt")) ){ in parsing_proc_input()
295 if((fp = fopen(key_path, "rt")) == NULL) in process_sysfs_request()
349 nameFile = fopen(filename, "r"); in find_name_by_sensor_type()
368 nameFile = fopen(filename, "r"); in find_name_by_sensor_type()
381 nameFile = fopen(secondaryFileName, "r"); in find_name_by_sensor_type()
Dml_load_dmp.c294 if ((fp = fopen(dmp_path, "rb")) < 0) { in read_dmp_img()
300 fp = fopen(out_file, "wt"); in read_dmp_img()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/
Dml_sysfs_helper.c95 nameFile = fopen(filename, "r"); in find_type_by_name()
121 if(NULL == (fp = fopen(input, "rt")) ){ in parsing_proc_input()
287 if((fp = fopen(key_path, "rt")) == NULL) in process_sysfs_request()
341 nameFile = fopen(filename, "r"); in find_name_by_sensor_type()
360 nameFile = fopen(filename, "r"); in find_name_by_sensor_type()
373 nameFile = fopen(secondaryFileName, "r"); in find_name_by_sensor_type()
Dml_load_dmp.c259 if ((fp = fopen(dmp_path, "rb")) < 0) { in read_dmp_img()
265 fp = fopen(out_file, "wt"); in read_dmp_img()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c106 fp = fopen(filename, "r"); in read_sysfs_int()
123 fp = fopen(filename, "w"); in write_sysfs_int()
139 fp = fopen(mpu.name, "r"); in android_hub()
284 fptr = fopen(mpu.self_test, "r"); in main()
316 fptr= fopen(MLCAL_FILE, "rb"); in main()
380 fptr = fopen(mpu.self_test, "r"); in main()
451 fptr = fopen(mpu.temperature, "r"); in main()
607 fptr = fopen(MLCAL_FILE, "wb+"); in main()
/hardware/qcom/sm7250/display/libqdutils/
Dqd_utils.cpp64 displayDeviceFP = fopen(msmFbTypePath, "r"); in getExternalNode()
103 connectFile = fopen(connectPath, "rb"); in isDPConnected()
142 configFile = fopen(configPath, "rb"); in getDPTestConfig()
/hardware/qcom/display/msm8909w_3100/libqdutils/
Dqd_utils.cpp63 displayDeviceFP = fopen(msmFbTypePath, "r"); in getExternalNode()
130 fileptr = fopen("/sys/devices/virtual/graphics/fb0/mdp/caps", "rb"); in querySDEInfoFB()
219 connectFile = fopen(connectPath, "rb"); in isDPConnected()
258 configFile = fopen(configPath, "rb"); in getDPTestConfig()
/hardware/qcom/display/msm8909/libqdutils/
Dqd_utils.cpp63 displayDeviceFP = fopen(msmFbTypePath, "r"); in getExternalNode()
130 fileptr = fopen("/sys/devices/virtual/graphics/fb0/mdp/caps", "rb"); in querySDEInfoFB()
219 connectFile = fopen(connectPath, "rb"); in isDPConnected()
258 configFile = fopen(configPath, "rb"); in getDPTestConfig()
/hardware/qcom/display/msm8998/libqdutils/
Dqd_utils.cpp63 displayDeviceFP = fopen(msmFbTypePath, "r"); in getExternalNode()
130 fileptr = fopen("/sys/devices/virtual/graphics/fb0/mdp/caps", "rb"); in querySDEInfoFB()
219 connectFile = fopen(connectPath, "rb"); in isDPConnected()
258 configFile = fopen(configPath, "rb"); in getDPTestConfig()
/hardware/knowles/athletico/sound_trigger_hal/tests/
Dspi_reliability_test.c53 if ((fp = fopen(RANDOM_BYTES_FILE, "rb")) == NULL) { in main()
80 if((odsp_node = fopen(ODSP_NODE, "rw")) == NULL) { in main()
144 fp = fopen("/data/data/getbuf.bin", "wb"); in main()
/hardware/qcom/sm8150/display/libqdutils/
Dqd_utils.cpp64 displayDeviceFP = fopen(msmFbTypePath, "r"); in getExternalNode()
104 connectFile = fopen(connectPath, "rb"); in isDPConnected()
143 configFile = fopen(configPath, "rb"); in getDPTestConfig()
/hardware/libhardware/modules/thermal/
Dthermal.c59 file = fopen(file_name, "r"); in get_temperatures()
95 FILE *file = fopen(CPU_USAGE_FILE, "r"); in get_cpu_usages()
128 cpu_file = fopen(file_name, "r"); in get_cpu_usages()
/hardware/qcom/display/msm8960/libmemtrack/
Dkgsl.c63 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
76 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
/hardware/qcom/display/msm8084/libmemtrack/
Dkgsl.c65 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
78 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
/hardware/qcom/display/msm8226/libmemtrack/
Dkgsl.c65 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
78 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
/hardware/qcom/display/msm8994/libmemtrack/
Dkgsl.c65 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
78 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
/hardware/qcom/display/msm8996/libmemtrack/
Dkgsl.c63 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
76 fp = fopen(tmp, "r"); in kgsl_memtrack_get_memory()
/hardware/qcom/sm8150/thermal/
Dthermal.c53 file = fopen(CPU_PRESENT_FILE, "r"); in get_num_cpus()
99 file = fopen(CPU_USAGE_FILE, "r"); in get_cpu_usages()
136 cpu_file = fopen(file_name, "r"); in get_cpu_usages()

12345678910>>...12