Home
last modified time | relevance | path

Searched refs:targetApp (Results 1 – 19 of 19) sorted by relevance

/cts/tests/tests/companion/core/src/android/companion/cts/core/
DBackupAndRestoreTest.kt54 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 …]
DRetrieveAssociationsTest.kt50 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 …]
DAssociationsCleanUpTest.kt47 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>()
DObservingDevicePresenceTest.kt57 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()
DTransportsListenerTest.kt50 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>()
DDeviceEventDeviceLockedTest.kt59 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()
DDeviceAssociatedForWifiConnectionTest.kt44 targetApp.associate(MAC_ADDRESS_A) in test_isDeviceAssociatedForWifiConnection_requiresPermission()
71 targetApp.associate(MAC_ADDRESS_A) in test_isDeviceAssociatedForWifiConnection_no_wifi_permission()
DAssociateTest.kt69 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>()
DDeviceEventTest.kt39 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()
DInactiveSelfManagedAssociationsRemovalTest.kt76 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()
DAssociateSelfManagedTest.kt105 targetApp.withRole(ROLE_WATCH) { in test_associate_selfManaged_alreadyRoleHolder_leadsToNoUiFlow()
142 targetApp.removeFromHoldersOfRole(ROLE_WATCH) in tearDown()
DDisassociateTest.kt47 fun test_disassociate_sameApp_singleAssociation() = with(targetApp) { in <lambda>()
61 fun test_disassociate_sameApp_multipleAssociations() = with(targetApp) { in test_disassociate_sameApp_multipleAssociations()
DObservingDeviceUuidEventTest.kt104 targetApp.associate(MAC_ADDRESS_A) in test_DevicePresenceRequest_set_both_uuid_mac_address()
190 targetApp.associate(MAC_ADDRESS_A) in test_observingDevicePresence_bothAssociationAndUuid()
DAssociationInfoBuilderTest.kt47 fun test_setters() = with(targetApp) { in <lambda>()
DLegacyDisassociateTest.kt42 fun test_legacy_disassociate_sameApp() = with(targetApp) { in <lambda>()
DSelfPresenceReportingTest.kt188 targetApp.associate(MAC_ADDRESS_A) in test_notifyAppears_requires_selfManagedAssociation()
/cts/tests/tests/companion/uiautomation/src/android/companion/cts/uiautomation/
DRequestNotificationsTest.kt54 targetApp.associate(MAC_ADDRESS_A) in test_requestNotifications()
DUiAutomationTestBase.kt106 profile?.let { roleName -> targetApp.removeFromHoldersOfRole(roleName) } in <lambda>()
/cts/tests/tests/companion/common/src/android/companion/cts/common/
DTestBase.kt68 protected val targetApp = AppHelper(instrumentation, userId, targetPackageName) constant in android.companion.cts.common.TestBase