/tools/test/connectivity/acts/tests/google/wifi/rtt/functional/ |
D | AwareDiscoveryWithRangingTest.py | 23 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 84 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 87 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 91 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 95 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 100 s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED) 103 aconsts.SESSION_CB_KEY_DISTANCE_MM in event["data"], 107 aconsts.SESSION_CB_KEY_DISTANCE_MM in event["data"], 111 aconsts.SESSION_CB_ON_SERVICE_DISCOVERED) 152 aconsts.SESSION_CB_ON_SESSION_CONFIG_UPDATED) [all …]
|
D | RangeAwareTest.py | 22 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 119 self.SERVICE_NAME, aconsts.PUBLISH_TYPE_UNSOLICITED), 123 self.SERVICE_NAME, aconsts.SUBSCRIBE_TYPE_PASSIVE), True), 179 aconsts.PUBLISH_TYPE_UNSOLICITED), 182 autils.wait_for_event(dut1, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 185 autils.wait_for_event(dut0, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 415 autils.wait_for_event(resp_dut, aconsts.EVENT_CB_ON_ATTACHED) 417 resp_dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 422 aconsts.PUBLISH_TYPE_UNSOLICITED), 425 autils.wait_for_event(resp_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) [all …]
|
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/ |
D | DiscoveryTest.py | 22 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 61 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = ptype 63 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = stype 64 config[aconsts.DISCOVERY_KEY_TTL] = ttl 65 config[aconsts.DISCOVERY_KEY_TERM_CB_ENABLED] = term_ind_on 67 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = "a" 68 config[aconsts.DISCOVERY_KEY_SSI] = None 69 config[aconsts.DISCOVERY_KEY_MATCH_FILTER_LIST] = [] 71 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = "GoogleTestServiceX" 73 config[aconsts.DISCOVERY_KEY_SSI] = string.ascii_letters [all …]
|
D | DataPathTest.py | 23 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 64 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = dtype 66 aconsts.DISCOVERY_KEY_SERVICE_NAME] = "GoogleTestServiceDataPath" 104 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 107 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 112 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 118 p2_config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = ( 119 p2_config[aconsts.DISCOVERY_KEY_SERVICE_NAME] + "-XYZXYZ") 121 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 126 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) [all …]
|
D | MessageTest.py | 22 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 57 caps[aconsts.CAP_MAX_SERVICE_SPECIFIC_INFO_LEN] - 15) 73 aconsts. 74 DISCOVERY_KEY_DISCOVERY_TYPE] = aconsts.PUBLISH_TYPE_UNSOLICITED 77 aconsts. 78 DISCOVERY_KEY_DISCOVERY_TYPE] = aconsts.SUBSCRIBE_TYPE_PASSIVE 79 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = "GoogleTestServiceX" + ( 103 p_dut, aconsts.EVENT_CB_ON_ATTACHED 105 aconsts.EVENT_CB_ON_ATTACHED, p_id)) 109 s_dut, aconsts.EVENT_CB_ON_ATTACHED [all …]
|
D | CapabilitiesTest.py | 21 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 43 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = dtype 44 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = service_name 63 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = dtype 64 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = service_name 68 event_name = aconsts.SESSION_CB_ON_PUBLISH_STARTED 71 event_name = aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED 77 aconsts.SESSION_CB_ON_SESSION_CONFIG_FAILED) 92 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 97 for i in range(dut.aware_capabilities[aconsts.CAP_MAX_PUBLISHES]): [all …]
|
D | AttachTest.py | 23 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 38 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 39 autils.fail_on_event(dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 50 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 51 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 73 dut, autils.decorate_event(aconsts.EVENT_CB_ON_ATTACHED, id1)) 76 autils.decorate_event(aconsts.EVENT_CB_ON_IDENTITY_CHANGED, id1)) 80 dut, autils.decorate_event(aconsts.EVENT_CB_ON_ATTACHED, id2)) 83 autils.decorate_event(aconsts.EVENT_CB_ON_IDENTITY_CHANGED, id2)) 87 dut, autils.decorate_event(aconsts.EVENT_CB_ON_ATTACHED, id3)) [all …]
|
D | NonConcurrencyTest.py | 22 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 55 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 64 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE) 82 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE) 86 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACH_FAILED) 95 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_AVAILABLE) 99 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 120 aconsts.PUBLISH_TYPE_UNSOLICITED) 122 aconsts.SUBSCRIBE_TYPE_PASSIVE) 134 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) [all …]
|
D | MacRandomNoLeakageTest.py | 20 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 98 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 99 event = autils.wait_for_event(dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 105 aconsts.PUBLISH_TYPE_UNSOLICITED) 107 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 110 aconsts.SUBSCRIBE_TYPE_PASSIVE) 112 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 177 s_ipv6 = p_net_event_nc["data"][aconsts.NET_CAP_IPV6] 178 p_ipv6 = s_net_event_nc["data"][aconsts.NET_CAP_IPV6] 217 discovery_event = autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED) [all …]
|
D | MatchFilterTest.py | 23 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 83 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 86 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 93 d_type=aconsts.PUBLISH_TYPE_UNSOLICITED 94 if do_unsolicited_passive else aconsts.PUBLISH_TYPE_SOLICITED, 96 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 103 d_type=aconsts.SUBSCRIBE_TYPE_PASSIVE 104 if do_unsolicited_passive else aconsts.SUBSCRIBE_TYPE_ACTIVE, 106 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 112 aconsts.SESSION_CB_ON_SERVICE_DISCOVERED, autils.EVENT_TIMEOUT)
|
D | MacRandomTest.py | 22 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 65 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 67 dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 80 dut.aware_capabilities[aconsts.CAP_MAX_NDI_INTERFACES]): 81 ndi_interface = "%s%d" % (aconsts.AWARE_NDI_PREFIX, j) 118 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 120 dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 128 aconsts.EVENT_CB_ON_IDENTITY_CHANGED,
|
D | ProtocolsTest.py | 20 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 82 self.SERVICE_NAME, aconsts.PUBLISH_TYPE_UNSOLICITED), 84 self.SERVICE_NAME, aconsts.SUBSCRIBE_TYPE_PASSIVE), 110 self.SERVICE_NAME, aconsts.PUBLISH_TYPE_SOLICITED), 112 self.SERVICE_NAME, aconsts.SUBSCRIBE_TYPE_ACTIVE), 136 max_ndp = dut.aware_capabilities[aconsts.CAP_MAX_NDP_SESSIONS]
|
/tools/test/connectivity/acts/tests/google/wifi/aware/performance/ |
D | LatencyTest.py | 22 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 49 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = dtype 50 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = "GoogleTestServiceXY" 54 event_name = aconsts.SESSION_CB_ON_PUBLISH_STARTED 57 event_name = aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED 101 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 104 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 108 p_dut, p_id, True, aconsts.PUBLISH_TYPE_UNSOLICITED 109 if do_unsolicited_passive else aconsts.PUBLISH_TYPE_SOLICITED) 113 s_dut, s_id, False, aconsts.SUBSCRIBE_TYPE_PASSIVE [all …]
|
D | ThroughputTest.py | 25 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 66 self.SERVICE_NAME, aconsts.PUBLISH_TYPE_UNSOLICITED), 68 self.SERVICE_NAME, aconsts.SUBSCRIBE_TYPE_PASSIVE), 137 max_ndp = dut.aware_capabilities[aconsts.CAP_MAX_NDP_SESSIONS] 269 init_dut.aware_capabilities[aconsts.CAP_MAX_NDI_INTERFACES] < 271 or resp_dut.aware_capabilities[aconsts.CAP_MAX_NDI_INTERFACES] < 295 aconsts.DATA_PATH_RESPONDER, 303 aconsts.DATA_PATH_INITIATOR, 330 resp_ipv6 = init_net_event_nc["data"][aconsts.NET_CAP_IPV6] 331 init_ipv6 = resp_net_event_nc["data"][aconsts.NET_CAP_IPV6]
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/ |
D | aware_test_utils.py | 27 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 290 limited_cb[aconsts.CB_EV_MATCH_EXPIRED] = 0 556 aconsts.POWER_DW_24_INTERACTIVE) 558 aconsts.POWER_DW_5_INTERACTIVE) 560 aconsts.POWER_DISC_BEACON_INTERVAL_INTERACTIVE) 562 aconsts.POWER_NUM_SS_IN_DISC_INTERACTIVE) 564 aconsts.POWER_ENABLE_DW_EARLY_TERM_INTERACTIVE) 567 aconsts.POWER_DW_24_INTERACTIVE) 569 aconsts.POWER_DW_5_INTERACTIVE) 571 aconsts.POWER_DISC_BEACON_INTERVAL_INTERACTIVE) [all …]
|
D | AwareBaseTest.py | 21 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 50 aconsts.BROADCAST_WIFI_AWARE_AVAILABLE)
|
/tools/test/connectivity/acts/tests/google/wifi/aware/stress/ |
D | DataPathStressTest.py | 23 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 69 autils.wait_for_event(init_dut, aconsts.EVENT_CB_ON_ATTACHED) 71 init_dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 75 autils.wait_for_event(resp_dut, aconsts.EVENT_CB_ON_ATTACHED) 77 resp_dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 91 resp_id, aconsts.DATA_PATH_RESPONDER, init_mac, 104 init_id, aconsts.DATA_PATH_INITIATOR, resp_mac, 111 init_id, aconsts.DATA_PATH_INITIATOR, resp_mac, 122 resp_id, aconsts.DATA_PATH_RESPONDER, init_mac, 147 if aconsts.NET_CAP_IPV6 in nc_event["data"]: [all …]
|
D | DiscoveryStressTest.py | 21 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 49 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 62 service_name, aconsts.PUBLISH_TYPE_UNSOLICITED) 65 service_name, aconsts.PUBLISH_TYPE_SOLICITED) 68 service_name, aconsts.SUBSCRIBE_TYPE_PASSIVE) 71 service_name, aconsts.SUBSCRIBE_TYPE_ACTIVE) 75 aconsts.CAP_MAX_PUBLISHES]: 78 dut.aware_capabilities[aconsts. 82 event_name = aconsts.SESSION_CB_ON_PUBLISH_STARTED 86 aconsts.CAP_MAX_SUBSCRIBES]: [all …]
|
D | MessagesStressTest.py | 21 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 77 tx_events_regex = "%s|%s" % (aconsts.SESSION_CB_ON_MESSAGE_SEND_FAILED, 78 aconsts.SESSION_CB_ON_MESSAGE_SENT) 84 if (event["name"] != aconsts.SESSION_CB_ON_MESSAGE_SENT 86 aconsts.SESSION_CB_ON_MESSAGE_SEND_FAILED): 89 "name"] == aconsts.SESSION_CB_ON_MESSAGE_SENT 91 id = event["data"][aconsts.SESSION_CB_KEY_MESSAGE_ID] 130 aconsts.SESSION_CB_ON_MESSAGE_RECEIVED, 132 msg = event["data"][aconsts.SESSION_CB_KEY_MESSAGE_AS_STRING] 216 self.SERVICE_NAME, aconsts.PUBLISH_TYPE_UNSOLICITED), [all …]
|
D | InfraAssociationStressTest.py | 22 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 131 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 137 aconsts.PUBLISH_TYPE_UNSOLICITED)) 138 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED)
|
/tools/test/connectivity/acts/tests/google/wifi/aware/ota/ |
D | ServiceIdsTest.py | 20 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 47 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = dtype 48 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = service_name 52 event_name = aconsts.SESSION_CB_ON_PUBLISH_STARTED 55 event_name = aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED 71 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 73 dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 84 aconsts.PUBLISH_TYPE_UNSOLICITED, 87 aconsts.PUBLISH_TYPE_SOLICITED, 90 aconsts.SUBSCRIBE_TYPE_ACTIVE, [all …]
|
/tools/test/connectivity/acts/tests/google/wifi/rtt/stress/ |
D | StressRangeAwareTest.py | 21 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 96 self.SERVICE_NAME, aconsts.PUBLISH_TYPE_UNSOLICITED), 100 self.SERVICE_NAME, aconsts.SUBSCRIBE_TYPE_PASSIVE), True),
|