Home
last modified time | relevance | path

Searched refs:rconsts (Results 1 – 11 of 11) sorted by relevance

/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/rtt/
Drtt_test_utils.py24 from acts_contrib.test_utils.wifi.rtt import rtt_const as rconsts unknown
116 if (rconsts.SCAN_RESULT_KEY_RTT_RESPONDER in network
117 and network[rconsts.SCAN_RESULT_KEY_RTT_RESPONDER]):
120 if (rconsts.SCAN_RESULT_KEY_RTT_RESPONDER not in network
121 or not network[rconsts.SCAN_RESULT_KEY_RTT_RESPONDER]):
206 range_result[rconsts.EVENT_CB_RANGING_KEY_MAC_AS_STRING_BSSID],
208 if (rconsts.SCAN_RESULT_KEY_RTT_RESPONDER in scan_result
209 and scan_result[rconsts.SCAN_RESULT_KEY_RTT_RESPONDER]):
211 range_result[rconsts.EVENT_CB_RANGING_KEY_STATUS] ==
212 rconsts.EVENT_CB_RANGING_STATUS_SUCCESS,
[all …]
DRttBaseTest.py25 from acts_contrib.test_utils.wifi.rtt import rtt_const as rconsts unknown
76 rutils.wait_for_event(ad, rconsts.BROADCAST_WIFI_RTT_AVAILABLE)
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/functional/
DRttRequestManagementTest.py22 from acts_contrib.test_utils.wifi.rtt import rtt_const as rconsts unknown
94 rutils.decorate_event(rconsts.EVENT_CB_RANGING_ON_RESULT,
101 rutils.decorate_event(rconsts.EVENT_CB_RANGING_ON_RESULT,
106 rutils.decorate_event(rconsts.EVENT_CB_RANGING_ON_RESULT,
137 dut, rutils.decorate_event(rconsts.EVENT_CB_RANGING_ON_RESULT,
140 dut, rutils.decorate_event(rconsts.EVENT_CB_RANGING_ON_RESULT,
143 dut, rutils.decorate_event(rconsts.EVENT_CB_RANGING_ON_FAIL, id3))
145 dut, rutils.decorate_event(rconsts.EVENT_CB_RANGING_ON_RESULT,
DRangeAwareTest.py25 from acts_contrib.test_utils.wifi.rtt import rtt_const as rconsts unknown
82 event_name = rutils.decorate_event(rconsts.EVENT_CB_RANGING_ON_RESULT,
86 result = event["data"][rconsts.EVENT_CB_RANGING_KEY_RESULTS][0]
326 asserts.assert_equal(rconsts.EVENT_CB_RANGING_STATUS_FAIL,
327 result_sub[rconsts.EVENT_CB_RANGING_KEY_STATUS],
335 asserts.assert_equal(rconsts.EVENT_CB_RANGING_STATUS_FAIL,
336 result_pub[rconsts.EVENT_CB_RANGING_KEY_STATUS],
483 elif (result[rconsts.EVENT_CB_RANGING_KEY_STATUS] ==
484 rconsts.EVENT_CB_RANGING_STATUS_SUCCESS):
534 elif (result[rconsts.EVENT_CB_RANGING_KEY_STATUS] ==
[all …]
DRttDisableTest.py20 from acts_contrib.test_utils.wifi.rtt import rtt_const as rconsts unknown
74 rutils.wait_for_event(dut, rconsts.BROADCAST_WIFI_RTT_NOT_AVAILABLE)
81 dut, rutils.decorate_event(rconsts.EVENT_CB_RANGING_ON_FAIL, id))
83 event["data"][rconsts.EVENT_CB_RANGING_KEY_STATUS],
84 rconsts.RANGING_FAIL_CODE_RTT_NOT_AVAILABLE, "Invalid error code")
96 rutils.wait_for_event(dut, rconsts.BROADCAST_WIFI_RTT_AVAILABLE)
DRangeSoftApTest.py21 from acts_contrib.test_utils.wifi.rtt import rtt_const as rconsts unknown
76 rconsts.SCAN_RESULT_KEY_RTT_RESPONDER in scanned_softap
77 and scanned_softap[rconsts.SCAN_RESULT_KEY_RTT_RESPONDER],
83 rconsts.SCAN_RESULT_KEY_RTT_RESPONDER] = True # falsify
DRangeApSupporting11McTest.py24 from acts_contrib.test_utils.wifi.rtt import rtt_const as rconsts unknown
159 rutils.wait_for_event(dut, rconsts.BROADCAST_WIFI_RTT_NOT_AVAILABLE)
193 rutils.wait_for_event(dut, rconsts.BROADCAST_WIFI_RTT_AVAILABLE)
243 if rconsts.EVENT_CB_RANGING_KEY_RESULTS in event["data"]:
245 rconsts.EVENT_CB_RANGING_KEY_RESULTS])
DRangeApNonSupporting11McTest.py20 from acts_contrib.test_utils.wifi.rtt import rtt_const as rconsts unknown
50 not dut.rtt_capabilities[rconsts.CAP_RTT_ONE_SIDED_SUPPORTED],
141 code == rconsts.
160 non_rtt_aps[0][rconsts.SCAN_RESULT_KEY_RTT_RESPONDER] = True # falsify
DRangeApMiscTest.py19 from acts_contrib.test_utils.wifi.rtt import rtt_const as rconsts unknown
86 code == rconsts.
DAwareDiscoveryWithRangingTest.py26 from acts_contrib.test_utils.wifi.rtt import rtt_const as rconsts unknown
1878 rutils.decorate_event(rconsts.EVENT_CB_RANGING_ON_RESULT, id))
1880 event["data"][rconsts.EVENT_CB_RANGING_KEY_RESULTS][0])
1889 rutils.decorate_event(rconsts.EVENT_CB_RANGING_ON_RESULT, id))
1891 event["data"][rconsts.EVENT_CB_RANGING_KEY_RESULTS][0])
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/stress/
DStressRangeAwareTest.py24 from acts_contrib.test_utils.wifi.rtt import rtt_const as rconsts unknown
68 rutils.decorate_event(rconsts.EVENT_CB_RANGING_ON_RESULT, id),
70 result = event["data"][rconsts.EVENT_CB_RANGING_KEY_RESULTS][0]