/cts/tests/tests/companion/core/src/android/companion/cts/core/ |
D | RetrieveAssociationsTest.kt | 21 import android.companion.cts.common.MAC_ADDRESS_A 53 associate(MAC_ADDRESS_A) in <lambda>() 57 packageName to MAC_ADDRESS_A in <lambda>() 60 disassociate(MAC_ADDRESS_A) in <lambda>() 68 associate(MAC_ADDRESS_A) in <lambda>() 72 packageName to MAC_ADDRESS_A in <lambda>() 79 packageName to MAC_ADDRESS_A, in <lambda>() 87 packageName to MAC_ADDRESS_A, in <lambda>() 92 disassociate(MAC_ADDRESS_A) in <lambda>() 113 testApp.associate(MAC_ADDRESS_A) in test_getMyAssociations_otherPackages_NotIncluded() [all …]
|
D | BackupAndRestoreTest.kt | 24 import android.companion.cts.common.MAC_ADDRESS_A in <lambda>() 54 targetApp.associate(MAC_ADDRESS_A) in <lambda>() 65 targetApp.associate(MAC_ADDRESS_A) in <lambda>() 67 assertAssociationsAddedFor(targetApp, MAC_ADDRESS_A) in <lambda>() 77 assertAssociationsAddedFor(targetApp, MAC_ADDRESS_A) in <lambda>() 84 targetApp.associate(MAC_ADDRESS_A) in <lambda>() 85 assertAssociationsAddedFor(targetApp, MAC_ADDRESS_A) in <lambda>() 100 targetApp.associate(MAC_ADDRESS_A, DEVICE_PROFILE_WATCH) in <lambda>() 101 assertAssociationsAddedFor(targetApp, MAC_ADDRESS_A) in <lambda>() 117 assertAssociationsAddedFor(targetApp, MAC_ADDRESS_A) in <lambda>() [all …]
|
D | LegacyDisassociateTest.kt | 20 import android.companion.cts.common.MAC_ADDRESS_A 43 associate(MAC_ADDRESS_A) in <lambda>() 49 packageName to MAC_ADDRESS_A, in <lambda>() 54 cdm.disassociate(MAC_ADDRESS_A.toString()) in <lambda>() 75 associate(MAC_ADDRESS_A) in <lambda>() 79 packageName to MAC_ADDRESS_A in <lambda>() 84 cdm.disassociate(MAC_ADDRESS_A.toString()) in <lambda>() 89 packageName to MAC_ADDRESS_A in <lambda>() 95 cdm.disassociate(MAC_ADDRESS_A.toString()) in <lambda>() 101 packageName to MAC_ADDRESS_A in <lambda>() [all …]
|
D | DeviceAssociatedForWifiConnectionTest.kt | 21 import android.companion.cts.common.MAC_ADDRESS_A 44 targetApp.associate(MAC_ADDRESS_A) in test_isDeviceAssociatedForWifiConnection_requiresPermission() 48 targetPackageName, MAC_ADDRESS_A, UserHandle(targetUserId)) in test_isDeviceAssociatedForWifiConnection_requiresPermission() 58 targetPackageName, MAC_ADDRESS_A, UserHandle(targetUserId))) in test_isDeviceAssociatedForWifiConnection_no_association() 65 targetPackageName, MAC_ADDRESS_A, UserHandle(targetUserId))) in test_isDeviceAssociatedForWifiConnection_no_association() 71 targetApp.associate(MAC_ADDRESS_A) in test_isDeviceAssociatedForWifiConnection_no_wifi_permission() 76 targetPackageName, MAC_ADDRESS_A, UserHandle(targetUserId))) in test_isDeviceAssociatedForWifiConnection_no_wifi_permission()
|
D | ObservingDevicePresenceTest.kt | 23 import android.companion.cts.common.MAC_ADDRESS_A 57 targetApp.associate(MAC_ADDRESS_A) in test_observingDevicePresence_isOffByDefault() 82 targetApp.associate(MAC_ADDRESS_A) in test_startObservingDevicePresence_requiresPermission() 88 cdm.startObservingDevicePresence(MAC_ADDRESS_A.toUpperCaseString()) in test_startObservingDevicePresence_requiresPermission() 93 cdm.startObservingDevicePresence(MAC_ADDRESS_A.toUpperCaseString()) in test_startObservingDevicePresence_requiresPermission() 100 targetApp.associate(MAC_ADDRESS_A) in test_startObservingDevicePresence_singleDevice() 105 cdm.startObservingDevicePresence(MAC_ADDRESS_A.toUpperCaseString()) in test_startObservingDevicePresence_singleDevice() 143 targetApp.associate(MAC_ADDRESS_A) in test_stopObservingDevicePresence() 148 cdm.startObservingDevicePresence(MAC_ADDRESS_A.toUpperCaseString()) in test_stopObservingDevicePresence() 149 cdm.stopObservingDevicePresence(MAC_ADDRESS_A.toUpperCaseString()) in test_stopObservingDevicePresence() [all …]
|
D | DisassociateTest.kt | 22 import android.companion.cts.common.MAC_ADDRESS_A 48 associate(MAC_ADDRESS_A) in <lambda>() 53 expected = setOf(packageName to MAC_ADDRESS_A) in <lambda>() 62 associate(MAC_ADDRESS_A) in test_disassociate_sameApp_multipleAssociations() 68 packageName to MAC_ADDRESS_A, in test_disassociate_sameApp_multipleAssociations() 74 cdm.disassociate(cdm.getMyAssociationLinkedTo(MAC_ADDRESS_A).id) in test_disassociate_sameApp_multipleAssociations() 95 associate(MAC_ADDRESS_A) in <lambda>() 98 expected = setOf(packageName to MAC_ADDRESS_A) in <lambda>() 102 getAssociationForPackage(userId, packageName, MAC_ADDRESS_A, cdm) in <lambda>() 114 expected = setOf(packageName to MAC_ADDRESS_A) in <lambda>()
|
D | DeviceEventTest.kt | 8 import android.companion.cts.common.MAC_ADDRESS_A 39 targetApp.associate(MAC_ADDRESS_A) in test_ble_device_event() 43 cdm.startObservingDevicePresence(MAC_ADDRESS_A.toUpperCaseString()) in test_ble_device_event() 63 cdm.stopObservingDevicePresence(MAC_ADDRESS_A.toUpperCaseString()) in test_ble_device_event() 69 targetApp.associate(MAC_ADDRESS_A) in test_classic_bt_device_event() 73 cdm.startObservingDevicePresence(MAC_ADDRESS_A.toUpperCaseString()) in test_classic_bt_device_event() 93 cdm.stopObservingDevicePresence(MAC_ADDRESS_A.toUpperCaseString()) in test_classic_bt_device_event() 99 targetApp.associate(MAC_ADDRESS_A) in test_both_bt_ble_device_event() 103 cdm.startObservingDevicePresence(MAC_ADDRESS_A.toUpperCaseString()) in test_both_bt_ble_device_event() 128 cdm.stopObservingDevicePresence(MAC_ADDRESS_A.toUpperCaseString()) in test_both_bt_ble_device_event()
|
D | AssociateTest.kt | 24 import android.companion.cts.common.MAC_ADDRESS_A 70 associate(MAC_ADDRESS_A) in <lambda>() 93 targetApp.associate(MAC_ADDRESS_A) in test_association_invalid_tag() 104 associate(MAC_ADDRESS_A) in <lambda>() 107 getAssociationForPackage(userId, packageName, MAC_ADDRESS_A, cdm) in <lambda>() 120 getAssociationForPackage(userId, packageName, MAC_ADDRESS_A, cdm) in <lambda>() 129 associate(MAC_ADDRESS_A) in <lambda>() 131 getAssociationForPackage(userId, packageName, MAC_ADDRESS_A, cdm) in <lambda>()
|
D | AssociationsCleanUpTest.kt | 23 import android.companion.cts.common.MAC_ADDRESS_A in <lambda>() 45 testApp.associate(MAC_ADDRESS_A) in <lambda>() 52 testApp.packageName to MAC_ADDRESS_A, in <lambda>() 71 testApp.associate(MAC_ADDRESS_A) in <lambda>() 78 testApp.packageName to MAC_ADDRESS_A, in <lambda>()
|
D | TransportsListenerTest.kt | 22 import android.companion.cts.common.MAC_ADDRESS_A in <lambda>() 50 targetApp.associate(MAC_ADDRESS_A) in <lambda>() 81 targetApp.associate(MAC_ADDRESS_A) in <lambda>() 112 targetApp.associate(MAC_ADDRESS_A) in <lambda>() 131 targetApp.associate(MAC_ADDRESS_A) in <lambda>() 162 targetApp.associate(MAC_ADDRESS_A) in <lambda>()
|
D | DeviceEventDeviceLockedTest.kt | 23 import android.companion.cts.common.MAC_ADDRESS_A 59 targetApp.associate(MAC_ADDRESS_A) in test_ble_event_on_device_locked() 99 targetApp.associate(MAC_ADDRESS_A) in test_bt_event_on_device_locked() 139 targetApp.associate(MAC_ADDRESS_A) in test_bt_ble_event_on_device_locked() 212 targetApp.associate(MAC_ADDRESS_A) in test_ble_event_disappeared_before_device_unlocked() 254 targetApp.associate(MAC_ADDRESS_A) in test_bt_event_disconnected_before_device_unlocked()
|
D | AssociationsChangedListenerTest.kt | 24 import android.companion.cts.common.MAC_ADDRESS_A in <lambda>() 86 testApp.associate(MAC_ADDRESS_A) in <lambda>() 91 assertEquals(actual = associations[0].deviceMacAddress, expected = MAC_ADDRESS_A) in <lambda>() 101 testApp.disassociate(MAC_ADDRESS_A) in <lambda>()
|
D | InactiveSelfManagedAssociationsRemovalTest.kt | 22 import android.companion.cts.common.MAC_ADDRESS_A 85 associate(MAC_ADDRESS_A) in <lambda>() 105 packageName to MAC_ADDRESS_A in <lambda>()
|
D | AssociationInfoBuilderTest.kt | 22 import android.companion.cts.common.MAC_ADDRESS_A 48 associate(MAC_ADDRESS_A) in <lambda>()
|
D | ObservingDeviceUuidEventTest.kt | 28 import android.companion.cts.common.MAC_ADDRESS_A 104 targetApp.associate(MAC_ADDRESS_A) in test_DevicePresenceRequest_set_both_uuid_mac_address() 190 targetApp.associate(MAC_ADDRESS_A) in test_observingDevicePresence_bothAssociationAndUuid()
|
D | SelfPresenceReportingTest.kt | 25 import android.companion.cts.common.MAC_ADDRESS_A 188 targetApp.associate(MAC_ADDRESS_A) in test_notifyAppears_requires_selfManagedAssociation()
|
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/ |
D | RequestNotificationsTest.kt | 19 import android.companion.cts.common.MAC_ADDRESS_A 54 targetApp.associate(MAC_ADDRESS_A) in test_requestNotifications()
|
/cts/tests/tests/companion/common/src/android/companion/cts/common/ |
D | Constants.kt | 49 val MAC_ADDRESS_A = MacAddress.fromString("00:00:00:00:00:AA") constant
|