Searched refs:alreadyHasManagedProfile (Results 1 – 3 of 3) sorted by relevance
139 when(mUtils.alreadyHasManagedProfile(mContext)).thenReturn(-1); in setUp()236 when(mUtils.alreadyHasManagedProfile(mContext)).thenReturn(TEST_USER_ID); in testManagedProfile_withExistingProfile()645 when(mUtils.alreadyHasManagedProfile(mContext)).thenReturn( in prepareMocksForMaybeStartProvisioning()
225 int existingManagedProfileUserId = mUtils.alreadyHasManagedProfile(mContext); in initiateProvisioning()734 return mUtils.alreadyHasManagedProfile(mContext) != -1 in isRemovingManagedProfileDisallowed()
357 public int alreadyHasManagedProfile(Context context) { in alreadyHasManagedProfile() method in Utils