Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/manageduser/
DManagedUserRemovalListenerTest.java64 private UserProvisioningStateHelper mUserProvisioningStateHelper; field in ManagedUserRemovalListenerTest
84 verify(mUserProvisioningStateHelper, never()).resetPrimaryUserProvisioningState(); in onReceive_arbitraryAction_userProvisioningStateIntact()
94 verify(mUserProvisioningStateHelper, never()).resetPrimaryUserProvisioningState(); in onReceive_secondaryUserRemovedAction_userProvisioningStateIntact()
104 verify(mUserProvisioningStateHelper, never()).resetPrimaryUserProvisioningState(); in onReceive_workProfileUserRemovedAction_userProvisioningStateIntact()
114 verify(mUserProvisioningStateHelper).resetPrimaryUserProvisioningState(); in onReceive_workProfileUserRemovedAction_stateProfileFinalized_userProvisioningStateResets()
133 context -> mUserProvisioningStateHelper, in createManagedUserRemovalListenerInternal()
DManagedUserRemovalUtilsTest.java44 private UserProvisioningStateHelper mUserProvisioningStateHelper; field in ManagedUserRemovalUtilsTest
61 mContext, mUserProvisioningStateHelper); in resetPrimaryUserProvisioningStateIfNecessary_stateUserUnmanaged_userProvisioningStateIntact()
63 verify(mUserProvisioningStateHelper, never()).resetPrimaryUserProvisioningState(); in resetPrimaryUserProvisioningStateIfNecessary_stateUserUnmanaged_userProvisioningStateIntact()
71 mContext, mUserProvisioningStateHelper); in resetPrimaryUserProvisioningStateIfNecessary_stateUserProfileFinalized_userProvisioningStateResets()
73 verify(mUserProvisioningStateHelper).resetPrimaryUserProvisioningState(); in resetPrimaryUserProvisioningStateIfNecessary_stateUserProfileFinalized_userProvisioningStateResets()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/
DBootReminderTest.java52 private UserProvisioningStateHelper mUserProvisioningStateHelper; field in BootReminderTest
77 verify(mUserProvisioningStateHelper, never()).resetPrimaryUserProvisioningState(); in onReceive_hasWorkProfile_userProvisioningStateIntact()
86 verify(mUserProvisioningStateHelper, never()).resetPrimaryUserProvisioningState(); in onReceive_userProvisioningStateUnmanaged_userProvisioningStateIntact()
96 verify(mUserProvisioningStateHelper).resetPrimaryUserProvisioningState(); in onReceive_userProvisioningStateProfileFinalized_userProvisioningStateReset()
115 context -> mUserProvisioningStateHelper, in createBootReminderInternal()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DPreFinalizationController.java44 private final UserProvisioningStateHelper mUserProvisioningStateHelper; field in PreFinalizationController
79 mUserProvisioningStateHelper = checkNotNull(helper); in PreFinalizationController()
97 if (!mUserProvisioningStateHelper.isStateUnmanagedOrFinalized()) { in deviceManagementEstablished()
105 mUserProvisioningStateHelper.markUserProvisioningStateInitiallyDone(params); in deviceManagementEstablished()
DFinalizationController.java68 private final UserProvisioningStateHelper mUserProvisioningStateHelper; field in FinalizationController
117 mUserProvisioningStateHelper = checkNotNull(helper); in FinalizationController()
150 if (mUserProvisioningStateHelper.isStateUnmanagedOrFinalized()) { in provisioningFinalized()
218 mUserProvisioningStateHelper.markUserProvisioningStateFinalized(params); in commitFinalizedState()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DProvisioningActivity.java118 private UserProvisioningStateHelper mUserProvisioningStateHelper; field in ProvisioningActivity
142 mUserProvisioningStateHelper = userProvisioningStateHelper; in ProvisioningActivity()
155 if (mUserProvisioningStateHelper == null) { in onCreate()
156 mUserProvisioningStateHelper = new UserProvisioningStateHelper(this); in onCreate()
301 new PreFinalizationController(this, mUserProvisioningStateHelper)
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/provisioning/
DProvisioningActivityTest.java179 @Mock private UserProvisioningStateHelper mUserProvisioningStateHelper; field in ProvisioningActivityTest
221 mProvisioningManager, mUtils, mUserProvisioningStateHelper, in setUp()