/cts/tests/tests/companion/core/src/android/companion/cts/core/ |
D | BackupAndRestoreTest.kt | 54 targetApp.associate(MAC_ADDRESS_A) in <lambda>() 55 targetApp.associate(MAC_ADDRESS_B) in <lambda>() 65 targetApp.associate(MAC_ADDRESS_A) in <lambda>() 66 targetApp.associate(MAC_ADDRESS_B) in <lambda>() 67 assertAssociationsAddedFor(targetApp, MAC_ADDRESS_A) in <lambda>() 68 assertAssociationsAddedFor(targetApp, MAC_ADDRESS_B) in <lambda>() 72 targetApp.disassociateAll() in <lambda>() 73 assertAssociationsRemovedFor(targetApp) in <lambda>() 77 assertAssociationsAddedFor(targetApp, MAC_ADDRESS_A) in <lambda>() 78 assertAssociationsAddedFor(targetApp, MAC_ADDRESS_B) in <lambda>() [all …]
|
D | RetrieveAssociationsTest.kt | 50 fun test_getMyAssociations_singleAssociation() = with(targetApp) { in <lambda>() 65 fun test_getMyAssociations_multipleAssociations() = with(targetApp) { in <lambda>() 116 targetApp.associate(MAC_ADDRESS_B) in test_getMyAssociations_otherPackages_NotIncluded() 119 expected = setOf(targetApp.packageName to MAC_ADDRESS_B)) in test_getMyAssociations_otherPackages_NotIncluded() 124 expected = setOf(targetApp.packageName to MAC_ADDRESS_B)) in test_getMyAssociations_otherPackages_NotIncluded() 126 targetApp.disassociate(MAC_ADDRESS_B) in test_getMyAssociations_otherPackages_NotIncluded() 151 fun test_getAllAssociations_sameApp() = with(targetApp) { in <lambda>() 178 targetApp.associate(MAC_ADDRESS_A) in test_getAllAssociations_sameAndOtherApps() 184 targetApp.packageName to MAC_ADDRESS_A, in test_getAllAssociations_sameAndOtherApps() 191 targetApp.associate(MAC_ADDRESS_A) in test_ObservePresence_updatesAssociationInfo() [all …]
|
D | AssociationsCleanUpTest.kt | 47 targetApp.associate(MAC_ADDRESS_C) in <lambda>() 54 targetApp.packageName to MAC_ADDRESS_C in <lambda>() 65 targetApp.packageName to MAC_ADDRESS_C in <lambda>() 73 targetApp.associate(MAC_ADDRESS_C) in <lambda>() 80 targetApp.packageName to MAC_ADDRESS_C in <lambda>() 91 targetApp.packageName to MAC_ADDRESS_C in <lambda>()
|
D | ObservingDevicePresenceTest.kt | 57 targetApp.associate(MAC_ADDRESS_A) in test_observingDevicePresence_isOffByDefault() 82 targetApp.associate(MAC_ADDRESS_A) in test_startObservingDevicePresence_requiresPermission() 100 targetApp.associate(MAC_ADDRESS_A) in test_startObservingDevicePresence_singleDevice() 143 targetApp.associate(MAC_ADDRESS_A) in test_stopObservingDevicePresence() 177 targetApp.associate(MAC_ADDRESS_A) in test_startObservingDevicePresence_alreadyPresent() 208 targetApp.associate(MAC_ADDRESS_A) in test_startObservingDevicePresence_multipleDevices() 209 targetApp.associate(MAC_ADDRESS_B) in test_startObservingDevicePresence_multipleDevices() 282 targetApp.associate(MAC_ADDRESS_A) in test_stopObservingDevicePresence_unbindsApplication() 283 targetApp.associate(MAC_ADDRESS_B) in test_stopObservingDevicePresence_unbindsApplication()
|
D | TransportsListenerTest.kt | 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 | 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 | DeviceAssociatedForWifiConnectionTest.kt | 44 targetApp.associate(MAC_ADDRESS_A) in test_isDeviceAssociatedForWifiConnection_requiresPermission() 71 targetApp.associate(MAC_ADDRESS_A) in test_isDeviceAssociatedForWifiConnection_no_wifi_permission()
|
D | AssociateTest.kt | 69 fun test_systemDataSyncForTypes() = with(targetApp) { in <lambda>() 93 targetApp.associate(MAC_ADDRESS_A) in test_association_invalid_tag() 128 fun test_association_tag() = with(targetApp) { in <lambda>()
|
D | DeviceEventTest.kt | 39 targetApp.associate(MAC_ADDRESS_A) in test_ble_device_event() 69 targetApp.associate(MAC_ADDRESS_A) in test_classic_bt_device_event() 99 targetApp.associate(MAC_ADDRESS_A) in test_both_bt_ble_device_event()
|
D | InactiveSelfManagedAssociationsRemovalTest.kt | 76 fun test_inactive_associations_removal_multiple_types() = with(targetApp) { in <lambda>() 111 fun test_active_associations_do_not_get_removed() = with(targetApp) { in test_active_associations_do_not_get_removed()
|
D | AssociateSelfManagedTest.kt | 105 targetApp.withRole(ROLE_WATCH) { in test_associate_selfManaged_alreadyRoleHolder_leadsToNoUiFlow() 142 targetApp.removeFromHoldersOfRole(ROLE_WATCH) in tearDown()
|
D | DisassociateTest.kt | 47 fun test_disassociate_sameApp_singleAssociation() = with(targetApp) { in <lambda>() 61 fun test_disassociate_sameApp_multipleAssociations() = with(targetApp) { in test_disassociate_sameApp_multipleAssociations()
|
D | ObservingDeviceUuidEventTest.kt | 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 | AssociationInfoBuilderTest.kt | 47 fun test_setters() = with(targetApp) { in <lambda>()
|
D | LegacyDisassociateTest.kt | 42 fun test_legacy_disassociate_sameApp() = with(targetApp) { in <lambda>()
|
D | SelfPresenceReportingTest.kt | 188 targetApp.associate(MAC_ADDRESS_A) in test_notifyAppears_requires_selfManagedAssociation()
|
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/ |
D | RequestNotificationsTest.kt | 54 targetApp.associate(MAC_ADDRESS_A) in test_requestNotifications()
|
D | UiAutomationTestBase.kt | 106 profile?.let { roleName -> targetApp.removeFromHoldersOfRole(roleName) } in <lambda>()
|
/cts/tests/tests/companion/common/src/android/companion/cts/common/ |
D | TestBase.kt | 68 protected val targetApp = AppHelper(instrumentation, userId, targetPackageName) constant
|