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.java221 protected void addDefaultComponentOrPackage(String packageOrComponent) { in addDefaultComponentOrPackage() argument
222 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() argument
242 ComponentName cn = ComponentName.unflattenFromString(packageOrComponent); in isDefaultComponentOrPackage()
244 return mDefaultPackages.contains(packageOrComponent); in isDefaultComponentOrPackage()
1175 final String packageOrComponent = approved.valueAt(i); in loadComponentNamesFromValues() local
1176 if (!TextUtils.isEmpty(packageOrComponent)) { in loadComponentNamesFromValues()
1177 ComponentName component = ComponentName.unflattenFromString(packageOrComponent); in loadComponentNamesFromValues()
[all …]
DConditionProviders.java252 protected boolean isValidEntry(String packageOrComponent, int userId) { in isValidEntry() argument
495 final String packageOrComponent = approved.valueAt(j); in removePackageFromApprovedLists() local
496 final String packageName = getPackageName(packageOrComponent); in removePackageFromApprovedLists()
501 Slog.v(TAG, "Removing " + packageOrComponent in removePackageFromApprovedLists()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java664 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 …]