Home
last modified time | relevance | path

Searched refs:autils (Results 1 – 23 of 23) sorted by relevance

/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/functional/
DAwareDiscoveryWithRangingTest.py24 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
84 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED)
87 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
91 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
95 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
99 event = autils.wait_for_event(
110 autils.fail_on_event(s_dut,
114 time.sleep(autils.EVENT_TIMEOUT)
115 autils.verify_no_more_events(p_dut, timeout=0)
116 autils.verify_no_more_events(s_dut, timeout=0)
[all …]
DRangeAwareTest.py23 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
118 peer_id_on_pub) = autils.create_discovery_pair(
121 p_config=autils.add_ranging_to_pub(
122 autils.create_discovery_config(
125 s_config=autils.add_ranging_to_sub(
126 autils.create_discovery_config(
173 id0, mac0 = autils.attach_with_identity(dut0)
174 id1, mac1 = autils.attach_with_identity(dut1)
179 time.sleep(autils.WAIT_FOR_CLUSTER)
182 p_config = autils.add_ranging_to_pub(
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/functional/
DDiscoveryTest.py23 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
80 aconsts.DISCOVERY_KEY_MATCH_FILTER_LIST] = autils.encode_list(
90 mf = autils.construct_max_match_filter(
95 DISCOVERY_KEY_MATCH_FILTER_LIST] = autils.encode_list(mf)
152 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED)
155 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
166 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
177 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
180 discovery_event = autils.wait_for_event(
188 autils.assert_equal_strings(
[all …]
DAttachTest.py24 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
38 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
39 autils.fail_on_event(dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED)
50 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
51 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED)
72 autils.wait_for_event(
73 dut, autils.decorate_event(aconsts.EVENT_CB_ON_ATTACHED, id1))
74 autils.fail_on_event(
76 autils.decorate_event(aconsts.EVENT_CB_ON_IDENTITY_CHANGED, id1))
79 autils.wait_for_event(
[all …]
DDataPathTest.py25 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
105 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED)
108 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
113 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
122 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
127 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
130 discovery_event = autils.wait_for_event(
142 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_MESSAGE_SENT)
145 pub_rx_msg_event = autils.wait_for_event(
220 autils.wait_for_event_with_keys(
[all …]
DNonConcurrencyTest.py26 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
60 p_config = autils.create_discovery_config(self.SERVICE_NAME,
65 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
80 autils.fail_on_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE)
83 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_SESSION_CONFIG_FAILED)
86 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_AVAILABLE)
91 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
93 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
96 autils.fail_on_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
115 autils.fail_on_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE)
[all …]
DMacRandomNoLeakageTest.py23 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
99 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
100 event = autils.wait_for_event(dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED)
105 config = autils.create_discovery_config(self.SERVICE_NAME,
108 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
110 config = autils.create_discovery_config(self.SERVICE_NAME,
113 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
139 p_req_key = autils.request_network(
144 s_req_key = autils.request_network(
150 p_net_event_nc = autils.wait_for_event_with_keys(
[all …]
DProtocolsTest.py21 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
55 resp_ipv6) = autils.create_oob_ndp(init_dut, resp_dut)
78 s_ipv6) = autils.create_ib_ndp(
81 p_config=autils.create_discovery_config(
83 s_config=autils.create_discovery_config(
106 s_ipv6) = autils.create_ib_ndp(
109 p_config=autils.create_discovery_config(
111 s_config=autils.create_discovery_config(
151 init_ipv6, resp_ipv6) = autils.create_oob_ndp(
195 resp_ipv6) = autils.create_oob_ndp(init_dut, resp_dut)
[all …]
DMacRandomTest.py23 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
59 autils.configure_mac_random_interval(dut, 1800)
65 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
66 ident_event = autils.wait_for_event(
82 ndi_mac = autils.get_mac_addr(dut, ndi_interface)
98 infra_mac = autils.get_wifi_mac_address(dut)
114 autils.configure_mac_random_interval(dut, RANDOM_INTERVAL)
118 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
119 ident_event = autils.wait_for_event(
126 ident_event = autils.wait_for_event(
DMatchFilterTest.py24 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
83 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED)
86 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
91 autils.create_discovery_config(
96 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
101 autils.create_discovery_config(
106 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
112 aconsts.SESSION_CB_ON_SERVICE_DISCOVERED, autils.EVENT_TIMEOUT)
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/performance/
DLatencyTest.py23 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
59 event = autils.wait_for_event(dut, event_name)
93 autils.config_power_settings(p_dut, dw_24ghz, dw_5ghz)
94 autils.config_power_settings(s_dut, dw_24ghz, dw_5ghz)
101 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED)
104 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
143 autils.extract_stats(
176 autils.config_power_settings(p_dut, dw_24ghz, dw_5ghz)
177 autils.config_power_settings(s_dut, dw_24ghz, dw_5ghz)
181 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED)
[all …]
DThroughputTest.py27 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
64 resp_ipv6, init_ipv6) = autils.create_ib_ndp(
66 autils.create_discovery_config(
68 autils.create_discovery_config(
73 init_ipv6, resp_ipv6) = autils.create_oob_ndp(init_dut, resp_dut)
153 init_ipv6, resp_ipv6) = autils.create_oob_ndp(
277 init_id, init_mac = autils.attach_with_identity(init_dut)
278 resp_id, resp_mac = autils.attach_with_identity(resp_dut)
283 time.sleep(autils.WAIT_FOR_CLUSTER)
294 resp_req_key = autils.request_network(
[all …]
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/stress/
DDataPathStressTest.py24 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
69 autils.wait_for_event(init_dut, aconsts.EVENT_CB_ON_ATTACHED)
70 init_ident_event = autils.wait_for_event(
75 autils.wait_for_event(resp_dut, aconsts.EVENT_CB_ON_ATTACHED)
76 resp_ident_event = autils.wait_for_event(
83 time.sleep(autils.WAIT_FOR_CLUSTER)
88 resp_req_key = autils.request_network(
101 init_req_key = autils.request_network(
108 init_req_key = autils.request_network(
119 resp_req_key = autils.request_network(
[all …]
DDiscoveryStressTest.py22 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
49 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
61 p_config = autils.create_discovery_config(
64 p_config = autils.create_discovery_config(
67 s_config = autils.create_discovery_config(
70 s_config = autils.create_discovery_config(
98 dut.ed.pop_event(event_name, autils.EVENT_TIMEOUT)
DInfraAssociationStressTest.py23 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
83 resp_ipv6) = autils.create_oob_ndp(init_dut, resp_dut)
131 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
136 autils.create_discovery_config(self.SERVICE_NAME,
138 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
DMessagesStressTest.py22 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
90 autils.EVENT_TIMEOUT)
139 autils.EVENT_TIMEOUT)
213 discovery_data = autils.create_discovery_pair(
216 p_config=autils.create_discovery_config(
218 s_config=autils.create_discovery_config(
347 discovery_data = autils.create_discovery_pair(
350 p_config=autils.create_discovery_config(
352 s_config=autils.create_discovery_config(
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/aware/
DAwareBaseTest.py26 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
75 autils.wait_for_event(ad,
77 ad.aware_capabilities = autils.get_aware_capabilities(ad)
82 autils.configure_ndp_allow_any_override(ad, True)
85 autils.configure_mac_random_interval(ad, 0)
101 autils.validate_forbidden_callbacks(ad)
125 autils.config_settings_high_power(ad)
127 autils.config_settings_low_power(ad)
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/stress/
DStressRangeAwareTest.py22 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
91 peer_id_on_pub) = autils.create_discovery_pair(
94 p_config=autils.add_ranging_to_pub(
95 autils.create_discovery_config(
98 s_config=autils.add_ranging_to_pub(
99 autils.create_discovery_config(
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/ota/
DServiceIdsTest.py21 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
57 autils.wait_for_event(dut, event_name)
71 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
72 ident_event = autils.wait_for_event(
/tools/test/connectivity/acts_tests/tests/google/wifi/
DWifiNetworkRequestTest.py27 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
247 autils.fail_on_event_with_keys(
304 autils.wait_for_event_with_keys(
349 autils.wait_for_event_with_keys(
376 autils.fail_on_event_with_keys(
393 autils.wait_for_event_with_keys(
431 autils.wait_for_event_with_keys(
489 autils.wait_for_event_with_keys(
DWifiStaConcurrencyNetworkRequestTest.py23 import acts_contrib.test_utils.wifi.aware.aware_test_utils as autils namespace
132 autils.wait_for_event_with_keys(
170 autils.fail_on_event_with_keys(
DWifiRoamingTest.py25 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
128 autils.wait_for_event_with_keys(
134 autils.wait_for_event_with_keys(
150 autils.wait_for_event_with_keys(
DWifiDppTest.py27 from acts_contrib.test_utils.wifi.aware import aware_test_utils as autils unknown
512 mac = autils.get_mac_addr(self.helper_dev, "wlan0")
652 mac = autils.get_mac_addr(self.helper_dev, "wlan0")