Home
last modified time | relevance | path

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

/cts/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java98 final Doc doc = new Doc(); in buildDoc() local
99 doc.docId = docId; in buildDoc()
100 doc.displayName = displayName; in buildDoc()
101 doc.mimeType = mimeType; in buildDoc()
102 doc.streamTypes = streamTypes; in buildDoc()
103 mDocs.put(doc.docId, doc); in buildDoc()
104 return doc; in buildDoc()
193 for (Doc doc : mDocs.get(parentDocumentId).children) { in isChildDocument()
194 if (doc.docId.equals(documentId)) { in isChildDocument()
197 if (Document.MIME_TYPE_DIR.equals(doc.mimeType)) { in isChildDocument()
[all …]
/cts/tools/utils/cts/
Dtools.py53 def WriteDescription(self, doc, parent): argument
56 child = doc.createElement('TestSuite')
60 suite.WriteDescription(doc, child)
62 child = doc.createElement('TestCase')
66 test = doc.createElement('Test')
95 doc = minidom.Document()
96 package = doc.createElement('TestPackage')
99 self.root_suite.WriteDescription(doc, package)
100 doc.appendChild(package)
101 return doc
[all …]
/cts/tools/utils/
Dandroid_api_description_splitter.py86 self.doc = xml.dom.minidom.parse(xmlfile)
87 self.root = self.doc.documentElement
95 elemlist = self.doc.getElementsByTagName(tag)
125 doc = xml.dom.minidom.Document()
126 doc.appendChild(self.root)
131 fd.write(doc.toxml())
Drerun.py52 doc = minidom.parse(resultXml)
53 testResult = doc.getElementsByTagName("TestResult")[0]
DbuildCts.py115 doc = tools.XmlFile(description)
116 packages.append(doc.GetAttr('TestPackage', 'appPackageName'))
/cts/tools/testng/
Dgen-test-list-xml.py58 children = property(_get_children, _set_children, doc="Get/set list of children BaseNode")
72 name = property(_get_name, _set_name, doc="Get/set the name property of the current XML node")
77 type_name = property(_get_type_name, doc="Get the name of the current XML node")
85 …properties = property(_get_properties, _set_properties, doc="Get/set additional XML properties suc…
/cts/suite/audio_quality/lib/src/task/
DModelBuilder.cpp86 TiXmlDocument doc(xmlFileName.string()); in parseTestDescriptionXml() local
87 if (!doc.LoadFile()) { in parseTestDescriptionXml()
92 if ((root = doc.FirstChildElement("case")) != NULL) { in parseTestDescriptionXml()
94 } else if (!caseOnly && ((root = doc.FirstChildElement("batch")) != NULL)) { in parseTestDescriptionXml()
/cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DScopedDirectoryAccessClientTest.java283 final Uri doc = DocumentsContract.buildDocumentUriUsingTree(grantedUri, in userAcceptsOpenExternalDirectoryTest() local
285 assertNotNull("could not get tree URI", doc); in userAcceptsOpenExternalDirectoryTest()
286 final Uri pic = DocumentsContract.createDocument(resolver, doc, "image/png", "pic.png"); in userAcceptsOpenExternalDirectoryTest()
288 final Uri dir = DocumentsContract.createDocument(resolver, doc, Document.MIME_TYPE_DIR, in userAcceptsOpenExternalDirectoryTest()
DDocumentsClientTest.java243 Uri doc = DocumentsContract.buildDocumentUriUsingTree(uri, in testTree() local
248 assertEquals("DIR2", getColumn(doc, Document.COLUMN_DISPLAY_NAME)); in testTree()
263 Uri pic = DocumentsContract.createDocument(resolver, doc, "image/png", "pic.png"); in testTree()
264 Uri dir = DocumentsContract.createDocument(resolver, doc, Document.MIME_TYPE_DIR, "my dir"); in testTree()
/cts/tools/dex-tools/
DREADME.txt18 doc : dex file spec on which this parser is based
/cts/suite/cts/utils/
Dget_csv_report.py96 doc = minidom.parse(reportXml)
97 testResult = doc.getElementsByTagName("TestResult")[0]
/cts/apps/CameraITS/build/scripts/
Dgpylint_rcfile89 # used to format the message information. See doc for all details