Searched refs:currentLauncherSupportsManagedProfiles (Results 1 – 4 of 4) sorted by relevance
204 assertFalse(mUtils.currentLauncherSupportsManagedProfiles(mockContext)); in testCurrentLauncherSupportsManagedProfiles_noLauncherSet()212 assertTrue(mUtils.currentLauncherSupportsManagedProfiles(mockContext)); in testCurrentLauncherSupportsManagedProfiles()218 assertFalse(mUtils.currentLauncherSupportsManagedProfiles(mockContext)); in testCurrentLauncherSupportsManagedProfiles()
161 when(mUtils.currentLauncherSupportsManagedProfiles(mContext)).thenReturn(true); in setUp()271 when(mUtils.currentLauncherSupportsManagedProfiles(mContext)).thenReturn(false); in testManagedProfile_badLauncher()
665 public boolean currentLauncherSupportsManagedProfiles(Context context) { in currentLauncherSupportsManagedProfiles() method in Utils
473 if (!mUtils.currentLauncherSupportsManagedProfiles(mContext)) { in continueProvisioningAfterUserConsent()