Home
last modified time | relevance | path

Searched refs:rootTag (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/companion/java/com/android/server/companion/association/
DAssociationDiskStore.java211 final String rootTag; in readAssociationsByUser() local
219 rootTag = XML_TAG_ASSOCIATIONS; in readAssociationsByUser()
222 rootTag = XML_TAG_STATE; in readAssociationsByUser()
225 associations = readAssociationsFromFile(userId, readFrom, rootTag); in readAssociationsByUser()
258 @NonNull AtomicFile file, @NonNull String rootTag) { in readAssociationsFromFile() argument
260 return readAssociationsFromInputStream(userId, in, rootTag); in readAssociationsFromFile()
269 @NonNull InputStream in, @NonNull String rootTag) in readAssociationsFromInputStream() argument
272 XmlUtils.beginDocument(parser, rootTag); in readAssociationsFromInputStream()
286 } else if (isEndOfTag(parser, rootTag)) { in readAssociationsFromInputStream()
/frameworks/base/core/tests/coretests/src/android/app/
DApplicationPackageManagerTest.java319 final String rootTag = "rootTag"; in testExtractPackageItemInfoAttributes_nonMatchingRootTag() local
329 when(parser.getName()).thenReturn(rootTag + "0"); in testExtractPackageItemInfoAttributes_nonMatchingRootTag()
330 assertThat(appPkgMgr.extractPackageItemInfoAttributes(packageItemInfo, null, rootTag, in testExtractPackageItemInfoAttributes_nonMatchingRootTag()
335 final String rootTag = "rootTag"; in testExtractPackageItemInfoAttributes_successfulExtraction() local
347 when(parser.getName()).thenReturn(rootTag); in testExtractPackageItemInfoAttributes_successfulExtraction()
351 assertThat(appPkgMgr.extractPackageItemInfoAttributes(packageItemInfo, null, rootTag, in testExtractPackageItemInfoAttributes_successfulExtraction()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/support/
DSupportPreferencesUtil.java334 public static boolean isSupportRootTag(@Nullable String rootTag) { in isSupportRootTag() argument
335 if (rootTag != null) { in isSupportRootTag()
337 if (rootTag.equals(supportPrefix + ".PreferenceScreen")) { in isSupportRootTag()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DRenderSessionImpl.java341 String rootTag = params.getFlag(RenderParamsFlags.FLAG_KEY_ROOT_TAG); in inflate() local
342 boolean isPreference = "PreferenceScreen".equals(rootTag) || in inflate()
343 SupportPreferencesUtil.isSupportRootTag(rootTag); in inflate()
/frameworks/base/core/java/android/app/
DApplicationPackageManager.java4137 String rootTag, int[] attributes) { in extractPackageItemInfoAttributes() argument
4156 if (!TextUtils.equals(parser.getName(), rootTag)) { in extractPackageItemInfoAttributes()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java11785 String rootTag, int[] attributes) { in extractPackageItemInfoAttributes() argument