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.java191 protected void addDefaultComponentOrPackage(String packageOrComponent) { in addDefaultComponentOrPackage() argument
192 if (!TextUtils.isEmpty(packageOrComponent)) { in addDefaultComponentOrPackage()
195 mDefaultPackages.add(packageOrComponent); in addDefaultComponentOrPackage()
198 ComponentName cn = ComponentName.unflattenFromString(packageOrComponent); in addDefaultComponentOrPackage()
210 boolean isDefaultComponentOrPackage(String packageOrComponent) { in isDefaultComponentOrPackage() argument
212 ComponentName cn = ComponentName.unflattenFromString(packageOrComponent); in isDefaultComponentOrPackage()
214 return mDefaultPackages.contains(packageOrComponent); in isDefaultComponentOrPackage()
960 final String packageOrComponent = approved.valueAt(i); in loadComponentNamesFromValues() local
961 if (!TextUtils.isEmpty(packageOrComponent)) { in loadComponentNamesFromValues()
962 ComponentName component = ComponentName.unflattenFromString(packageOrComponent); in loadComponentNamesFromValues()
[all …]
DConditionProviders.java243 protected boolean isValidEntry(String packageOrComponent, int userId) { in isValidEntry() argument
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DManagedServicesTest.java559 for (String packageOrComponent : in testWriteXml_trimsMissingServices()
561 if (!TextUtils.isEmpty(packageOrComponent)) { in testWriteXml_trimsMissingServices()
563 service.getPackageName(packageOrComponent)); in testWriteXml_trimsMissingServices()
568 for (String packageOrComponent : in testWriteXml_trimsMissingServices()
570 if (!TextUtils.isEmpty(packageOrComponent)) { in testWriteXml_trimsMissingServices()
572 service.getPackageName(packageOrComponent)); in testWriteXml_trimsMissingServices()
1398 for (String packageOrComponent : verifyMap.get(userId).split(":")) { in verifyExpectedBoundEntries()
1399 if (!TextUtils.isEmpty(packageOrComponent)) { in verifyExpectedBoundEntries()
1401 assertTrue(packageOrComponent, in verifyExpectedBoundEntries()
1402 service.isComponentEnabledForPackage(packageOrComponent)); in verifyExpectedBoundEntries()
[all …]