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/services/Car/tests/carservice_unit_test/src/com/android/car/admin/
DCarDevicePolicyServiceTest.java87 private NotificationHelper mNotificationHelper; field in CarDevicePolicyServiceTest
122 doReturn(mNotificationHelper) in setFixtures()
221 verify(mNotificationHelper).showUserDisclaimerNotification(UserHandle.of(userId)); in testShowDisclaimerWhenIntentReceived()
235 verifyNoMoreInteractions(mNotificationHelper); in testOnReceive_doesNotShowDisclaimer_deviceAdminFeatureDisabled()
255 verify(mNotificationHelper).cancelUserDisclaimerNotification(UserHandle.of(userId)); in testSetUserDisclaimerAcknowledged()
DNotificationHelperTest.java96 private NotificationHelper mNotificationHelper; field in NotificationHelperTest
111 mNotificationHelper = new NotificationHelper(mSpiedContext); in setup()
126 mNotificationHelper.cancelNotificationAsUser(userHandle, /* notificationId= */ 150); in testCancelNotificationAsUser()
135 mNotificationHelper.showUserDisclaimerNotification(UserHandle.of(userId)); in testShowUserDisclaimerNotification()
155 mNotificationHelper.cancelUserDisclaimerNotification(user); in testCancelUserDisclaimerNotification()
192 mNotificationHelper.showResourceOveruseNotificationsAsUser(userHandle, in testShowResourceOveruseNotificationsAsUser()
/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/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.java89 @Mock private NotificationHelper mNotificationHelper; field in FinalizationInsideSuwControllerTest
138 mUtils, mSettingsFacade, mHelper, mNotificationHelper, mDeferredMetricsReader, in setUp()
348 verify(mNotificationHelper).showPrivacyReminderNotification(eq(mActivity), anyInt()); in testDeviceOwnerFinalizationDuringSuw()