Home
last modified time | relevance | path

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

/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/hostsidetests/appsecurity/test-apps/DocumentProvider/src/com/android/cts/documentprovider/
DMyDocumentsProvider.java93 final Doc doc = new Doc(); in buildDoc() local
94 doc.docId = docId; in buildDoc()
95 doc.displayName = displayName; in buildDoc()
96 doc.mimeType = mimeType; in buildDoc()
97 mDocs.put(doc.docId, doc); in buildDoc()
98 return doc; in buildDoc()
171 for (Doc doc : mDocs.get(parentDocumentId).children) { in isChildDocument()
172 if (doc.docId.equals(documentId)) { in isChildDocument()
175 if (Document.MIME_TYPE_DIR.equals(doc.mimeType)) { in isChildDocument()
176 return isChildDocument(doc.docId, documentId); in isChildDocument()
[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.py104 doc = tools.XmlFile(description)
105 packages.append(doc.GetAttr('TestPackage', 'appPackageName'))
/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/
DDocumentsClientTest.java228 Uri doc = DocumentsContract.buildDocumentUriUsingTree(uri, in testTree() local
233 assertEquals("DIR2", getColumn(doc, Document.COLUMN_DISPLAY_NAME)); in testTree()
248 Uri pic = DocumentsContract.createDocument(resolver, doc, "image/png", "pic.png"); in testTree()
249 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/suite/cts/deviceTests/browserbench/assets/octane/js/
Djquery.js86 var match, elem, ret, doc;
126 doc = ( context ? context.ownerDocument || context : document );
138 selector = [ doc.createElement( ret[1] ) ];
142 ret = jQuery.buildFragment( [ match[1] ], [ doc ] );
3280 var eventDoc, doc, body,
3287 doc = eventDoc.documentElement;
3290 …event.pageX = original.clientX + ( doc && doc.scrollLeft || body && body.scrollLeft || 0 ) - ( doc
3291 …event.pageY = original.clientY + ( doc && doc.scrollTop || body && body.scrollTop || 0 ) - ( doc
6072 var fragment, cacheable, cacheresults, doc,
6079 doc = nodes[0].ownerDocument || nodes[0];
[all …]