Home
last modified time | relevance | path

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

/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningControllerTest.java160 when(mUtils.alreadyHasManagedProfile(mContext)).thenReturn(-1); in setUp()
259 when(mUtils.alreadyHasManagedProfile(mContext)).thenReturn(TEST_USER_ID); in testManagedProfile_withExistingProfile()
713 when(mUtils.alreadyHasManagedProfile(mContext)).thenReturn( in prepareMocksForMaybeStartProvisioning()
DPreProvisioningActivityTest.java73 when(mUtils.alreadyHasManagedProfile(any())).thenReturn(-1); in setup()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DPreProvisioningController.java276 int existingManagedProfileUserId = mUtils.alreadyHasManagedProfile(mContext); in initiateProvisioning()
846 return mUtils.alreadyHasManagedProfile(mContext) != -1 in isRemovingManagedProfileDisallowed()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java395 public int alreadyHasManagedProfile(Context context) { in alreadyHasManagedProfile() method in Utils