Searched refs:isPackageOrComponentAllowed (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ManagedServicesTest.java | 291 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 …]
|
D | NotificationManagerServiceTest.java | 5589 when(mConditionProviders.isPackageOrComponentAllowed(anyString(), anyInt())) in testAutomaticZenRuleValidation_policyFilterAgreement()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ConditionProviders.java | 101 boolean isAllowed = super.isPackageOrComponentAllowed(packageName, userId); in resetPackage()
|
D | ManagedServices.java | 750 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()
|
D | NotificationManagerService.java | 3303 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/ |
D | art-profile | 21099 HSPLcom/android/server/notification/ManagedServices;->isPackageOrComponentAllowed(Ljava/lang/String…
|