Home
last modified time | relevance | path

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

1234

/device/google/cuttlefish_vmm/x86_64-linux-gnu/
DAndroid.bp20 filename: "9p_device.policy",
26 filename: "balloon_device.policy",
32 filename: "battery.policy",
38 filename: "block_device.policy",
44 filename: "block_device_vhost_user.policy",
50 filename: "block_device_vvu.policy",
56 filename: "coiommu.policy",
62 filename: "coiommu_device.policy",
68 filename: "common_device.policy",
74 filename: "cras_audio_device.policy",
[all …]
/device/google/trout/hal/sensors/2.1/
Diio_utils.cpp143 static int check_file(const std::string& filename) { in check_file() argument
145 return stat(filename.c_str(), &info); in check_file()
172 std::string filename = device_dir; in get_sampling_frequency_available() local
173 filename += "/"; in get_sampling_frequency_available()
174 filename += ent->d_name; in get_sampling_frequency_available()
175 ret = sysfs_read_str(filename, &line); in get_sampling_frequency_available()
199 std::string filename = device_dir; in get_sensor_range() local
200 filename += "/"; in get_sensor_range()
201 filename += ent->d_name; in get_sensor_range()
203 ret = sysfs_read_str(filename, &line); in get_sensor_range()
[all …]
/device/google/cuttlefish_vmm/aarch64-linux-gnu/
DAndroid.bp20 filename: "9p_device.policy",
26 filename: "balloon_device.policy",
32 filename: "battery.policy",
38 filename: "block_device.policy",
44 filename: "coiommu_device.policy",
50 filename: "common_device.policy",
56 filename: "cras_audio_device.policy",
62 filename: "cras_snd_device.policy",
68 filename: "fs_device.policy",
74 filename: "gpu_common.policy",
[all …]
/device/generic/opengl-transport/host/commands/emugen/
DApiGen.h36 int readSpec(const std::string & filename);
69 int genOpcodes(const std::string &filename);
70 int genAttributesTemplate(const std::string &filename);
71 int genProcTypes(const std::string &filename, SideType side);
72 int genFuncTable(const std::string &filename, SideType side);
74 int genContext(const std::string &filename, SideType side);
75 int genContextImpl(const std::string &filename, SideType side);
77 int genEntryPoints(const std::string &filename, SideType side);
79 int genEncoderHeader(const std::string &filename);
80 int genEncoderImpl(const std::string &filename);
[all …]
DApiGen.cpp69 int ApiGen::genProcTypes(const std::string &filename, SideType side) in genProcTypes() argument
71 FILE *fp = fopen(filename.c_str(), "wt"); in genProcTypes()
73 perror(filename.c_str()); in genProcTypes()
130 int ApiGen::genFuncTable(const std::string &filename, SideType side) in genFuncTable() argument
132 FILE *fp = fopen(filename.c_str(), "wt"); in genFuncTable()
134 perror(filename.c_str()); in genFuncTable()
161 int ApiGen::genContext(const std::string & filename, SideType side) in genContext() argument
163 FILE *fp = fopen(filename.c_str(), "wt"); in genContext()
165 perror(filename.c_str()); in genContext()
223 int ApiGen::genEntryPoints(const std::string & filename, SideType side) in genEntryPoints() argument
[all …]
/device/google/cuttlefish/host/frontend/webrtc/html_client/
DAndroid.bp23 filename: "client.html",
30 filename: "style.css",
37 filename: "controls.css",
44 filename: "custom.css",
51 filename: "adb.js",
58 filename: "cf_webrtc.js",
65 filename: "app.js",
72 filename: "controls.js",
79 filename: "rootcanal.js",
86 filename: "location.js",
[all …]
/device/google/cuttlefish_prebuilts/bootloader/
DAndroid.bp7 filename: "cvd_rsa2048.avbpubkey",
13 filename: "cvd_rsa4096.avbpubkey",
19 filename: "bootloader.qemu",
26 filename: "bootloader.crosvm",
33 filename: "bootloader.crosvm",
40 filename: "u-boot.bin",
46 filename: "bootloader.qemu",
53 filename: "bootloader.qemu",
60 filename: "bootloader.qemu",
/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/pkg-config/src/
Dlib.rs580 fn extract_lib_from_filename<'a>(target: &str, filename: &'a str) -> Option<&'a str> { in extract_lib_from_filename()
581 fn test_suffixes<'b>(filename: &'b str, suffixes: &[&str]) -> Option<&'b str> { in extract_lib_from_filename()
583 if filename.ends_with(suffix) { in extract_lib_from_filename()
584 return Some(&filename[..filename.len() - suffix.len()]); in extract_lib_from_filename()
603 return test_suffixes(filename, &[".lib"]); in extract_lib_from_filename()
614 if filename.starts_with(prefix) { in extract_lib_from_filename()
615 let filename = &filename[prefix.len()..]; in extract_lib_from_filename() localVariable
616 return test_suffixes(filename, &[".dll.a", ".dll", ".lib", ".a"]); in extract_lib_from_filename()
618 return test_suffixes(filename, &[".dll.a", ".dll", ".lib"]); in extract_lib_from_filename()
621 if filename.starts_with(prefix) { in extract_lib_from_filename()
[all …]
/device/google/sunfish/usb/usb/
DUsb.cpp296 string filename = appendRoleNodeHelper(string(portName.c_str()), PortRole::mode); in switchToDrp() local
299 if (filename != "") { in switchToDrp()
300 fp = fopen(filename.c_str(), "w"); in switchToDrp()
315 string filename = appendRoleNodeHelper(string(portName.c_str()), in_role.getTag()); in switchMode() local
320 if (filename == "") { in switchMode()
325 fp = fopen(filename.c_str(), "w"); in switchMode()
394 string filename = appendRoleNodeHelper(string(in_portName.c_str()), in_role.getTag()); in switchRole() local
399 if (filename == "") { in switchRole()
406 ALOGI("filename write: %s role:%s", filename.c_str(), convertRoletoString(in_role).c_str()); in switchRole()
411 fp = fopen(filename.c_str(), "w"); in switchRole()
[all …]
/device/google/barbet/usb/usb/
DUsb.cpp296 string filename = appendRoleNodeHelper(string(portName.c_str()), PortRole::mode); in switchToDrp() local
299 if (filename != "") { in switchToDrp()
300 fp = fopen(filename.c_str(), "w"); in switchToDrp()
315 string filename = appendRoleNodeHelper(string(portName.c_str()), in_role.getTag()); in switchMode() local
320 if (filename == "") { in switchMode()
325 fp = fopen(filename.c_str(), "w"); in switchMode()
394 string filename = appendRoleNodeHelper(string(in_portName.c_str()), in_role.getTag()); in switchRole() local
399 if (filename == "") { in switchRole()
406 ALOGI("filename write: %s role:%s", filename.c_str(), convertRoletoString(in_role).c_str()); in switchRole()
411 fp = fopen(filename.c_str(), "w"); in switchRole()
[all …]
/device/google/redfin/usb/usb/
DUsb.cpp296 string filename = appendRoleNodeHelper(string(portName.c_str()), PortRole::mode); in switchToDrp() local
299 if (filename != "") { in switchToDrp()
300 fp = fopen(filename.c_str(), "w"); in switchToDrp()
315 string filename = appendRoleNodeHelper(string(portName.c_str()), in_role.getTag()); in switchMode() local
320 if (filename == "") { in switchMode()
325 fp = fopen(filename.c_str(), "w"); in switchMode()
394 string filename = appendRoleNodeHelper(string(in_portName.c_str()), in_role.getTag()); in switchRole() local
399 if (filename == "") { in switchRole()
406 ALOGI("filename write: %s role:%s", filename.c_str(), convertRoletoString(in_role).c_str()); in switchRole()
411 fp = fopen(filename.c_str(), "w"); in switchRole()
[all …]
/device/google/coral/usb/usb/
DUsb.cpp296 string filename = appendRoleNodeHelper(string(portName.c_str()), PortRole::mode); in switchToDrp() local
299 if (filename != "") { in switchToDrp()
300 fp = fopen(filename.c_str(), "w"); in switchToDrp()
315 string filename = appendRoleNodeHelper(string(portName.c_str()), in_role.getTag()); in switchMode() local
320 if (filename == "") { in switchMode()
325 fp = fopen(filename.c_str(), "w"); in switchMode()
394 string filename = appendRoleNodeHelper(string(in_portName.c_str()), in_role.getTag()); in switchRole() local
399 if (filename == "") { in switchRole()
406 ALOGI("filename write: %s role:%s", filename.c_str(), convertRoletoString(in_role).c_str()); in switchRole()
411 fp = fopen(filename.c_str(), "w"); in switchRole()
[all …]
/device/google/coral/json-c/
Djson_util.c67 struct json_object* json_object_from_file(const char *filename) in json_object_from_file() argument
74 if((fd = open(filename, O_RDONLY)) < 0) { in json_object_from_file()
76 filename, strerror(errno)); in json_object_from_file()
90 filename, strerror(errno)); in json_object_from_file()
101 int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags) in json_object_to_file_ext() argument
112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { in json_object_to_file_ext()
114 filename, strerror(errno)); in json_object_to_file_ext()
129 filename, strerror(errno)); in json_object_to_file_ext()
143 int json_object_to_file(const char *filename, struct json_object *obj) in json_object_to_file() argument
145 return json_object_to_file_ext(filename, obj, JSON_C_TO_STRING_PLAIN); in json_object_to_file()
/device/google/sunfish/json-c/
Djson_util.c67 struct json_object* json_object_from_file(const char *filename) in json_object_from_file() argument
74 if((fd = open(filename, O_RDONLY)) < 0) { in json_object_from_file()
76 filename, strerror(errno)); in json_object_from_file()
90 filename, strerror(errno)); in json_object_from_file()
101 int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags) in json_object_to_file_ext() argument
112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { in json_object_to_file_ext()
114 filename, strerror(errno)); in json_object_to_file_ext()
129 filename, strerror(errno)); in json_object_to_file_ext()
143 int json_object_to_file(const char *filename, struct json_object *obj) in json_object_to_file() argument
145 return json_object_to_file_ext(filename, obj, JSON_C_TO_STRING_PLAIN); in json_object_to_file()
/device/google/redbull/json-c/
Djson_util.c67 struct json_object* json_object_from_file(const char *filename) in json_object_from_file() argument
74 if((fd = open(filename, O_RDONLY)) < 0) { in json_object_from_file()
76 filename, strerror(errno)); in json_object_from_file()
90 filename, strerror(errno)); in json_object_from_file()
101 int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags) in json_object_to_file_ext() argument
112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { in json_object_to_file_ext()
114 filename, strerror(errno)); in json_object_to_file_ext()
129 filename, strerror(errno)); in json_object_to_file_ext()
143 int json_object_to_file(const char *filename, struct json_object *obj) in json_object_to_file() argument
145 return json_object_to_file_ext(filename, obj, JSON_C_TO_STRING_PLAIN); in json_object_to_file()
/device/google/cuttlefish/host/commands/secure_env/
Djson_serializable.cpp87 const std::string& filename, in WriteProtectedJsonToFile() argument
109 std::ofstream file_stream(filename, std::ios::trunc | std::ios::binary); in WriteProtectedJsonToFile()
112 LOG(ERROR) << "Failed to save data to " << filename; in WriteProtectedJsonToFile()
119 TpmResourceManager& resource_manager, const std::string& filename) { in ReadProtectedJsonFromFile() argument
120 std::ifstream file_stream(filename, std::ios::binary | std::ios::ate); in ReadProtectedJsonFromFile()
125 LOG(VERBOSE) << "File " << filename << " was empty."; in ReadProtectedJsonFromFile()
131 LOG(ERROR) << "Unable to read from " << filename; in ReadProtectedJsonFromFile()
135 LOG(ERROR) << "Unable to read from " << filename; in ReadProtectedJsonFromFile()
152 LOG(ERROR) << "Failed to deserialize json data from " << filename; in ReadProtectedJsonFromFile()
/device/google/cuttlefish/host/frontend/webrtc_operator/
DAndroid.bp66 filename: "index.html",
73 filename: "index.css",
80 filename: "index.js",
87 filename: "server_connector.js",
94 filename: "server.crt",
101 filename: "server.key",
108 filename: "server.p12",
115 filename: "trusted.pem",
/device/google/gs201/usb/usb/
DUsb.cpp403 string filename = appendRoleNodeHelper(string(portName.c_str()), PortRole::mode); in switchToDrp() local
406 if (filename != "") { in switchToDrp()
407 fp = fopen(filename.c_str(), "w"); in switchToDrp()
422 string filename = appendRoleNodeHelper(string(portName.c_str()), in_role.getTag()); in switchMode() local
427 if (filename == "") { in switchMode()
432 fp = fopen(filename.c_str(), "w"); in switchMode()
585 string filename = appendRoleNodeHelper(string(in_portName.c_str()), in_role.getTag()); in switchRole() local
590 if (filename == "") { in switchRole()
597 ALOGI("filename write: %s role:%s", filename.c_str(), convertRoletoString(in_role).c_str()); in switchRole()
602 fp = fopen(filename.c_str(), "w"); in switchRole()
[all …]
/device/google/gs101/usb/usb/
DUsb.cpp454 string filename = appendRoleNodeHelper(string(portName.c_str()), PortRole::mode); in switchToDrp() local
457 if (filename != "") { in switchToDrp()
458 fp = fopen(filename.c_str(), "w"); in switchToDrp()
473 string filename = appendRoleNodeHelper(string(portName.c_str()), in_role.getTag()); in switchMode() local
478 if (filename == "") { in switchMode()
483 fp = fopen(filename.c_str(), "w"); in switchMode()
576 string filename = appendRoleNodeHelper(string(in_portName.c_str()), in_role.getTag()); in switchRole() local
581 if (filename == "") { in switchRole()
588 ALOGI("filename write: %s role:%s", filename.c_str(), convertRoletoString(in_role).c_str()); in switchRole()
593 fp = fopen(filename.c_str(), "w"); in switchRole()
[all …]
/device/google/caimito/radio/komodo/coex/
DAndroid.bp25 filename: "camera_front_mipi_coex_table.csv",
33 filename: "camera_rear_main_dbr_coex_table.csv",
41 filename: "camera_rear_main_mipi_coex_table.csv",
49 filename: "camera_rear_tele_mipi_coex_table.csv",
57 filename: "camera_rear_wide_mipi_coex_table.csv",
65 filename: "display_primary_mipi_coex_table.csv",
73 filename: "display_primary_ssc_coex_table.csv",
/device/google/coral/pixelstats/
Dservice.cpp32 #define MAXIM_DIR(filename) "/sys/class/power_supply/maxfg/" #filename argument
33 #define UFSHC_PATH(filename) "/dev/sys/block/bootdevice/" #filename argument
34 #define UFSHC_HEALTH_PATH(filename) "/dev/sys/block/bootdevice/health/" #filename argument
/device/linaro/dragonboard/shared/utils/tqftpserv/
Dtqftpserv.c202 const char *filename; in handle_rrq() local
220 filename = p; in handle_rrq()
232 printf("[TQFTP] RRQ: %s (%s)\n", filename, mode); in handle_rrq()
276 fd = translate_open(filename, O_RDONLY); in handle_rrq()
278 printf("[TQFTP] unable to open %s (%d), reject\n", filename, errno); in handle_rrq()
315 const char *filename; in handle_wrq() local
321 filename = buf + 2; in handle_wrq()
322 mode = buf + 2 + strlen(filename) + 1; in handle_wrq()
330 printf("[TQFTP] WRQ: %s (%s)\n", filename, mode); in handle_wrq()
332 fd = translate_open(filename, O_WRONLY | O_CREAT); in handle_wrq()
[all …]
/device/google/cuttlefish/host/commands/start/
Dflag_forwarder.cc83 const std::string& help, const std::string& filename, in DynamicFlag() argument
85 : SubprocessFlag(subprocess, name), help_(help), filename_(filename), in DynamicFlag()
158 flag_info.filename, in MakeDynamicFlag()
164 flag_info.filename, in MakeDynamicFlag()
170 flag_info.filename, in MakeDynamicFlag()
176 flag_info.filename, in MakeDynamicFlag()
182 flag_info.filename, in MakeDynamicFlag()
188 flag_info.filename, in MakeDynamicFlag()
194 flag_info.filename, in MakeDynamicFlag()
224 flag_info.filename = xmlContent(xmlChildWithName(flag, "file")); in FlagsForSubprocess()
/device/google/caimito/radio/caiman/coex/
DAndroid.bp25 filename: "camera_front_mipi_coex_table.csv",
33 filename: "camera_rear_main_dbr_coex_table.csv",
41 filename: "camera_rear_main_mipi_coex_table.csv",
49 filename: "camera_rear_tele_mipi_coex_table.csv",
57 filename: "camera_rear_wide_mipi_coex_table.csv",
65 filename: "display_primary_mipi_coex_table.csv",
/device/google/caimito/radio/tokay/coex/
DAndroid.bp25 filename: "camera_front_dbr_coex_table.csv",
33 filename: "camera_front_mipi_coex_table.csv",
41 filename: "camera_rear_main_mipi_coex_table.csv",
49 filename: "camera_rear_wide_mipi_coex_table.csv",
57 filename: "display_primary_mipi_coex_table.csv",
65 filename: "display_primary_ssc_coex_table.csv",

1234