Searched refs:packageOrComponent (Results 1 – 3 of 3) sorted by relevance
191 protected void addDefaultComponentOrPackage(String packageOrComponent) { in addDefaultComponentOrPackage() argument192 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() argument212 ComponentName cn = ComponentName.unflattenFromString(packageOrComponent); in isDefaultComponentOrPackage()214 return mDefaultPackages.contains(packageOrComponent); in isDefaultComponentOrPackage()960 final String packageOrComponent = approved.valueAt(i); in loadComponentNamesFromValues() local961 if (!TextUtils.isEmpty(packageOrComponent)) { in loadComponentNamesFromValues()962 ComponentName component = ComponentName.unflattenFromString(packageOrComponent); in loadComponentNamesFromValues()[all …]
243 protected boolean isValidEntry(String packageOrComponent, int userId) { in isValidEntry() argument
559 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 …]