Home
last modified time | relevance | path

Searched refs:pkgOrComponent (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java652 for (String pkgOrComponent : approvedArray) { in addApprovedList()
653 String approvedItem = getApprovedValue(pkgOrComponent); in addApprovedList()
665 protected void setPackageOrComponentEnabled(String pkgOrComponent, int userId, in setPackageOrComponentEnabled() argument
668 (enabled ? " Allowing " : "Disallowing ") + mConfig.caption + " " + pkgOrComponent); in setPackageOrComponentEnabled()
680 String approvedItem = getApprovedValue(pkgOrComponent); in setPackageOrComponentEnabled()
694 private String getApprovedValue(String pkgOrComponent) { in getApprovedValue() argument
696 if(ComponentName.unflattenFromString(pkgOrComponent) != null) { in getApprovedValue()
697 return pkgOrComponent; in getApprovedValue()
701 return getPackageName(pkgOrComponent); in getApprovedValue()
750 protected boolean isPackageOrComponentAllowed(String pkgOrComponent, int userId) { in isPackageOrComponentAllowed() argument
[all …]
DNotificationManagerService.java9091 protected void setPackageOrComponentEnabled(String pkgOrComponent, int userId,
9098 if (currentComponent.flattenToString().equals(pkgOrComponent)) return;
9103 super.setPackageOrComponentEnabled(pkgOrComponent, userId, isPrimary, enabled);