/tools/test/connectivity/acts/tests/google/wifi/rtt/functional/ |
D | AwareDiscoveryWithRangingTest.py | 24 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 85 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 88 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 92 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 96 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 100 event = autils.wait_for_event(s_dut, 110 autils.fail_on_event(s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED) 113 time.sleep(autils.EVENT_TIMEOUT) 114 autils.verify_no_more_events(p_dut, timeout=0) 115 autils.verify_no_more_events(s_dut, timeout=0) [all …]
|
D | RangeAwareTest.py | 23 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 112 peer_id_on_sub, peer_id_on_pub) = autils.create_discovery_pair( 115 p_config=autils.add_ranging_to_pub(autils.create_discovery_config( 117 s_config=autils.add_ranging_to_pub(autils.create_discovery_config( 163 id0, mac0 = autils.attach_with_identity(dut0) 164 id1, mac1 = autils.attach_with_identity(dut1) 169 time.sleep(autils.WAIT_FOR_CLUSTER) 172 p_config = autils.add_ranging_to_pub( 173 autils.create_discovery_config(self.SERVICE_NAME, 177 autils.wait_for_event(dut1, aconsts.SESSION_CB_ON_PUBLISH_STARTED) [all …]
|
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/ |
D | AttachTest.py | 24 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 41 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 42 autils.fail_on_event(dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 53 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 54 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 75 autils.wait_for_event(dut, 76 autils.decorate_event(aconsts.EVENT_CB_ON_ATTACHED, 78 autils.fail_on_event(dut, 79 autils.decorate_event( 83 autils.wait_for_event(dut, [all …]
|
D | DataPathTest.py | 24 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 102 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 105 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 109 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 118 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 122 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 125 discovery_event = autils.wait_for_event( 135 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_MESSAGE_SENT) 138 pub_rx_msg_event = autils.wait_for_event( 198 time.sleep(autils.EVENT_NDP_TIMEOUT) [all …]
|
D | MessageTest.py | 23 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 103 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED 104 if not use_id else autils.decorate_event( 108 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED 109 if not use_id else autils.decorate_event( 117 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED 118 if not use_id else autils.decorate_event( 124 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED 125 if not use_id else autils.decorate_event( 130 discovery_event = autils.wait_for_event( [all …]
|
D | CapabilitiesTest.py | 22 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 77 autils.wait_for_event(dut, event_name) 79 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_SESSION_CONFIG_FAILED) 94 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 173 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 190 autils.wait_for_event(other_dut, aconsts.EVENT_CB_ON_ATTACHED) 201 discovery_event = autils.wait_for_event( 209 autils.wait_for_event(other_dut, aconsts.SESSION_CB_ON_MESSAGE_SENT) 212 pub_rx_msg_event = autils.wait_for_event( 217 p_req_key = autils.request_network( [all …]
|
D | MacRandomTest.py | 23 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 62 autils.configure_mac_random_interval(dut, 1800) 68 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 69 ident_event = autils.wait_for_event(dut, 84 ndi_mac = autils.get_mac_addr(dut, ndi_interface) 100 infra_mac = autils.get_wifi_mac_address(dut) 116 autils.configure_mac_random_interval(dut, RANDOM_INTERVAL) 120 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 121 ident_event = autils.wait_for_event(dut, 128 ident_event = autils.wait_for_event(dut,
|
D | ProtocolsTest.py | 21 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 59 resp_ipv6) = autils.create_oob_ndp(init_dut, resp_dut) 81 s_ipv6) = autils.create_ib_ndp( 84 p_config=autils.create_discovery_config( 86 s_config=autils.create_discovery_config( 109 s_ipv6) = autils.create_ib_ndp( 112 p_config=autils.create_discovery_config( 114 s_config=autils.create_discovery_config(self.SERVICE_NAME, 153 resp_ipv6) = autils.create_oob_ndp(dut, self.android_devices[i + 1]) 194 resp_ipv6) = autils.create_oob_ndp(init_dut, resp_dut) [all …]
|
D | NonConcurrencyTest.py | 20 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 52 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 61 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE) 79 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE) 83 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACH_FAILED) 92 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_AVAILABLE) 96 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
|
/tools/test/connectivity/acts/tests/google/wifi/aware/performance/ |
D | LatencyTest.py | 23 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 62 event = autils.wait_for_event(dut, event_name) 95 autils.config_power_settings(p_dut, dw_24ghz, dw_5ghz) 96 autils.config_power_settings(s_dut, dw_24ghz, dw_5ghz) 103 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 106 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 144 autils.extract_stats( 177 autils.config_power_settings(p_dut, dw_24ghz, dw_5ghz) 178 autils.config_power_settings(s_dut, dw_24ghz, dw_5ghz) 182 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) [all …]
|
D | ThroughputTest.py | 26 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 66 init_aware_if, resp_ipv6, init_ipv6) = autils.create_ib_ndp( 68 autils.create_discovery_config(self.SERVICE_NAME, 70 autils.create_discovery_config(self.SERVICE_NAME, 75 resp_ipv6) = autils.create_oob_ndp(init_dut, resp_dut) 153 resp_ipv6) = autils.create_oob_ndp(dut, self.android_devices[i + 1]) 271 init_id, init_mac = autils.attach_with_identity(init_dut) 272 resp_id, resp_mac = autils.attach_with_identity(resp_dut) 277 time.sleep(autils.WAIT_FOR_CLUSTER) 288 resp_req_key = autils.request_network(resp_dut, [all …]
|
/tools/test/connectivity/acts/tests/google/wifi/aware/stress/ |
D | DataPathStressTest.py | 24 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( 100 init_req_key = autils.request_network( 106 init_req_key = autils.request_network( 116 resp_req_key = autils.request_network( [all …]
|
D | DiscoveryStressTest.py | 22 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 52 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 63 p_config = autils.create_discovery_config( 66 p_config = autils.create_discovery_config( 69 s_config = autils.create_discovery_config( 72 s_config = autils.create_discovery_config( 95 dut.ed.pop_event(event_name, autils.EVENT_TIMEOUT)
|
D | InfraAssociationStressTest.py | 23 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 86 resp_ipv6) = autils.create_oob_ndp(init_dut, resp_dut) 133 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 138 autils.create_discovery_config(self.SERVICE_NAME, 140 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
|
D | MessagesStressTest.py | 22 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 83 events = dut.ed.pop_events(tx_events_regex, autils.EVENT_TIMEOUT) 127 autils.EVENT_TIMEOUT) 207 discovery_data = autils.create_discovery_pair( 210 p_config=autils.create_discovery_config( 212 s_config=autils.create_discovery_config(self.SERVICE_NAME,
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/ |
D | AwareBaseTest.py | 22 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 51 autils.wait_for_event(ad, aconsts.BROADCAST_WIFI_AWARE_AVAILABLE) 53 ad.aware_capabilities = autils.get_aware_capabilities(ad) 58 autils.configure_ndp_allow_any_override(ad, True) 61 autils.configure_mac_random_interval(ad, 0) 70 autils.validate_forbidden_callbacks(ad) 94 autils.config_settings_high_power(ad) 96 autils.config_settings_low_power(ad)
|
/tools/test/connectivity/acts/tests/google/wifi/rtt/stress/ |
D | StressRangeAwareTest.py | 22 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 92 peer_id_on_sub, peer_id_on_pub) = autils.create_discovery_pair( 95 p_config=autils.add_ranging_to_pub(autils.create_discovery_config( 97 s_config=autils.add_ranging_to_pub(autils.create_discovery_config(
|
/tools/test/connectivity/acts/tests/google/wifi/aware/ota/ |
D | ServiceIdsTest.py | 21 from acts.test_utils.wifi.aware import aware_test_utils as autils unknown 60 autils.wait_for_event(dut, event_name) 74 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 75 ident_event = autils.wait_for_event(dut,
|