Home
last modified time | relevance | path

Searched refs:file_path (Results 1 – 18 of 18) sorted by relevance

/tools/tradefederation/core/atest/
Dmodule_info.py98 file_path = module_file
99 if not file_path:
100 module_info_target, file_path = self._discover_mod_file_and_target(
102 with open(file_path) as json_file:
/tools/test/connectivity/acts/tests/google/power/wifi/
DPowerWiFiroamingTest.py92 file_path, avg_current = wputils.monsoon_data_collect_save(
96 file_path, avg_current = wputils.monsoon_data_collect_save(
98 [plot, dt] = wputils.monsoon_data_plot(self.mon_info, file_path)
124 file_path, avg_current = wputils.monsoon_data_collect_save(
128 file_path, avg_current = wputils.monsoon_data_collect_save(
130 [plot, dt] = wputils.monsoon_data_plot(self.mon_info, file_path)
/tools/test/connectivity/acts/framework/acts/controllers/
Darduino_wifi_dongle.py182 def write(self, arduino, file_path, network=None): argument
195 self.stop_controller_log("Flashing %s\n" % file_path)
196 cmd = arduino + file_path + " --upload --port " + self.port
198 cmd = self._update_ino_wifi_network(arduino, file_path, network)
210 def _update_ino_wifi_network(self, arduino, file_path, network): argument
221 tmp_file = "%s%s" % (TMP_DIR, file_path.split('/')[-1])
222 utils.exe_cmd("cp %s %s" % (file_path, tmp_file))
Dmonsoon.py519 def save_to_text_file(monsoon_data, file_path): argument
531 utils.create_dir(os.path.dirname(file_path))
532 with open(file_path, 'a') as f:
538 def from_text_file(file_path): argument
550 with open(file_path, 'r') as f:
/tools/test/connectivity/acts/tests/google/net/
DDataCostTest.py193 file_path = os.path.join(file_folder, file_name)
194 self.log.info("File path: %s" % file_path)
195 if _check_file_existance(ad, file_path):
DDataUsageTest.py69 self.file_path = DOWNLOAD_PATH + self.download_file.split('/')[-1]
120 ad, self.file_path, self.file_size * BYTE_TO_MB)
122 self.log.info("Delete file: %s", self.file_path)
123 ad.adb.shell("rm %s" % self.file_path, ignore_status=True)
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_power_test_utils.py42 def monsoon_data_plot(mon_info, file_path, tag=""): argument
67 results = monsoon.MonsoonData.from_text_file(file_path)
102 plot_title = file_path[file_path.rfind('/') + 1:-4] + tag
/tools/tradefederation/core/atest/test_finders/
Dtest_finder_utils.py643 dir_path, file_path = os.path.split(path)
645 dir_path, file_path = path, None
646 return dir_path, file_path
/tools/test/connectivity/acts/framework/acts/test_utils/power/
DPowerWiFiBaseTest.py94 wputils.monsoon_data_plot(self.mon_info, self.file_path, tag=tag)
DPowerBaseTest.py283 self.file_path, self.test_result = self.monsoon_data_collect_save()
284 wputils.monsoon_data_plot(self.mon_info, self.file_path, tag=tag)
/tools/test/connectivity/acts/tests/google/bt/power/
DA2dpPowerTest.py43 def push_file_to_device(ad, file_path, device_path, config_path): argument
57 if not os.path.isfile(file_path):
58 file_path = os.path.join(config_path, file_path)
59 if not os.path.isfile(file_path):
61 ad.adb.push("{} {}".format(file_path, device_path))
/tools/test/connectivity/acts/framework/acts/test_utils/tel/
Dtel_test_utils.py1919 def _check_file_existance(ad, file_path, expected_file_size=None): argument
1925 out = ad.adb.shell('stat -c "%%s" %s' % file_path)
1933 ad.log.info("File %s of size %s exists", file_path, file_size)
1937 file_path, file_size, expected_file_size)
1940 ad.log.info("File %s exists", file_path)
1943 ad.log.info("File %s does not exist.", file_path)
2105 file_path = os.path.join(file_directory, file_name)
2111 curl_cmd += " --url %s > %s" % (url, file_path)
2125 file_path, curl_cmd)
2127 if _check_file_existance(ad, file_path, expected_file_size):
[all …]
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DPowerBaseTest.py444 def save_to_text_file(bt_monsoon_data, file_path): argument
459 utils.create_dir(os.path.dirname(file_path))
461 with open(file_path, 'w') as f:
/tools/test/connectivity/acts/framework/tests/
Daudio_analysis_unittest.py128 file_path = os.path.join(
130 binary = open(file_path, 'rb').read()
/tools/acloud/public/
Ddevice_driver.py318 file_path = os.path.join(tempdir, file_name)
319 src_dict[file_path] = file_name
320 with open(file_path, "w") as f:
/tools/test/connectivity/acts/framework/acts/test_utils/coex/
Dcoex_test_utils.py66 def a2dp_dumpsys_parser(file_path): argument
76 with open(file_path) as dumpsys_file:
136 file_path = "{}/{}".format(dumpsys_path, out_file)
137 if not a2dp_dumpsys_parser(file_path):
/tools/test/connectivity/acts/tests/google/tel/live/
DTelLiveSettingsTest.py1279 file_path, file_name = os.path.split(path)
1280 dest_path = os.path.join(file_path, dst_name)
1282 unzip_maintain_permissions(path, file_path)
1477 file_path = os.path.join(bugreport_path, filename)
1478 ad.log.info(file_path)
1479 unzip_maintain_permissions(file_path, bugreport_path)
/tools/test/connectivity/acts/tests/google/power/tel/lab/
DPowerTelTest.py261 file_path, current = wputils.monsoon_data_collect_save(