Home
last modified time | relevance | path

Searched refs:setPackageOrComponentEnabled (Results 1 – 6 of 6) 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.java2185 verify(mListeners, times(1)).setPackageOrComponentEnabled( in testSetListenerAccessForUser()
2187 verify(mConditionProviders, times(1)).setPackageOrComponentEnabled( in testSetListenerAccessForUser()
2189 verify(mAssistants, never()).setPackageOrComponentEnabled( in testSetListenerAccessForUser()
2206 verify(mAssistants, times(1)).setPackageOrComponentEnabled( in testSetAssistantAccessForUser()
2209 verify(mConditionProviders, times(1)).setPackageOrComponentEnabled( in testSetAssistantAccessForUser()
2211 verify(mListeners, never()).setPackageOrComponentEnabled( in testSetAssistantAccessForUser()
2248 verify(mConditionProviders, times(1)).setPackageOrComponentEnabled( in testSetDndAccessForUser()
2250 verify(mAssistants, never()).setPackageOrComponentEnabled( in testSetDndAccessForUser()
2252 verify(mListeners, never()).setPackageOrComponentEnabled( in testSetDndAccessForUser()
2261 verify(mListeners, times(1)).setPackageOrComponentEnabled( in testSetListenerAccess()
[all …]
DManagedServicesTest.java300 service.setPackageOrComponentEnabled(preApprovedComponent, 0, true, true); in testReadXml_appendsListOfApprovedComponents()
373 service.setPackageOrComponentEnabled(resolvedValue0, 0, true, false); in testWriteXml_onlyBackupsForTargetUser()
374 service.setPackageOrComponentEnabled(resolvedValue10, 10, true, false); in testWriteXml_onlyBackupsForTargetUser()
644 service.setPackageOrComponentEnabled(expectedForUser.get(i), userId, primary, in testSetPackageOrComponentEnabled()
670 service.setPackageOrComponentEnabled( in testSetPackageOrComponentEnabled()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3845 mConditionProviders.setPackageOrComponentEnabled(
4003 mConditionProviders.setPackageOrComponentEnabled(listener.flattenToString(),
4005 mListeners.setPackageOrComponentEnabled(listener.flattenToString(),
4290 mConditionProviders.setPackageOrComponentEnabled(assistant.flattenToString(),
4292 mAssistants.setPackageOrComponentEnabled(assistant.flattenToString(),
8011 protected void setPackageOrComponentEnabled(String pkgOrComponent, int userId,
8023 super.setPackageOrComponentEnabled(pkgOrComponent, userId, isPrimary, enabled);
DManagedServices.java477 protected void setPackageOrComponentEnabled(String pkgOrComponent, int userId, in setPackageOrComponentEnabled() method in ManagedServices
/frameworks/base/services/
Dart-profile9319 HSPLcom/android/server/notification/ManagedServices;->setPackageOrComponentEnabled(Ljava/lang/Strin…
9492 …ification/NotificationManagerService$NotificationAssistants;->setPackageOrComponentEnabled(Ljava/l…