/test/app_compat/csuite/tools/script/ |
D | generate_module.py | 106 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/ |
D | BowTest.cpp | 75 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/ |
D | gen_mobilenet_input.py | 16 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:
|
D | tensor_utils.py | 49 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/ |
D | ltp_test_cases.py | 81 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/ |
D | VtsTrebleSysPropTest.py | 167 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,
|
D | vts_treble_sys_prop_test.py | 224 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/ |
D | extract_lsdump.py | 81 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:
|
D | vndk_data.py | 83 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/ |
D | file_based_encryption_tests.cpp | 166 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/ |
D | lights.c | 64 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/ |
D | coverage_report_test.py | 37 with open(gcno_path, 'rb') as file: 40 with open(gcda_path, 'rb') as file:
|
D | coverage_utils.py | 218 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/ |
D | lz4_legacy.cpp | 44 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/ |
D | show_tree.jsp | 66 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');
|
D | show_plan_release.jsp | 75 window.open(link,'_self'); 88 window.open(link,'_self'); 98 window.open(link,'_self');
|
D | show_test_acknowledgments.jsp | 28 window.open('/', '_self'); 31 window.open('/?showAll=true', '_self');
|
D | show_table.jsp | 70 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/ |
D | mobly_test.py | 117 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/ |
D | acts_adapter.py | 108 with open(self.config_path, 'w') as f: 180 with open(result_path, 'r') as f:
|
/test/vts-testcase/kernel/ltp/ |
D | test_cases_parser.py | 175 with open(filepath, 'r') as f: 194 for line in open(testsuite_script, 'r'):
|
/test/vti/test_serving/configs/infra/prod/androidtestcenter/scripts/ |
D | home_bot_config.py | 147 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/ |
D | home_bot_config.py | 147 with open(props_file, 'r') as f: 300 with open(bot_file, 'wb') as f:
|
/test/vts-testcase/security/poc/target/kernel_sound/28838221/ |
D | poc.cpp | 27 fd = open(path, O_RDWR); in main()
|
/test/vts/utils/native/trace_processor/ |
D | VtsCoverageProcessor.cpp | 111 fout.open(merged_coverage_file); in MergeCoverage() 234 fout.open(result_msg_file); in GetSubsetCoverage()
|