Home
last modified time | relevance | path

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

12345678

/tools/repohooks/tools/
Dandroid_test_mapping_format_unittest.py199 with open(self.test_mapping_file, 'w') as f:
201 with open(self.test_mapping_file, 'r') as f:
206 with open(self.test_mapping_file, 'w') as f:
208 with open(self.test_mapping_file, 'r') as f:
215 with open(self.test_mapping_file, 'w') as f:
217 with open(self.test_mapping_file, 'r') as f:
225 with open(self.test_mapping_file, 'w') as f:
227 with open(self.test_mapping_file, 'r') as f:
235 with open(self.test_mapping_file, 'w') as f:
237 with open(self.test_mapping_file, 'r') as f:
[all …]
/tools/carrier_settings/python/
Dupdate_carrier_data.py153 with open(path, 'r', encoding='utf-8') as f:
171 with open(path, 'r', encoding='utf-8') as f:
204 with open(carrier_file, 'r', encoding='utf-8') as f:
218 with open(carrier_file, 'w', encoding='utf-8') as f:
233 with open(carrier_file, 'r', encoding='utf-8') as f:
253 with open(carrier_file, 'w', encoding='utf-8') as f:
270 with open(carrier_list_file, 'r', encoding='utf-8') as f:
283 with open(carrier_list_file, 'w', encoding='utf-8') as f:
309 with open(others_textpb, 'r', encoding='utf-8') as others_textpb_file:
327 with open(others_textpb, 'w', encoding='utf-8') as others_textpb_file:
[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/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.py75 with open(uc.CLASS_INDEX, 'rb') as cache:
79 with open(uc.CC_CLASS_INDEX, 'rb') as cache:
83 with open(uc.PACKAGE_INDEX, 'rb') as cache:
87 with open(uc.QCLASS_INDEX, 'rb') as cache:
92 with open(uc.MODULE_INDEX, 'rb') as cache:
/tools/ndkports/
DREADME.md29 open val dependencies: List<String> = emptyList()
32 open fun fetchSource(
37 open fun configure(
45 open fun build(
50 open fun install(
/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/external_updater/
Dnotifier.py72 with open(owner_file, 'r') as f:
142 with open(RESULT_FILE_PATH, 'r') as f:
146 with open(args.history, 'r') as f:
153 with open(args.history, 'w') as f:
/tools/test/connectivity/acts/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/test/connectivity/acts/framework/tests/
Dtest_suite.py26 new_stdout = open(output_file, 'w+')
65 with open(result.output_file, 'r') as out_file:
71 with open(result.output_file, 'r') as out_file:
/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/asuite/atest/
Dasuite_metrics.py73 with open(_META_FILE) as f:
88 with open(_META_FILE, 'w+') as f:
99 with open(old_file) as f:
/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/tradefederation/core/atest/
Dasuite_metrics.py79 with open(_META_FILE) as f:
94 with open(_META_FILE, 'w+') as f:
105 with open(old_file) as f:
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/
D_tnhelper.py49 def open(self, host, port=23): member in _TNHelper
56 self._tn.open(host, port, 10)
95 self.open(self._ip_address, self._port)
/tools/asuite/aidegen/lib/
Dcommon_util.py581 with open(json_path, 'w') as json_file:
595 with open(json_path) as jfile:
610 with open(file_path, encoding='utf8') as infile:
627 with open(path, encoding=encode_type) as template:
641 with open(path, 'w') as target:
/tools/test/connectivity/acts/framework/acts/controllers/
Diperf_server.py106 with open(result_path, 'r') as f:
115 with open(result_path, 'r') as f:
380 self._last_opened_file = open(self._current_log_file, 'w')
533 with open(log_file, 'w') as f:
673 with open(log_file, 'w') as f:
/tools/acloud/setup/
Dgcp_setup_runner_test.py60 file_write = open(self.cfg_path, 'w')
77 open(self.cfg_path, "r"), user_config_pb2.UserConfig)
84 open(self.cfg_path, "r"), user_config_pb2.UserConfig)
93 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/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/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/test/connectivity/acts/framework/tests/controllers/ap_lib/
Dradvd_test.py97 with open(config_file_with_path, 'w+') as config_fileId:
171 with open(radvd_config, 'r') as radvd_config_fileId:
224 with open(radvd_config, 'r') as radvd_config_fileId:

12345678