Home
last modified time | relevance | path

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

123456

/tools/repohooks/tools/
Dandroid_test_mapping_format_unittest.py166 with open(self.test_mapping_file, 'w') as f:
172 with open(self.test_mapping_file, 'w') as f:
180 with open(self.test_mapping_file, 'w') as f:
189 with open(self.test_mapping_file, 'w') as f:
198 with open(self.test_mapping_file, 'w') as f:
204 with open(self.test_mapping_file, 'w') as f:
213 with open(self.test_mapping_file, 'w') as f:
222 with open(self.test_mapping_file, 'w') as f:
231 with open(self.test_mapping_file, 'w') as f:
240 with open(self.test_mapping_file, 'w') as f:
/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/metalava/
DREADME.md400 open class ComparisonVisitor {
401 open fun compare(old: Item, new: Item) {}
402 open fun added(item: Item) {}
403 open fun removed(item: Item) {}
405 open fun compare(old: PackageItem, new: PackageItem) { }
406 open fun compare(old: ClassItem, new: ClassItem) { }
407 open fun compare(old: MethodItem, new: MethodItem) { }
408 open fun compare(old: FieldItem, new: FieldItem) { }
409 open fun compare(old: ParameterItem, new: ParameterItem) { }
411 open fun added(item: PackageItem) { }
[all …]
/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/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:
Dlatency.py157 with open(fname_base + '_' + event_pair.name + '_data.csv',
171 with open(fname_base + '_' + event_pair.name + '_summary.txt',
261 input_file = open(input_file_name, 'r')
/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:
Datest_completion.sh42 with open(mod_info, 'r') as mod_info_obj:
49 with open(serial_file, 'wb') as serial_file_obj:
58 with open(latest_serial_file, 'rb') as serial_file_obj:
/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/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/external_updater/
Dnotifier.py125 with open(RESULT_FILE_PATH, 'r') as f:
129 with open(args.history, 'r') as f:
136 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/acloud/setup/
Dgcp_setup_runner_test.py57 file_write = open(self.cfg_path, 'w')
74 open(self.cfg_path, "r"), user_config_pb2.UserConfig)
81 open(self.cfg_path, "r"), user_config_pb2.UserConfig)
/tools/test/connectivity/acts/framework/acts/controllers/
Diperf_client.py135 with open(full_out_path, 'w') as out_file:
167 with open(full_out_path, 'w') as out_file:
244 with open(full_out_path, 'w') as out_file:
Diperf_server.py82 with open(result_path, 'r') as f:
90 with open(result_path, 'r') as f:
386 with open(log_file, 'w') as f:
508 with open(log_file, 'w') as f:
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
DCoexPerformanceBaseTest.py206 with open(analysis_path) as f:
236 with open(self.json_file, 'a') as results_file:
244 with open(self.json_file, 'a') as result_file:
288 with open(attenuation_path, 'r') as throughput_file:
418 with open(performance_path, 'r') as performance_file:
/tools/test/connectivity/acts/tests/google/power/tel/lab/temp/
Diperf_server.py67 with open(result_path, 'r') as f:
76 with open(result_path, 'r') as f:
259 with open(self.full_out_path, 'w') as f:
/tools/test/connectivity/acts/tests/google/wifi/
DWifiIOTTwPkg1Test.py147 with open(client_output_path, 'w') as out_file:
191 with open(client_output_path, 'w') as out_file:
227 with open(results_file_path, 'w') as results_file:
235 with open("{}/Result.csv".format(self.log_path), "a", newline="") as csv_file:
DWifiRvrTwTest.py125 with open("{}/Result.csv".format(self.log_path), "a", newline="") as csv_file:
308 with open(results_file_path, 'w') as results_file:
350 with open(client_output_path, 'w') as out_file:
399 with open(client_output_path, 'w') as out_file:
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py139 with open(_ANDROID_SINGLE_PROJECT_JSON, 'w') as outfile:
146 with open(_ANDROID_SINGLE_PROJECT_JSON, 'r') as outfile:
237 with open(_VERIFY_COMMANDS_JSON, 'r') as jsfile:
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/aeroflex/
Dtelnet.py42 def open(self, host, port=23): member in AttenuatorInstrument
51 self._tnhelper.open(host, port)
/tools/acloud/internal/lib/
Dutils.py303 with tarfile.open(dest, "w:gz") as tar:
376 with open(public_key_path, 'w') as outfile:
465 with tarfile.open(sourcefile, "r:gz") as compressor:
808 with open(os.devnull, "w") as dev_null:
1036 with open(os.devnull, "w") as dev_null:
/tools/acloud/
Dsetup.py27 with open("README.md", "r") as fh:
74 open(os.path.join(ACLOUD_DIR, "internal/proto/__init__.py"), "a").close()
/tools/asuite/aidegen/lib/
Dconfig.py66 with open(self._config_file, 'r') as cfg_file:
79 with open(self._config_file, 'w') as cfg_file:

123456