Searched refs:setUserProvisioningState (Results 1 – 2 of 2) sorted by relevance
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/finalization/ |
D | UserProvisioningStateHelper.java | 122 setUserProvisioningState(newState, mMyUserId); in markUserProvisioningStateInitiallyDone() 126 setUserProvisioningState(newProfileState, managedProfileUserId); in markUserProvisioningStateInitiallyDone() 145 setUserProvisioningState(STATE_USER_SETUP_FINALIZED, managedProfileUserId); in markUserProvisioningStateFinalized() 146 setUserProvisioningState(STATE_USER_PROFILE_FINALIZED, mMyUserId); in markUserProvisioningStateFinalized() 148 setUserProvisioningState(STATE_USER_SETUP_FINALIZED, mMyUserId); in markUserProvisioningStateFinalized() 170 setUserProvisioningState(STATE_USER_UNMANAGED, UserHandle.USER_SYSTEM); in resetPrimaryUserProvisioningState() 178 private void setUserProvisioningState(int state, int userId) { in setUserProvisioningState() method in UserProvisioningStateHelper 180 mDevicePolicyManager.setUserProvisioningState(state, userId); in setUserProvisioningState() 187 setUserProvisioningState(newState, UserHandle.USER_SYSTEM); in maybeSetHeadlessSystemUserProvisioningState()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/finalization/ |
D | UserProvisioningStateHelperTest.java | 117 verify(mDevicePolicyManager, never()).setUserProvisioningState(anyInt(), anyInt()); in testInitiallyDone_DeviceAfterSuw() 188 verify(mDevicePolicyManager).setUserProvisioningState(state, userId); in verifyUserProvisioningStateSet()
|