Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java1808 when(mUserProfiles.isProfileUser(anyInt(), any(Context.class))).thenReturn(false); in testInfoIsPermittedForProfile_notProfile()
1822 when(mUserProfiles.isProfileUser(anyInt(), any(Context.class))).thenReturn(true); in testInfoIsPermittedForProfile_profileAndDpmAllows()
1838 when(mUserProfiles.isProfileUser(anyInt(), any(Context.class))).thenReturn(true); in testInfoIsPermittedForProfile_profileAndDpmDenies()
1875 assertFalse(profiles.isProfileUser(ActivityManager.getCurrentUser(), mContext)); in testUserProfiles_canProfileUseBoundServices_managedProfile()
1876 assertTrue(profiles.isProfileUser(12, mContext)); in testUserProfiles_canProfileUseBoundServices_managedProfile()
1877 assertTrue(profiles.isProfileUser(13, mContext)); in testUserProfiles_canProfileUseBoundServices_managedProfile()
1879 assertTrue(profiles.isProfileUser(14, mContext)); in testUserProfiles_canProfileUseBoundServices_managedProfile()
2029 when(mUserProfiles.isProfileUser(profileUserId, mContext)).thenReturn(true); in isComponentEnabledForCurrentProfiles_profileUserId()
2042 when(mUserProfiles.isProfileUser(profileUserId, mContext)).thenReturn(true); in isComponentEnabledForCurrentProfiles_profileUserId_NAS()
/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java1438 boolean rebindAllCurrentUsers = mUserProfiles.isProfileUser(userToRebind, mContext) in rebindServices()
1964 if (!mUserProfiles.isProfileUser(userId, mContext)) { in isPermittedForProfile()
2042 public boolean isProfileUser(int userId, Context context) { in isProfileUser() method in ManagedServices.UserProfiles
DNotificationManagerService.java934 if (isNASMigrationDone(userId) || isProfileUser(userInfo)) { in migrateDefaultNAS()
965 boolean isProfileUser(UserInfo userInfo) { in isProfileUser() method in NotificationManagerService
1072 boolean ineligibleForManagedServices = forRestore && isProfileUser(userInfo); in readPolicyXml()
2048 if (!mUserProfiles.isProfileUser(userId, context)) {
2064 if (!mUserProfiles.isProfileUser(userId, context)) {
2085 if (!mUserProfiles.isProfileUser(userId, context)) {
3010 if (!mUserProfiles.isProfileUser(userId, getContext())) {
/frameworks/base/services/
Dart-wear-profile15657 PLcom/android/server/notification/ManagedServices$UserProfiles;->isProfileUser(I)Z