Home
last modified time | relevance | path

Searched refs:tree (Results 1 – 25 of 59) sorted by relevance

123

/packages/providers/MediaProvider/errorprone/src/com/android/providers/media/
DMimeTypeChecker.java31 import com.sun.source.tree.ExpressionTree;
32 import com.sun.source.tree.MethodInvocationTree;
33 import com.sun.source.tree.SwitchTree;
57 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation() argument
58 if (STRING_EQUALS.matches(tree, state) || STRING_STARTS_WITH.matches(tree, state) in matchMethodInvocation()
59 || OBJECTS_EQUALS.matches(tree, state)) { in matchMethodInvocation()
60 if (MIME_WITHOUT_CASE_FOLDING.matches(tree.getMethodSelect(), state) in matchMethodInvocation()
61 || tree.getArguments().stream().anyMatch(MIME_WITHOUT_CASE_FOLDING)) { in matchMethodInvocation()
62 return buildDescription(tree).setMessage(MESSAGE).build(); in matchMethodInvocation()
65 if (STRING_REGION_MATCHES.matches(tree, state)) { in matchMethodInvocation()
[all …]
DLocaleRootChecker.java31 import com.sun.source.tree.ExpressionTree;
32 import com.sun.source.tree.MethodInvocationTree;
59 public Description matchMethodInvocation(MethodInvocationTree tree, VisitorState state) { in matchMethodInvocation() argument
60 if (MISSING_LOCALE_ROOT.matches(tree, state)) { in matchMethodInvocation()
61 return buildDescription(tree) in matchMethodInvocation()
/packages/modules/Virtualization/authfs/src/fsverity/
Dbuilder.rs208 let mut tree = MerkleLeaves::new(); in merkle_tree_non_sequential() localVariable
212 tree.update_hash(1, &hash, CHUNK_SIZE * 2); in merkle_tree_non_sequential()
213 tree.update_hash(3, &hash, CHUNK_SIZE * 4); in merkle_tree_non_sequential()
214 tree.update_hash(0, &hash, CHUNK_SIZE); in merkle_tree_non_sequential()
215 tree.update_hash(2, &hash, CHUNK_SIZE * 3); in merkle_tree_non_sequential()
219 tree.calculate_fsverity_digest()? in merkle_tree_non_sequential()
226 let mut tree = MerkleLeaves::new(); in merkle_tree_grow_leaves() localVariable
227 tree.update_hash(0, &[42; HASH_SIZE], CHUNK_SIZE); // fake hash of a CHUNK_SIZE block in merkle_tree_grow_leaves()
230 tree.resize(4096 * 3 - 100); in merkle_tree_grow_leaves()
232 assert!(tree.is_index_valid(0)); in merkle_tree_grow_leaves()
[all …]
/packages/modules/Virtualization/libs/apkmanifest/native/
Dapkmanifest.cpp63 Result<void> findManifestElement(ResXMLTree& tree) { in findManifestElement() argument
65 ResXMLParser::event_code_t event = tree.next(); in findManifestElement()
73 return Error() << "Failed to parse XML: " << statusToString(tree.getError()); in findManifestElement()
81 if (tree.getElementNamespaceID() >= 0) { in findManifestElement()
85 const char16_t* nameChars = tree.getElementName(&nameLength); in findManifestElement()
102 Result<std::string> getStringOnlyAttribute(const ResXMLTree& tree, size_t index) { in getStringOnlyAttribute() argument
104 const char16_t* value = tree.getAttributeStringValue(index, &len); in getStringOnlyAttribute()
112 Result<uint32_t> getU32Attribute(const ResXMLTree& tree, size_t index) { in getU32Attribute() argument
113 auto type = tree.getAttributeDataType(index); in getU32Attribute()
119 return tree.getAttributeData(index); in getU32Attribute()
[all …]
/packages/providers/MediaProvider/jni/
Dnode.cpp114 void node::DeleteTree(node* tree) { in DeleteTree() argument
115 std::lock_guard<std::recursive_mutex> guard(*tree->lock_); in DeleteTree()
117 if (tree) { in DeleteTree()
124 tree->Acquire(); in DeleteTree()
129 std::vector<node*> children(tree->children_.begin(), tree->children_.end()); in DeleteTree()
134 CHECK(tree->children_.empty()); in DeleteTree()
135 delete tree; in DeleteTree()
/packages/apps/TV/libs/m2/
Djavac-shaded-9-dev-r4023-3.jarorg/openjdk/tools/sjavac/server/log/LoggingOutputStream.class LoggingOutputStream.java package ...
/packages/modules/Virtualization/libs/apkverify/src/
Dhashtree.rs23 pub tree: Vec<u8>, field
39 let tree = generate_hash_tree(input, input_size, &salt, block_size, algorithm)?; in from() localVariable
43 let root_hash = if tree.is_empty() { in from()
48 let first_block = &tree[0..block_size]; in from()
51 Ok(HashTree { tree, root_hash }) in from()
213 assert_eq!(golden_hash_tree.as_slice(), ht.tree.as_slice()); in compare_with_golden_output()
/packages/modules/adb/client/
Dfastdeploy.cpp171 android::ResXMLTree tree; in get_package_name_from_apk() local
172 android::status_t setto_status = tree.setTo(manifest_data.data(), manifest_len, true); in get_package_name_from_apk()
177 while ((code = tree.next()) != android::ResXMLParser::BAD_DOCUMENT && in get_package_name_from_apk()
182 const char16_t* element_name = tree.getElementName(&element_name_length); in get_package_name_from_apk()
188 for (size_t i = 0; i < tree.getAttributeCount(); i++) { in get_package_name_from_apk()
191 tree.getAttributeName(i, &attribute_name_length); in get_package_name_from_apk()
200 tree.getAttributeStringValue(i, &attribute_value_length); in get_package_name_from_apk()
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/utils/
Dtext.cc99 ScopedFPDFStructTree tree(FPDF_StructTree_GetForPage(page)); in GetAltTextFromPage() local
100 int num_children = FPDF_StructTree_CountChildren(tree.get()); in GetAltTextFromPage()
102 GetAltTextFromElementTree(FPDF_StructTree_GetChildAtIndex(tree.get(), i), 0, result); in GetAltTextFromPage()
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/modules/Virtualization/docs/
Ddevice_assignment.md12 VM DTBO is a device tree overlay which describes all assignable devices
35 DTBO is compiled from device tree source (DTS) with `dtc` tool. [DTBO syntax]
52 * Overlayable node is a node that would be applied to the base device tree
70 * See: [Device tree binding for IOMMUs][IOMMU]
95 Here's a simple example device tree source with four assignable devices nodes.
221 incoming device tree with the VM DTBO.
/packages/providers/MediaProvider/errorprone/src/com/google/errorprone/matchers/
DFieldMatchers.java21 import com.sun.source.tree.ExpressionTree;
22 import com.sun.source.tree.ImportTree;
/packages/modules/Wifi/service/tests/wifitests/
DREADME.md25 in this directory. It will rebuild parts of your tree with coverage enabled and then run the tests,
29 the following from the root out your source tree to generate results in the wifi_coverage directory
/packages/apps/Dialer/java/com/android/dialer/searchfragment/cp2/
DContactFilterCursor.java250 ContactTernarySearchTree tree = new ContactTernarySearchTree(); in buildContactSearchTree() local
259 tree.put(query, position); in buildContactSearchTree()
268 tree.put(substring, position); in buildContactSearchTree()
271 return tree; in buildContactSearchTree()
/packages/modules/Virtualization/pvmfw/
DREADME.md81 device tree node where both address and size have been properly aligned to the
193 - entry 1 may point to a [DTBO] to be applied to the pVM device tree. See
205 may be included in the device tree passed to a protected VM. pvmfw validates
206 that if any of these properties is included in the VM's device tree, the
210 are added under the "/avf/reference" node in the host Android device tree.
214 reference DT, nor does it apply it to the VM's device tree, it just ensures
215 that if matching properties are present in the VM device tree they contain the
283 `/reserved-memory` device tree node marked as
350 - x0 = physical address of device tree blob (dtb) in system RAM.
356 to booting the VM, are described to pvmfw using the device tree (x0):
[all …]
/packages/modules/Bluetooth/tools/lint/
DREADME.md48 - [PSI source files](https://github.com/JetBrains/intellij-community/tree/master/java/java-psi-api/…
50 - [IntelliJ plugin for viewing PSI tree of files](https://plugins.jetbrains.com/plugin/227-psiviewe…
/packages/modules/Virtualization/microdroid/kernel/
DREADME.md4 Microdroid. The kernel is built from the same source tree as Generic Kernel
54 Copy the built kernel image to the Android source tree directly, and build the virt APEX.
/packages/modules/Virtualization/docs/debug/
DREADME.md68 device tree overlay like below to the Pixel-specific partition `dpm`.
101 device tree from crosvm.
102 1. OS payload (e.g. Microdroid) [reads][read_debug_policy] the device tree and enables specific
/packages/modules/Virtualization/libs/apkverify/tests/data/
Dcreate.sh11 --out-merkle-tree input.$size.hash \
/packages/modules/Virtualization/tests/libs/libdts/
DREADME.md1 Device tree source (DTS) decompiler on Android device.
/packages/apps/Car/DebuggingRestrictionController/soong/
DREADME.md1 The files in this directory are for building the app in the Android source tree.
/packages/modules/Virtualization/microdroid/
Dfstab.microdroid5 …e,ro,errors=panic wait,first_stage_mount,avb_hashtree_digest=/proc/device-tree/avf/vendor_hashtree…
/packages/apps/Settings/src/com/android/settings/biometrics/fingerprint2/ui/enrollment/modules/
DREADME.md9 [comment]: <> This file structure print out has been generated with the tree command.
/packages/modules/Bluetooth/flags/
Davrcp_controller.aconfig7 …description: "Randomize the media id of device level nodes in our browse tree by attaching a rando…
/packages/modules/Bluetooth/system/doc/
Dstyle_guide.md267 The style file is located at the root of the source tree in .clang-format. The
276 the tree since the formatting change was applied, the better. In this short
337 ##### Start with a tree with your patch applied to the tip of tree
423 ##### Checkout the current tree and cherry pick your reformatted patch!

123