Home
last modified time | relevance | path

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

1234

/test/app_compat/csuite/tools/script/
Dgenerate_module.py106 with open(build_module_template_file_path, 'r') as f:
109 with open(test_module_template_file_path, 'r') as f:
114 with open(package_list_file_path) as fp:
133 with open(filename, 'r') as f:
166 with open(build_module_path, 'w') as f:
169 with open(test_module_path, 'w') 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/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:
Dtensor_utils.py49 with open(save_html_path, 'w') as f:
68 with open(tflite_model_json_path, 'rb') as f:
104 with open(json_path, 'rb') as f:
148 with open(output_file_path, 'w') as f:
187 with open(output_file_path, 'w') as f:
217 with open(file_path, mode='rb') 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-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.py224 with open(
253 with open(downloaded, "r") as f:
327 with open(os.path.join(self._temp_dir, "product_property_contexts"),
403 with open(os.path.join(self._temp_dir, "plat_property_contexts"),
/test/vts-testcase/vndk/golden/
Dextract_lsdump.py81 return gzip.open(file_name, 'rt')
82 return open(file_name, 'r')
240 with lsdump_zip.open(name, mode='r') as lsdump_file:
266 with open(output_path, 'w') 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/kernel/encryption/
Dfile_based_encryption_tests.cpp166 open(mountpoint.c_str(), O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in IsFscryptV2Supported()
262 open(blk_device.c_str(), O_RDONLY | O_DIRECT | O_CLOEXEC)); in ReadRawDataOfFile()
315 open(path.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, 0600)); in WriteTestFile()
398 open(kTestMountpoint, O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in TearDown()
430 open(kTestMountpoint, O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in SetMasterKey()
521 open(kTestDir, O_RDONLY | O_DIRECTORY | O_CLOEXEC)); in SetEncryptionPolicy()
541 open(kTestFile, O_WRONLY | O_CREAT | O_CLOEXEC, 0600)); in SetEncryptionPolicy()
579 android::base::unique_fd fd(open(kTestFile, O_RDONLY | O_CLOEXEC)); in GenerateTestFile()
860 open(path.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, 0600)); in TestEmmcOptimizedDunWraparound()
887 android::base::unique_fd fd(open(path.c_str(), open_flags)); in TestEmmcOptimizedDunWraparound()
/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/utils/python/coverage/
Dcoverage_report_test.py37 with open(gcno_path, 'rb') as file:
40 with open(gcda_path, 'rb') as file:
Dcoverage_utils.py218 cov_zip.open(instrumented_module).read())
347 gcda_content = open(file_name, "rb").read()
381 with open(coverage_report_file, "w+") as f:
551 archive = archive_parser.Archive(cov_zip.open(name).read())
641 open(os.path.join(resource_path, _BUILD_INFO)))[_REPO_DICT]
/test/vts-testcase/kernel/gki/
Dlz4_legacy.cpp44 unique_fd ifd(TEMP_FAILURE_RETRY(open(input, O_RDONLY | O_CLOEXEC))); in Lz4DecompressLegacy()
46 open(output, O_WRONLY | O_CREAT | O_CLOEXEC | O_TRUNC, 0640))); in Lz4DecompressLegacy()
/test/vti/dashboard/src/main/webapp/WEB-INF/jsp/
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_plan_release.jsp75 window.open(link,'_self');
88 window.open(link,'_self');
98 window.open(link,'_self');
Dshow_test_acknowledgments.jsp28 window.open('/', '_self');
31 window.open('/?showAll=true', '_self');
Dshow_table.jsp70 window.open('/show_tree?testName=${testName}&treeDefault=true', '_self');
104 modal.modal('open');
115 window.open(link,'_self');
128 window.open(link,'_self');
141 window.open(link,'_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/runners/adapters/acts/
Dacts_adapter.py108 with open(self.config_path, 'w') as f:
180 with open(result_path, 'r') as f:
/test/vts-testcase/kernel/ltp/
Dtest_cases_parser.py175 with open(filepath, 'r') as f:
194 for line in open(testsuite_script, 'r'):
/test/vti/test_serving/configs/infra/prod/androidtestcenter/scripts/
Dhome_bot_config.py147 with open(props_file, 'r') as f:
300 with open(bot_file, 'wb') as f:
/test/vti/test_serving/configs/infra/test/androidtestcenter-test/scripts/
Dhome_bot_config.py147 with open(props_file, 'r') as f:
300 with open(bot_file, 'wb') as f:
/test/vts-testcase/security/poc/target/kernel_sound/28838221/
Dpoc.cpp27 fd = open(path, O_RDWR); in main()
/test/vts/utils/native/trace_processor/
DVtsCoverageProcessor.cpp111 fout.open(merged_coverage_file); in MergeCoverage()
234 fout.open(result_msg_file); in GetSubsetCoverage()

1234