Home
last modified time | relevance | path

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

123456789

/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:
312 with open(others_textpb, 'r', encoding='utf-8') as others_textpb_file:
341 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/metalava/
DREADME.md404 open class ComparisonVisitor {
405 open fun compare(old: Item, new: Item) {}
406 open fun added(item: Item) {}
407 open fun removed(item: Item) {}
409 open fun compare(old: PackageItem, new: PackageItem) { }
410 open fun compare(old: ClassItem, new: ClassItem) { }
411 open fun compare(old: MethodItem, new: MethodItem) { }
412 open fun compare(old: FieldItem, new: FieldItem) { }
413 open fun compare(old: ParameterItem, new: ParameterItem) { }
415 open fun added(item: PackageItem) { }
[all …]
/tools/asuite/atest-py2/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/
Datest_utils.py255 with open(error_log_file) as f:
611 with open(result_path) as json_file:
635 with open(result_path, 'w') as outfile:
713 with open(filename, 'rb') as target:
749 with open(check_file, 'r+') as _file:
770 with open(save_file, 'w+') as _file:
826 with open(cache_path, 'wb') as test_info_cache_file:
853 with open(cache_file, 'rb') as config_dictionary_file:
977 with zip_file.open(filename) as extract_file:
1101 with open(path, 'rb') as proto_file:
[all …]
Dmodule_info.py225 with open(file_path) as module_info_json:
230 with open(self.merged_dep_path) as merged_info_json:
243 with open(self.module_info_checksum) as cache:
296 with open(self.module_index, 'wb') as cache:
396 with open(self.module_index, 'rb') as cache:
652 with open(java_bp_info_path) as json_file:
661 with open(cc_bp_info_path) as json_file:
688 with open(temp_file.name, 'w') as _temp:
Datest_execution_info.py119 with open(result_path) as json_file:
155 with open(path) as json_file:
220 with open(json_file) as result:
290 self.result_file = open(full_file_name, 'w')
/tools/test/connectivity/acts/framework/acts/controllers/bits_lib/
Dbits_service.py80 self._output_log = open(output_log_path, 'w')
94 with open(dmesg_log, 'w') as f:
99 with open(free_log, 'w') as f:
104 with open(df_log, 'w') as f:
151 with open(config_path, 'w') as f:
Dbits_client.py219 with open(tf.name) as mf:
225 with open(tf.name) as mf:
327 with open(tmon.name) as csv_file:
331 with open(dest_path, 'w') as dest:
/tools/asuite/atest/tools/
Datest_tools.py189 with open(dump_file, 'wb') as cache_file:
322 with open(index, 'wb') as cache_file:
403 with open(report_file, 'r') as _rfile:
406 with open(report_file, 'w+') as _wfile:
429 with open(report_file, 'r') as rfile:
458 with open(report_file, 'r') as rfile:
Datest_tools_unittest.py72 with open(uc.CLASS_INDEX, 'rb') as cache:
76 with open(uc.PACKAGE_INDEX, 'rb') as cache:
80 with open(uc.QCLASS_INDEX, 'rb') as cache:
90 with open(uc.CC_CLASS_INDEX, 'rb') as cache:
/tools/external_updater/
Dnotifier.py70 with open(owner_file, 'r') as f:
166 with open(RESULT_FILE_PATH, 'r') as f:
170 with open(args.history, 'r') as f:
177 with open(args.history, 'w') as f:
/tools/test/connectivity/acts_tests/tests/google/tel/etc/
Dmanage_sim.py105 f = open(sim_card_file, 'r')
135 f = open(sim_card_file, 'w')
143 f = open(sim_card_file, 'r')
169 f = open(sim_card_file, 'w')
/tools/asuite/atest/test_finders/
Dtest_finder_utils.py239 with open(test_path) as class_file:
260 with open(test_path) as class_file:
276 with open(file_name) as data:
292 with open(file_name) as data:
541 with open(FIND_INDEXES[ref_type], 'rb') as index:
775 with open(full_push_file_path) as f:
1151 with open(test_path) as class_file:
1169 with open(test_path) as class_file:
1218 with open(file_to_parse) as class_file:
1325 with open(file_path) as class_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/test/connectivity/acts_tests/acts_contrib/test_utils/coex/
Daudio_capture_device.py66 with wave.open(latest_file_path, 'r') as f:
84 wf = wave.open(file_name, 'wb')
138 with open(file_to_read, 'rb') as pcm_file:
192 stream = self.audio.open(
/tools/asuite/aidegen_functional_test/
Daidegen_functional_test_main.py271 with open(_GIT_COMMIT_ID_JSON, 'r') as jsfile:
426 with open(_GOLDEN_SAMPLES_JSON, 'r') as infile:
434 with open(_GOLDEN_SAMPLES_JSON, 'w') as outfile:
454 with open(_GOLDEN_SAMPLES_JSON, 'r') as outfile:
611 with open(verified_file_path, 'r') as jsfile:
678 with open(path, encoding='utf8') as template:
/tools/acloud/internal/lib/
Dgoldfish_utils_test.py36 with open(path, "w"):
53 with open(os.path.join(image_dir, "ramdisk-qemu.img"), "w") as ramdisk:
62 with open(os.path.join(out_dir, "ramdisk"), "w") as ramdisk:
74 with open(ramdisk_path, "r") as ramdisk:
/tools/test/openhst/
Dstress_test_common.py49 return open(path, "rb").read()
53 return open(resource_name, "rb").read()
54 return open(os.path.join(RESOURCE_DIR, os.path.basename(resource_name)),
/tools/asuite/atest-py2/
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/tests/
Dtest_suite.py63 stdout=open(output_file, 'w+'),
75 with open(result.output_file, 'r') as out_file:
82 with open(result.output_file, 'r') as out_file:
/tools/test/connectivity/acts/framework/acts/controllers/attenuator_lib/
D_tnhelper.py50 def open(self, host, port=23): member in _TNHelper
57 self._tn.open(host, port, 10)
97 self.open(self._ip_address, self._port)
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiTxPowerCheckTest.py184 with open(sar_csv, mode='r') as f:
229 with open(file_path, 'w') as file:
237 with open(file_path, 'w') as file:
290 with open(file_path, 'w') as file:
414 with open(wl_curpower_file, 'r') as file:
751 with open(wl_curpower_path, 'w') as file:
757 with open(wl_curpower_path, 'w') as file:
/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_tests/acts_contrib/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:

123456789