Home
last modified time | relevance | path

Searched refs:setPackageOrComponentEnabled (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationAssistantsTest.java144 mAssistants.setPackageOrComponentEnabled(component1.flattenToString(), mZero.id, true, in testSetPackageOrComponentEnabled_onlyOnePackage()
149 mAssistants.setPackageOrComponentEnabled(component2.flattenToString(), mZero.id, true, in testSetPackageOrComponentEnabled_onlyOnePackage()
158 mAssistants.setPackageOrComponentEnabled(component1.flattenToString(), mZero.id, true, in testSetPackageOrComponentEnabled_samePackage()
160 mAssistants.setPackageOrComponentEnabled(component1.flattenToString(), mZero.id, true, in testSetPackageOrComponentEnabled_samePackage()
DNotificationManagerServiceTest.java824 verify(mAssistants).setPackageOrComponentEnabled( in testDefaultAssistant_overrideDefault()
2807 verify(mListeners, times(1)).setPackageOrComponentEnabled( in testSetListenerAccessForUser()
2809 verify(mConditionProviders, times(1)).setPackageOrComponentEnabled( in testSetListenerAccessForUser()
2811 verify(mAssistants, never()).setPackageOrComponentEnabled( in testSetListenerAccessForUser()
2828 verify(mAssistants, times(1)).setPackageOrComponentEnabled( in testSetAssistantAccessForUser()
2831 verify(mConditionProviders, times(1)).setPackageOrComponentEnabled( in testSetAssistantAccessForUser()
2833 verify(mListeners, never()).setPackageOrComponentEnabled( in testSetAssistantAccessForUser()
2870 verify(mConditionProviders, times(1)).setPackageOrComponentEnabled( in testSetDndAccessForUser()
2872 verify(mAssistants, never()).setPackageOrComponentEnabled( in testSetDndAccessForUser()
2874 verify(mListeners, never()).setPackageOrComponentEnabled( in testSetDndAccessForUser()
[all …]
DManagedServicesTest.java310 service.setPackageOrComponentEnabled(preApprovedComponent, 0, true, true); in testReadXml_appendsListOfApprovedComponents()
524 service.setPackageOrComponentEnabled(resolvedValue0, 0, true, false); in testWriteXml_onlyBackupsForTargetUser()
525 service.setPackageOrComponentEnabled(resolvedValue10, 10, true, false); in testWriteXml_onlyBackupsForTargetUser()
795 service.setPackageOrComponentEnabled(expectedForUser.get(i), userId, primary, in testSetPackageOrComponentEnabled()
821 service.setPackageOrComponentEnabled( in testSetPackageOrComponentEnabled()
/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java104 setPackageOrComponentEnabled(packageName, userId, true, true); in resetPackage()
107 setPackageOrComponentEnabled(packageName, userId, true, false); in resetPackage()
DNotificationManagerService.java3633 mConditionProviders.setPackageOrComponentEnabled(
3646 mAssistants.setPackageOrComponentEnabled(
3655 .setPackageOrComponentEnabled(
4620 mConditionProviders.setPackageOrComponentEnabled(
4789 mConditionProviders.setPackageOrComponentEnabled(listener.flattenToString(),
4791 mListeners.setPackageOrComponentEnabled(listener.flattenToString(),
5076 mConditionProviders.setPackageOrComponentEnabled(assistant.flattenToString(),
5078 mAssistants.setPackageOrComponentEnabled(assistant.flattenToString(),
9091 protected void setPackageOrComponentEnabled(String pkgOrComponent, int userId,
9103 super.setPackageOrComponentEnabled(pkgOrComponent, userId, isPrimary, enabled);
DManagedServices.java665 protected void setPackageOrComponentEnabled(String pkgOrComponent, int userId, in setPackageOrComponentEnabled() method in ManagedServices
/frameworks/base/services/
Dart-profile21131 HSPLcom/android/server/notification/ManagedServices;->setPackageOrComponentEnabled(Ljava/lang/Strin…
21507 …ification/NotificationManagerService$NotificationAssistants;->setPackageOrComponentEnabled(Ljava/l…