Searched refs:managedProfile (Results 1 – 10 of 10) sorted by relevance
104 final boolean managedProfile = mUserId != UserHandle.myUserId(); in isScreenLockVisible()108 && !managedProfile; // Profiles should use unified challenge instead. in isScreenLockVisible()111 && !managedProfile; // Swipe doesn't make sense for profiles. in isScreenLockVisible()
136 final UserHandle managedProfile = Utils.getManagedProfile(mUserManager); in isManagedProfileRestrictedByBase() local137 return managedProfile != null in isManagedProfileRestrictedByBase()138 && hasShareLocationRestriction(managedProfile.getIdentifier()); in isManagedProfileRestrictedByBase()
75 final UserHandle managedProfile = Utils.getManagedProfile(mUserManager); in onAttach() local76 mUserId = mForWork && managedProfile != null in onAttach()77 ? managedProfile.getIdentifier() in onAttach()
51 UserInfo managedProfile = new UserInfo(TEST_MANAGED_PROFILE_ID, null, in setUp() local53 when(mUserManager.getUserInfo(eq(TEST_MANAGED_PROFILE_ID))).thenReturn(managedProfile); in setUp()
177 final boolean managedProfile = UserManager.get(getContext()).isManagedProfile(mUserId); in loadFromSettings()180 final boolean showNotifications = managedProfile || Settings.Secure.getIntForUser( in loadFromSettings()
176 final boolean managedProfile = UserManager.get(getContext()).isManagedProfile(mUserId); in loadFromSettings()179 final boolean showNotifications = managedProfile || Settings.Secure.getIntForUser( in loadFromSettings()
321 final UserInfo managedProfile = in testGetNumberOfOwnerInstalledCaCertsForManagedProfile() local331 mProfiles.add(managedProfile); in testGetNumberOfOwnerInstalledCaCertsForManagedProfile()