Home
last modified time | relevance | path

Searched refs:packageOrComponent (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DManagedServices.java771 final String packageOrComponent = approved.valueAt(i); in loadComponentNamesFromValues() local
772 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() local
877 final String packageName = getPackageName(packageOrComponent); in removeUninstalledItemsFromApprovedLists()
881 Slog.v(TAG, "Removing " + packageOrComponent in removeUninstalledItemsFromApprovedLists()
892 protected String getPackageName(String packageOrComponent) { in getPackageName() argument
893 final ComponentName component = ComponentName.unflattenFromString(packageOrComponent); in getPackageName()
897 return packageOrComponent; in getPackageName()
[all …]
DConditionProviders.java191 protected boolean isValidEntry(String packageOrComponent, int userId) { in isValidEntry() argument
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java408 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 …]