Home
last modified time | relevance | path

Searched refs:isProfileUser (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DManagedServicesTest.java1727 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()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DManagedServices.java1374 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
H A DNotificationManagerService.java1858 if (!mUserProfiles.isProfileUser(userId)) {
1873 if (!mUserProfiles.isProfileUser(userId)) {
1891 if (!mUserProfiles.isProfileUser(userId)) {
/aosp14/frameworks/base/services/
H A Dart-profile5063 HSPLcom/android/server/notification/ManagedServices$UserProfiles;->isProfileUser(I)Z+]Landroid/util…