Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java291 service.isPackageOrComponentAllowed( in testReadXml()
319 assertTrue(service.isPackageOrComponentAllowed(verifyValue, 0)); in testReadXml_appendsListOfApprovedComponents()
339 assertFalse(service.isPackageOrComponentAllowed(resolvedValue, 0)); in testReadXml_onlyRestoresForTargetUser()
340 assertTrue(service.isPackageOrComponentAllowed(resolvedValue, 10)); in testReadXml_onlyRestoresForTargetUser()
534 assertFalse(service.isPackageOrComponentAllowed(resolvedValue0, 0)); in testWriteXml_onlyBackupsForTargetUser()
535 assertFalse(service.isPackageOrComponentAllowed(resolvedValue0, 10)); in testWriteXml_onlyBackupsForTargetUser()
536 assertTrue(service.isPackageOrComponentAllowed(resolvedValue10, 10)); in testWriteXml_onlyBackupsForTargetUser()
598 assertFalse(service.isPackageOrComponentAllowed("this.is.a.package.name", 0)); in testWriteXml_trimsMissingServices()
599 assertFalse(service.isPackageOrComponentAllowed("bananas!", 12)); in testWriteXml_trimsMissingServices()
600 assertFalse(service.isPackageOrComponentAllowed("package/component2", 10)); in testWriteXml_trimsMissingServices()
[all …]
DNotificationManagerServiceTest.java5589 when(mConditionProviders.isPackageOrComponentAllowed(anyString(), anyInt())) in testAutomaticZenRuleValidation_policyFilterAgreement()
/frameworks/base/services/core/java/com/android/server/notification/
DConditionProviders.java101 boolean isAllowed = super.isPackageOrComponentAllowed(packageName, userId); in resetPackage()
DManagedServices.java750 protected boolean isPackageOrComponentAllowed(String pkgOrComponent, int userId) { in isPackageOrComponentAllowed() method in ManagedServices
941 if (isPackageOrComponentAllowed(component.flattenToString(), userId) in setComponentState()
942 || isPackageOrComponentAllowed(component.getPackageName(), userId)) { in setComponentState()
DNotificationManagerService.java3303 mConditionProviders.isPackageOrComponentAllowed(
4469 if (mConditionProviders.isPackageOrComponentAllowed(
4493 return mConditionProviders.isPackageOrComponentAllowed(
4745 return mListeners.isPackageOrComponentAllowed(listener.flattenToString(),
4754 return mListeners.isPackageOrComponentAllowed(listener.flattenToString(),
4762 return mAssistants.isPackageOrComponentAllowed(assistant.flattenToString(),
/frameworks/base/services/
Dart-profile21099 HSPLcom/android/server/notification/ManagedServices;->isPackageOrComponentAllowed(Ljava/lang/String…