Home
last modified time | relevance | path

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

1234567

/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/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/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/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/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/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/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:
Dbug_detector.py87 with open(self.file) as json_file:
134 with open(self.file, 'w') as outfile:
Datest_integration_tests.py112 open(log_path, 'a').write('\n'.join(self.log))
138 with open(TEST_PLANS) as test_plans:
/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:
Dbug_detector.py87 with open(self.file) as json_file:
134 with open(self.file, 'w') as outfile:
Datest_integration_tests.py112 open(log_path, 'a').write('\n'.join(self.log))
138 with open(TEST_PLANS) as test_plans:
/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/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:
Dfileutils.py63 with open(get_metadata_path(proj_path), 'r') as metadata_file:
85 with open(get_metadata_path(proj_path), 'w') as metadata_file:
/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/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/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/acts/controllers/attenuator_lib/aeroflex/
Dtelnet.py43 def open(self, host, port=23): member in AttenuatorInstrument
52 self._tnhelper.open(host, port)
/tools/acloud/
Dsetup.py33 with open("README.md", "r") as fh:
82 open(os.path.join(ACLOUD_DIR, "internal/proto/__init__.py"), "a").close()
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/minicircuits/
Dtelnet.py51 def open(self, host, port=23): member in AttenuatorInstrument
60 self._tnhelper.open(host, port)
/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/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:
/tools/test/connectivity/acts/framework/tests/controllers/sl4a_lib/
Drpc_connection_test.py72 connection.open()
87 connection.open()
/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 …]

1234567