/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/interfaces/automotive/vehicle/tools/ |
D | translate_aidl_enums.py | 50 def __init__(self, file_path, file_name, flag_name): argument 52 self.fileName = file_name 271 file_name = file_path.split('/')[-1][:-5] 273 parser = EnumParser(file_path, file_name, flag_name) 282 + file_name + ".java", 'w') as f: 287 + file_name + "Test.java", 'w') as f: 290 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/nxp/secure_element/snxxx/libese-teq1/nxp-ese/utils/ |
D | ese_config.cpp | 34 const string file_name = "libese-nxp.conf"; in findConfigPath() local 37 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/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/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/google/pixel/preupload_hooks/pixel_json_checker/ |
D | powerhint_config_checker.py | 133 for file_name in powerhint_check_file_paths.keys(): 134 rel_path = os.path.relpath(file_name)
|
D | thermal_config_checker.py | 143 for file_name in thermal_check_file_paths.keys(): 144 rel_path = os.path.relpath(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/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/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/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/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/invensense/6515/libsensors_iio/software/simple_apps/stress_iio/ |
D | stress_iio.c | 296 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/google/camera/common/hal/google_camera_hal/ |
D | camera_device.cc | 51 const std::string& file_name, in MadviseFileForRange() argument 61 file_name + " size=" + std::to_string(target_size_bytes); in MadviseFileForRange()
|
/hardware/synaptics/wlan/synadhd/wifi_hal/ |
D | wifi_logger.cpp | 2796 char file_name[MAX_NV_FILE][FILE_NAME_LEN]; in check_multiple_nvram_clm() local 2807 memset(file_name[i], 0, FILE_NAME_LEN); in check_multiple_nvram_clm() 2810 sprintf(file_name[0], "%s_%s_%s", nvram_clmblob_default_file, hw_revision, hw_sku); in check_multiple_nvram_clm() 2811 sprintf(file_name[1], "%s_%s", nvram_clmblob_default_file, hw_revision); in check_multiple_nvram_clm() 2812 sprintf(file_name[2], "%s_%s", nvram_clmblob_default_file, hw_sku); in check_multiple_nvram_clm() 2813 sprintf(file_name[3], "%s", nvram_clmblob_default_file); in check_multiple_nvram_clm() 2816 result = read_ota_file(file_name[i], buffer, buffer_len); in check_multiple_nvram_clm() 2818 ALOGI("[OTA] %s PATH %s", type == NVRAM ? "NVRAM" : "CLM", file_name[i]); in check_multiple_nvram_clm()
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
D | wifi_logger.cpp | 2904 char file_name[MAX_NV_FILE][FILE_NAME_LEN]; in check_multiple_nvram_clm() local 2919 memset(file_name[i], 0, FILE_NAME_LEN); in check_multiple_nvram_clm() 2922 sprintf(file_name[0], "%s_%s_%s", nvram_clmblob_default_file, hw_revision, hw_sku); in check_multiple_nvram_clm() 2923 sprintf(file_name[1], "%s_%s", nvram_clmblob_default_file, hw_revision); in check_multiple_nvram_clm() 2924 sprintf(file_name[2], "%s_%s", nvram_clmblob_default_file, hw_sku); in check_multiple_nvram_clm() 2925 sprintf(file_name[3], "%s", nvram_clmblob_default_file); in check_multiple_nvram_clm() 2928 result = read_ota_file(file_name[i], buffer, buffer_len); in check_multiple_nvram_clm() 2930 ALOGI("[OTA] %s PATH %s", type == NVRAM ? "NVRAM" : "CLM", file_name[i]); in check_multiple_nvram_clm()
|