Searched refs:currentLauncherSupportsManagedProfiles (Results 1 – 4 of 4) sorted by relevance
241 assertFalse(mUtils.currentLauncherSupportsManagedProfiles(mockContext)); in testCurrentLauncherSupportsManagedProfiles_noLauncherSet()249 assertTrue(mUtils.currentLauncherSupportsManagedProfiles(mockContext)); in testCurrentLauncherSupportsManagedProfiles()255 assertFalse(mUtils.currentLauncherSupportsManagedProfiles(mockContext)); in testCurrentLauncherSupportsManagedProfiles()
199 when(mUtils.currentLauncherSupportsManagedProfiles(mContext)).thenReturn(true); in setUp()318 when(mUtils.currentLauncherSupportsManagedProfiles(mContext)).thenReturn(false); in testManagedProfile_badLauncher()
582 public boolean currentLauncherSupportsManagedProfiles(Context context) { in currentLauncherSupportsManagedProfiles() method
613 if (!mUtils.currentLauncherSupportsManagedProfiles(mContext)) { in continueProvisioningAfterUserConsent()