Searched refs:packageOrComponent (Results 1 – 3 of 3) sorted by relevance
221 protected void addDefaultComponentOrPackage(String packageOrComponent) { in addDefaultComponentOrPackage() argument222 if (!TextUtils.isEmpty(packageOrComponent)) { in addDefaultComponentOrPackage()225 mDefaultPackages.add(packageOrComponent); in addDefaultComponentOrPackage()228 ComponentName cn = ComponentName.unflattenFromString(packageOrComponent); in addDefaultComponentOrPackage()240 boolean isDefaultComponentOrPackage(String packageOrComponent) { in isDefaultComponentOrPackage() argument242 ComponentName cn = ComponentName.unflattenFromString(packageOrComponent); in isDefaultComponentOrPackage()244 return mDefaultPackages.contains(packageOrComponent); in isDefaultComponentOrPackage()1175 final String packageOrComponent = approved.valueAt(i); in loadComponentNamesFromValues() local1176 if (!TextUtils.isEmpty(packageOrComponent)) { in loadComponentNamesFromValues()1177 ComponentName component = ComponentName.unflattenFromString(packageOrComponent); in loadComponentNamesFromValues()[all …]
252 protected boolean isValidEntry(String packageOrComponent, int userId) { in isValidEntry() argument495 final String packageOrComponent = approved.valueAt(j); in removePackageFromApprovedLists() local496 final String packageName = getPackageName(packageOrComponent); in removePackageFromApprovedLists()501 Slog.v(TAG, "Removing " + packageOrComponent in removePackageFromApprovedLists()
664 for (String packageOrComponent : in testWriteXml_trimsMissingServices()666 if (!TextUtils.isEmpty(packageOrComponent)) { in testWriteXml_trimsMissingServices()668 service.getPackageName(packageOrComponent)); in testWriteXml_trimsMissingServices()673 for (String packageOrComponent : in testWriteXml_trimsMissingServices()675 if (!TextUtils.isEmpty(packageOrComponent)) { in testWriteXml_trimsMissingServices()677 service.getPackageName(packageOrComponent)); in testWriteXml_trimsMissingServices()2253 for (String packageOrComponent : verifyMap.get(userId).split(":")) { in verifyExpectedBoundEntries()2254 if (!TextUtils.isEmpty(packageOrComponent)) { in verifyExpectedBoundEntries()2256 assertTrue(packageOrComponent, in verifyExpectedBoundEntries()2257 service.isComponentEnabledForPackage(packageOrComponent)); in verifyExpectedBoundEntries()[all …]