Home
last modified time | relevance | path

Searched refs:mNotificationHelper (Results 1 – 7 of 7) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DEncryptionControllerTest.java63 @Mock private NotificationHelper mNotificationHelper; field in EncryptionControllerTest
178 mNotificationHelper, TEST_USER_ID); in createEncryptionController()
190 verify(mNotificationHelper, never()).showResumeNotification(any(Intent.class)); in verifyStartPreProvisioningActivity()
195 verify(mNotificationHelper).showResumeNotification(intentCaptor.capture()); in verifyShowResumeNotification()
203 verify(mNotificationHelper, never()).showResumeNotification(any(Intent.class)); in verifyNothingStarted()
/packages/apps/ManagedProvisioning/tests/robotests/src/com/android/managedprovisioning/common/
DNotificationHelperTest.java47 private NotificationHelper mNotificationHelper = new NotificationHelper(mContext); field in NotificationHelperTest
52 mNotificationHelper.showResumeNotification(intent); in showResumeNotification_showsExpectedNotification()
65 mNotificationHelper.showPrivacyReminderNotification( in showPrivacyReminderNotification_showsExpectedNotification()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DEncryptionController.java56 private final NotificationHelper mNotificationHelper; field in EncryptionController
107 mNotificationHelper = checkNotNull(resumeNotificationHelper, in EncryptionController()
198 mNotificationHelper.showResumeNotification(resumeIntent); in resumeProvisioningInternal()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/admin/
DCarDevicePolicyServiceTest.java85 private NotificationHelper mNotificationHelper; field in CarDevicePolicyServiceTest
120 doReturn(mNotificationHelper) in setFixtures()
219 verify(mNotificationHelper).showUserDisclaimerNotification(UserHandle.of(userId)); in testShowDisclaimerWhenIntentReceived()
239 verify(mNotificationHelper).cancelUserDisclaimerNotification(UserHandle.of(userId)); in testSetUserDisclaimerAcknowledged()
DNotificationHelperTest.java89 private NotificationHelper mNotificationHelper; field in NotificationHelperTest
104 mNotificationHelper = new NotificationHelper(mSpiedContext); in setup()
119 mNotificationHelper.cancelNotificationAsUser(userHandle, /* notificationId= */ 150); in testCancelNotificationAsUser()
128 mNotificationHelper.showUserDisclaimerNotification(UserHandle.of(userId)); in testShowUserDisclaimerNotification()
148 mNotificationHelper.cancelUserDisclaimerNotification(user); in testCancelUserDisclaimerNotification()
185 mNotificationHelper.showResourceOveruseNotificationsAsUser(userHandle, in testShowResourceOveruseNotificationsAsUser()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DFinalizationController.java75 private final NotificationHelper mNotificationHelper; field in FinalizationController
126 mNotificationHelper = checkNotNull(notificationHelper); in FinalizationController()
226 mNotificationHelper.showPrivacyReminderNotification( in commitFinalizedState()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DFinalizationInsideSuwControllerTest.java90 @Mock private NotificationHelper mNotificationHelper; field in FinalizationInsideSuwControllerTest
139 mUtils, mSettingsFacade, mHelper, mNotificationHelper, mDeferredMetricsReader, in setUp()
349 verify(mNotificationHelper).showPrivacyReminderNotification(eq(mActivity), anyInt()); in testDeviceOwnerFinalizationDuringSuw()