Searched refs:currentLauncherSupportsManagedProfiles (Results 1 – 4 of 4) sorted by relevance
243 assertFalse(mUtils.currentLauncherSupportsManagedProfiles(mockContext)); in testCurrentLauncherSupportsManagedProfiles_noLauncherSet()251 assertTrue(mUtils.currentLauncherSupportsManagedProfiles(mockContext)); in testCurrentLauncherSupportsManagedProfiles()257 assertFalse(mUtils.currentLauncherSupportsManagedProfiles(mockContext)); in testCurrentLauncherSupportsManagedProfiles()
625 public boolean currentLauncherSupportsManagedProfiles(Context context) { in currentLauncherSupportsManagedProfiles() method in Utils
344 when(mUtils.currentLauncherSupportsManagedProfiles(mContext)).thenReturn(true); in setUp()838 when(mUtils.currentLauncherSupportsManagedProfiles(mContext)).thenReturn(false); in testManagedProfile_badLauncher()
849 if (!mUtils.currentLauncherSupportsManagedProfiles(mContext)) { in continueProvisioningAfterUserConsent()