Home
last modified time | relevance | path

Searched refs:expectedUserHandle (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/util/
DItemInfoMatcherTest.kt55 val expectedUserHandle = UserHandle(0) in ofComponents returns Predicate for ItemInfo containing target Component and UserHandle() constant
58 expectedItemInfo.user = expectedUserHandle in ofComponents returns Predicate for ItemInfo containing target Component and UserHandle()
63 unexpectedItemInfo1.user = expectedUserHandle in ofComponents returns Predicate for ItemInfo containing target Component and UserHandle()
75 ItemInfoMatcher.ofComponents(hashSetOf(expectedComponentName), expectedUserHandle) in ofComponents returns Predicate for ItemInfo containing target Component and UserHandle()
85 val expectedUserHandle = UserHandle(0) in ofPackages returns Predicate for ItemInfo containing UserHandle and target package() constant
89 expectedItemInfo.user = expectedUserHandle in ofPackages returns Predicate for ItemInfo containing UserHandle and target package()
95 unexpectedItemInfo1.user = expectedUserHandle in ofPackages returns Predicate for ItemInfo containing UserHandle and target package()
106 val predicate = ItemInfoMatcher.ofPackages(setOf(expectedPackage), expectedUserHandle) in ofPackages returns Predicate for ItemInfo containing UserHandle and target package()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DMissedCallNotifierImplTest.java434 UserHandle expectedUserHandle; in notifySingleCallTestInternal() local
436 expectedUserHandle = currentUser; in notifySingleCallTestInternal()
438 expectedUserHandle = phoneAccount.getAccountHandle().getUserHandle(); in notifySingleCallTestInternal()
441 notificationArgumentCaptor.capture(), eq((expectedUserHandle))); in notifySingleCallTestInternal()