Home
last modified time | relevance | path

Searched refs:s_dut (Results 1 – 12 of 12) sorted by relevance

/tools/test/connectivity/acts/tests/google/wifi/aware/performance/
DLatencyTest.py92 s_dut = self.android_devices[1]
93 s_dut.pretty_name = "Subscriber"
97 autils.config_power_settings(s_dut, dw_24ghz, dw_5ghz)
106 s_id = s_dut.droid.wifiAwareAttach(False)
107 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
116 s_dut, s_id, False, aconsts.SUBSCRIBE_TYPE_PASSIVE
123 discovery_event = s_dut.ed.pop_event(
125 s_dut.log.info(
129 s_dut.log.info("[Subscriber] Timed out while waiting for "
136 s_dut.droid.wifiAwareDestroyDiscoverySession(s_disc_id)
[all …]
/tools/test/connectivity/acts/tests/google/wifi/rtt/functional/
DAwareDiscoveryWithRangingTest.py83 s_dut = self.android_devices[1]
84 s_dut.pretty_name = "Subscriber"
90 s_id = s_dut.droid.wifiAwareAttach(False)
91 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
98 s_disc_id = s_dut.droid.wifiAwareSubscribe(s_id, s_config)
99 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
104 s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED)
114 autils.fail_on_event(s_dut,
120 autils.verify_no_more_events(s_dut, timeout=0)
122 return p_dut, s_dut, p_disc_id, s_disc_id
[all …]
DRangeAwareTest.py115 s_dut = self.android_devices[1]
120 s_dut,
147 self.run_rtt_discovery(s_dut, resp_peer_id=peer_id_on_sub))
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/
DMessageTest.py97 s_dut = self.android_devices[1]
98 s_dut.pretty_name = "Subscriber"
110 s_id = s_dut.droid.wifiAwareAttach(False, None, use_id)
112 s_dut, aconsts.EVENT_CB_ON_ATTACHED
125 s_disc_id = s_dut.droid.wifiAwareSubscribe(
128 s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED
134 s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED
142 "s_dut": s_dut,
160 s_dut = discovery_info["s_dut"]
166 msg = self.create_msg(s_dut.aware_capabilities, payload_size, i)
[all …]
DMacRandomNoLeakageTest.py118 def create_date_path(self, p_dut, pub_session, s_dut, sub_session, sec_type): argument
146 s_dut,
147 s_dut.droid.wifiAwareCreateNetworkSpecifier(sub_session["discId"],
157 s_dut, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT,
167 s_dut, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT,
176 s_if_mac = self.transfer_mac_format(autils.get_mac_addr(s_dut, s_aware_if))
177 s_dut.log.info("NDI %s=%s", s_aware_if, s_if_mac)
182 autils.verify_socket_connect(p_dut, s_dut, p_ipv6, s_ipv6, 0),
185 autils.verify_socket_connect(s_dut, p_dut, s_ipv6, p_ipv6, 0),
198 s_dut = self.android_devices[1]
[all …]
DDiscoveryTest.py149 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 …]
DMatchFilterTest.py63 def run_discovery(self, p_dut, s_dut, p_mf, s_mf, do_unsolicited_passive, argument
88 s_id = s_dut.droid.wifiAwareAttach()
89 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
102 s_dut.droid.wifiAwareSubscribe(
109 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
114 event = s_dut.ed.pop_event(
116 s_dut.log.info("[Subscriber] SESSION_CB_ON_SERVICE_DISCOVERED: %s",
119 s_dut.log.info("[Subscriber] No SESSION_CB_ON_SERVICE_DISCOVERED")
123 s_dut.droid.wifiAwareDestroy(s_id)
140 s_dut = self.android_devices[1]
[all …]
DDataPathTest.py102 s_dut = self.android_devices[1]
103 s_dut.pretty_name = "Subscriber"
109 s_id = s_dut.droid.wifiAwareAttach()
110 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
123 s_dut.droid.wifiAwarePublish(s_id, p2_config)
124 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
127 s_disc_id = s_dut.droid.wifiAwareSubscribe(s_id,
129 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
133 s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED)
140 s_dut.droid.wifiAwareSendMessage(s_disc_id, peer_id_on_sub,
[all …]
DProtocolsTest.py77 s_dut = self.android_devices[1]
83 s_dut,
94 self.run_ping6(s_dut, p_ipv6)
98 s_dut.droid.connectivityUnregisterNetworkCallback(s_req_key)
105 s_dut = self.android_devices[1]
111 s_dut,
122 self.run_ping6(s_dut, p_ipv6)
126 s_dut.droid.connectivityUnregisterNetworkCallback(s_req_key)
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/
Daware_test_utils.py733 s_dut, argument
762 s_dut.pretty_name = 'Subscriber'
768 s_id = s_dut.droid.wifiAwareAttach()
769 wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
776 s_disc_id = s_dut.droid.wifiAwareSubscribe(s_id, s_config)
777 wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
780 discovery_event = wait_for_event(s_dut,
789 s_dut.droid.wifiAwareSendMessage(s_disc_id, peer_id_on_sub, msg_id,
791 sub_tx_msg_event = wait_for_event(s_dut,
812 def create_ib_ndp(p_dut, s_dut, p_config, s_config, device_startup_offset): argument
[all …]
/tools/test/connectivity/acts/tests/google/wifi/aware/stress/
DMessagesStressTest.py212 s_dut = self.android_devices[1]
217 s_dut,
249 s_dut.droid.wifiAwareSendMessage(s_disc_id, peer_id_on_sub,
258 s_dut, self.NUM_ITERATIONS, messages_by_msg, messages_by_id)
269 self.wait_for_rx_events(s_dut, self.NUM_ITERATIONS, messages_by_msg)
/tools/test/connectivity/acts/tests/google/wifi/rtt/stress/
DStressRangeAwareTest.py92 s_dut = self.android_devices[1]
97 s_dut,
118 self.run_rtt_discovery(s_dut, resp_peer_id=peer_id_on_sub))