Home
last modified time | relevance | path

Searched refs:USER_HANDLE (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DCarNotificationDiffTest.java60 private static final UserHandle USER_HANDLE = new UserHandle(12); field in CarNotificationDiffTest
99 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in setupBaseActivityAndLayout()
102 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in setupBaseActivityAndLayout()
105 ID, TAG, UID, INITIAL_PID, mNotificationBuilder2.build(), USER_HANDLE, in setupBaseActivityAndLayout()
192 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in sameGroupUniqueIdentifiers_diffNotificationKey_shouldReturnFalse()
209 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in sameGroupUniqueIdentifiers_sameChildrenNotification_shouldReturnTrue()
305 ID, TAG, UID, INITIAL_PID, oldNotification.build(), USER_HANDLE, in areBundleEqual_sameSize_shouldReturnTrue()
309 ID, TAG, UID, INITIAL_PID, newNotification.build(), USER_HANDLE, in areBundleEqual_sameSize_shouldReturnTrue()
350 UID, INITIAL_PID, oldNotification.build(), USER_HANDLE, OVERRIDE_GROUP_KEY, in areBundleEqual_diffSize_shouldReturnFalse()
353 UID, INITIAL_PID, newNotification.build(), USER_HANDLE, OVERRIDE_GROUP_KEY, in areBundleEqual_diffSize_shouldReturnFalse()
[all …]
DCarHeadsUpNotificationManagerTest.java76 private static final UserHandle USER_HANDLE = new UserHandle(/* userId= */ 12); field in CarHeadsUpNotificationManagerTest
186 mNotificationMessageHeadsUp, USER_HANDLE, OVERRIDE_GROUP_KEY, POST_TIME)); in setup()
189 mNotificationNavigationHeadsUp, USER_HANDLE, OVERRIDE_GROUP_KEY, in setup()
193 mNotificationCallHeadsUp, USER_HANDLE, OVERRIDE_GROUP_KEY, POST_TIME)); in setup()
196 mNotificationBuilderInboxHeadsUp, USER_HANDLE, OVERRIDE_GROUP_KEY, in setup()
200 mNotificationWarningHeadsUp, USER_HANDLE, OVERRIDE_GROUP_KEY, POST_TIME)); in setup()
203 mNotificationEmergencyHeadsUp, USER_HANDLE, OVERRIDE_GROUP_KEY, in setup()
207 mNotificationCarInformationHeadsUp, USER_HANDLE, OVERRIDE_GROUP_KEY, in setup()
DNotificationDataManagerTest.java53 private static final UserHandle USER_HANDLE = new UserHandle(12); field in NotificationDataManagerTest
78 ID, TAG, UID, INITIAL_PID, notificationMessageHeadsUp, USER_HANDLE, in setup()
81 ID, TAG, UID, INITIAL_PID, notificationNavigationHeadsUp, USER_HANDLE, in setup()
DNotificationGroupTest.java56 private static final UserHandle USER_HANDLE = new UserHandle(12); field in NotificationGroupTest
75 ID, TAG, UID, INITIAL_PID, mNotificationBuilder.build(), USER_HANDLE, in setup()
78 ID, TAG, UID, INITIAL_PID, mNotificationBuilder.build(), USER_HANDLE, in setup()
DHeadsUpEntryTest.java52 private static final UserHandle USER_HANDLE = new UserHandle(12); field in HeadsUpEntryTest
66 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in setupBaseActivityAndLayout()
DCarNotificationViewTest.java66 private static final UserHandle USER_HANDLE = new UserHandle(12); field in CarNotificationViewTest
235 ID, TAG, UID, INITIAL_PID, builder.build(), USER_HANDLE, in getNotificationGroup()
DCarNotificationViewAdapterTest.java76 private static final UserHandle USER_HANDLE = new UserHandle(12); field in CarNotificationViewAdapterTest
118 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in setupBaseActivityAndLayout()
915 ID, TAG, UID, INITIAL_PID, nb.build(), USER_HANDLE, in getNotificationWithCategory()
DNotificationClickHandlerFactoryTest.java76 private static final UserHandle USER_HANDLE = new UserHandle(/* userId= */ 12); field in NotificationClickHandlerFactoryTest
139 mockNotificationBuilder_messageHeadsUp.build(), USER_HANDLE, in setUp()
DPreprocessingManagerTest.java82 private static final UserHandle USER_HANDLE = new UserHandle(12); field in PreprocessingManagerTest
747 PKG, OP_PKG, ID, TAG, UID, INITIAL_PID, notification, USER_HANDLE, in getEmptyAutoGeneratedGroupSummary()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestProvidersAccess.java39 public static final UserHandle USER_HANDLE = Process.myUserHandle(); field in TestProvidersAccess
40 public static final UserId USER_ID = UserId.of(USER_HANDLE);
172 public static final UserHandle USER_HANDLE = UserHandle.of( field in TestProvidersAccess.OtherUser
174 public static final UserId USER_ID = UserId.of(OtherUser.USER_HANDLE);
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DIconUtilsTest.java94 TestProvidersAccess.USER_HANDLE); in testLoadPackageIcon()
116 verify(packageManager).getUserBadgedIcon(drawable, TestProvidersAccess.USER_HANDLE); in testLoadPackageIcon_maybeShowBadge()
DAbstractActionHandlerTest.java315 when(mActivity.userManager.isQuietModeEnabled(TestProvidersAccess.OtherUser.USER_HANDLE)) in testLoadCrossProfileDoc_failsWithQuietModeException()
360 when(mActivity.userManager.isQuietModeEnabled(TestProvidersAccess.OtherUser.USER_HANDLE)) in testLoadCrossProfileDoc_bothError_showNoPermissionException()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/notification/
DNotificationVisibilityLoggerTest.java69 private static final UserHandle USER_HANDLE = new UserHandle(12); field in NotificationVisibilityLoggerTest
88 ID, TAG, UID, INITIAL_PID, mNotificationBuilder1.build(), USER_HANDLE, in setUp()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/task/
DInstallPackageTaskTest.java55 private final static UserHandle USER_HANDLE = new UserHandle(USER_ID); field in InstallPackageTaskTest
130 testApp.install(USER_HANDLE); in run_packageAlreadyInstalled_success()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/finalization/
DSendDpcBroadcastServiceTest.java66 private static final int USER_HANDLE = 0; field in SendDpcBroadcastServiceTest
111 /* userHandle= */ USER_HANDLE, in setUp()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/template/
DCarNotificationActionsViewTest.java64 private static final UserHandle USER_HANDLE = new UserHandle(/* userId= */ 12); field in CarNotificationActionsViewTest
102 mNotificationMessageHeadsUp, USER_HANDLE, OVERRIDE_GROUP_KEY, POST_TIME)); in setup()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
DActionHandlerTest.java541 .isEqualTo(TestProvidersAccess.OtherUser.USER_HANDLE); in testOpenAppRoot_otherUser()
620 TestProvidersAccess.OtherUser.USER_HANDLE); in testPreviewItem_onOtherUser()