Searched refs:mAssistants (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
D | NotificationManagerServiceTest.java | 133 @Mock private NotificationAssistants mAssistants; field in NotificationManagerServiceTest 206 when(mAssistants.getConfig()).thenReturn(assistantConfig); in setUp() 214 mListeners, mAssistants, mConditionProviders, in setUp() local 1352 verify(mAssistants, never()).setPackageOrComponentEnabled( in testSetListenerAccessForUser() 1370 verify(mAssistants, times(1)).setPackageOrComponentEnabled( in testSetAssistantAccessForUser() 1394 verify(mAssistants, never()).setPackageOrComponentEnabled( in testSetDndAccessForUser() 1415 verify(mAssistants, never()).setPackageOrComponentEnabled( in testSetListenerAccess() 1430 verify(mAssistants, times(1)).setPackageOrComponentEnabled( in testSetAssistantAccess() 1451 verify(mAssistants, never()).setPackageOrComponentEnabled( in testSetDndAccess() 1467 verify(mAssistants, never()).setPackageOrComponentEnabled( in testSetListenerAccess_doesNothingOnLowRam() [all …]
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 351 private NotificationAssistants mAssistants; field in NotificationManagerService 467 } else if (mAssistants.getConfig().xmlTag.equals(parser.getName())) { in readPolicyXml() 468 mAssistants.readXml(parser); in readPolicyXml() 479 mAssistants.migrateToXml(); in readPolicyXml() 545 mAssistants.writeXml(out, forBackup); in writePolicyXml() 946 mAssistants.onPackagesChanged(removingPackage, pkgList, uidList); 994 mAssistants.onUserSwitched(user); 1010 mAssistants.onUserRemoved(user); 1016 mAssistants.onUserUnlocked(user); 1277 mAssistants = notificationAssistants; in init() [all …]
|