Home
last modified time | relevance | path

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

12345

/test/mlts/benchmark/tools/
Dgen_mobilenet_input.py16 img_f64 = np.array(Image.open(filename).resize(size)).astype(np.float) / 128 - 1
17 with open(basename + "_f32.bin", "wb") as f:
20 with open(basename + "_u8.bin", "wb") as f:
/test/vts-testcase/kernel/bow/
DBowTest.cpp75 unique_fd cfd(open("/dev/loop-control", O_RDWR)); in SetUp()
82 unique_fd lfd(open(loop_device_.c_str(), O_RDWR)); in SetUp()
84 unique_fd ffd(open(loop_file_.c_str(), O_RDWR)); in SetUp()
90 unique_fd lfd(open(loop_device_.c_str(), O_RDWR)); in TearDown()
234 open(loop_file.c_str(), O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR)); in PrepareFile()
247 fd_ = unique_fd(open(bow_device_.c_str(), O_RDWR)); in SetUp()
278 fd = unique_fd(open(loop_device_.c_str(), O_RDONLY)); in FindChanged()
280 fd = unique_fd(open(bow_device_.c_str(), O_RDONLY)); in FindChanged()
452 unique_fd fd(open(MOUNT_POINT, O_RDONLY)); in Trim()
/test/framework/harnesses/host_controller/acloud/
Dacloud_client.py129 with open(report_file, 'r') as f:
153 with open(report_file, 'r') as f:
162 with open(report_file, 'r') as f:
200 with open(report_file, 'r') as f:
Dacloud_config.py73 with open(file_path, 'r') as f:
101 with open(file_path, 'w') as f:
/test/vts/script/
Dcreate-test-project.py149 with open(target, 'w') as f:
159 with open(target, 'w') as f:
173 with open(target, 'w') as f:
182 with open(target, 'w') as f:
198 with open(target, 'w') as f:
Dupdate_hal_tests.py42 configure_file = open(configure_path, "r")
61 configure_file = open(configure_path, "r")
/test/app_compat/csuite/tools/script/
Dgenerate_module.py52 with open(package_list_file_path) as fp:
70 with open(filename, 'r') as f:
98 with open(build_module_path, 'w') as f:
101 with open(test_module_path, 'w') as f:
/test/vts-testcase/kernel/ltp/testcase/tools/
Dltp_test_cases.py81 with open(file_path, 'r') as f:
122 for line in open(gen_bp_path, 'r'):
255 with open(output_file, 'w') as f:
271 with open(filepath, 'r') as f:
290 for line in open(testsuite_script, 'r'):
/test/vts/testcases/host/camera_its/
DCameraITSTest.py155 with open(outpath, "w") as fout, open(errpath, "w") as ferr:
160 with open(outpath, "r") as fout, open(errpath, "r") as ferr:
/test/vts-testcase/vndk/golden/
Dextract_lsdump.py80 return gzip.open(file_name, 'rb')
81 return open(file_name, 'rb')
239 with lsdump_zip.open(name, mode="r") as lsdump_file:
265 with open(output_path, 'wb') as output_file:
Dvndk_data.py83 with open(os.path.join(data_file_path, _GOLDEN_DIR,
268 with open(vndk_lib_list_path, "r") as f:
270 with open(vndk_lib_extra_list_path, "r") as f:
/test/vts-testcase/security/system_property/
DVtsTrebleSysPropTest.py167 with open(
191 with open(downloaded, "r") as f:
266 with open(os.path.join(self._temp_dir, "product_property_contexts"),
347 with open(os.path.join(self._temp_dir, "plat_property_contexts"),
357 with open(pub_property_contexts_file_path,
Dvts_treble_sys_prop_test.py223 with open(
249 with open(downloaded, "r") as f:
323 with open(os.path.join(self._temp_dir, "product_property_contexts"),
399 with open(os.path.join(self._temp_dir, "plat_property_contexts"),
/test/vts-testcase/hal/script/build/
Dbuild_rule_gen_utils.py52 with open(file_path, 'r') as existing_file:
58 with open(file_path, 'w') as bp_file:
/test/vts/utils/python/coverage/
Dcoverage_report_test.py37 with open(gcno_path, 'rb') as file:
40 with open(gcda_path, 'rb') as file:
/test/vts/hals/light/bullhead/
Dlights.c64 fd = open(path, O_RDWR); in write_int()
85 fd = open(path, O_RDWR); in write_on_off()
258 .open = open_lights,
/test/vts-testcase/hal/script/
Dupdate_hal_tests.py42 configure_file = open(configure_path, "r")
61 configure_file = open(configure_path, "r")
/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp172 open(mountpoint.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in IsFscryptV2Supported()
267 open(blk_device.c_str(), O_RDONLY | O_DIRECT | O_CLOEXEC)); in ReadRawDataOfFile()
320 open(path.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, 0600)); in WriteTestFile()
403 open(kTestMountpoint, O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in TearDown()
435 open(kTestMountpoint, O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in SetMasterKey()
526 open(kTestDir, O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in SetEncryptionPolicy()
546 open(kTestFile, O_WRONLY | O_CREAT | O_CLOEXEC, 0600)); in SetEncryptionPolicy()
584 android::base::unique_fd fd(open(kTestFile, O_RDONLY | O_CLOEXEC)); in GenerateTestFile()
865 open(path.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, 0600)); in TestEmmcOptimizedDunWraparound()
892 android::base::unique_fd fd(open(path.c_str(), open_flags)); in TestEmmcOptimizedDunWraparound()
/test/vts/testcases/host/verify_dtbo/
DVtsFirmwareDtboVerification.py86 with open(host_dtbo_image, "rb") as file_in:
104 with open(dt_entry_path, "rb") as f:
106 with open(dt_entry_path, "r+b") as f:
/test/vts-testcase/fuzz/kernel/syzkaller/
Dsyzkaller_test_case.py83 with open(self._env['template_cfg'], 'r') as temp:
101 with open(config_file_path, 'w') as config_file:
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
Dshow_plan_release.jsp75 window.open(link,'_self');
88 window.open(link,'_self');
98 window.open(link,'_self');
Dshow_tree.jsp66 window.open('/show_table?testName=${testName}&treeDefault=false', '_self');
80 …ready: function(modal, trigger) { // Callback for Modal open. Modal and trigger parameters availab…
107 $("#halApiList").collapsible('open', index);
140 window.open(link,'_self');
153 window.open(link,'_self');
166 window.open(link,'_self');
Dshow_test_acknowledgments.jsp28 window.open('/', '_self');
31 window.open('/?showAll=true', '_self');
/test/vts/testcases/template/mobly/
Dmobly_test.py117 with open(self.mobly_config_file_path, 'w') as f:
194 with open(path, 'r') as f:
218 with open(result_path, 'r') as stream:
/test/vts/drivers/hal/replayer/
DVtsHidlHalReplayer.cpp44 int fd = open(trace_file.c_str(), O_RDONLY); in ListTestServices()
80 int fd = open(trace_file.c_str(), O_RDONLY); in ReplayTrace()

12345