Searched refs:packageOrComponent (Results 1 – 3 of 3) sorted by relevance
771 final String packageOrComponent = approved.valueAt(i); in loadComponentNamesFromValues() local772 if (!TextUtils.isEmpty(packageOrComponent)) { in loadComponentNamesFromValues()773 ComponentName component = ComponentName.unflattenFromString(packageOrComponent); in loadComponentNamesFromValues()777 result.addAll(queryPackageForServices(packageOrComponent, userId)); in loadComponentNamesFromValues()876 final String packageOrComponent = approved.valueAt(k); in removeUninstalledItemsFromApprovedLists() local877 final String packageName = getPackageName(packageOrComponent); in removeUninstalledItemsFromApprovedLists()881 Slog.v(TAG, "Removing " + packageOrComponent in removeUninstalledItemsFromApprovedLists()892 protected String getPackageName(String packageOrComponent) { in getPackageName() argument893 final ComponentName component = ComponentName.unflattenFromString(packageOrComponent); in getPackageName()897 return packageOrComponent; in getPackageName()[all …]
191 protected boolean isValidEntry(String packageOrComponent, int userId) { in isValidEntry() argument
408 for (String packageOrComponent : in testWriteXml_trimsMissingServices()410 if (!TextUtils.isEmpty(packageOrComponent)) { in testWriteXml_trimsMissingServices()412 service.getPackageName(packageOrComponent)); in testWriteXml_trimsMissingServices()417 for (String packageOrComponent : in testWriteXml_trimsMissingServices()419 if (!TextUtils.isEmpty(packageOrComponent)) { in testWriteXml_trimsMissingServices()421 service.getPackageName(packageOrComponent)); in testWriteXml_trimsMissingServices()1156 for (String packageOrComponent : verifyMap.get(userId).split(":")) { in verifyExpectedBoundEntries()1157 if (!TextUtils.isEmpty(packageOrComponent)) { in verifyExpectedBoundEntries()1159 assertTrue(packageOrComponent, in verifyExpectedBoundEntries()1160 service.isComponentEnabledForPackage(packageOrComponent)); in verifyExpectedBoundEntries()[all …]