Home
last modified time | relevance | path

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

/hardware/libhardware/modules/thermal/
Dthermal.c40 char file_name[MAX_LENGTH]; in get_temperatures() local
58 snprintf(file_name, MAX_LENGTH, "%s/%s/temp", TEMPERATURE_DIR, de->d_name); in get_temperatures()
59 file = fopen(file_name, "r"); in get_temperatures()
93 char file_name[MAX_LENGTH]; in get_cpu_usages() local
127 snprintf(file_name, MAX_LENGTH, CPU_ONLINE_FILE_FORMAT, cpu_num); in get_cpu_usages()
128 cpu_file = fopen(file_name, "r"); in get_cpu_usages()
131 ALOGE("%s: failed to open file: %s (%s)", __func__, file_name, strerror(errno)); in get_cpu_usages()
137 file_name, strerror(errno)); in get_cpu_usages()
/hardware/qcom/camera/QCamera2/stack/mm-camera-test/src/
Dmm_qcamera_rdi.c44 char file_name[FILENAME_MAX]; in mm_app_rdi_dump_frame() local
49 snprintf(file_name, sizeof(file_name), in mm_app_rdi_dump_frame()
51 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); in mm_app_rdi_dump_frame()
53 LOGE(" cannot open file %s \n", file_name); in mm_app_rdi_dump_frame()
62 LOGD(" dump rdi frame %s", file_name); in mm_app_rdi_dump_frame()
70 char file_name[FILENAME_MAX]; in mm_app_rdi_notify_cb() local
76 snprintf(file_name, sizeof(file_name), "RDI_dump_%d", pme->cam->camera_handle); in mm_app_rdi_notify_cb()
77 mm_app_rdi_dump_frame(frame, file_name, "raw", frame->frame_idx); in mm_app_rdi_notify_cb()
Dmm_qcamera_video.c37 char file_name[64]; in mm_app_video_notify_cb() local
43 snprintf(file_name, sizeof(file_name), "V_C%d", pme->cam->camera_handle); in mm_app_video_notify_cb()
44 mm_app_dump_frame(frame, file_name, "yuv", frame->frame_idx); in mm_app_video_notify_cb()
Dmm_qcamera_app.c247 char file_name[FILENAME_MAX]; in mm_app_dump_frame() local
252 snprintf(file_name, sizeof(file_name), in mm_app_dump_frame()
254 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); in mm_app_dump_frame()
256 LOGE("cannot open file %s \n", file_name); in mm_app_dump_frame()
269 LOGD("dump %s", file_name); in mm_app_dump_frame()
Dmm_qcamera_preview.c301 char file_name[64]; in mm_app_preview_notify_cb() local
302 snprintf(file_name, sizeof(file_name), "P_C%d", pme->cam->camera_handle); in mm_app_preview_notify_cb()
303 mm_app_dump_frame(frame, file_name, "yuv", frame->frame_idx); in mm_app_preview_notify_cb()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/test/
Dy4m_video_source.h23 Y4mVideoSource(const std::string &file_name, in Y4mVideoSource() argument
25 : file_name_(file_name), in Y4mVideoSource()
Divf_video_source.h31 explicit IVFVideoSource(const std::string &file_name) in IVFVideoSource() argument
32 : file_name_(file_name), in IVFVideoSource()
Di420_video_source.h24 I420VideoSource(const std::string &file_name, in I420VideoSource() argument
28 : file_name_(file_name), in I420VideoSource()
Dvideo_source.h48 static FILE *OpenTestDataFile(const std::string& file_name) { in OpenTestDataFile() argument
49 const std::string path_to_source = GetDataPath() + "/" + file_name; in OpenTestDataFile()
Dwebm_video_source.h76 explicit WebMVideoSource(const std::string &file_name) in WebMVideoSource() argument
77 : file_name_(file_name), in WebMVideoSource()
/hardware/intel/common/libva/va/
Dva_fool.c271 char file_name[1024]; in va_FoolFillCodedBufEnc() local
278 snprintf(file_name, 1024, "%s.%d", in va_FoolFillCodedBufEnc()
282 if ((fd = open(file_name, O_RDONLY)) != -1) { in va_FoolFillCodedBufEnc()
294 va_errorMessage("Open file %s failed:%s\n", file_name, strerror(errno)); in va_FoolFillCodedBufEnc()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/
Dmpu_iio.c482 char file_name[100]; in init_dmp_event_fds() local
487 sprintf(file_name, "%s/%s", dev_dir_name, dmp_feat[i].sysfs_name); in init_dmp_event_fds()
488 pollfds[j].fd = open(file_name, O_RDONLY | O_NONBLOCK); in init_dmp_event_fds()
490 printf("Err: cannot open requested event file '%s'\n", file_name); in init_dmp_event_fds()
492 printf("INFO: opened event node '%s'\n", file_name); in init_dmp_event_fds()
530 char file_name[200]; in poll_dmp_event_fds() local
533 sprintf(file_name, "%s/%s", in poll_dmp_event_fds()
535 FILE *fp = fopen(file_name, "rt"); in poll_dmp_event_fds()
/hardware/libhardware/tests/camera2/
DTestForkerEventListener.cpp80 test_part_result.file_name(), in OnTestPartResult()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/examples/
Dvpx_temporal_scalable_patterns.c552 char file_name[PATH_MAX]; in main() local
560 snprintf(file_name, sizeof(file_name), "%s_%d.ivf", argv[2], i); in main()
561 outfile[i] = vpx_video_writer_open(file_name, kContainerIVF, &info); in main()
563 die("Failed to open %s for writing", file_name); in main()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/
Dstress_iio.c296 char file_name[100]; in get_dmp_event() local
306 sprintf(file_name, "%s/%s", dev_dir_name, event_file[i].fname); in get_dmp_event()
307 pfd[i].fd = open(file_name, O_RDONLY | O_NONBLOCK); in get_dmp_event()
320 sprintf(file_name, "%s/%s", dev_dir_name, event_file[i].fname); in get_dmp_event()
321 fp = fopen(file_name, "rt"); in get_dmp_event()
/hardware/qcom/audio/legacy/libalsa-intf/
Dalsa_ucm.c2125 char *p = NULL, *verb_name = NULL, *file_name = NULL, *temp_ptr = NULL; in second_stage_parsing_thread() local
2198 file_name = (char *)malloc((strlen(p)+1)*sizeof(char)); in second_stage_parsing_thread()
2199 if(file_name == NULL) { in second_stage_parsing_thread()
2203 strlcpy(file_name, p, (strlen(p)+1)*sizeof(char)); in second_stage_parsing_thread()
2207 if (file_name != NULL) { in second_stage_parsing_thread()
2208 ret = snd_ucm_parse_verb(uc_mgr, file_name, index); in second_stage_parsing_thread()
2228 free(file_name); in second_stage_parsing_thread()
2229 file_name = NULL; in second_stage_parsing_thread()
2245 if (file_name != NULL) { in second_stage_parsing_thread()
2246 free(file_name); in second_stage_parsing_thread()
[all …]
Dmsm8960_use_cases.h296 static int snd_ucm_parse_verb(snd_use_case_mgr_t **uc_mgr, const char *file_name, int index);
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/test/
Dmm_jpeg_test.c473 char file_name[64]; in encode_test() local
529 snprintf(file_name, sizeof(file_name), "%s_%d.jpg", in encode_test()
532 jpeg_obj->clinet_id, file_name); in encode_test()
534 DUMP_TO_FILE(file_name, jpeg_obj->output[i].addr, in encode_test()
/hardware/qcom/display/msm8996/sdm/libs/utils/
Dsys.cpp62 extern int virtual_open(const char *file_name, int access, ...);
/hardware/bsp/intel/peripheral/libupm/src/nrf8001/
Daci_evts.h132 uint8_t file_name[20]; member
Dacilib.cxx491 …memcpy((uint8_t *)p_aci_evt_params_hw_error->file_name, (buffer_in + OFFSET_ACI_EVT_T_HW_ERROR + O… in acil_decode_evt_hw_error()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/test/
Dvideo_encoder_test.c71 char *file_name = NULL; in main() local
77 file_name = argv [1]; in main()
78 file_ptr = fopen (file_name,"rb"); in main()
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/vdec/test/
Ddecoder_driver_test.c72 char *file_name = NULL; in main() local
78 file_name = argv [1]; in main()
79 file_ptr = fopen (file_name,"rb"); in main()
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/vdec/test/
Ddecoder_driver_test.c72 char *file_name = NULL; in main() local
78 file_name = argv [1]; in main()
79 file_ptr = fopen (file_name,"rb"); in main()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/third_party/googletest/src/include/gtest/
Dgtest.h17119 const char* file_name() const {
18650 const char* file_name,