/tools/test/connectivity/acts/framework/acts/test_utils/fuchsia/ |
D | utils.py | 48 file_path = os.path.join(file_directory, file_name) 56 curl_cmd += ' --url %s > %s' % (url, file_path) 59 'Download %s to %s by ssh command %s' % (url, file_path, curl_cmd)) 70 if _check_file_existence(fd, file_path): 72 '%s is downloaded to %s successfully' % (url, file_path)) 82 fd.log.info('Remove the downloaded file %s' % file_path) 83 fd.send_command_ssh('rm %s' % file_path) 108 def _check_file_existence(fd, file_path): argument 116 out = fd.send_command_ssh('ls -al "%s"' % file_path) 120 fd.log.debug('File %s does not exist.' % file_path) [all …]
|
/tools/test/connectivity/acts/framework/tests/controllers/ |
D | iperf_client_test.py | 88 file_path = '/path/to/foo' 89 client._get_full_file_path = lambda _: file_path 93 mock_open.assert_called_with(file_path, 'w') 108 file_path = '/path/to/foo' 109 client._get_full_file_path = lambda _: file_path 113 mock_open.assert_called_with(file_path, 'w') 125 file_path = '/path/to/foo' 127 client._get_full_file_path = lambda _: file_path 134 mock_open.assert_called_with(file_path, 'w')
|
/tools/test/connectivity/acts/framework/tests/metrics/ |
D | core_test.py | 213 file_path = ('output/path/metrics/metric.' + 217 file_path, 239 file_path = ('output/path/metrics/metric.' + 243 file_path) 264 file_path = ('output/path/metrics/metric.' + 268 file_path, 290 file_path = ('output/path/metrics/metric.' + 294 file_path)
|
/tools/acloud/pull/ |
D | pull.py | 145 file_path = os.path.join(constants.REMOTE_LOG_FOLDER, file_name) 146 if file_path in log_files: 147 return [file_path] 149 "instance." % file_path) 196 for file_path in files: 197 file_name = os.path.basename(file_path) 199 log_files.remove(file_path)
|
/tools/test/connectivity/acts/framework/acts/controllers/ |
D | arduino_wifi_dongle.py | 180 def write(self, arduino, file_path, network=None): argument 193 self.stop_controller_log('Flashing %s\n' % file_path) 194 cmd = arduino + file_path + ' --upload --port ' + self.port 196 cmd = self._update_ino_wifi_network(arduino, file_path, network) 209 def _update_ino_wifi_network(self, arduino, file_path, network): argument 220 tmp_file = '%s%s' % (TMP_DIR, file_path.split('/')[-1]) 221 utils.exe_cmd('cp %s %s' % (file_path, tmp_file))
|
D | iperf_server.py | 334 file_path = os.path.join(out_dir, out_file_name) 335 self.log_files.append(file_path) 336 return file_path
|
/tools/test/connectivity/acts/framework/acts/test_utils/tel/ |
D | tel_test_utils.py | 3672 def _check_file_existance(ad, file_path, expected_file_size=None): argument 3678 out = ad.adb.shell('stat -c "%%s" %s' % file_path) 3686 ad.log.info("File %s of size %s exists", file_path, file_size) 3690 file_path, file_size, expected_file_size) 3693 ad.log.info("File %s exists", file_path) 3696 ad.log.info("File %s does not exist.", file_path) 4087 file_path = os.path.join(file_directory, file_name) 4093 curl_cmd += " --url %s > %s" % (url, file_path) 4096 file_path, curl_cmd) 4099 if _check_file_existance(ad, file_path, expected_file_size): [all …]
|
/tools/doc_generation/ |
D | switcher4.py | 78 file_path = doc[len(java_ref_root)+1:] 85 file_path = doc[len(kotlin_ref_root)+1:] 94 page_path_slug = "sed -i 's/_page_path_/{}/' {}".format(file_path.replace("/","\/"),doc) 188 file_path = doc[len(kotlin_source_abs_path)+1:] 189 include_path = os.path.join("/reference/_kotlin", file_path)
|
/tools/test/connectivity/acts/framework/acts/test_utils/net/ |
D | arduino_test_utils.py | 47 file_path = utils.exe_cmd(cmd).decode("utf-8", "ignore").split()[-1] 48 write_status = wd.write(ARDUINO, file_path, network) 68 file_path = utils.exe_cmd(cmd).decode("utf-8", "ignore").rstrip() 69 write_status = wd.write(ARDUINO, file_path)
|
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/test_actions/ |
D | agsa_acts.py | 50 def _initiate_agsa_ota(self, file_path, destination=None, force=True): argument 61 if self.dut.push_file_to_phone(file_path, destination): 117 def initiate_agsa_and_wait_until_transfer(self, file_path, destination=None, argument 124 self._initiate_agsa_ota(file_path, destination, force)
|
/tools/acloud/setup/ |
D | google_sdk.py | 171 file_path = os.path.join(self._tmp_path, filename) 173 logger.info("Save the file to: %s", file_path) 178 with open(file_path, 'wb') as output: 180 utils.Decompress(file_path, self._tmp_path)
|
/tools/tradefederation/core/atest/ |
D | module_info.py | 102 file_path = module_file 103 if not file_path: 104 module_info_target, file_path = self._discover_mod_file_and_target( 106 with open(file_path) as json_file:
|
/tools/asuite/atest/ |
D | module_info.py | 104 file_path = module_file 105 if not file_path: 106 module_info_target, file_path = self._discover_mod_file_and_target( 108 with open(file_path) as json_file:
|
/tools/test/connectivity/acts_tests/tests/google/net/ |
D | DataUsageTest.py | 79 self.file_path = DOWNLOAD_PATH + self.download_file_ipv4.split("/")[-1] 147 ad, self.file_path, self.file_size * BYTE_TO_MB) 149 self.log.info("Delete file: %s", self.file_path) 150 ad.adb.shell("rm %s" % self.file_path, ignore_status=True)
|
D | DataCostTest.py | 253 file_path = os.path.join(file_folder, file_name) 254 self.log.info("File path: %s" % file_path) 255 if _check_file_existance(ad, file_path):
|
/tools/asuite/aidegen/vscode/ |
D | vscode_workspace_file_gen.py | 80 file_path = os.path.join(abs_path, file_name) 81 common_util.dump_json_dict(file_path, workspace_dict) 82 return file_path
|
D | vscode_workspace_file_gen_unittest.py | 56 file_path = os.path.join(abs_path, file_name) 57 self.assertEqual(res, file_path)
|
/tools/acloud/public/actions/ |
D | common_operations.py | 155 file_path = os.path.join(tempdir, file_name) 156 src_dict[file_path] = file_name 157 with open(file_path, "w") as f:
|
/tools/test/connectivity/acts_tests/tests/google/tel/live/ |
D | TelLiveSettingsTest.py | 161 file_path, file_name = os.path.split(path) 162 dest_path = os.path.join(file_path, dst_name) 164 unzip_maintain_permissions(path, file_path)
|
D | TelLiveNoQXDMLogTest.py | 404 file_path = os.path.join(bugreport_path, filename) 405 ad.log.info(file_path) 406 unzip_maintain_permissions(file_path, bugreport_path)
|
/tools/acloud/public/ |
D | device_driver.py | 329 file_path = os.path.join(tempdir, file_name) 330 src_dict[file_path] = file_name 331 with open(file_path, "w") as f:
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | coex_test_utils.py | 162 file_path = os.path.join(dumpsys_path, out_file) 163 return file_path 1291 def parse(self, file_path): argument 1302 with open(file_path) as dumpsys_file:
|
/tools/asuite/aidegen/lib/ |
D | clion_project_file_gen.py | 440 file_path = os.path.join(file_dir, constant.CLION_PROJECT_FILE_NAME) 441 if not os.path.isfile(file_path): 443 common_util.COLORED_INFO('Warning:'), file_path)
|
/tools/asuite/atest/test_finders/ |
D | test_finder_utils.py | 835 dir_path, file_path = os.path.split(path) 837 dir_path, file_path = path, None 838 return dir_path, file_path
|
/tools/tradefederation/core/atest/test_finders/ |
D | test_finder_utils.py | 822 dir_path, file_path = os.path.split(path) 824 dir_path, file_path = path, None 825 return dir_path, file_path
|