Home
last modified time | relevance | path

Searched refs:setUserProvisioningState (Results 1 – 2 of 2) sorted by relevance

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/
DUserProvisioningStateHelperTest.java84 verify(mDevicePolicyManager).setUserProvisioningState(STATE_USER_SETUP_FINALIZED, in testInitiallyDone_ProfileAfterSuw()
100 verify(mDevicePolicyManager).setUserProvisioningState(STATE_USER_SETUP_COMPLETE, in testInitiallyDone_ProfileDuringSuw()
103 verify(mDevicePolicyManager).setUserProvisioningState(STATE_USER_PROFILE_COMPLETE, in testInitiallyDone_ProfileDuringSuw()
118 verify(mDevicePolicyManager).setUserProvisioningState(STATE_USER_SETUP_COMPLETE, in testInitiallyDone_DeviceOwnerSkipUserSetup()
133 verify(mDevicePolicyManager).setUserProvisioningState(STATE_USER_SETUP_INCOMPLETE, in testInitiallyDone_DeviceOwnerDontSkipUserSetup()
148 verify(mDevicePolicyManager).setUserProvisioningState(STATE_USER_SETUP_FINALIZED, in testFinalized_ManagedProfile()
151 verify(mDevicePolicyManager).setUserProvisioningState(STATE_USER_UNMANAGED, in testFinalized_ManagedProfile()
165 verify(mDevicePolicyManager).setUserProvisioningState(STATE_USER_SETUP_FINALIZED, in testFinalized_DeviceOwner()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/
DUserProvisioningStateHelper.java116 setUserProvisioningState(newState, mMyUserId); in markUserProvisioningStateInitiallyDone()
119 setUserProvisioningState(newProfileState, managedProfileUserId); in markUserProvisioningStateInitiallyDone()
139 setUserProvisioningState(STATE_USER_SETUP_FINALIZED, managedProfileUserId); in markUserProvisioningStateFinalized()
140 setUserProvisioningState(STATE_USER_UNMANAGED, mMyUserId); in markUserProvisioningStateFinalized()
142 setUserProvisioningState(STATE_USER_SETUP_FINALIZED, mMyUserId); in markUserProvisioningStateFinalized()
152 private void setUserProvisioningState(int state, int userId) { in setUserProvisioningState() method in UserProvisioningStateHelper
154 mDevicePolicyManager.setUserProvisioningState(state, userId); in setUserProvisioningState()