Home
last modified time | relevance | path

Searched refs:doc (Results 1 – 9 of 9) sorted by relevance

/development/samples/Vault/tests/src/com/example/android/vault/
DEncryptedDocumentTest.java76 final EncryptedDocument doc = new EncryptedDocument(4, mFile, mDataKey, mMacKey); in testEmptyFile() local
79 doc.readMetadata(); in testEmptyFile()
86 doc.readContent(pipe[1]); in testEmptyFile()
105 final EncryptedDocument doc = new EncryptedDocument(4, mFile, mDataKey, mMacKey); in testMetadataAndContents() local
125 doc.writeMetadataAndContent(before, beforePipe[0]); in testMetadataAndContents()
128 final JSONObject after = doc.readMetadata(); in testMetadataAndContents()
152 doc.readContent(afterPipe[1]); in testMetadataAndContents()
159 final EncryptedDocument doc = new EncryptedDocument(4, mFile, mDataKey, mMacKey); in testNormalMetadataOnly() local
164 doc.writeMetadataAndContent(before, null); in testNormalMetadataOnly()
167 final JSONObject after = doc.readMetadata(); in testNormalMetadataOnly()
[all …]
DVaultProviderTest.java98 for (String doc : docs) { in assertContains()
99 assertTrue(doc, set.contains(doc)); in assertContains()
/development/testrunner/test_defs/
Dtest_defs.py55 doc = xml.dom.minidom.parse(file_path)
56 self._ParseDoc(doc)
69 doc = xml.dom.minidom.parseString(xml_string)
71 return self._ParseDoc(doc)
73 def _ParseDoc(self, doc): argument
74 root_element = self._GetRootElement(doc)
83 def _GetRootElement(self, doc): argument
84 root_elements = doc.getElementsByTagName("test-definitions")
/development/samples/Vault/src/com/example/android/vault/
DVaultProvider.java232 final EncryptedDocument doc = getDocument(docId); in includeDocument() local
233 if (!doc.getFile().exists()) { in includeDocument()
237 final JSONObject meta = doc.readMetadata(); in includeDocument()
334 final EncryptedDocument doc = getDocument(docId); in initDocument() local
335 if (doc.getFile().exists()) return; in initDocument()
346 doc.writeMetadataAndContent(meta, null); in initDocument()
358 final EncryptedDocument doc = getDocument(docId); in renameDocument() local
359 final JSONObject meta = doc.readMetadata(); in renameDocument()
362 doc.writeMetadataAndContent(meta, null); in renameDocument()
396 final EncryptedDocument doc = getDocument(docId); in deleteDocumentTree() local
[all …]
/development/testrunner/coverage/
Dcoverage_targets.py64 doc = xml.dom.minidom.parse(file_path)
73 target_elements = doc.getElementsByTagName(self._TARGET_TAG_NAME)
/development/samples/ApiDemos/src/com/example/android/apis/content/
DDocumentsSample.java330 Uri doc = DocumentsContract.buildDocumentUriUsingTree(uri, in onActivityResult() local
345 Uri pic = createDocument(cr, doc, "image/png", "pic.png"); in onActivityResult()
346 Uri dir = createDocument(cr, doc, Document.MIME_TYPE_DIR, "my dir"); in onActivityResult()
/development/vndk/tools/definition-tool/assets/insight/
Dinsight.js209 function init(doc, stringsData, modulesData) { argument
210 document = doc;
/development/build/
Dsdk.atree33 # doc redirect
/development/sdk/
Dsdk_files_NOTICE.txt12665 - Stylebook doc tool - see LICENSE.txt