/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 85 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 88 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 92 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 96 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) 101 aconsts.SESSION_CB_ON_SERVICE_DISCOVERED) 103 asserts.assert_true(aconsts.SESSION_CB_KEY_DISTANCE_MM in event["data"], 107 aconsts.SESSION_CB_KEY_DISTANCE_MM in event["data"], 110 autils.fail_on_event(s_dut, aconsts.SESSION_CB_ON_SERVICE_DISCOVERED) 143 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_SESSION_CONFIG_UPDATED) [all …]
|
D | RangeAwareTest.py | 22 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 116 self.SERVICE_NAME, aconsts.PUBLISH_TYPE_UNSOLICITED), True), 118 self.SERVICE_NAME, aconsts.SUBSCRIBE_TYPE_PASSIVE), True), 174 aconsts.PUBLISH_TYPE_UNSOLICITED), 177 autils.wait_for_event(dut1, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 180 autils.wait_for_event(dut0, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 331 autils.wait_for_event(resp_dut, aconsts.EVENT_CB_ON_ATTACHED) 333 aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 338 aconsts.PUBLISH_TYPE_UNSOLICITED), 341 autils.wait_for_event(resp_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) [all …]
|
/tools/test/connectivity/acts/tests/google/wifi/aware/functional/ |
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 autils.decorate_event(aconsts.EVENT_CB_ON_ATTACHED, 80 aconsts.EVENT_CB_ON_IDENTITY_CHANGED, id1)) 84 autils.decorate_event(aconsts.EVENT_CB_ON_ATTACHED, 88 aconsts.EVENT_CB_ON_IDENTITY_CHANGED, id2)) 92 autils.decorate_event(aconsts.EVENT_CB_ON_ATTACHED, [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 79 autils.wait_for_event(dut, aconsts.SESSION_CB_ON_SESSION_CONFIG_FAILED) 94 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 99 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) 75 config[aconsts. 76 DISCOVERY_KEY_DISCOVERY_TYPE] = aconsts.PUBLISH_TYPE_UNSOLICITED 79 aconsts.DISCOVERY_KEY_DISCOVERY_TYPE] = aconsts.SUBSCRIBE_TYPE_PASSIVE 80 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = "GoogleTestServiceX" + ( 103 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED 105 aconsts.EVENT_CB_ON_ATTACHED, p_id)) 108 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED 110 aconsts.EVENT_CB_ON_ATTACHED, s_id)) [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 68 config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = "GoogleTestServiceDataPath" 102 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 105 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 109 autils.wait_for_event(p_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 115 p2_config[aconsts.DISCOVERY_KEY_SERVICE_NAME] = ( 116 p2_config[aconsts.DISCOVERY_KEY_SERVICE_NAME] + "-XYZXYZ") 118 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_PUBLISH_STARTED) 122 autils.wait_for_event(s_dut, aconsts.SESSION_CB_ON_SUBSCRIBE_STARTED) [all …]
|
D | NonConcurrencyTest.py | 19 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 52 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 61 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE) 79 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_NOT_AVAILABLE) 83 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACH_FAILED) 92 autils.wait_for_event(dut, aconsts.BROADCAST_WIFI_AWARE_AVAILABLE) 96 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED)
|
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 aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 82 for j in range(dut.aware_capabilities[aconsts.CAP_MAX_NDI_INTERFACES]): 83 ndi_interface = "%s%d" % (aconsts.AWARE_NDI_PREFIX, j) 120 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 122 aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 129 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 aconsts.SUBSCRIBE_TYPE_ACTIVE), 139 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 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 103 autils.wait_for_event(p_dut, aconsts.EVENT_CB_ON_ATTACHED) 106 autils.wait_for_event(s_dut, aconsts.EVENT_CB_ON_ATTACHED) 110 p_dut, p_id, True, aconsts.PUBLISH_TYPE_UNSOLICITED 111 if do_unsolicited_passive else aconsts.PUBLISH_TYPE_SOLICITED) 115 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 aconsts.PUBLISH_TYPE_UNSOLICITED), 71 aconsts.SUBSCRIBE_TYPE_PASSIVE), 139 max_ndp = dut.aware_capabilities[aconsts.CAP_MAX_NDP_SESSIONS] 264 asserts.skip_if(init_dut.aware_capabilities[aconsts.CAP_MAX_NDI_INTERFACES] 266 resp_dut.aware_capabilities[aconsts.CAP_MAX_NDI_INTERFACES] 291 aconsts.DATA_PATH_RESPONDER, 299 aconsts.DATA_PATH_INITIATOR,
|
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/aware/ |
D | aware_test_utils.py | 26 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 277 limited_cb[aconsts.CB_EV_MATCH_EXPIRED] = 0 496 aconsts.POWER_DW_24_INTERACTIVE) 498 aconsts.POWER_DW_5_INTERACTIVE) 500 aconsts.POWER_DISC_BEACON_INTERVAL_INTERACTIVE) 502 aconsts.POWER_NUM_SS_IN_DISC_INTERACTIVE) 504 aconsts.POWER_ENABLE_DW_EARLY_TERM_INTERACTIVE) 507 aconsts.POWER_DW_24_INTERACTIVE) 509 aconsts.POWER_DW_5_INTERACTIVE) 511 aconsts.POWER_DISC_BEACON_INTERVAL_INTERACTIVE) [all …]
|
D | AwareBaseTest.py | 21 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 51 autils.wait_for_event(ad, 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 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 aconsts.EVENT_CB_ON_IDENTITY_CHANGED) 86 aconsts.PUBLISH_TYPE_UNSOLICITED, 89 aconsts.PUBLISH_TYPE_SOLICITED, 92 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 52 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 64 service_name, aconsts.PUBLISH_TYPE_UNSOLICITED) 67 service_name, aconsts.PUBLISH_TYPE_SOLICITED) 70 service_name, aconsts.SUBSCRIBE_TYPE_PASSIVE) 73 service_name, aconsts.SUBSCRIBE_TYPE_ACTIVE) 77 aconsts.CAP_MAX_PUBLISHES]: 80 aconsts.CAP_MAX_PUBLISHES] // 2)) 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, None)) 103 init_id, aconsts.DATA_PATH_INITIATOR, resp_mac, None)) 109 init_id, aconsts.DATA_PATH_INITIATOR, resp_mac, None)) 119 resp_id, aconsts.DATA_PATH_RESPONDER, init_mac, None))
|
D | MessagesStressTest.py | 21 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 79 tx_events_regex = "%s|%s" % (aconsts.SESSION_CB_ON_MESSAGE_SEND_FAILED, 80 aconsts.SESSION_CB_ON_MESSAGE_SENT) 85 if (event["name"] != aconsts.SESSION_CB_ON_MESSAGE_SENT and 86 event["name"] != aconsts.SESSION_CB_ON_MESSAGE_SEND_FAILED): 88 is_tx_ok = event["name"] == aconsts.SESSION_CB_ON_MESSAGE_SENT 90 id = event["data"][aconsts.SESSION_CB_KEY_MESSAGE_ID] 126 event = dut.ed.pop_event(aconsts.SESSION_CB_ON_MESSAGE_RECEIVED, 128 msg = event["data"][aconsts.SESSION_CB_KEY_MESSAGE_AS_STRING] 211 self.SERVICE_NAME, aconsts.PUBLISH_TYPE_UNSOLICITED), [all …]
|
D | InfraAssociationStressTest.py | 22 from acts.test_utils.wifi.aware import aware_const as aconsts unknown 133 autils.wait_for_event(dut, aconsts.EVENT_CB_ON_ATTACHED) 139 aconsts.PUBLISH_TYPE_UNSOLICITED)) 140 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), True), 98 self.SERVICE_NAME, aconsts.SUBSCRIBE_TYPE_PASSIVE), True),
|