/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 62 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = ptype 64 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = stype 65 config[aconsts.DISCOVERY_KEY_TTL] = ttl 66 config[aconsts.DISCOVERY_KEY_TERM_CB_ENABLED] = term_ind_on 68 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = "a" 69 config[aconsts.DISCOVERY_KEY_SSI] = None 70 config[aconsts.DISCOVERY_KEY_MATCH_FILTER_LIST] = [] 72 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = "GoogleTestServiceX" 74 config[aconsts.DISCOVERY_KEY_SSI] = string.ascii_letters [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 | 25 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 61 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 72 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE) 76 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_AVAILABLE) 79 autils.fail_on_event(dut, aconsts.BROADCAST_WIFI_AWARE_AVAILABLE) 97 autils.fail_on_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE) 101 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE) 111 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_AVAILABLE) 115 autils.fail_on_event(dut, aconsts.BROADCAST_WIFI_AWARE_AVAILABLE) 122 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) [all …]
|
D | MessageTest.py | 23 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 58 caps[aconsts.CAP_MAX_SERVICE_SPECIFIC_INFO_LEN] - 15) 74 aconsts. 75 DISCOVERY_KEY_DISCOVERY_TYPE] = aconsts.PUBLISH_TYPE_UNSOLICITED 78 aconsts. 79 DISCOVERY_KEY_DISCOVERY_TYPE] = aconsts.SUBSCRIBE_TYPE_PASSIVE 80 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = "GoogleTestServiceX" + ( 104 p_dut, aconsts.EVENT_CB_ON_ATTACHED 106 aconsts.EVENT_CB_ON_ATTACHED, p_id)) 110 s_dut, aconsts.EVENT_CB_ON_ATTACHED [all …]
|
D | MacRandomNoLeakageTest.py | 20 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 99 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 100 event = autils.wait_for_event(dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 106 aconsts.PUBLISH_TYPE_UNSOLICITED) 108 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 111 aconsts.SUBSCRIBE_TYPE_PASSIVE) 113 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 178 s_ipv6 = p_net_event_nc["data"][aconsts.NET_CAP_IPV6] 179 p_ipv6 = s_net_event_nc["data"][aconsts.NET_CAP_IPV6] 218 discovery_event = autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED) [all …]
|
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 | 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 | 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/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/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 578 aconsts.POWER_DW_24_INTERACTIVE) 580 aconsts.POWER_DW_5_INTERACTIVE) 582 aconsts.POWER_DISC_BEACON_INTERVAL_INTERACTIVE) 584 aconsts.POWER_NUM_SS_IN_DISC_INTERACTIVE) 586 aconsts.POWER_ENABLE_DW_EARLY_TERM_INTERACTIVE) 589 aconsts.POWER_DW_24_INTERACTIVE) 591 aconsts.POWER_DW_5_INTERACTIVE) 593 aconsts.POWER_DISC_BEACON_INTERVAL_INTERACTIVE) [all …]
|
D | AwareBaseTest.py | 21 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 51 aconsts.BROADCAST_WIFI_AWARE_AVAILABLE)
|
/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/aware/stress/ |
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 | 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 | MessagesStressTest.py | 21 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 85 tx_events_regex = "%s|%s" % (aconsts.SESSION_CB_ON_MESSAGE_SEND_FAILED, 86 aconsts.SESSION_CB_ON_MESSAGE_SENT) 92 if (event["name"] != aconsts.SESSION_CB_ON_MESSAGE_SENT 94 aconsts.SESSION_CB_ON_MESSAGE_SEND_FAILED): 97 "name"] == aconsts.SESSION_CB_ON_MESSAGE_SENT 99 id = event["data"][aconsts.SESSION_CB_KEY_MESSAGE_ID] 138 aconsts.SESSION_CB_ON_MESSAGE_RECEIVED, 140 msg = event["data"][aconsts.SESSION_CB_KEY_MESSAGE_AS_STRING] 217 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/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),
|