Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/tests/google/wifi/rtt/functional/
DAwareDiscoveryWithRangingTest.py24 from acts.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.test_utils.wifi.aware import aware_test_utils as autils unknown
114 peer_id_on_pub) = autils.create_discovery_pair(
117 p_config=autils.add_ranging_to_pub(
118 autils.create_discovery_config(
121 s_config=autils.add_ranging_to_pub(
122 autils.create_discovery_config(
168 id0, mac0 = autils.attach_with_identity(dut0)
169 id1, mac1 = autils.attach_with_identity(dut1)
174 time.sleep(autils.WAIT_FOR_CLUSTER)
177 p_config = autils.add_ranging_to_pub(
[all …]
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/
DDataPathTest.py24 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown
104 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED)
107 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
112 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
121 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
126 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
129 discovery_event = autils.wait_for_event(
141 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_MESSAGE_SENT)
144 pub_rx_msg_event = autils.wait_for_event(
219 autils.wait_for_event_with_keys(
[all …]
DDiscoveryTest.py23 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown
79 aconsts.DISCOVERY_KEY_MATCH_FILTER_LIST] = autils.encode_list(
89 mf = autils.construct_max_match_filter(
94 DISCOVERY_KEY_MATCH_FILTER_LIST] = autils.encode_list(mf)
151 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED)
154 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
165 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
176 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
179 discovery_event = autils.wait_for_event(
187 autils.assert_equal_strings(
[all …]
DAttachTest.py24 from acts.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 …]
DMessageTest.py23 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown
102 autils.wait_for_event(
104 if not use_id else autils.decorate_event(
108 autils.wait_for_event(
110 if not use_id else autils.decorate_event(
116 autils.wait_for_event(
118 if not use_id else autils.decorate_event(
124 autils.wait_for_event(
126 if not use_id else autils.decorate_event(
130 discovery_event = autils.wait_for_event(
[all …]
DMacRandomNoLeakageTest.py23 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown
98 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
99 event = autils.wait_for_event(dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED)
104 config = autils.create_discovery_config(self.SERVICE_NAME,
107 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
109 config = autils.create_discovery_config(self.SERVICE_NAME,
112 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
138 p_req_key = autils.request_network(
143 s_req_key = autils.request_network(
149 p_net_event_nc = autils.wait_for_event_with_keys(
[all …]
DCapabilitiesTest.py22 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown
74 autils.wait_for_event(dut, event_name)
76 autils.wait_for_event(dut,
92 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
171 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
188 autils.wait_for_event(other_dut, aconsts.EVENT_CB_ON_ATTACHED)
199 discovery_event = autils.wait_for_event(
209 autils.wait_for_event(other_dut,
213 pub_rx_msg_event = autils.wait_for_event(
219 p_req_key = autils.request_network(
[all …]
DNonConcurrencyTest.py23 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown
55 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
64 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE)
82 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE)
86 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACH_FAILED)
95 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_AVAILABLE)
99 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
119 p_config = autils.create_discovery_config(self.SERVICE_NAME,
121 s_config = autils.create_discovery_config(self.SERVICE_NAME,
134 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
[all …]
DProtocolsTest.py21 from acts.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.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.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/google/wifi/aware/performance/
DLatencyTest.py23 from acts.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.py26 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown
63 resp_ipv6, init_ipv6) = autils.create_ib_ndp(
65 autils.create_discovery_config(
67 autils.create_discovery_config(
72 init_ipv6, resp_ipv6) = autils.create_oob_ndp(init_dut, resp_dut)
152 init_ipv6, resp_ipv6) = autils.create_oob_ndp(
275 init_id, init_mac = autils.attach_with_identity(init_dut)
276 resp_id, resp_mac = autils.attach_with_identity(resp_dut)
281 time.sleep(autils.WAIT_FOR_CLUSTER)
292 resp_req_key = autils.request_network(
[all …]
/tools/test/connectivity/acts/tests/google/wifi/aware/stress/
DDataPathStressTest.py24 from acts.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.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)
DMessagesStressTest.py22 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown
82 autils.EVENT_TIMEOUT)
131 autils.EVENT_TIMEOUT)
212 discovery_data = autils.create_discovery_pair(
215 p_config=autils.create_discovery_config(
217 s_config=autils.create_discovery_config(
DInfraAssociationStressTest.py23 from acts.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)
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/
DAwareBaseTest.py22 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown
49 autils.wait_for_event(ad,
52 ad.aware_capabilities = autils.get_aware_capabilities(ad)
57 autils.configure_ndp_allow_any_override(ad, True)
60 autils.configure_mac_random_interval(ad, 0)
69 autils.validate_forbidden_callbacks(ad)
93 autils.config_settings_high_power(ad)
95 autils.config_settings_low_power(ad)
/tools/test/connectivity/acts/tests/google/wifi/rtt/stress/
DStressRangeAwareTest.py22 from acts.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/google/wifi/aware/ota/
DServiceIdsTest.py21 from acts.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/google/wifi/
DWifiDppTest.py27 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown
418 mac = autils.get_mac_addr(self.helper_dev, "wlan0")
535 mac = autils.get_mac_addr(self.helper_dev, "wlan0")