/tools/test/connectivity/acts_tests/tests/google/wifi/aware/performance/ |
D | LatencyTest.py | 94 s_dut = self.android_devices[1] 95 s_dut.pretty_name = "Subscriber" 99 autils.config_power_settings(s_dut, dw_24ghz, dw_5ghz) 108 s_id = s_dut.droid.wifiAwareAttach(False) 109 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 118 s_dut, s_id, False, aconsts.SUBSCRIBE_TYPE_PASSIVE 125 discovery_event = s_dut.ed.pop_event( 127 s_dut.log.info( 131 s_dut.log.info("[Subscriber] Timed out while waiting for " 138 s_dut.droid.wifiAwareDestroyDiscoverySession(s_disc_id) [all …]
|
D | ThroughputTest.py | 419 s_dut = self.android_devices[1] 420 s_dut.pretty_name = "subscriber" 422 s_dut,
|
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/functional/ |
D | AwareDiscoveryWithRangingTest.py | 79 s_dut = self.android_devices[1] 80 s_dut.pretty_name = "Subscriber" 86 s_id = s_dut.droid.wifiAwareAttach(False) 87 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 94 s_disc_id = s_dut.droid.wifiAwareSubscribe(s_id, s_config) 95 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 100 s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED) 110 autils.fail_on_event(s_dut, 116 autils.verify_no_more_events(s_dut, timeout=0) 118 return p_dut, s_dut, p_disc_id, s_disc_id [all …]
|
D | RangeAwareTest.py | 115 s_dut = self.android_devices[1] 120 s_dut, 148 self.run_rtt_discovery(s_dut, resp_peer_id=peer_id_on_sub)) 307 s_dut = self.android_devices[1] 319 s_dut, 325 result_sub = self.run_rtt_discovery(s_dut, resp_peer_id=peer_id_on_sub)
|
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/functional/ |
D | MessageTest.py | 95 s_dut = self.android_devices[1] 96 s_dut.pretty_name = "Subscriber" 108 s_id = s_dut.droid.wifiAwareAttach(False, None, use_id) 110 s_dut, aconsts.EVENT_CB_ON_ATTACHED 123 s_disc_id = s_dut.droid.wifiAwareSubscribe( 126 s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED 132 s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED 140 "s_dut": s_dut, 158 s_dut = discovery_info["s_dut"] 164 msg = self.create_msg(s_dut.aware_capabilities, payload_size, i) [all …]
|
D | DiscoveryTest.py | 149 s_dut = self.android_devices[1] 150 s_dut.pretty_name = "Subscriber" 156 s_id = s_dut.droid.wifiAwareAttach(False) 157 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 172 s_dut.aware_capabilities, 178 s_disc_id = s_dut.droid.wifiAwareSubscribe(s_id, s_config) 179 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 183 s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED) 205 s_dut.droid.wifiAwareSendMessage(s_disc_id, peer_id_on_sub, 208 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_MESSAGE_SENT) [all …]
|
D | MacRandomNoLeakageTest.py | 117 def create_date_path(self, p_dut, pub_session, s_dut, sub_session, sec_type): argument 145 s_dut, 146 s_dut.droid.wifiAwareCreateNetworkSpecifier(sub_session["discId"], 156 s_dut, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT, 166 s_dut, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT, 175 s_if_mac = self.transfer_mac_format(autils.get_mac_addr(s_dut, s_aware_if)) 176 s_dut.log.info("NDI %s=%s", s_aware_if, s_if_mac) 181 autils.verify_socket_connect(p_dut, s_dut, p_ipv6, s_ipv6, 0), 184 autils.verify_socket_connect(s_dut, p_dut, s_ipv6, p_ipv6, 0), 197 s_dut = self.android_devices[1] [all …]
|
D | MatchFilterTest.py | 60 def run_discovery(self, p_dut, s_dut, p_mf, s_mf, do_unsolicited_passive, argument 85 s_id = s_dut.droid.wifiAwareAttach() 86 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 99 s_dut.droid.wifiAwareSubscribe( 106 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 111 event = s_dut.ed.pop_event( 113 s_dut.log.info("[Subscriber] SESSION_CB_ON_SERVICE_DISCOVERED: %s", 116 s_dut.log.info("[Subscriber] No SESSION_CB_ON_SERVICE_DISCOVERED") 120 s_dut.droid.wifiAwareDestroy(s_id) 137 s_dut = self.android_devices[1] [all …]
|
D | ProtocolsMultiCountryTest.py | 138 s_dut = self.android_devices[1] 140 wutils.set_wifi_country_code(s_dut, country) 146 s_dut, 171 self.run_ping6(s_dut, p_ipv6) 175 s_dut.droid.connectivityUnregisterNetworkCallback(s_req_key) 187 s_dut = self.android_devices[1] 189 wutils.set_wifi_country_code(s_dut, country) 195 s_dut, 220 self.run_ping6(s_dut, p_ipv6) 224 s_dut.droid.connectivityUnregisterNetworkCallback(s_req_key)
|
D | DataPathTest.py | 100 s_dut = self.android_devices[1] 101 s_dut.pretty_name = "Subscriber" 107 s_id = s_dut.droid.wifiAwareAttach() 108 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 121 s_dut.droid.wifiAwarePublish(s_id, p2_config) 122 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 125 s_disc_id = s_dut.droid.wifiAwareSubscribe(s_id, 127 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 131 s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED) 138 s_dut.droid.wifiAwareSendMessage(s_disc_id, peer_id_on_sub, [all …]
|
D | ProtocolsTest.py | 74 s_dut = self.android_devices[1] 80 s_dut, 91 self.run_ping6(s_dut, p_ipv6) 95 s_dut.droid.connectivityUnregisterNetworkCallback(s_req_key) 102 s_dut = self.android_devices[1] 108 s_dut, 119 self.run_ping6(s_dut, p_ipv6) 123 s_dut.droid.connectivityUnregisterNetworkCallback(s_req_key)
|
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/stress/ |
D | MessagesStressTest.py | 210 s_dut = self.android_devices[1] 215 s_dut, 258 s_dut.droid.wifiAwareSendMessage(s_disc_id, peer_id_on_sub, 269 s_dut, self.NUM_PER_ROUND, messages_by_msg, messages_by_id) 282 s_dut, iterations - s_tx_total, messages_by_msg, messages_by_id) 299 self.wait_for_rx_events(s_dut, iterations, messages_by_msg) 344 s_dut = self.android_devices[1] 349 s_dut, 381 s_dut.droid.wifiAwareSendMessage(s_disc_id, peer_id_on_sub, 390 s_dut, self.NUM_ITERATIONS, messages_by_msg, messages_by_id) [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/wifi/aware/ |
D | aware_test_utils.py | 801 s_dut, argument 830 s_dut.pretty_name = 'Subscriber' 836 s_id = s_dut.droid.wifiAwareAttach() 837 wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 844 s_disc_id = s_dut.droid.wifiAwareSubscribe(s_id, s_config) 845 wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 848 discovery_event = wait_for_event(s_dut, 857 s_dut.droid.wifiAwareSendMessage(s_disc_id, peer_id_on_sub, msg_id, 859 sub_tx_msg_event = wait_for_event(s_dut, 880 def create_ib_ndp(p_dut, s_dut, p_config, s_config, device_startup_offset): argument [all …]
|
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/stress/ |
D | StressRangeAwareTest.py | 88 s_dut = self.android_devices[1] 93 s_dut, 114 self.run_rtt_discovery(s_dut, resp_peer_id=peer_id_on_sub))
|