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/rtt/functional/
DAwareDiscoveryWithRangingTest.py79 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 …]
DRangeAwareTest.py111 s_dut = self.android_devices[1]
116 s_dut,
143 self.run_rtt_discovery(s_dut, resp_peer_id=peer_id_on_sub))
/tools/test/connectivity/acts/tests/google/wifi/aware/performance/
DLatencyTest.py89 s_dut = self.android_devices[1]
90 s_dut.pretty_name = "Subscriber"
94 autils.config_power_settings(s_dut, dw_24ghz, dw_5ghz)
103 s_id = s_dut.droid.wifiAwareAttach(False)
104 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
113 s_dut, s_id, False, aconsts.SUBSCRIBE_TYPE_PASSIVE
120 discovery_event = s_dut.ed.pop_event(
122 s_dut.log.info(
126 s_dut.log.info("[Subscriber] Timed out while waiting for "
133 s_dut.droid.wifiAwareDestroyDiscoverySession(s_disc_id)
[all …]
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/
DMessageTest.py94 s_dut = self.android_devices[1]
95 s_dut.pretty_name = "Subscriber"
107 s_id = s_dut.droid.wifiAwareAttach(False, None, use_id)
109 s_dut, aconsts.EVENT_CB_ON_ATTACHED
122 s_disc_id = s_dut.droid.wifiAwareSubscribe(
125 s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED
131 s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED
139 "s_dut": s_dut,
157 s_dut = discovery_info["s_dut"]
163 msg = self.create_msg(s_dut.aware_capabilities, payload_size, i)
[all …]
DDiscoveryTest.py146 s_dut = self.android_devices[1]
147 s_dut.pretty_name = "Subscriber"
153 s_id = s_dut.droid.wifiAwareAttach(False)
154 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
169 s_dut.aware_capabilities,
175 s_disc_id = s_dut.droid.wifiAwareSubscribe(s_id, s_config)
176 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
180 s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED)
202 s_dut.droid.wifiAwareSendMessage(s_disc_id, peer_id_on_sub,
205 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_MESSAGE_SENT)
[all …]
DDataPathTest.py99 s_dut = self.android_devices[1]
100 s_dut.pretty_name = "Subscriber"
106 s_id = s_dut.droid.wifiAwareAttach()
107 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED)
120 s_dut.droid.wifiAwarePublish(s_id, p2_config)
121 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
124 s_disc_id = s_dut.droid.wifiAwareSubscribe(s_id,
126 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED)
130 s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED)
137 s_dut.droid.wifiAwareSendMessage(s_disc_id, peer_id_on_sub,
[all …]
DMacRandomNoLeakageTest.py116 def create_date_path(self, p_dut, pub_session, s_dut, sub_session, sec_type): argument
144 s_dut,
145 s_dut.droid.wifiAwareCreateNetworkSpecifier(sub_session["discId"],
155 s_dut, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT,
165 s_dut, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT,
174 s_if_mac = self.transfer_mac_format(autils.get_mac_addr(s_dut, s_aware_if))
175 s_dut.log.info("NDI %s=%s", s_aware_if, s_if_mac)
180 autils.verify_socket_connect(p_dut, s_dut, p_ipv6, s_ipv6, 0),
183 autils.verify_socket_connect(s_dut, p_dut, s_ipv6, p_ipv6, 0),
196 s_dut = self.android_devices[1]
[all …]
DMatchFilterTest.py60 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 …]
DProtocolsTest.py74 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/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.py209 s_dut = self.android_devices[1]
214 s_dut,
246 s_dut.droid.wifiAwareSendMessage(s_disc_id, peer_id_on_sub,
255 s_dut, self.NUM_ITERATIONS, messages_by_msg, messages_by_id)
266 self.wait_for_rx_events(s_dut, self.NUM_ITERATIONS, messages_by_msg)
/tools/test/connectivity/acts/tests/google/wifi/rtt/stress/
DStressRangeAwareTest.py88 s_dut = self.android_devices[1]
93 s_dut,
114 self.run_rtt_discovery(s_dut, resp_peer_id=peer_id_on_sub))