Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 14 of 14) sorted by relevance

/tools/test/connectivity/acts/tests/google/wifi/rtt/functional/
DRangeApMiscTest.py55 for bssid, stat in stats.items():
57 stat['num_no_results'] == 0,
62 stat['any_lci_mismatch'], "LCI mismatch", extras=stats)
64 stat['any_lcr_mismatch'], "LCR mismatch", extras=stats)
66 stat['num_invalid_rssi'], 0, "Invalid RSSI", extras=stats)
68 stat['num_failures'] <=
70 stat['num_results'] / 100,
74 stat['num_range_out_of_margin'] <=
76 * stat['num_success_results'] / 100,
81 stat['num_failures'] == self.NUM_ITER,
[all …]
DRangeApNonSupporting11McTest.py66 for bssid, stat in stats.items():
68 stat['num_no_results'] == 0,
72 stat['any_lci_mismatch'], "LCI mismatch", extras=stats)
74 stat['any_lcr_mismatch'], "LCR mismatch", extras=stats)
76 stat['num_invalid_rssi'], 0, "Invalid RSSI", extras=stats)
78 stat['num_failures'] <=
80 stat['num_results'] / 100,
85 stat['num_range_out_of_margin'] <=
87 stat['num_success_results'] / 100,
128 for bssid, stat in stats.items():
[all …]
DRangeApSupporting11McTest.py67 for bssid, stat in stats.items():
69 stat['num_no_results'] == 0,
73 stat['any_lci_mismatch'], "LCI mismatch", extras=stats)
75 stat['any_lcr_mismatch'], "LCR mismatch", extras=stats)
77 stat['invalid_num_attempted'],
81 stat['invalid_num_successful'],
85 stat['num_invalid_rssi'], 0, "Invalid RSSI", extras=stats)
87 stat['num_failures'] <=
89 stat['num_results'] / 100,
94 stat['num_range_out_of_margin'] <=
[all …]
/tools/test/connectivity/acts/tests/google/wifi/rtt/stress/
DStressRangeApTest.py60 for bssid, stat in stats.items():
62 stat['num_no_results'] == 0,
66 stat['any_lci_mismatch'], "LCI mismatch", extras=stats)
68 stat['any_lcr_mismatch'], "LCR mismatch", extras=stats)
70 stat['num_invalid_rssi'], 0, "Invalid RSSI", extras=stats)
72 stat['num_failures'] <=
74 stat['num_results'] / 100,
78 stat['num_range_out_of_margin'] <=
80 stat['num_success_results'] / 100,
/tools/acloud/internal/lib/
Dota_tools.py18 import stat
94 mode = os.stat(path).st_mode
95 os.chmod(path, mode | (stat.S_IXUSR | stat.S_IXGRP | stat.S_IXOTH |
96 stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH))
Dcvd_compute_client_multi_stage.py40 import stat
492 fetch_cvd_stat = os.stat(download_target)
493 os.chmod(download_target, fetch_cvd_stat.st_mode | stat.S_IEXEC)
/tools/acloud/create/
Dremote_image_local_instance.py112 stat = os.statvfs(download_dir)
113 available_space = stat.f_bavail*stat.f_bsize/(1024)**3
/tools/tradefederation/contrib/src/com/android/build/tests/
DImageStats.java265 for (Map.Entry<String, Long> stat : stats.entrySet()) { in performAggregation()
267 total += stat.getValue(); in performAggregation()
269 Matcher m = pattern.getKey().matcher(stat.getKey()); in performAggregation()
277 size += stat.getValue(); in performAggregation()
280 if (uncategorizedFiles.contains(stat.getKey())) { in performAggregation()
281 uncategorizedFiles.remove(stat.getKey()); in performAggregation()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DGCSBucketUtilFuncTest.java197 GCSFileMetadata info = mBucket.stat(path); in testStat()
206 GCSFileMetadata info = mBucket.stat(path); in testmd5Hash()
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DBtSarBaseTest.py248 stat = re.findall(regex, line)[0]
249 return stat
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dapollo_lib.py1154 for stat in status:
1155 if isinstance(stat, dict):
1156 logging.info(stat)
1157 return stat['sink_state'].lower()
1461 if not os.path.exists(build) or os.stat(build).st_size == 0:
1468 if os.path.exists(build) and os.stat(build).st_size > 0:
/tools/test/connectivity/acts/framework/acts/controllers/anritsu_lib/
Dmd8475a.py647 stat = self.send_query("STAT?", 30)
648 if stat == "NOTEXIST":
656 stat = self.send_query("STAT?")
657 while stat != "NOTRUN":
661 stat = self.send_query("STAT?")
664 elif stat == "RUNNING":
667 stat = self.send_query("STAT?")
671 if stat != "NOTRUN":
742 stat = self.send_query("STAT?")
744 if stat == "RUNNING":
[all …]
/tools/asuite/aidegen/lib/
Dconfig.py176 if not os.path.exists(_file) or os.stat(_file).st_size == 0:
/tools/tradefederation/core/src/com/android/tradefed/util/
DGCSBucketUtil.java401 public GCSFileMetadata stat(Path bucketPath) throws IOException { in stat() method in GCSBucketUtil