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.java161 when(mUtils.alreadyHasManagedProfile(mContext)).thenReturn(-1); in setUp()
261 when(mUtils.alreadyHasManagedProfile(mContext)).thenReturn(TEST_USER_ID); in testManagedProfile_withExistingProfile()
374 when(mUtils.alreadyHasManagedProfile(mContext)).thenReturn(TEST_USER_ID); in testManagedProfile_restrictedFromRemovingExisting()
730 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.java295 int existingManagedProfileUserId = mUtils.alreadyHasManagedProfile(mContext); in initiateProvisioning()
897 return mUtils.alreadyHasManagedProfile(mContext) != -1 in isRemovingManagedProfileDisallowed()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DUtils.java396 public int alreadyHasManagedProfile(Context context) { in alreadyHasManagedProfile() method in Utils