/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/acloud/pull/ |
D | pull.py | 146 file_path = os.path.join(_REMOTE_LOG_FOLDER, file_name) 147 if file_path in log_files: 148 return [file_path] 150 "instance." % file_path) 197 for file_path in files: 198 file_name = os.path.basename(file_path) 200 log_files.remove(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/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/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/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/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/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 | 314 file_path = os.path.join(out_dir, out_file_name) 315 self.log_files.append(file_path) 316 return file_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/framework/acts/test_utils/instrumentation/power/ |
D | instrumentation_power_test.py | 283 def file_exists(self, file_path): argument 284 cmd = '(test -f %s && echo yes) || echo no' % file_path 291 'Expected yes/no, got %s' % (file_path, result[cmd])) 293 def push_to_external_storage(self, file_path, dest=None, argument 305 dest = os.path.basename(file_path) 308 self.log.info('clearing %s before pushing %s' % (dest_path, file_path)) 310 self.log.info('pushing file %s to %s' % (file_path, dest_path)) 311 self.ad_dut.adb.push(file_path, dest_path, timeout=timeout)
|
/tools/acloud/public/actions/ |
D | common_operations.py | 147 file_path = os.path.join(tempdir, file_name) 148 src_dict[file_path] = file_name 149 with open(file_path, "w") as f:
|
/tools/test/connectivity/acts/tests/google/net/ |
D | DataCostTest.py | 244 file_path = os.path.join(file_folder, file_name) 245 self.log.info("File path: %s" % file_path) 246 if _check_file_existance(ad, file_path):
|
D | DataUsageTest.py | 78 self.file_path = DOWNLOAD_PATH + self.download_file_ipv4.split("/")[-1] 146 ad, self.file_path, self.file_size * BYTE_TO_MB) 148 self.log.info("Delete file: %s", self.file_path) 149 ad.adb.shell("rm %s" % self.file_path, ignore_status=True)
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | audio_capture_device.py | 142 file_path = self.write_record_file(self.audio_params, frames) 143 return file_path
|
D | CoexBaseTest.py | 191 file_path = collect_bluetooth_manager_dumpsys_logs( 194 self.a2dp_dumpsys.parse(file_path))
|
/tools/test/connectivity/acts/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)
|
/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/wifi/ |
D | ota_sniffer.py | 100 file_path = os.path.join(self.log_path, out_file_name) 101 return file_path
|
/tools/asuite/aidegen/lib/ |
D | clion_project_file_gen.py | 413 file_path = os.path.join(file_dir, constant.CLION_PROJECT_FILE_NAME) 414 if not os.path.isfile(file_path): 416 common_util.COLORED_INFO('Warning:'), file_path)
|
D | common_util.py | 600 def read_file_line_to_list(file_path): argument 610 with open(file_path, encoding='utf8') as infile:
|
/tools/test/connectivity/acts/framework/tests/ |
D | audio_analysis_integrationtest.py | 135 file_path = os.path.join( 137 binary = open(file_path, 'rb').read()
|