Searched defs:tree (Results 1 - 25 of 32) sorted by last modified time

12

/frameworks/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
H A Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/clearsilver/DelegatedHdf.class DelegatedHdf. ...
/frameworks/native/opengl/tools/glgen2/registry/
H A Dgenheaders.py97 tree = etree.parse(regFilename) variable
101 reg.loadElementTree(tree)
/frameworks/data-binding/prebuilds/1.0-rc0/
H A Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ...
/frameworks/base/tools/aapt/
H A DResourceTable.cpp142 ResXMLTree tree; local
143 tree.setTo(target->getData(), target->getSize());
144 printXMLBlock(&tree);
5226 // Append all namespace declarations that we've seen on this branch in the XML tree
H A DAaptXml.cpp26 static String8 getStringAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex, argument
29 if (tree.getAttributeValue(attrIndex, &value) < 0) {
44 const char16_t* str = tree.getAttributeStringValue(attrIndex, &len);
48 static int32_t getIntegerAttributeAtIndex(const ResXMLTree& tree, ssize_t attrIndex, argument
51 if (tree.getAttributeValue(attrIndex, &value) < 0) {
69 ssize_t indexOfAttribute(const ResXMLTree& tree, uint32_t attrRes) { argument
70 size_t attrCount = tree.getAttributeCount();
72 if (tree.getAttributeNameResID(i) == attrRes) {
79 String8 getAttribute(const ResXMLTree& tree, const char* ns, argument
81 ssize_t idx = tree
88 getAttribute(const ResXMLTree& tree, uint32_t attrRes, String8* outError) argument
96 getResolvedAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, String8* outError) argument
139 getIntegerAttribute(const ResXMLTree& tree, const char* ns, const char* attr, int32_t defValue, String8* outError) argument
148 getIntegerAttribute(const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, String8* outError) argument
157 getResolvedIntegerAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, int32_t defValue, String8* outError) argument
179 getResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, uint32_t attrRes, Res_value* outValue, String8* outError) argument
[all...]
H A DAaptXml.h31 ssize_t indexOfAttribute(const android::ResXMLTree& tree, uint32_t attrRes);
37 android::String8 getAttribute(const android::ResXMLTree& tree, const char* ns,
45 android::String8 getAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
53 int32_t getIntegerAttribute(const android::ResXMLTree& tree, const char* ns,
61 inline int32_t getIntegerAttribute(const android::ResXMLTree& tree, const char* ns, argument
63 return getIntegerAttribute(tree, ns, attr, -1, outError);
71 int32_t getIntegerAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
79 inline int32_t getIntegerAttribute(const android::ResXMLTree& tree, uint32_t attrRes, argument
81 return getIntegerAttribute(tree, attrRes, -1, outError);
90 const android::ResXMLTree& tree, uint32_
98 getResolvedIntegerAttribute(const android::ResTable& resTable, const android::ResXMLTree& tree, uint32_t attrRes, android::String8* outError) argument
[all...]
H A DCommand.cpp217 ResXMLTree tree; local
218 tree.setTo(manifestAsset->getBuffer(true),
220 printXMLBlock(&tree);
232 static void printResolvedResourceAttribute(const ResTable& resTable, const ResXMLTree& tree, argument
236 AaptXml::getResolvedResourceAttribute(resTable, tree, attrRes, &value, outError);
242 String8 result = AaptXml::getResolvedAttribute(resTable, tree, attrRes, outError);
314 static void printCompatibleScreens(ResXMLTree& tree, String8* outError) { argument
320 while ((code=tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
332 const char16_t* ctag16 = tree.getElementName(&len);
339 int32_t screenSize = AaptXml::getIntegerAttribute(tree,
415 ResXMLTree tree; local
[all...]
H A DResource.cpp1071 static ssize_t extractPlatformBuildVersion(const ResTable& table, ResXMLTree& tree, Bundle* bundle) { argument
1079 while ((code = tree.next()) != ResXMLTree::END_DOCUMENT && code != ResXMLTree::BAD_DOCUMENT) {
1084 const char16_t* ctag16 = tree.getElementName(&len);
1096 int32_t versionCode = AaptXml::getIntegerAttribute(tree, VERSION_CODE_ATTR, &error);
1110 String8 versionName = AaptXml::getAttribute(tree, VERSION_NAME_ATTR, &error);
1149 ResXMLTree tree; local
1150 if (tree.setTo(asset->getBuffer(true), asset->getLength()) != NO_ERROR) {
1154 result = extractPlatformBuildVersion(assets.getResources(true), tree, bundle);
3005 ResXMLTree tree; local
3031 err = parseXMLResource(assFile, &tree);
3135 ResXMLTree tree; local
[all...]
/frameworks/base/tools/aapt2/
H A DDominatorTree_test.cpp41 std::string ToString(DominatorTree* tree) { argument
44 tree->Accept(this);
79 DominatorTree tree(configs);
86 EXPECT_EQ(expected, printer.ToString(&tree));
100 DominatorTree tree(configs);
108 EXPECT_EQ(expected, printer.ToString(&tree));
135 DominatorTree tree(configs);
149 EXPECT_EQ(expected, printer.ToString(&tree));
163 DominatorTree tree(configs);
171 EXPECT_EQ(expected, printer.ToString(&tree));
[all...]
/frameworks/base/tools/aapt2/format/binary/
H A DXmlFlattener_test.cpp86 android::ResXMLTree tree;
87 ASSERT_TRUE(Flatten(doc.get(), &tree));
88 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_NAMESPACE));
91 EXPECT_THAT(tree.getNamespacePrefix(&len), StrEq(u"test"));
92 EXPECT_THAT(tree.getNamespaceUri(&len), StrEq(u"http://com.test"));
94 ASSERT_THAT(tree.next(), Eq(android::ResXMLTree::START_TAG));
95 EXPECT_THAT(tree.getElementNamespace(&len), IsNull());
96 EXPECT_THAT(tree.getElementName(&len), StrEq(u"View"));
98 ASSERT_THAT(tree.getAttributeCount(), Eq(1u));
99 EXPECT_THAT(tree
300 android::ResXMLTree tree; local
368 android::ResXMLTree tree; local
455 android::ResXMLTree tree; local
478 android::ResXMLTree tree; local
499 android::ResXMLTree tree; local
519 android::ResXMLTree tree; local
[all...]
/frameworks/base/tools/aapt2/tools/
H A Dpublic_attr_map.py26 tree = None variable
28 tree = ET.parse(f) variable
31 for node in tree.iter('public'):
/frameworks/base/tools/aapt2/xml/
H A DXmlDom.cpp276 ResXMLTree tree; local
277 if (tree.setTo(data, len) != NO_ERROR) {
285 while ((code = tree.next()) != ResXMLParser::BAD_DOCUMENT && code != ResXMLParser::END_DOCUMENT) {
290 decl.line_number = tree.getLineNumber();
293 const char16_t* str16 = tree.getNamespacePrefix(&len);
298 str16 = tree.getNamespaceUri(&len);
317 el->line_number = tree.getLineNumber();
320 const char16_t* str16 = tree.getElementNamespace(&len);
325 str16 = tree.getElementName(&len);
331 CopyAttributes(el.get(), &tree,
[all...]
/frameworks/base/services/core/java/com/android/server/pm/permission/
H A DBasePermission.java251 @NonNull PermissionInfo info, @NonNull BasePermission tree) {
255 || uid != tree.uid
256 || !perm.owner.equals(tree.perm.owner)
261 perm = new PackageParser.Permission(tree.perm.owner, info);
262 perm.info.packageName = tree.perm.info.packageName;
263 uid = tree.uid;
272 final BasePermission tree = findPermissionTree(permissionTrees, name);
273 if (tree != null && tree.perm != null) {
274 sourcePackageSetting = tree
250 addToTree(@rotectionLevel int protectionLevel, @NonNull PermissionInfo info, @NonNull BasePermission tree) argument
[all...]
H A DPermissionManagerService.java495 if (p.tree) {
613 final BasePermission tree = mSettings.enforcePermissionTree(info.name, callingUid);
621 enforcePermissionCapLocked(info, tree);
622 bp = new BasePermission(info.name, tree.getSourcePackageName(),
628 changed = bp.addToTree(fixedLevel, info, tree);
644 final BasePermission tree = mSettings.enforcePermissionTree(permName, callingUid);
1724 // NOTE: With this approach, we also don't need to tree trees differently than
1771 Slog.i(TAG, "Removing old permission tree: " + bp.getName()
1815 Slog.i(TAG, "Removing old permission tree: " + bp.getName()
1840 Slog.w(TAG, "Removing dangling permission tree
1983 calculateCurrentPermissionFootprintLocked(BasePermission tree) argument
1991 enforcePermissionCapLocked(PermissionInfo info, BasePermission tree) argument
[all...]
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/tree/
H A DUsbDescriptorsACInterfaceNode.java16 package com.android.server.usb.descriptors.tree;
23 * A tree node containing some sort-of Audio Class Descriptor.
32 * @param acInterface The Audio Class Inteface object wrapped by this tree node.
H A DUsbDescriptorsConfigNode.java16 package com.android.server.usb.descriptors.tree;
25 * Represents a configuration in the descriptors tree.
36 * @param configDescriptor The Config Descriptor object wrapped by this tree node.
H A DUsbDescriptorsDeviceNode.java16 package com.android.server.usb.descriptors.tree;
25 * A class to contain THE device descriptor at the root of the tree.
36 * @param deviceDescriptor The Device Descriptor object wrapped by this tree node.
H A DUsbDescriptorsEndpointNode.java16 package com.android.server.usb.descriptors.tree;
23 * Represents an endpoint in the descriptors tree.
32 * @param endpointDescriptor The Device Descriptor object wrapped by this tree node.
H A DUsbDescriptorsInterfaceNode.java16 package com.android.server.usb.descriptors.tree;
25 * Represents an interface in the descriptors tree.
37 * @param interfaceDescriptor The Interface Descriptor object wrapped by this tree node.
H A DUsbDescriptorsTree.java16 package com.android.server.usb.descriptors.tree;
30 * The general layout of the tree looks like this, though no guarentee about
47 * A class which builds a tree representation from the results of a (linear)
60 * Adds THE device descriptor as the root of the tree.
67 * Adds A config descriptor to the tree.
75 * Adds AN interface descriptor to the current configuration in the tree.
83 * Adds an endpoint descriptor to the current interface in the tree.
90 * Adds an audio-class interface descriptor to the current interface in the tree.
97 * Parses the linear descriptor list contained in the parser argument, into a tree
140 * Generate a report of the descriptors tree
[all...]
H A DUsbDescriptorsTreeNode.java16 package com.android.server.usb.descriptors.tree;
23 * A shared super class for UsbDescriptor tree nodes.
/frameworks/base/libs/hwui/
H A DPropertyValuesHolder.h151 RootAlphaPropertyValuesHolder(VectorDrawable::Tree* tree, float startValue, float endValue) argument
152 : PropertyValuesHolderImpl(startValue, endValue), mTree(tree) {
H A DRecordedOp.h331 VectorDrawableOp(VectorDrawable::Tree* tree, BASE_PARAMS_PAINTLESS) argument
332 : SUPER_PAINTLESS(VectorDrawableOp), vectorDrawable(tree) {}
H A DRecordingCanvas.cpp424 void RecordingCanvas::drawVectorDrawable(VectorDrawableRoot* tree) { argument
425 mDisplayList->ref(tree);
426 mDisplayList->vectorDrawables.push_back(tree);
428 tree, Rect(tree->stagingProperties()->getBounds()),

Completed in 293 milliseconds

12