Home
last modified time | relevance | path

Searched refs:extras (Results 1 – 25 of 62) sorted by relevance

123

/tools/test/connectivity/acts/framework/acts/
Dtest_decorators.py103 if not isinstance(new_signal.extras, dict):
109 if k not in new_signal.extras:
110 new_signal.extras[k] = v
112 if not isinstance(new_signal.extras[k], list):
113 new_signal.extras[k] = [new_signal.extras[k]]
115 new_signal.extras[k].insert(0, v)
128 extras = self.func.gather(*args, **kwargs)
130 extras = {}
132 self._gather_local_info(extras, *args, **kwargs)
134 return extras
[all …]
Dasserts.py37 extras=None): argument
63 fail(my_msg, extras=extras)
Drecords.py131 d[TestResultEnums.RECORD_EXTRAS] = self.extras
175 self.extras = {}
221 self.extras[name] = info
243 d["Extras"] = self.extras
Dbase_test.py705 extras = {}
718 if e.extras:
719 extras['Attempt %d' % (i+1)] = e.extras
720 raise signals.TestFailure('\n'.join(error_msgs), extras)
891 signal.extras = test_func.gather()
/tools/test/connectivity/acts/tests/google/wifi/rtt/functional/
DRangeAwareTest.py234 extras = stats if stats_reverse_direction is None else {
242 extras=extras)
244 stats['any_lci_mismatch'], "LCI mismatch", extras=extras)
246 stats['any_lcr_mismatch'], "LCR mismatch", extras=extras)
250 extras=stats)
254 extras=stats)
256 stats['num_invalid_rssi'], 0, "Invalid RSSI", extras=extras)
262 extras=extras)
269 extras=extras)
275 extras=extras)
[all …]
DRangeApSupporting11McTest.py74 extras=stats)
76 stat['any_lci_mismatch'], "LCI mismatch", extras=stats)
78 stat['any_lcr_mismatch'], "LCR mismatch", extras=stats)
82 extras=stats)
86 extras=stats)
88 stat['num_invalid_rssi'], 0, "Invalid RSSI", extras=stats)
94 extras=stats)
101 extras=stats)
102 asserts.explicit_pass("RTT test done", extras=stats)
150 extras=stats)
[all …]
DRangeApNonSupporting11McTest.py71 extras=stats)
73 stat['any_lci_mismatch'], "LCI mismatch", extras=stats)
75 stat['any_lcr_mismatch'], "LCR mismatch", extras=stats)
77 stat['num_invalid_rssi'], 0, "Invalid RSSI", extras=stats)
83 extras=stats)
90 extras=stats)
91 asserts.explicit_pass("RTT test done", extras=stats)
133 extras=stats)
137 extras=stats)
143 extras=stats)
[all …]
DRangeApMiscTest.py62 extras=stats)
65 stat['any_lci_mismatch'], "LCI mismatch", extras=stats)
67 stat['any_lcr_mismatch'], "LCR mismatch", extras=stats)
69 stat['num_invalid_rssi'], 0, "Invalid RSSI", extras=stats)
75 extras=stats)
81 extras=stats)
86 extras=stats)
92 extras=stats)
93 asserts.explicit_pass("RTT test done", extras=stats)
DRangeSoftApTest.py75 extras=scans)
82 extras=scanned_softap)
101 extras=stats)
104 "SoftAP + RTT validation done", extras=events)
/tools/test/connectivity/acts/framework/tests/
Dacts_base_class_test.py78 self.assertIsNone(actual_record.extras)
216 self.assertIsNone(actual_record.extras)
237 self.assertIsNone(actual_record.extras)
259 self.assertIsNone(actual_record.extras)
295 self.assertIsNone(actual_record.extras)
315 self.assertIsNone(actual_record.extras)
338 self.assertIsNone(actual_record.extras)
364 self.assertIsNone(actual_record.extras)
387 self.assertIsNone(actual_record.extras)
413 self.assertIsNone(actual_record.extras)
[all …]
Dacts_records_test.py33 def verify_record(self, record, result, details, extras): argument
38 self.assertEqual(record.extras, extras)
48 d[records.TestResultEnums.RECORD_EXTRAS] = extras
77 extras=None)
88 extras=self.float_extra)
99 extras=self.json_extra)
109 extras=None)
120 extras=self.float_extra)
131 extras=self.json_extra)
141 extras=None)
[all …]
Dacts_test_decorators_test.py60 self.assertTrue(UUID_KEY in e.extras, 'Expected extras to have %s.' % UUID_KEY)
61 self.assertEqual(e.extras[UUID_KEY], TEST_TRACKER_UUID)
119 self.assertIsNotNone(record.extras, 'Expected the test record to have extras.')
120 self.assertEqual(record.extras[extra_key], extra_value)
/tools/test/connectivity/acts/tests/google/tel/live/
DTelLiveVoiceTest.py136 extras={"fail_reason": "Phone Failed to Set Up Properly."})
143 extras={"fail_reason": str(result.result_value)})
166 extras={"fail_reason": "Phone Failed to Set Up Properly."})
173 extras={"fail_reason": str(result.result_value)})
196 extras={"fail_reason": "Phone Failed to Set Up Properly."})
205 extras={"fail_reason": str(result.result_value)})
352 extras={"fail_reason": "Phone Failed to Set Up Properly."})
360 extras={"fail_reason": str(result.result_value)})
383 extras={"fail_reason": "Phone Failed to Set Up Properly."})
391 extras={"fail_reason": str(result.result_value)})
[all …]
/tools/test/connectivity/acts/tests/google/wifi/
DWifiStressTest.py249 signals.TestFailure(details="", extras={"Iterations":"%d" %
251 raise signals.TestPass(details="", extras={"Iterations":"%d" %
270 signals.TestFailure(details="", extras={"Iterations":"%d" %
273 raise signals.TestPass(details="", extras={"Iterations":"%d" %
304 "Look at logs", extras={"Iterations":"%d" %
306 raise signals.TestPass(details="", extras={"Iterations":"%d" %
344 extras={"Total Hours":"%d" %self.stress_hours,
346 raise signals.TestPass(details="", extras={"Total Hours":"%d" %
374 extras={"Total Hours":"1", "Seconds Run":"%d" %total_time})
377 raise signals.TestPass(details="", extras={"Total Hours":"1",
[all …]
DWifiStaApConcurrencyStressTest.py148 raise signals.TestPass(details="", extras={"Iterations":"%d" %
161 raise signals.TestPass(details="", extras={"Iterations":"%d" %
174 raise signals.TestPass(details="", extras={"Iterations":"%d" %
187 raise signals.TestPass(details="", extras={"Iterations":"%d" %
199 raise signals.TestPass(details="", extras={"Iterations":"%d" %
212 raise signals.TestPass(details="", extras={"Iterations":"%d" %
227 raise signals.TestPass(details="", extras={"Iterations":"%d" %
240 raise signals.TestPass(details="", extras={"Iterations":"%d" %
253 raise signals.TestPass(details="", extras={"Iterations":"%d" %
266 raise signals.TestPass(details="", extras={"Iterations":"%d" %
[all …]
/tools/test/connectivity/acts/tests/google/wifi/rtt/stress/
DStressRangeApTest.py67 extras=stats)
69 stat['any_lci_mismatch'], "LCI mismatch", extras=stats)
71 stat['any_lcr_mismatch'], "LCR mismatch", extras=stats)
73 stat['num_invalid_rssi'], 0, "Invalid RSSI", extras=stats)
79 extras=stats)
85 extras=stats)
86 asserts.explicit_pass("RTT test done", extras=stats)
DStressRangeAwareTest.py133 extras=stats)
135 stats['any_lci_mismatch'], "LCI mismatch", extras=stats)
137 stats['any_lcr_mismatch'], "LCR mismatch", extras=stats)
139 stats['num_invalid_rssi'], 0, "Invalid RSSI", extras=stats)
145 extras=stats)
151 extras=stats)
/tools/loganalysis/src/com/android/loganalysis/util/
DLogPatternUtil.java48 public PatternInfo(Pattern pattern, Object extras, String category) { in PatternInfo() argument
50 mExtras = extras; in PatternInfo()
75 public void addPattern(Pattern pattern, Object extras, String category) { in addPattern() argument
76 mPatterns.add(new PatternInfo(pattern, extras, category)); in addPattern()
96 public String checkMessage(String message, Object extras) { in checkMessage() argument
103 (patternInfo.mExtras == null || patternInfo.mExtras.equals(extras))) { in checkMessage()
/tools/test/connectivity/acts/tests/google/bt/performance/
DBtCodecSweepTest.py160 def raise_pass_fail(self, extras=None): argument
168 extras=extras)
173 extras=extras)
178 raise TestPass('Test passed.', extras=extras)
DBtRangeCodecTest.py88 extras=self.metrics)
112 extras=self.metrics)
117 extras=self.metrics)
/tools/test/connectivity/acts/tests/google/experimental/
DBluetoothThroughputTest.py141 extras=proto)
143 extras=proto)
175 extras=proto)
177 extras=proto)
209 extras=proto)
211 extras=proto)
/tools/test/connectivity/acts/tests/google/wifi/aware/performance/
DLatencyTest.py673 "test_synchronization_default_dws finished", extras=results)
690 extras=results)
704 extras=results)
718 extras=results)
733 "test_discovery_latency_all_dws finished", extras=results)
746 "test_message_latency_default_dws finished", extras=results)
761 extras=results)
773 "test_ndp_setup_latency_default_dws finished", extras=results)
787 extras=results)
806 "test_end_to_end_latency_default_dws finished", extras=results)
[all …]
DThroughputTest.py99 "iperf run failed: %s" % data_json["error"], extras=data_json)
214 extras=data_json)
230 "test_iperf_single_ndp_aware_only_ib passes", extras=results)
238 "test_iperf_single_ndp_aware_only_oob passes", extras=results)
247 "test_iperf_max_ndp_aware_only_oob passes", extras=results)
396 extras=data_json)
411 "test_iperf_max_ndi_aware_only_passphrases passes", extras=results)
/tools/test/connectivity/acts/framework/acts/test_utils/bt/
DA2dpCodecBaseTest.py89 extras=self.metrics)
111 extras=self.metrics)
126 extras=self.metrics)
143 extras=self.metrics)
179 extras=self.metrics)
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/
Daware_test_utils.py117 asserts.fail(event_name, extras=event)
149 asserts.fail(event_name, extras=event)
232 def assert_equal_strings(first, second, msg=None, extras=None): argument
249 asserts.assert_equal(first, second, msg, extras)
301 asserts.assert_false(fail, 'Forbidden callbacks observed', extras=cb_data)
416 extras=out)

123