Searched refs:isProfileUser (Results 1 – 4 of 4) sorted by relevance
1727 when(mUserProfiles.isProfileUser(anyInt())).thenReturn(false); in testInfoIsPermittedForProfile_notProfile()1741 when(mUserProfiles.isProfileUser(anyInt())).thenReturn(true); in testInfoIsPermittedForProfile_profileAndDpmAllows()1757 when(mUserProfiles.isProfileUser(anyInt())).thenReturn(true); in testInfoIsPermittedForProfile_profileAndDpmDenies()1788 assertFalse(profiles.isProfileUser(ActivityManager.getCurrentUser())); in testUserProfiles_canProfileUseBoundServices_managedProfile()1789 assertTrue(profiles.isProfileUser(12)); in testUserProfiles_canProfileUseBoundServices_managedProfile()1790 assertTrue(profiles.isProfileUser(13)); in testUserProfiles_canProfileUseBoundServices_managedProfile()1939 when(mUserProfiles.isProfileUser(profileUserId)).thenReturn(true); in isComponentEnabledForCurrentProfiles_profileUserId()1952 when(mUserProfiles.isProfileUser(profileUserId)).thenReturn(true); in isComponentEnabledForCurrentProfiles_profileUserId_NAS()
1374 boolean rebindAllCurrentUsers = mUserProfiles.isProfileUser(userToRebind) in rebindServices()1879 if (!mUserProfiles.isProfileUser(userId)) { in isPermittedForProfile()1957 public boolean isProfileUser(int userId) { in isProfileUser() method in ManagedServices.UserProfiles
1858 if (!mUserProfiles.isProfileUser(userId)) {1873 if (!mUserProfiles.isProfileUser(userId)) {1891 if (!mUserProfiles.isProfileUser(userId)) {
5063 HSPLcom/android/server/notification/ManagedServices$UserProfiles;->isProfileUser(I)Z+]Landroid/util…