Searched refs:targetApp (Results 1 – 19 of 19) sorted by relevance
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 …]
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 …]
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>()
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()
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>()
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()
44 targetApp.associate(MAC_ADDRESS_A) in test_isDeviceAssociatedForWifiConnection_requiresPermission()71 targetApp.associate(MAC_ADDRESS_A) in test_isDeviceAssociatedForWifiConnection_no_wifi_permission()
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>()
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()
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()
105 targetApp.withRole(ROLE_WATCH) { in test_associate_selfManaged_alreadyRoleHolder_leadsToNoUiFlow()142 targetApp.removeFromHoldersOfRole(ROLE_WATCH) in tearDown()
47 fun test_disassociate_sameApp_singleAssociation() = with(targetApp) { in <lambda>()61 fun test_disassociate_sameApp_multipleAssociations() = with(targetApp) { in test_disassociate_sameApp_multipleAssociations()
104 targetApp.associate(MAC_ADDRESS_A) in test_DevicePresenceRequest_set_both_uuid_mac_address()190 targetApp.associate(MAC_ADDRESS_A) in test_observingDevicePresence_bothAssociationAndUuid()
47 fun test_setters() = with(targetApp) { in <lambda>()
42 fun test_legacy_disassociate_sameApp() = with(targetApp) { in <lambda>()
188 targetApp.associate(MAC_ADDRESS_A) in test_notifyAppears_requires_selfManagedAssociation()
54 targetApp.associate(MAC_ADDRESS_A) in test_requestNotifications()
106 profile?.let { roleName -> targetApp.removeFromHoldersOfRole(roleName) } in <lambda>()
68 protected val targetApp = AppHelper(instrumentation, userId, targetPackageName) constant in android.companion.cts.common.TestBase