Searched refs:setUserProvisioningState (Results 1 – 2 of 2) sorted by relevance
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/ |
D | UserProvisioningStateHelper.java | 124 setUserProvisioningState(newState, mMyUserId); in markUserProvisioningStateInitiallyDone() 128 setUserProvisioningState(newProfileState, managedProfileUserId); in markUserProvisioningStateInitiallyDone() 147 setUserProvisioningState(STATE_USER_SETUP_FINALIZED, managedProfileUserId); in markUserProvisioningStateFinalized() 148 setUserProvisioningState(STATE_USER_PROFILE_FINALIZED, mMyUserId); in markUserProvisioningStateFinalized() 150 setUserProvisioningState(STATE_USER_SETUP_FINALIZED, mMyUserId); in markUserProvisioningStateFinalized() 172 setUserProvisioningState(STATE_USER_UNMANAGED, UserHandle.USER_SYSTEM); in resetPrimaryUserProvisioningState() 180 private void setUserProvisioningState(int state, int userId) { in setUserProvisioningState() method in UserProvisioningStateHelper 182 mDevicePolicyManager.setUserProvisioningState(state, userId); in setUserProvisioningState() 196 setUserProvisioningState(newState, UserHandle.USER_SYSTEM); in maybeSetHeadlessSystemUserProvisioningState()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | UserProvisioningStateHelperTest.java | 119 verify(mDevicePolicyManager, never()).setUserProvisioningState(anyInt(), anyInt()); in testInitiallyDone_DeviceAfterSuw() 193 verify(mDevicePolicyManager).setUserProvisioningState(state, userId); in verifyUserProvisioningStateSet()
|