Home
last modified time | relevance | path

Searched refs:hasUserSetupCompleted (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/android/app/admin/
DIDevicePolicyManager.aidl157 boolean hasUserSetupCompleted(); in hasUserSetupCompleted() method
DDevicePolicyManager.java6158 public boolean hasUserSetupCompleted() { in hasUserSetupCompleted() method in DevicePolicyManager
6161 return mService.hasUserSetupCompleted(); in hasUserSetupCompleted()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerTest.java3339 assertTrue(dpms.hasUserSetupCompleted()); in testForceUpdateUserSetupComplete_userbuild()
3344 assertTrue(dpms.hasUserSetupCompleted()); in testForceUpdateUserSetupComplete_userbuild()
3364 assertTrue(dpms.hasUserSetupCompleted()); in testForceUpdateUserSetupComplete_userDebugbuild()
3369 assertFalse(dpms.hasUserSetupCompleted()); in testForceUpdateUserSetupComplete_userDebugbuild()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java8243 public boolean hasUserSetupCompleted() { in hasUserSetupCompleted() method
8244 return hasUserSetupCompleted(UserHandle.getCallingUserId()); in hasUserSetupCompleted()
8250 private boolean hasUserSetupCompleted(int userHandle) { in hasUserSetupCompleted() method
8580 if ((mIsWatch || hasUserSetupCompleted(userHandle)) in enforceCanSetProfileOwnerLocked()
8589 if ((mIsWatch || hasUserSetupCompleted(userHandle))) { in enforceCanSetProfileOwnerLocked()
11945 if (mIsWatch || hasUserSetupCompleted(UserHandle.USER_SYSTEM)) { in checkDeviceOwnerProvisioningPreConditionLocked()
11965 if (hasUserSetupCompleted(UserHandle.USER_SYSTEM)) { in checkDeviceOwnerProvisioningPreConditionLocked()
12066 if (hasUserSetupCompleted(callingUserId)) { in checkManagedUserProvisioningPreCondition()