Home
last modified time | relevance | path

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

12345678

/tools/repohooks/tools/
Dandroid_test_mapping_format_unittest.py200 with open(self.test_mapping_file, 'w') as f:
202 with open(self.test_mapping_file, 'r') as f:
207 with open(self.test_mapping_file, 'w') as f:
209 with open(self.test_mapping_file, 'r') as f:
216 with open(self.test_mapping_file, 'w') as f:
218 with open(self.test_mapping_file, 'r') as f:
226 with open(self.test_mapping_file, 'w') as f:
228 with open(self.test_mapping_file, 'r') as f:
236 with open(self.test_mapping_file, 'w') as f:
238 with open(self.test_mapping_file, 'r') as f:
[all …]
/tools/metalava/
DREADME.md403 open class ComparisonVisitor {
404 open fun compare(old: Item, new: Item) {}
405 open fun added(item: Item) {}
406 open fun removed(item: Item) {}
408 open fun compare(old: PackageItem, new: PackageItem) { }
409 open fun compare(old: ClassItem, new: ClassItem) { }
410 open fun compare(old: MethodItem, new: MethodItem) { }
411 open fun compare(old: FieldItem, new: FieldItem) { }
412 open fun compare(old: ParameterItem, new: ParameterItem) { }
414 open fun added(item: PackageItem) { }
[all …]
/tools/apkzlib/src/test/java/com/android/tools/build/apkzlib/zip/
DZFileNotificationTest.java40 public int open; field in ZFileNotificationTest.KeepListener
54 public IOExceptionRunnable open() { in open() method in ZFileNotificationTest.KeepListener
55 open++; in open()
92 open = 0; in reset()
101 assertEquals(0, open); in assertClear()
198 assertEquals(1, kl.open); in notifyOpenUpdateClose()
199 kl.open = 0; in notifyOpenUpdateClose()
222 assertEquals(1, kl.open); in notifyOpenUpdate()
223 kl.open = 0; in notifyOpenUpdate()
/tools/test/openhst/
Dstress_test.py150 with open(bugreport, "rb") as fp:
233 self.output_fp = open(output, "w")
565 with open(os.path.join(self.output_root,
676 with open(bugreport, "w") as bugreport_fp:
682 with open(bugreport_txt, "w") as bugreport_fp:
697 with open(os.path.join(self.output_root, self.name,
765 wavefile = wave.open(audio_tempfile, "wb")
815 text_format.PrintMessage(stress_test_info, open(os.path.join(
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py255 with open(_GIT_COMMIT_ID_JSON, 'r') as jsfile:
410 with open(_GOLDEN_SAMPLES_JSON, 'r') as infile:
417 with open(_GOLDEN_SAMPLES_JSON, 'w') as outfile:
437 with open(_GOLDEN_SAMPLES_JSON, 'r') as outfile:
593 with open(verified_file_path, 'r') as jsfile:
660 with open(path, encoding='utf8') as template:
/tools/asuite/atest/
Datest_utils.py421 with open(result_path) as json_file:
453 with open(result_path, 'w') as outfile:
544 with open(cache_path, 'wb') as test_info_cache_file:
569 with open(cache_file, 'rb') as config_dictionary_file:
691 with zip_file.open(filename) as extract_file:
801 with open(path, 'rb') as proto_file:
/tools/tradefederation/core/atest/tools/
Datest_tools_unittest.py73 with open(uc.CLASS_INDEX, 'rb') as cache:
77 with open(uc.CC_CLASS_INDEX, 'rb') as cache:
81 with open(uc.PACKAGE_INDEX, 'rb') as cache:
85 with open(uc.QCLASS_INDEX, 'rb') as cache:
90 with open(uc.MODULE_INDEX, 'rb') as cache:
/tools/asuite/atest/tools/
Datest_tools_unittest.py76 with open(uc.CLASS_INDEX, 'rb') as cache:
80 with open(uc.CC_CLASS_INDEX, 'rb') as cache:
84 with open(uc.PACKAGE_INDEX, 'rb') as cache:
88 with open(uc.QCLASS_INDEX, 'rb') as cache:
93 with open(uc.MODULE_INDEX, 'rb') as cache:
Datest_tools.py173 with open(dump_file, 'wb') as cache_file:
232 with open(index, 'wb') as cache:
306 with open(index, 'wb') as cache_file:
418 with open(report_file, 'r') as rfile:
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py188 with open(test_path) as class_file:
209 with open(test_path) as class_file:
226 with open(file_name) as data:
256 with open(test_path) as test_file:
430 with open(FIND_INDEXES[ref_type], 'rb') as index:
656 with open(full_push_file_path) as f:
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils.py181 with open(test_path) as class_file:
202 with open(test_path) as class_file:
219 with open(file_name) as data:
249 with open(test_path) as test_file:
422 with open(FIND_INDEXES[ref_type], 'rb') as index:
645 with open(full_push_file_path) as f:
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dlogserial.py210 self.open()
247 self.open()
262 def open(self): member in LogSerial
267 self.connection_handle.open()
333 with open(path, 'a') as log_file:
/tools/acloud/internal/lib/
Dutils.py318 with tarfile.open(dest, "w:gz") as tar:
357 with open(public_key_path, 'w') as outfile:
446 with tarfile.open(sourcefile, "r:gz") as compressor:
807 with open(os.devnull, "w") as dev_null:
818 with open(os.devnull, "w") as dev_null:
1140 with open(os.devnull, "w") as dev_null:
/tools/test/connectivity/acts/framework/acts/controllers/
Diperf_server.py107 with open(result_path, 'r') as f:
116 with open(result_path, 'r') as f:
400 self._last_opened_file = open(self._current_log_file, 'w')
588 with open(log_file, 'w') as f:
743 with open(log_file, 'w') as f:
/tools/asuite/aidegen/lib/
Dcommon_util.py587 with open(json_path, 'w') as json_file:
601 with open(json_path) as jfile:
616 with open(file_path, encoding='utf8') as infile:
633 with open(path, encoding=encode_type) as template:
647 with open(path, 'w') as target:
/tools/external_updater/
Dnotifier.py71 with open(owner_file, 'r') as f:
143 with open(RESULT_FILE_PATH, 'r') as f:
147 with open(args.history, 'r') as f:
154 with open(args.history, 'w') as f:
/tools/test/connectivity/acts_tests/tests/google/tel/etc/
Dmanage_sim.py96 f = open(sim_card_file, 'r')
126 f = open(sim_card_file, 'w')
134 f = open(sim_card_file, 'r')
160 f = open(sim_card_file, 'w')
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DBluetoothUtilsTest.java86 Mockito.doNothing().when(mSpyClient).open(); in testEnableBtsnoopLogging()
95 Mockito.doNothing().when(mSpyClient).open(); in testEnableBtsnoopLoggingFailed()
106 Mockito.doNothing().when(mSpyClient).open(); in testDisableBtsnoopLogging()
115 Mockito.doNothing().when(mSpyClient).open(); in testDisableBtsnoopLoggingFailed()
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
Daudio_capture_device.py68 with wave.open(latest_file_path, 'r') as f:
86 wf = wave.open(file_name, 'wb')
140 with open(file_to_read, 'rb') as pcm_file:
194 stream = self.audio.open(
/tools/acloud/setup/
Dgcp_setup_runner_test.py59 file_write = open(self.cfg_path, 'w')
76 open(self.cfg_path, "r"), user_config_pb2.UserConfig)
83 open(self.cfg_path, "r"), user_config_pb2.UserConfig)
92 open(self.cfg_path, "r"), user_config_pb2.UserConfig)
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/
Dcheck_quality.py131 self._wave_reader = wave.open(filename, 'r')
345 with open(output_file, 'w') as f:
420 with open(output_file, 'w') as f:
451 with open(filename, 'rb') as f:
/tools/acloud/public/
Dconfig.py85 with open(version_file_path) as version_file:
359 with open(self._internal_config_path) as config_file:
367 with open(self.user_config_path, "r") as config_file:
376 with open(self.user_config_path, "r") as config_file:
/tools/asuite/aidegen/sdk/
Djdk_table_unittest.py81 with open(tmp_file, 'w') as tmp_jdk_xml:
89 with open(tmp_file, 'w') as tmp_jdk_xml:
97 with open(tmp_file, 'w') as tmp_jdk_xml:
136 with open(tmp_file, 'w') as tmp_jdk_xml:
/tools/tradefederation/core/atest/
Datest_utils.py416 with open(result_path) as json_file:
449 with open(result_path, 'w') as outfile:
537 with open(cache_path, 'wb') as test_info_cache_file:
562 with open(cache_file, 'rb') as config_dictionary_file:
/tools/test/connectivity/acts/tests/google/wifi/
DWifiIOTTwPkg1Test.py145 with open(client_output_path, 'w') as out_file:
189 with open(client_output_path, 'w') as out_file:
225 with open(results_file_path, 'w') as results_file:
233 with open("{}/Result.csv".format(self.log_path), "a", newline="") as csv_file:

12345678