Home
last modified time | relevance | path

Searched refs:mUserProfiles (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java95 private ManagedServices.UserProfiles mUserProfiles; field in ManagedServicesTest
138 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds); in setUp()
166 mService = new TestManagedServices(getContext(), mLock, mUserProfiles, in setUp()
173 ManagedServices service = new TestManagedServices(getContext(), mLock, mUserProfiles, in testBackupAndRestore_migration()
222 ManagedServices service = new TestManagedServices(getContext(), mLock, mUserProfiles, in testBackupAndRestore_migration_preO()
262 ManagedServices service = new TestManagedServices(getContext(), mLock, mUserProfiles, in testReadXml_migrationFromSettings()
280 ManagedServices service = new TestManagedServices(getContext(), mLock, mUserProfiles, in testReadXml()
300 ManagedServices service = new TestManagedServices(getContext(), mLock, mUserProfiles, in testReadXml_appendsListOfApprovedComponents()
329 getContext(), mLock, mUserProfiles, mIpm, approvalLevel); in testReadXml_onlyRestoresForTargetUser()
350 getContext(), mLock, mUserProfiles, mIpm, APPROVAL_BY_COMPONENT); in testWriteReadXml_writeReadDefaults()
[all …]
DNotificationAssistantsTest.java71 private ManagedServices.UserProfiles mUserProfiles; field in NotificationAssistantsTest
84 mAssistants = spy(mNm.new NotificationAssistants(getContext(), mLock, mUserProfiles, miPm)); in setUp()
112 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds); in setUp()
DSnoozeHelperTest.java76 @Mock ManagedServices.UserProfiles mUserProfiles; field in SnoozeHelperTest
84 mSnoozeHelper = new SnoozeHelper(getContext(), mCallback, mUserProfiles); in setUp()
457 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds);
479 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds);
496 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds);
517 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds);
544 when(mUserProfiles.getCurrentProfileIds()).thenReturn(profileIds);
/frameworks/base/services/core/java/com/android/server/notification/
DSnoozeHelper.java87 private final ManagedServices.UserProfiles mUserProfiles; field in SnoozeHelper
119 mUserProfiles = userProfiles; in SnoozeHelper()
322 userIds = mUserProfiles.getCurrentProfileIds(); in cancel()
DManagedServices.java121 private final UserProfiles mUserProfiles; field in ManagedServices
165 mUserProfiles = userProfiles; in ManagedServices()
936 final IntArray userIds = mUserProfiles.getCurrentProfileIds(); in setComponentState()
1194 IntArray userIds = mUserProfiles.getCurrentProfileIds(); in rebindServices()
1568 && mUserProfiles.isCurrentProfile(nid) in enabledAndUserMatches()
1599 if (!mUserProfiles.isManagedProfile(userId)) { in isPermittedForProfile()
DNotificationManagerService.java504 private final UserProfiles mUserProfiles = new UserProfiles(); field in NotificationManagerService
1569 mUserProfiles.updateCache(context);
1570 if (!mUserProfiles.isManagedProfile(userId)) {
1584 mUserProfiles.updateCache(context);
1585 if (!mUserProfiles.isManagedProfile(userId)) {
1591 mUserProfiles.updateCache(context);
1601 mUserProfiles.updateCache(context);
1603 if (!mUserProfiles.isManagedProfile(userId)) {
1670 final IntArray userIds = mUserProfiles.getCurrentProfileIds(); in update()
2015 mUserProfiles.updateCache(getContext()); in init()
[all …]