Searched refs:alreadyHasManagedProfile (Results 1 – 4 of 4) sorted by relevance
160 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()
73 when(mUtils.alreadyHasManagedProfile(any())).thenReturn(-1); in setup()
276 int existingManagedProfileUserId = mUtils.alreadyHasManagedProfile(mContext); in initiateProvisioning()846 return mUtils.alreadyHasManagedProfile(mContext) != -1 in isRemovingManagedProfileDisallowed()
395 public int alreadyHasManagedProfile(Context context) { in alreadyHasManagedProfile() method in Utils