/tools/test/connectivity/acts_tests/tests/google/wifi/aware/functional/ |
D | MessageTest.py | 93 p_dut = self.android_devices[0] 94 p_dut.pretty_name = "Publisher" 102 p_id = p_dut.droid.wifiAwareAttach(False, None, use_id) 104 p_dut, aconsts.EVENT_CB_ON_ATTACHED 115 p_disc_id = p_dut.droid.wifiAwarePublish( 118 p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED 139 "p_dut": p_dut, 157 p_dut = discovery_info["p_dut"] 171 p_dut, aconsts.SESSION_CB_ON_MESSAGE_RECEIVED) 185 p_dut.droid.wifiAwareSendMessage(p_disc_id, peer_id_on_pub, msg_id, [all …]
|
D | ProtocolsMultiCountryTest.py | 137 p_dut = self.android_devices[0] 139 wutils.set_wifi_country_code(p_dut, country) 145 p_dut, 154 ndpfreg = int(self.get_ndp_freq(p_dut)[-1]) 161 p_dut.log.info('ndp frequency : {}'.format(ndpfreg)) 162 p_dut.log.info('ndp channel : {}'.format(ndp_channel)) 163 p_dut.log.info('ndp band : {}'.format(ndp_band)) 170 self.run_ping6(p_dut, s_ipv6) 174 p_dut.droid.connectivityUnregisterNetworkCallback(p_req_key) 186 p_dut = self.android_devices[0] [all …]
|
D | MacRandomNoLeakageTest.py | 117 def create_date_path(self, p_dut, pub_session, s_dut, sub_session, sec_type): argument 140 p_dut, 141 p_dut.droid.wifiAwareCreateNetworkSpecifier(pub_session["discId"], 151 p_dut, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT, 161 p_dut, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT, 173 p_if_mac = self.transfer_mac_format(autils.get_mac_addr(p_dut, p_aware_if)) 174 p_dut.log.info("NDI %s=%s", p_aware_if, p_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), 196 p_dut = self.android_devices[0] [all …]
|
D | DiscoveryTest.py | 147 p_dut = self.android_devices[0] 148 p_dut.pretty_name = "Publisher" 153 p_id = p_dut.droid.wifiAwareAttach(False) 154 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 161 p_dut.aware_capabilities, 167 p_disc_id = p_dut.droid.wifiAwarePublish(p_id, p_config) 168 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 212 p_dut, aconsts.SESSION_CB_ON_MESSAGE_RECEIVED) 222 p_dut.droid.wifiAwareSendMessage(p_disc_id, peer_id_on_pub, 226 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_MESSAGE_SENT) [all …]
|
D | MatchFilterTest.py | 60 def run_discovery(self, p_dut, s_dut, p_mf, s_mf, do_unsolicited_passive, argument 82 p_id = p_dut.droid.wifiAwareAttach() 83 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 89 p_dut.droid.wifiAwarePublish( 96 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 119 p_dut.droid.wifiAwareDestroy(p_id) 135 p_dut = self.android_devices[0] 136 p_dut.pretty_name = "Publisher" 160 p_dut,
|
D | ProtocolsTest.py | 73 p_dut = self.android_devices[0] 79 p_dut, 90 self.run_ping6(p_dut, s_ipv6) 94 p_dut.droid.connectivityUnregisterNetworkCallback(p_req_key) 101 p_dut = self.android_devices[0] 107 p_dut, 118 self.run_ping6(p_dut, s_ipv6) 122 p_dut.droid.connectivityUnregisterNetworkCallback(p_req_key)
|
D | DataPathTest.py | 98 p_dut = self.android_devices[0] 99 p_dut.pretty_name = "Publisher" 104 p_id = p_dut.droid.wifiAwareAttach() 105 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 111 p_disc_id = p_dut.droid.wifiAwarePublish(p_id, 113 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 146 p_dut, aconsts.SESSION_CB_ON_MESSAGE_RECEIVED) 150 return (p_dut, s_dut, p_id, s_id, p_disc_id, s_disc_id, peer_id_on_sub, 179 (p_dut, s_dut, p_id, s_id, p_disc_id, s_disc_id, peer_id_on_sub, 201 p_dut, [all …]
|
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/functional/ |
D | AwareDiscoveryWithRangingTest.py | 77 p_dut = self.android_devices[0] 78 p_dut.pretty_name = "Publisher" 83 p_id = p_dut.droid.wifiAwareAttach(False) 84 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 90 p_disc_id = p_dut.droid.wifiAwarePublish(p_id, p_config) 91 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 115 autils.verify_no_more_events(p_dut, timeout=0) 118 return p_dut, s_dut, p_disc_id, s_disc_id 121 p_dut, argument 146 p_dut.droid.wifiAwareUpdatePublish(p_disc_id, p_config) [all …]
|
D | RangeAwareTest.py | 114 p_dut = self.android_devices[0] 119 p_dut, 140 self.run_rtt_discovery(p_dut, resp_peer_id=peer_id_on_pub)) 306 p_dut = self.android_devices[0] 318 p_dut, 334 result_pub = self.run_rtt_discovery(p_dut, resp_peer_id=peer_id_on_pub)
|
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/performance/ |
D | LatencyTest.py | 92 p_dut = self.android_devices[0] 93 p_dut.pretty_name = "Publisher" 98 autils.config_power_settings(p_dut, dw_24ghz, dw_5ghz) 105 p_id = p_dut.droid.wifiAwareAttach(False) 106 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 113 p_dut, p_id, True, aconsts.PUBLISH_TYPE_UNSOLICITED 137 p_dut.droid.wifiAwareDestroyDiscoverySession(p_disc_id) 139 p_dut.droid.wifiAwareDestroy(p_id) 176 p_dut = self.android_devices[0] 177 p_dut.pretty_name = "Publisher" [all …]
|
D | ThroughputTest.py | 417 p_dut = self.android_devices[0] 418 p_dut.pretty_name = "publisher" 421 ndp_info = autils.create_ib_ndp(p_dut, 437 latency_result = autils.run_ping6(p_dut, s_ipv6)
|
/tools/test/connectivity/acts_tests/tests/google/wifi/aware/stress/ |
D | MessagesStressTest.py | 209 p_dut = self.android_devices[0] 214 p_dut, 251 p_dut.droid.wifiAwareSendMessage(p_disc_id, peer_id_on_pub, 264 p_dut, self.NUM_PER_ROUND, messages_by_msg, messages_by_id) 280 p_dut, iterations - p_tx_total, messages_by_msg, messages_by_id) 298 self.wait_for_rx_events(p_dut, iterations, messages_by_msg) 343 p_dut = self.android_devices[0] 348 p_dut, 374 p_dut.droid.wifiAwareSendMessage(p_disc_id, peer_id_on_pub, 387 p_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 | 800 def create_discovery_pair(p_dut, argument 829 p_dut.pretty_name = 'Publisher' 833 p_id = p_dut.droid.wifiAwareAttach() 834 wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 840 p_disc_id = p_dut.droid.wifiAwarePublish(p_id, p_config) 841 wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 868 p_dut, aconsts.SESSION_CB_ON_MESSAGE_RECEIVED) 880 def create_ib_ndp(p_dut, s_dut, p_config, s_config, device_startup_offset): argument 892 peer_id_on_pub) = create_discovery_pair(p_dut, 901 p_dut, [all …]
|
/tools/test/connectivity/acts_tests/tests/google/wifi/rtt/stress/ |
D | StressRangeAwareTest.py | 87 p_dut = self.android_devices[0] 92 p_dut, 112 self.run_rtt_discovery(p_dut, resp_peer_id=peer_id_on_pub))
|