Home
last modified time | relevance | path

Searched refs:Document (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java28 import android.provider.DocumentsContract.Document;
46 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME,
47 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
148 row.add(Document.COLUMN_FLAGS, Document.FLAG_SUPPORTS_DELETE); in includeFile()
154 row.add(Document.COLUMN_DOCUMENT_ID, DOC_ID_ROOT); in includeDefaultDocument()
155 row.add(Document.COLUMN_MIME_TYPE, Document.MIME_TYPE_DIR); in includeDefaultDocument()
156 row.add(Document.COLUMN_DISPLAY_NAME, mRoot.getName()); in includeDefaultDocument()
157 row.add(Document.COLUMN_LAST_MODIFIED, mRoot.lastModified()); in includeDefaultDocument()
158 row.add(Document.COLUMN_FLAGS, Document.FLAG_DIR_PREFERS_LAST_MODIFIED); in includeDefaultDocument()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java40 import android.provider.DocumentsContract.Document;
89 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME,
90 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
242 includeFile(result, "localfile2", Document.FLAG_SUPPORTS_THUMBNAIL); in queryChildDocuments()
248 includeFile(result, "i maded u an picshure" + i, Document.FLAG_SUPPORTS_THUMBNAIL); in queryChildDocuments()
395 row.add(Document.COLUMN_DOCUMENT_ID, docId); in includeFile()
396 row.add(Document.COLUMN_DISPLAY_NAME, docId); in includeFile()
397 row.add(Document.COLUMN_LAST_MODIFIED, System.currentTimeMillis()); in includeFile()
398 row.add(Document.COLUMN_FLAGS, flags); in includeFile()
401 row.add(Document.COLUMN_MIME_TYPE, Document.MIME_TYPE_DIR); in includeFile()
[all …]
DExternalStorageProvider.java41 import android.provider.DocumentsContract.Document;
105 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME,
106 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
/frameworks/base/tools/app_metadata_bundles/src/lib/java/com/android/asllib/marshallable/
DAslMarshallable.java19 import org.w3c.dom.Document;
27 List<Element> toOdDomElements(Document doc); in toOdDomElements()
30 List<Element> toHrDomElements(Document doc); in toHrDomElements()
DSystemAppSafetyLabel.java21 import org.w3c.dom.Document;
37 public List<Element> toOdDomElements(Document doc) { in toOdDomElements()
47 public List<Element> toHrDomElements(Document doc) { in toHrDomElements()
DThirdPartyVerification.java21 import org.w3c.dom.Document;
37 public List<Element> toOdDomElements(Document doc) { in toOdDomElements()
46 public List<Element> toHrDomElements(Document doc) { in toHrDomElements()
DDataLabels.java22 import org.w3c.dom.Document;
60 public List<Element> toOdDomElements(Document doc) { in toOdDomElements()
72 public List<Element> toHrDomElements(Document doc) { in toHrDomElements()
84 Document doc, in maybeAppendDataUsages()
106 Document doc, in maybeAppendHrDataUsages()
DTransparencyInfo.java21 import org.w3c.dom.Document;
49 public List<Element> toOdDomElements(Document doc) { in toOdDomElements()
63 public List<Element> toHrDomElements(Document doc) { in toHrDomElements()
DSecurityLabels.java21 import org.w3c.dom.Document;
39 public List<Element> toOdDomElements(Document doc) { in toOdDomElements()
56 public List<Element> toHrDomElements(Document doc) { in toHrDomElements()
DDataCategory.java23 import org.w3c.dom.Document;
61 public List<Element> toOdDomElements(Document doc) { in toOdDomElements()
71 public List<Element> toHrDomElements(Document doc) { in toHrDomElements()
DAndroidSafetyLabel.java21 import org.w3c.dom.Document;
50 public List<Element> toOdDomElements(Document doc) { in toOdDomElements()
67 public List<Element> toHrDomElements(Document doc) { in toHrDomElements()
DSafetyLabels.java21 import org.w3c.dom.Document;
57 public List<Element> toOdDomElements(Document doc) { in toOdDomElements()
76 public List<Element> toHrDomElements(Document doc) { in toHrDomElements()
DDataType.java21 import org.w3c.dom.Document;
175 public List<Element> toOdDomElements(Document doc) { in toOdDomElements()
204 public List<Element> toHrDomElements(Document doc) { in toHrDomElements()
211 Document doc, Element parentEle, Boolean b, String odName) { in maybeAddBoolToOdElement()
DDeveloperInfo.java21 import org.w3c.dom.Document;
101 public List<Element> toOdDomElements(Document doc) { in toOdDomElements()
145 public List<Element> toHrDomElements(Document doc) { in toHrDomElements()
DAppInfo.java21 import org.w3c.dom.Document;
73 public List<Element> toOdDomElements(Document doc) { in toOdDomElements()
148 public List<Element> toHrDomElements(Document doc) { in toHrDomElements()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java39 import android.provider.DocumentsContract.Document;
160 if (Document.MIME_TYPE_DIR.equals(mimeType)) { in getDocumentMetadata()
259 if (Document.MIME_TYPE_DIR.equals(mimeType)) { in createDocument()
490 return Document.MIME_TYPE_DIR; in getDocumentType()
568 fileMimeType = DocumentsContract.Document.MIME_TYPE_DIR; in matchSearchQueryArguments()
607 row.add(Document.COLUMN_DOCUMENT_ID, docId); in includeFile()
608 row.add(Document.COLUMN_MIME_TYPE, mimeType); in includeFile()
610 final int flagIndex = ArrayUtils.indexOf(columns, Document.COLUMN_FLAGS); in includeFile()
612 final boolean isDir = mimeType.equals(Document.MIME_TYPE_DIR); in includeFile()
615 flags |= Document.FLAG_SUPPORTS_DELETE; in includeFile()
[all …]
/frameworks/base/tools/app_metadata_bundles/src/test/java/com/android/asllib/testutils/
DTestUtils.java27 import org.w3c.dom.Document;
70 Document document = factory.newDocumentBuilder().parse(stream); in getElementsFromResource()
85 public static String docToStr(Document doc, boolean omitXmlDeclaration) in docToStr()
123 Document document = factory.newDocumentBuilder().parse(stream); in getFormattedXml()
129 public static Document document() throws ParserConfigurationException { in document()
157 Document doc, in testHrToOd()
168 Document doc, in testOdToHr()
179 Document doc, in testFormatToFormat()
/frameworks/libs/systemui/monet/tests/com/android/systemui/monet/
DColorSchemeTest.kt37 import org.w3c.dom.Document in <lambda>()
188 private inline fun <reified T> buildDoc(): Document { in buildDoc()
200 private fun documentToString(document: Document): String { in documentToString()
217 private fun saveFile(document: Document, fileName: String) { in saveFile()
242 val doc = if (this is Document) this else this.ownerDocument in Node()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DPolicyVersionUpgraderTest.java51 import org.w3c.dom.Document;
301 Document policies = readPolicies(ownerUser); in assertAdminSuspendedPackages()
327 Document policies = readPolicies(userId); in testEffectiveKeepProfilesRunningSetToFalse4To5()
346 Document policies = readPolicies(userId); in testEffectiveKeepProfilesRunningIsToFalse4To6()
369 Document policies = readPolicies(userId); in testEffectiveKeepProfilesRunningIsToFalse3To6()
389 Document policies = readPolicies(userId); in testEffectiveKeepProfilesRunningMissingInV5()
407 Document policies = readPolicies(userId); in testEffectiveKeepProfilesRunningTrueInV5()
425 Document policies = readPolicies(userId); in testEffectiveKeepProfilesRunningFalseInV5()
457 private Document readPolicies(int userId) throws Exception { in readPolicies()
/frameworks/layoutlib/validator/src/
DResourceConverter.java19 import org.w3c.dom.Document;
87 Document document = documentBuilder.parse(file); in loadStrings()
/frameworks/base/tools/app_metadata_bundles/src/lib/java/com/android/asllib/util/
DXmlUtils.java20 import org.w3c.dom.Document;
203 public static Element createPbundleEleWithName(Document doc, String name) { in createPbundleEleWithName()
210 public static Element createOdBooleanEle(Document doc, String name, boolean b) { in createOdBooleanEle()
225 public static Element createOdLongEle(Document doc, String name, long l) { in createOdLongEle()
233 public static Element createOdStringEle(Document doc, String name, String val) { in createOdStringEle()
242 Document doc, String arrayTag, String arrayName, List<String> arrayVals) { in createOdArray()
/frameworks/base/tools/app_metadata_bundles/src/lib/java/com/android/asllib/
DAslConverter.java24 import org.w3c.dom.Document;
57 Document document = factory.newDocumentBuilder().parse(in); in readFromStream()
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java62 import android.provider.DocumentsContract.Document;
776 return cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE)); in getDocumentType()
1150 final String mimeType = extras.getString(Document.COLUMN_MIME_TYPE); in callUnchecked()
1151 final String displayName = extras.getString(Document.COLUMN_DISPLAY_NAME); in callUnchecked()
1172 final String displayName = extras.getString(Document.COLUMN_DISPLAY_NAME); in callUnchecked()
1411 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE)); in getDocumentStreamTypes()
1413 cursor.getLong(cursor.getColumnIndexOrThrow(Document.COLUMN_FLAGS)); in getDocumentStreamTypes()
1414 if ((flags & Document.FLAG_VIRTUAL_DOCUMENT) == 0 && mimeType != null && in getDocumentStreamTypes()
/frameworks/libs/service_entitlement/java/com/android/libraries/entitlement/utils/
DTs43XmlDoc.java27 import org.w3c.dom.Document;
189 Document doc = docBuilder.parse(inputSource); in parseXmlResponse()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtils.java24 import org.w3c.dom.Document;
124 Document document = in getXmlRootNode()

12