/tools/test/connectivity/acts/framework/acts/controllers/utils_lib/commands/ |
D | shell.py | 122 def search_file(self, search_string, file_name): argument 134 file_name)) 139 def read_file(self, file_name): argument 148 return self.run('cat %s' % file_name).stdout 150 def write_file(self, file_name, data): argument 157 return self.run('echo %s > %s' % (shellescape.quote(data), file_name)) 159 def append_file(self, file_name, data): argument 166 return self.run('echo %s >> %s' % (shellescape.quote(data), file_name)) 168 def touch_file(self, file_name): argument 174 self.write_file(file_name, '') [all …]
|
/tools/test/connectivity/tools/lab/utils/ |
D | shell.py | 145 def search_file(self, search_string, file_name): argument 157 file_name)) 162 def read_file(self, file_name): argument 171 return self.run('cat %s' % file_name).stdout 173 def write_file(self, file_name, data): argument 180 return self.run('echo %s > %s' % (shellescape.quote(data), file_name)) 182 def append_file(self, file_name, data): argument 189 return self.run('echo %s >> %s' % (shellescape.quote(data), file_name)) 191 def touch_file(self, file_name): argument 197 self.write_file(file_name, '') [all …]
|
/tools/acloud/public/actions/ |
D | common_operations.py | 105 file_name = "%s_adb_logcat.log" % device.instance_name 106 full_file_path = os.path.join(output_dir, file_name) 115 file_dict[full_file_path] = file_name 171 file_name = "%s_%s" % (device.instance_name, 173 dst_file = os.path.join(output_dir, file_name) 179 file_dict[dst_file] = file_name 202 file_name = "%s_serial_%s.log" % (device.instance_name, port) 203 file_path = os.path.join(tempdir, file_name) 204 src_dict[file_path] = file_name 224 for file_path, file_name in self._CollectAdbLogcats( [all …]
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/data_storage/_sponge/ |
D | sponge_client_lite.py | 247 self.file_name = None 286 assert self.file_name == other_file_coverage.file_name 293 result_file_coverage.file_name = self.file_name 334 self.file_name = LcovUtils.GetFilename(lcov_section) 372 if not file_coverage.file_name: 376 file_coverage.file_name) 378 self._file_coverage_map[file_coverage.file_name] = ( 382 file_coverage.file_name] = file_coverage 693 file_name = LcovUtils.GetFilename(lcov_section) 694 self.file_coverage_index = tcc.IndexOf(file_name)
|
/tools/test/connectivity/acts/framework/acts/test_utils/bt/ |
D | bt_contacts_utils.py | 52 def parse_contacts(file_name): argument 64 with open(file_name, "r") as contacts_file: 93 def phone_number_count(destination_path, file_name): argument 97 with open("{}{}".format(destination_path, file_name), 226 file_name, argument 256 create_new_contacts_vcf_from_vcards(destination_path, file_name, vcards) 315 for file_name in files.split(): 316 if ".vcf" in file_name: 317 device.adb.shell("rm -f {}{}".format(STORAGE_PATH, file_name))
|
/tools/tradefederation/core/atest/ |
D | cli_translator.py | 258 def _find_files(self, path, file_name=TEST_MAPPING): argument 270 for filename in fnmatch.filter(filenames, file_name): 318 file_name=TEST_MAPPING, include_subdirs=False, checked_files=None): argument 341 test_mapping_file = os.path.join(path, file_name) 347 test_mapping_files.update(self._find_files(path, file_name)) 352 test_mapping_file = os.path.join(path, file_name) 379 path, test_group, file_name, include_subdirs,
|
D | cli_translator_unittest.py | 225 path=TEST_MAPPING_DIR, file_name='test_mapping_sample', 243 file_name='test_mapping_sample', checked_files=set()) 262 file_name='test_mapping_sample', checked_files=set()) 279 path=TEST_MAPPING_TOP_DIR, file_name='test_mapping_sample',
|
/tools/test/connectivity/tools/lab/reporters/ |
D | json_reporter.py | 34 def __init__(self, h_checker, file_name='output.json'): argument 36 self.file_name = file_name 49 with open(self.file_name, 'w') as outfile:
|
/tools/test/connectivity/acts/tests/google/wifi/ |
D | WifiIFSTwTest.py | 168 file_name = time.strftime("%Y-%m-%d_%H:%M:%S", time.localtime()) 169 current_path = os.path.join(self.dut.log_path, file_name) 191 self.dut, self.tcpdump_pid, file_name, adb_pull_timeout=600) 192 self.tcpdump_pid = start_tcpdump(self.dut, file_name) 268 file_name = time.strftime("%Y-%m-%d_%H:%M:%S", time.localtime()) 269 self.tcpdump_pid = start_tcpdump(self.dut, file_name)
|
D | WifiRvrTest.py | 184 golden_path = next(file_name for file_name in self.golden_files_list 185 if test_name in file_name) 257 golden_path = next(file_name 258 for file_name in self.golden_files_list 259 if test_name in file_name)
|
D | WifiThroughputStabilityTest.py | 281 file_name for file_name in self.golden_files_list 282 if rvr_golden_file_name in file_name
|
/tools/test/connectivity/acts/framework/acts/test_utils/net/ |
D | net_test_utils.py | 247 file_name = "%s/tcpdump_%s_%s.pcap" % (TCPDUMP_PATH, ad.serial, test_name) 248 ad.log.info("tcpdump file is %s", file_name) 250 file_name) 285 file_name = "tcpdump_%s_%s.pcap" % (ad.serial, test_name) 286 return "%s/%s" % (log_path, file_name)
|
/tools/dexter/slicer/ |
D | debuginfo_encoder.cc | 106 auto file_name = dbg_annotation->CastOperand<String>(0); in Visit() local 107 if (file_name->ir_string != source_file_) { in Visit() 108 source_file_ = file_name->ir_string; in Visit() 110 dbginfo_.PushULeb128(file_name->index + 1); in Visit()
|
/tools/tradefederation/core/atest/test_finders/ |
D | module_finder.py | 230 _, file_name = test_finder_utils.get_dir_path_and_filename(path) 237 elif file_name and _JAVA_EXT_RE.match(file_name): 243 elif file_name and _CC_EXT_RE.match(file_name): 252 elif (not file_name
|
D | test_finder_utils.py | 193 def get_package_name(file_name): argument 202 with open(file_name) as data: 793 dir_path, file_name = get_dir_path_and_filename(path) 800 if not file_name:
|
/tools/test/connectivity/acts/tests/google/net/ |
D | DataCostTest.py | 188 file_folder, file_name = _generate_file_directory_and_file_name( 190 file_path = os.path.join(file_folder, file_name) 193 self.log.info("File exists. Removing file %s" % file_name) 194 ad.adb.shell("rm -rf %s%s" % (DOWNLOAD_PATH, file_name))
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/ |
D | apollo_lib.py | 773 def write_to_flash(self, file_name=None): argument 786 if not os.path.isfile(file_name): 787 message = 'DFU file %s not found.'.format(file_name) 791 'Write file {} to external flash partition ...'.format(file_name)) 792 image_size = os.path.getsize(file_name) 806 (file_name, self.commander_port)) 836 def flash_from_file(self, file_name, reconnect=True): argument 847 if self.write_to_flash(file_name): 1485 self.flash_from_file(file_name=build, reconnect=True)
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | CoexPerformanceBaseTest.py | 284 file_name for file_name in self.performance_files_list 285 if test_name in file_name 367 file_name for file_name in self.performance_files_list 368 if test_name in file_name
|
D | audio_capture.py | 123 file_name = self.record_file_template % self.next_fileno() 124 logging.info('writing to %s' % file_name) 125 wf = wave.open(file_name, 'wb')
|
/tools/tradefederation/core/tests/res/testtype/ |
D | gtest_output1.txt | 7 [ RUN ] TestPartResultTest.file_name 8 [ OK ] TestPartResultTest.file_name (1 ms)
|
D | gtest_output7.txt | 7 [ RUN ] TestPartResultTest.file_name 8 [ OK ] TestPartResultTest.file_name (1 ms)
|
D | gtest_output11.txt | 7 [ RUN ] TestPartResultTest.file_name 8 [ OK ] TestPartResultTest.file_name (1 ms)
|
/tools/test/connectivity/acts/framework/tests/libs/uicd/ |
D | uicd_cli_test.py | 60 for file_name in ['file1', 'file2', 'file3']: 61 self.assertIn(file_name, nc._workflows,
|
/tools/external_updater/ |
D | git_utils.py | 130 def add_file(proj_path, file_name): argument 132 _run(['git', 'add', file_name], cwd=proj_path)
|
/tools/test/connectivity/acts/framework/tests/libs/logging/ |
D | log_stream_test.py | 351 file_name = 'FILENAME' 357 handler.baseFilename = file_name 360 base_path, TestClass.__name__, file_name)
|