/hardware/knowles/athletico/sound_trigger_hal/tests/ |
D | crash_event_logger.c | 95 char file_name[MAX_FILENAME_LEN] = {0}; in dump_crash_reason() local 101 snprintf(file_name, MAX_FILENAME_LEN, "%s%s%s%s%s", in dump_crash_reason() 106 snprintf(file_name, MAX_FILENAME_LEN, "%s%s%s", in dump_crash_reason() 111 out_fp = fopen(file_name, "w"); in dump_crash_reason() 113 ALOGE("Failed to open %s for writting", file_name); in dump_crash_reason() 132 ALOGI("Crash logs saved to %s", file_name); in dump_crash_reason() 148 char file_name[MAX_FILENAME_LEN] = {0}; in split_crash_dump_buffer() local 179 snprintf(file_name, MAX_FILENAME_LEN, "%s%s%s", in split_crash_dump_buffer() 183 fp = fopen(file_name, "w+"); in split_crash_dump_buffer() 190 ALOGI("Crash logs saved to %s", file_name); in split_crash_dump_buffer() [all …]
|
D | crash_analyzer_defs.h | 203 enum file_name enum
|
/hardware/interfaces/automotive/vehicle/tools/ |
D | translate_aidl_enums.py | 48 def __init__(self, file_path, file_name): argument 50 self.fileName = file_name 209 file_name = file_path.split('/')[-1][:-5] 210 parser = EnumParser(file_path, file_name) 218 + file_name + ".java", 'w') as f: 223 + file_name + "Test.java", 'w') as f: 226 with open(android_top + "/cts/tests/tests/car/src/android/car/cts/" + file_name + "Test.java",
|
D | translate_vehicle_props.py | 143 file_name = sys.argv[1] 144 with open(file_name, 'r') as f:
|
/hardware/libhardware/modules/thermal/ |
D | thermal.c | 40 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/sm8150/thermal/ |
D | thermal.c | 88 char file_name[MAX_LENGTH]; in get_cpu_usages() local 135 snprintf(file_name, MAX_LENGTH, CPU_ONLINE_FILE_FORMAT, cpu_num); in get_cpu_usages() 136 cpu_file = fopen(file_name, "r"); in get_cpu_usages() 139 ALOGE("%s: failed to open file: %s (%s)", __func__, file_name, strerror(errno)); in get_cpu_usages() 145 file_name, strerror(errno)); in get_cpu_usages()
|
D | thermal_common.c | 327 char file_name[MAX_LENGTH]; in read_temperature() local 332 snprintf(file_name, sizeof(file_name), TEMPERATURE_FILE_FORMAT, sensor_num); in read_temperature() 333 ret = read_line_from_file(file_name, buf, sizeof(buf)); in read_temperature()
|
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-test/src/ |
D | mm_qcamera_rdi.c | 45 char file_name[FILENAME_MAX]; in mm_app_rdi_dump_frame() local 50 snprintf(file_name, sizeof(file_name), in mm_app_rdi_dump_frame() 52 file_fd = open(file_name, O_RDWR | O_CREAT, 0777); in mm_app_rdi_dump_frame() 54 LOGE(" cannot open file %s \n", file_name); in mm_app_rdi_dump_frame() 63 LOGD(" dump rdi frame %s", file_name); in mm_app_rdi_dump_frame() 71 char file_name[FILENAME_MAX]; in mm_app_rdi_notify_cb() local 77 snprintf(file_name, sizeof(file_name), "RDI_dump_%d", pme->cam->camera_handle); in mm_app_rdi_notify_cb() 78 mm_app_rdi_dump_frame(frame, file_name, "raw", frame->frame_idx); in mm_app_rdi_notify_cb()
|
D | mm_qcamera_video.c | 291 char file_name[64]; in mm_app_preview_notify_cb() local 292 snprintf(file_name, sizeof(file_name), "P_C%d", pme->cam->camera_handle); in mm_app_preview_notify_cb() 293 mm_app_dump_frame(frame, file_name, "yuv", frame->frame_idx); in mm_app_preview_notify_cb() 315 char file_name[64]; in mm_app_video_notify_cb() local 321 snprintf(file_name, sizeof(file_name), "V_C%d", pme->cam->camera_handle); in mm_app_video_notify_cb() 322 mm_app_dump_frame(frame, file_name, "yuv", frame->frame_idx); in mm_app_video_notify_cb()
|
/hardware/nxp/secure_element/snxxx/libese-spi/p73/utils/ |
D | ese_config.cpp | 35 const string file_name = "libese-nxp.conf"; in findConfigPath() local 38 path.append(file_name); in findConfigPath()
|
D | config.cpp | 109 void ConfigFile::parseFromFile(const std::string& file_name) { in parseFromFile() argument 111 bool config_read = ReadFileToString(file_name, &config); in parseFromFile() 113 LOG(INFO) << "ConfigFile - Parsing file '" << file_name << "'"; in parseFromFile()
|
D | config.h | 62 void parseFromFile(const std::string& file_name);
|
/hardware/st/secure_element/ese-spi-driver/utils-lib/ |
D | ese_config.cc | 37 const string file_name = "libese-hal-st.conf"; in findConfigPath() local 40 path.append(file_name); in findConfigPath()
|
D | config.cc | 85 void ConfigFile::parseFromFile(const std::string& file_name) { in parseFromFile() argument 87 bool config_read = ReadFileToString(file_name, &config); in parseFromFile() 89 LOG(INFO) << "ConfigFile - Parsing file '" << file_name << "'"; in parseFromFile()
|
D | config.h | 42 void parseFromFile(const std::string& file_name);
|
/hardware/nxp/secure_element/pn8x/libese-spi/p73/utils/ |
D | ese_config.cpp | 35 const string file_name = "libese-nxp.conf"; in findConfigPath() local 38 path.append(file_name); in findConfigPath()
|
D | config.cpp | 90 void ConfigFile::parseFromFile(const std::string& file_name) { in parseFromFile() argument 92 bool config_read = ReadFileToString(file_name, &config); in parseFromFile() 94 LOG(INFO) << "ConfigFile - Parsing file '" << file_name << "'"; in parseFromFile()
|
D | config.h | 43 void parseFromFile(const std::string& file_name);
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/mpu_iio/ |
D | mpu_iio.c | 482 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/google/camera/common/hal/aidl_service/ |
D | libc_wrappers.cc | 95 extern "C" int stat(const char* file_name, struct stat* buf) { in stat() argument 98 int ret = real_function(file_name, buf); in stat() 99 ALOGI("stat (%s, %p) == %d", file_name, buf, ret); in stat()
|
/hardware/google/gfxstream/guest/fuchsia/ |
D | releasepackage.py | 91 file_name = "libvulkan_goldfish.so" variable 92 full_name = os.path.join(package_dir, file_name)
|
/hardware/interfaces/wifi/aidl/default/ |
D | wifi.cpp | 38 bool cpioWriteHeader(int out_fd, struct stat& st, const char* file_name, size_t file_name_len) { in cpioWriteHeader() argument 48 PLOG(ERROR) << "Error writing cpio header to file " << file_name; in cpioWriteHeader() 51 if (write(out_fd, file_name, file_name_len) == -1) { in cpioWriteHeader() 52 PLOG(ERROR) << "Error writing filename to file " << file_name; in cpioWriteHeader() 61 PLOG(ERROR) << "Error padding 0s to file " << file_name; in cpioWriteHeader()
|
/hardware/google/gfxstream/third-party/astc-encoder/Source/ |
D | astcenc_diagnostic_trace.h | 130 TraceLog(const char* file_name);
|
D | astcenc_diagnostic_trace.cpp | 38 const char* file_name): in TraceLog() argument 39 m_file(file_name, std::ofstream::out | std::ofstream::binary) in TraceLog()
|
/hardware/qcom/display/msm8909w_3100/sdm/libs/core/fb/ |
D | hw_device.cpp | 802 string file_name = fb_path_ + to_string(device_node) + "/msm_fb_panel_info"; in GetHWPanelNameByNode() local 804 Sys::fstream fs(file_name, fstream::in); in GetHWPanelNameByNode() 825 string file_name = fb_path_ + to_string(device_node) + "/msm_fb_panel_info"; in GetHWPanelInfoByNode() local 827 Sys::fstream fs(file_name, fstream::in); in GetHWPanelInfoByNode() 918 string file_name = fb_path_ + to_string(device_node) + "/msm_fb_type"; in GetHWDisplayPortAndMode() local 920 Sys::fstream fs(file_name, fstream::in); in GetHWDisplayPortAndMode() 922 DLOGW("File not found %s", file_name.c_str()); in GetHWDisplayPortAndMode() 959 string file_name = fb_path_ + to_string(device_node) + "/msm_fb_split"; in GetSplitInfo() local 961 Sys::fstream fs(file_name, fstream::in); in GetSplitInfo() 963 DLOGW("File not found %s", file_name.c_str()); in GetSplitInfo() [all …]
|