/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | EncryptionControllerTest.java | 63 @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/ |
D | NotificationHelperTest.java | 47 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/ |
D | EncryptionController.java | 56 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/ |
D | CarDevicePolicyServiceTest.java | 85 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()
|
D | NotificationHelperTest.java | 89 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/ |
D | FinalizationController.java | 75 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/ |
D | FinalizationInsideSuwControllerTest.java | 90 @Mock private NotificationHelper mNotificationHelper; field in FinalizationInsideSuwControllerTest 139 mUtils, mSettingsFacade, mHelper, mNotificationHelper, mDeferredMetricsReader, in setUp() 349 verify(mNotificationHelper).showPrivacyReminderNotification(eq(mActivity), anyInt()); in testDeviceOwnerFinalizationDuringSuw()
|