Searched refs:pkgOrComponent (Results 1 – 2 of 2) sorted by relevance
652 for (String pkgOrComponent : approvedArray) { in addApprovedList()653 String approvedItem = getApprovedValue(pkgOrComponent); in addApprovedList()665 protected void setPackageOrComponentEnabled(String pkgOrComponent, int userId, in setPackageOrComponentEnabled() argument668 (enabled ? " Allowing " : "Disallowing ") + mConfig.caption + " " + pkgOrComponent); in setPackageOrComponentEnabled()680 String approvedItem = getApprovedValue(pkgOrComponent); in setPackageOrComponentEnabled()694 private String getApprovedValue(String pkgOrComponent) { in getApprovedValue() argument696 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 …]
9091 protected void setPackageOrComponentEnabled(String pkgOrComponent, int userId,9098 if (currentComponent.flattenToString().equals(pkgOrComponent)) return;9103 super.setPackageOrComponentEnabled(pkgOrComponent, userId, isPrimary, enabled);