/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 64 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = ptype 66 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = stype 67 config[aconsts.DISCOVERY_KEY_TTL] = ttl 68 config[aconsts.DISCOVERY_KEY_TERM_CB_ENABLED] = term_ind_on 70 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = "a" 71 config[aconsts.DISCOVERY_KEY_SSI] = None 72 config[aconsts.DISCOVERY_KEY_MATCH_FILTER_LIST] = [] 74 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = "GoogleTestServiceX" 76 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 67 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = dtype 69 aconsts.DISCOVERY_KEY_SERVICE_NAME] = "GoogleTestServiceDataPath" 107 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 110 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 115 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 121 p2_config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = ( 122 p2_config[aconsts.DISCOVERY_KEY_SERVICE_NAME] + "-XYZXYZ") 124 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 129 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) [all …]
|
D | CapabilitiesTest.py | 21 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 46 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = dtype 47 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = service_name 66 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = dtype 67 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = service_name 71 event_name = aconsts.SESSION_CB_ON_PUBLISH_STARTED 74 event_name = aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED 80 aconsts.SESSION_CB_ON_SESSION_CONFIG_FAILED) 95 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 100 for i in range(dut.aware_capabilities[aconsts.CAP_MAX_PUBLISHES]): [all …]
|
D | MessageTest.py | 22 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 60 caps[aconsts.CAP_MAX_SERVICE_SPECIFIC_INFO_LEN] - 15) 76 aconsts. 77 DISCOVERY_KEY_DISCOVERY_TYPE] = aconsts.PUBLISH_TYPE_UNSOLICITED 80 aconsts. 81 DISCOVERY_KEY_DISCOVERY_TYPE] = aconsts.SUBSCRIBE_TYPE_PASSIVE 82 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = "GoogleTestServiceX" + ( 106 p_dut, aconsts.EVENT_CB_ON_ATTACHED 108 aconsts.EVENT_CB_ON_ATTACHED, p_id)) 112 s_dut, aconsts.EVENT_CB_ON_ATTACHED [all …]
|
D | AttachTest.py | 23 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 41 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 42 autils.fail_on_event(dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 53 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 54 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 76 dut, autils.decorate_event(aconsts.EVENT_CB_ON_ATTACHED, id1)) 79 autils.decorate_event(aconsts.EVENT_CB_ON_IDENTITY_CHANGED, id1)) 83 dut, autils.decorate_event(aconsts.EVENT_CB_ON_ATTACHED, id2)) 86 autils.decorate_event(aconsts.EVENT_CB_ON_IDENTITY_CHANGED, id2)) 90 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 58 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 67 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE) 85 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE) 89 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACH_FAILED) 98 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_AVAILABLE) 102 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 123 aconsts.PUBLISH_TYPE_UNSOLICITED) 125 aconsts.SUBSCRIBE_TYPE_PASSIVE) 137 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 100 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 101 event = autils.wait_for_event(dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 107 aconsts.PUBLISH_TYPE_UNSOLICITED) 109 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 112 aconsts.SUBSCRIBE_TYPE_PASSIVE) 114 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 179 s_ipv6 = p_net_event_nc["data"][aconsts.NET_CAP_IPV6] 180 p_ipv6 = s_net_event_nc["data"][aconsts.NET_CAP_IPV6] 219 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 86 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 89 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 96 d_type=aconsts.PUBLISH_TYPE_UNSOLICITED 97 if do_unsolicited_passive else aconsts.PUBLISH_TYPE_SOLICITED, 99 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 106 d_type=aconsts.SUBSCRIBE_TYPE_PASSIVE 107 if do_unsolicited_passive else aconsts.SUBSCRIBE_TYPE_ACTIVE, 109 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 115 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 68 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 70 dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 83 dut.aware_capabilities[aconsts.CAP_MAX_NDI_INTERFACES]): 84 ndi_interface = "%s%d" % (aconsts.AWARE_NDI_PREFIX, j) 121 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 123 dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 131 aconsts.EVENT_CB_ON_IDENTITY_CHANGED,
|
D | ProtocolsTest.py | 20 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 85 self.SERVICE_NAME, aconsts.PUBLISH_TYPE_UNSOLICITED), 87 self.SERVICE_NAME, aconsts.SUBSCRIBE_TYPE_PASSIVE), 113 self.SERVICE_NAME, aconsts.PUBLISH_TYPE_SOLICITED), 115 self.SERVICE_NAME, aconsts.SUBSCRIBE_TYPE_ACTIVE), 139 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 88 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 91 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 95 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 99 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 104 s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED) 107 aconsts.SESSION_CB_KEY_DISTANCE_MM in event["data"], 111 aconsts.SESSION_CB_KEY_DISTANCE_MM in event["data"], 115 aconsts.SESSION_CB_ON_SERVICE_DISCOVERED) 156 aconsts.SESSION_CB_ON_SESSION_CONFIG_UPDATED) [all …]
|
D | RangeAwareTest.py | 22 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 123 self.SERVICE_NAME, aconsts.PUBLISH_TYPE_UNSOLICITED), 127 self.SERVICE_NAME, aconsts.SUBSCRIBE_TYPE_PASSIVE), True), 183 aconsts.PUBLISH_TYPE_UNSOLICITED), 186 autils.wait_for_event(dut1, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 189 autils.wait_for_event(dut0, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 419 autils.wait_for_event(resp_dut, aconsts.EVENT_CB_ON_ATTACHED) 421 resp_dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 426 aconsts.PUBLISH_TYPE_UNSOLICITED), 429 autils.wait_for_event(resp_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) [all …]
|
/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 52 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = dtype 53 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = "GoogleTestServiceXY" 57 event_name = aconsts.SESSION_CB_ON_PUBLISH_STARTED 60 event_name = aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED 104 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 107 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 111 p_dut, p_id, True, aconsts.PUBLISH_TYPE_UNSOLICITED 112 if do_unsolicited_passive else aconsts.PUBLISH_TYPE_SOLICITED) 116 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 69 self.SERVICE_NAME, aconsts.PUBLISH_TYPE_UNSOLICITED), 71 self.SERVICE_NAME, aconsts.SUBSCRIBE_TYPE_PASSIVE), 140 max_ndp = dut.aware_capabilities[aconsts.CAP_MAX_NDP_SESSIONS] 272 init_dut.aware_capabilities[aconsts.CAP_MAX_NDI_INTERFACES] < 274 or resp_dut.aware_capabilities[aconsts.CAP_MAX_NDI_INTERFACES] < 298 aconsts.DATA_PATH_RESPONDER, 306 aconsts.DATA_PATH_INITIATOR, 333 resp_ipv6 = init_net_event_nc["data"][aconsts.NET_CAP_IPV6] 334 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 54 aconsts.BROADCAST_WIFI_AWARE_AVAILABLE)
|
/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 52 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 65 service_name, aconsts.PUBLISH_TYPE_UNSOLICITED) 68 service_name, aconsts.PUBLISH_TYPE_SOLICITED) 71 service_name, aconsts.SUBSCRIBE_TYPE_PASSIVE) 74 service_name, aconsts.SUBSCRIBE_TYPE_ACTIVE) 78 aconsts.CAP_MAX_PUBLISHES]: 81 dut.aware_capabilities[aconsts. 85 event_name = aconsts.SESSION_CB_ON_PUBLISH_STARTED 89 aconsts.CAP_MAX_SUBSCRIBES]: [all …]
|
D | DataPathStressTest.py | 23 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 72 autils.wait_for_event(init_dut, aconsts.EVENT_CB_ON_ATTACHED) 74 init_dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 78 autils.wait_for_event(resp_dut, aconsts.EVENT_CB_ON_ATTACHED) 80 resp_dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 94 resp_id, aconsts.DATA_PATH_RESPONDER, init_mac, 107 init_id, aconsts.DATA_PATH_INITIATOR, resp_mac, 114 init_id, aconsts.DATA_PATH_INITIATOR, resp_mac, 125 resp_id, aconsts.DATA_PATH_RESPONDER, init_mac, 150 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 80 tx_events_regex = "%s|%s" % (aconsts.SESSION_CB_ON_MESSAGE_SEND_FAILED, 81 aconsts.SESSION_CB_ON_MESSAGE_SENT) 87 if (event["name"] != aconsts.SESSION_CB_ON_MESSAGE_SENT 89 aconsts.SESSION_CB_ON_MESSAGE_SEND_FAILED): 92 "name"] == aconsts.SESSION_CB_ON_MESSAGE_SENT 94 id = event["data"][aconsts.SESSION_CB_KEY_MESSAGE_ID] 133 aconsts.SESSION_CB_ON_MESSAGE_RECEIVED, 135 msg = event["data"][aconsts.SESSION_CB_KEY_MESSAGE_AS_STRING] 219 self.SERVICE_NAME, aconsts.PUBLISH_TYPE_UNSOLICITED), [all …]
|
D | InfraAssociationStressTest.py | 22 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 134 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 140 aconsts.PUBLISH_TYPE_UNSOLICITED)) 141 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 50 config[aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = dtype 51 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = service_name 55 event_name = aconsts.SESSION_CB_ON_PUBLISH_STARTED 58 event_name = aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED 74 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 76 dut, aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 87 aconsts.PUBLISH_TYPE_UNSOLICITED, 90 aconsts.PUBLISH_TYPE_SOLICITED, 93 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 100 self.SERVICE_NAME, aconsts.PUBLISH_TYPE_UNSOLICITED), 104 self.SERVICE_NAME, aconsts.SUBSCRIBE_TYPE_PASSIVE), True),
|