Home
last modified time | relevance | path

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

/tools/test/connectivity/acts/tests/google/wifi/aware/functional/
DMessageTest.py95 p_dut = self.android_devices[0]
96 p_dut.pretty_name = "Publisher"
104 p_id = p_dut.droid.wifiAwareAttach(False, None, use_id)
106 p_dut, aconsts.EVENT_CB_ON_ATTACHED
117 p_disc_id = p_dut.droid.wifiAwarePublish(
120 p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED
141 "p_dut": p_dut,
159 p_dut = discovery_info["p_dut"]
173 p_dut, aconsts.SESSION_CB_ON_MESSAGE_RECEIVED)
187 p_dut.droid.wifiAwareSendMessage(p_disc_id, peer_id_on_pub, msg_id,
[all …]
DMacRandomNoLeakageTest.py118 def create_date_path(self, p_dut, pub_session, s_dut, sub_session, sec_type): argument
141 p_dut,
142 p_dut.droid.wifiAwareCreateNetworkSpecifier(pub_session["discId"],
152 p_dut, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT,
162 p_dut, cconsts.EVENT_NETWORK_CALLBACK, autils.EVENT_NDP_TIMEOUT,
174 p_if_mac = self.transfer_mac_format(autils.get_mac_addr(p_dut, p_aware_if))
175 p_dut.log.info("NDI %s=%s", p_aware_if, p_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),
197 p_dut = self.android_devices[0]
[all …]
DDiscoveryTest.py147 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 …]
DDataPathTest.py100 p_dut = self.android_devices[0]
101 p_dut.pretty_name = "Publisher"
106 p_id = p_dut.droid.wifiAwareAttach()
107 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED)
113 p_disc_id = p_dut.droid.wifiAwarePublish(p_id,
115 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
148 p_dut, aconsts.SESSION_CB_ON_MESSAGE_RECEIVED)
152 return (p_dut, s_dut, p_id, s_id, p_disc_id, s_disc_id, peer_id_on_sub,
181 (p_dut, s_dut, p_id, s_id, p_disc_id, s_disc_id, peer_id_on_sub,
203 p_dut,
[all …]
DMatchFilterTest.py63 def run_discovery(self, p_dut, s_dut, p_mf, s_mf, do_unsolicited_passive, argument
85 p_id = p_dut.droid.wifiAwareAttach()
86 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED)
92 p_dut.droid.wifiAwarePublish(
99 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
122 p_dut.droid.wifiAwareDestroy(p_id)
138 p_dut = self.android_devices[0]
139 p_dut.pretty_name = "Publisher"
163 p_dut,
DProtocolsTest.py76 p_dut = self.android_devices[0]
82 p_dut,
93 self.run_ping6(p_dut, s_ipv6)
97 p_dut.droid.connectivityUnregisterNetworkCallback(p_req_key)
104 p_dut = self.android_devices[0]
110 p_dut,
121 self.run_ping6(p_dut, s_ipv6)
125 p_dut.droid.connectivityUnregisterNetworkCallback(p_req_key)
/tools/test/connectivity/acts/tests/google/wifi/aware/performance/
DLatencyTest.py90 p_dut = self.android_devices[0]
91 p_dut.pretty_name = "Publisher"
96 autils.config_power_settings(p_dut, dw_24ghz, dw_5ghz)
103 p_id = p_dut.droid.wifiAwareAttach(False)
104 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED)
111 p_dut, p_id, True, aconsts.PUBLISH_TYPE_UNSOLICITED
135 p_dut.droid.wifiAwareDestroyDiscoverySession(p_disc_id)
137 p_dut.droid.wifiAwareDestroy(p_id)
173 p_dut = self.android_devices[0]
174 p_dut.pretty_name = "Publisher"
[all …]
/tools/test/connectivity/acts/tests/google/wifi/rtt/functional/
DAwareDiscoveryWithRangingTest.py81 p_dut = self.android_devices[0]
82 p_dut.pretty_name = "Publisher"
87 p_id = p_dut.droid.wifiAwareAttach(False)
88 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED)
94 p_disc_id = p_dut.droid.wifiAwarePublish(p_id, p_config)
95 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
119 autils.verify_no_more_events(p_dut, timeout=0)
122 return p_dut, s_dut, p_disc_id, s_disc_id
125 p_dut, argument
150 p_dut.droid.wifiAwareUpdatePublish(p_disc_id, p_config)
[all …]
DRangeAwareTest.py114 p_dut = self.android_devices[0]
119 p_dut,
139 self.run_rtt_discovery(p_dut, resp_peer_id=peer_id_on_pub))
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/
Daware_test_utils.py732 def create_discovery_pair(p_dut, argument
761 p_dut.pretty_name = 'Publisher'
765 p_id = p_dut.droid.wifiAwareAttach()
766 wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED)
772 p_disc_id = p_dut.droid.wifiAwarePublish(p_id, p_config)
773 wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
800 p_dut, aconsts.SESSION_CB_ON_MESSAGE_RECEIVED)
812 def create_ib_ndp(p_dut, s_dut, p_config, s_config, device_startup_offset): argument
825 p_dut, s_dut, p_config, s_config, device_startup_offset, msg_id=9999)
829 p_dut,
[all …]
/tools/test/connectivity/acts/tests/google/wifi/aware/stress/
DMessagesStressTest.py211 p_dut = self.android_devices[0]
216 p_dut,
242 p_dut.droid.wifiAwareSendMessage(p_disc_id, peer_id_on_pub,
255 p_dut, self.NUM_ITERATIONS, messages_by_msg, messages_by_id)
268 self.wait_for_rx_events(p_dut, self.NUM_ITERATIONS, messages_by_msg)
/tools/test/connectivity/acts/tests/google/wifi/rtt/stress/
DStressRangeAwareTest.py91 p_dut = self.android_devices[0]
96 p_dut,
116 self.run_rtt_discovery(p_dut, resp_peer_id=peer_id_on_pub))