Home
last modified time | relevance | path

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

12

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDatabaseConstants.java21 import android.provider.DocumentsContract.Document;
61 Document.COLUMN_DOCUMENT_ID,
117 static final String SELECTION_DOCUMENT_ID = Document.COLUMN_DOCUMENT_ID + " = ?";
122 Document.COLUMN_DOCUMENT_ID +
131 Document.COLUMN_MIME_TYPE + " TEXT NOT NULL," +
132 Document.COLUMN_DISPLAY_NAME + " TEXT NOT NULL," +
133 Document.COLUMN_SUMMARY + " TEXT," +
134 Document.COLUMN_LAST_MODIFIED + " INTEGER," +
135 Document.COLUMN_ICON + " INTEGER," +
136 Document.COLUMN_FLAGS + " INTEGER NOT NULL," +
[all …]
DMtpDatabase.java38 import android.provider.DocumentsContract.Document;
262 strings(Document.COLUMN_DOCUMENT_ID), in getStorageDocumentIds()
302 strings(Document.COLUMN_DOCUMENT_ID), in getDocumentIdForDevice()
350 strings(Document.COLUMN_DOCUMENT_ID), in getDeviceDocumentId()
450 strings(Document.COLUMN_DOCUMENT_ID), in deleteDocumentsAndRootsRecursively()
489 strings(Document.COLUMN_DOCUMENT_ID), in disconnectDocumentsRecursively()
522 new String[] { Document.COLUMN_DOCUMENT_ID }, in deleteDocumentsAndRoots()
600 Document.COLUMN_DOCUMENT_ID + " = ?", in updateObject()
618 "parent." + Document.COLUMN_DOCUMENT_ID; in getUnmappedDocumentsParent()
629 "parent." + Document.COLUMN_DOCUMENT_ID, in getUnmappedDocumentsParent()
[all …]
DMtpDocumentsProvider.java42 import android.provider.DocumentsContract.Document;
78 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE,
79 Document.COLUMN_DISPLAY_NAME, Document.COLUMN_LAST_MODIFIED,
80 Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
212 MtpDatabase.strings(Document.COLUMN_DISPLAY_NAME, Document.COLUMN_FLAGS))) { in queryDocument()
223 if (values.containsKey(Document.COLUMN_DISPLAY_NAME)) { in queryDocument()
224 values.put(Document.COLUMN_DISPLAY_NAME, mResources.getString( in queryDocument()
226 values.getAsString(Document.COLUMN_DISPLAY_NAME), in queryDocument()
229 values.put(Document.COLUMN_FLAGS, storageFlags); in queryDocument()
433 final int formatCode = Document.MIME_TYPE_DIR.equals(mimeType) ? in createDocument()
[all …]
DMapper.java25 import android.provider.DocumentsContract.Document;
116 strings(COLUMN_STORAGE_ID, Document.COLUMN_DISPLAY_NAME)); in putStorageDocuments()
159 strings(COLUMN_OBJECT_HANDLE, Document.COLUMN_DISPLAY_NAME)); in putChildDocuments()
281 values.put(Document.COLUMN_DOCUMENT_ID, rowId); in putDocuments()
437 strings(Document.COLUMN_DOCUMENT_ID), in queryCandidate()
/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.java37 import android.provider.DocumentsContract.Document;
83 Document.COLUMN_DOCUMENT_ID, Document.COLUMN_MIME_TYPE, Document.COLUMN_DISPLAY_NAME,
84 Document.COLUMN_LAST_MODIFIED, Document.COLUMN_FLAGS, Document.COLUMN_SIZE,
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DMtpDatabaseTest.java26 import android.provider.DocumentsContract.Document;
34 import static android.provider.DocumentsContract.Document.*;
42 DocumentsContract.Document.COLUMN_DOCUMENT_ID,
46 DocumentsContract.Document.COLUMN_MIME_TYPE,
47 DocumentsContract.Document.COLUMN_DISPLAY_NAME,
48 DocumentsContract.Document.COLUMN_SUMMARY,
49 DocumentsContract.Document.COLUMN_LAST_MODIFIED,
50 DocumentsContract.Document.COLUMN_ICON,
51 DocumentsContract.Document.COLUMN_FLAGS,
52 DocumentsContract.Document.COLUMN_SIZE,
[all …]
DMtpDocumentsProviderTest.java25 import android.provider.DocumentsContract.Document;
330 DocumentsContract.Document.FLAG_SUPPORTS_DELETE | in testQueryDocument()
331 DocumentsContract.Document.FLAG_SUPPORTS_WRITE | in testQueryDocument()
332 DocumentsContract.Document.FLAG_SUPPORTS_THUMBNAIL | in testQueryDocument()
333 DocumentsContract.Document.FLAG_SUPPORTS_METADATA, in testQueryDocument()
362 assertEquals(DocumentsContract.Document.MIME_TYPE_DIR, cursor.getString(1)); in testQueryDocument_directory()
366 DocumentsContract.Document.FLAG_SUPPORTS_DELETE | in testQueryDocument_directory()
367 DocumentsContract.Document.FLAG_DIR_SUPPORTS_CREATE, in testQueryDocument_directory()
389 assertEquals(DocumentsContract.Document.MIME_TYPE_DIR, cursor.getString(1)); in testQueryDocument_forStorage()
392 assertEquals(DocumentsContract.Document.FLAG_DIR_SUPPORTS_CREATE, cursor.getInt(4)); in testQueryDocument_forStorage()
[all …]
DDocumentLoaderTest.java24 import android.provider.DocumentsContract.Document;
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/
DMoSerializer.java22 import org.w3c.dom.Document;
64 String serialize(@NonNull Document doc) { in serialize()
83 Document createNewDocument() { in createNewDocument()
94 Element createMgmtTree(@NonNull Document doc) { in createMgmtTree()
108 Element writeVersion(@NonNull Document doc) { in writeVersion()
122 Element createNode(@NonNull Document doc, @NonNull String nodeName) { in createNode()
140 Element createNodeForUrn(@NonNull Document doc, @NonNull String urn) { in createNodeForUrn()
161 Element createNodeForValue(@NonNull Document doc, @NonNull String name, @NonNull String value) { in createNodeForValue()
DDevInfoMo.java23 import org.w3c.dom.Document;
65 Document doc = moSerializer.createNewDocument(); in serializeToXml()
DDevDetailMo.java31 import org.w3c.dom.Document;
168 Document doc = moSerializer.createNewDocument(); in serializeToXml()
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java37 import android.provider.DocumentsContract.Document;
145 if (Document.MIME_TYPE_DIR.equals(mimeType)) { in getDocumentMetadata()
244 if (Document.MIME_TYPE_DIR.equals(mimeType)) { in createDocument()
452 return Document.MIME_TYPE_DIR; in getDocumentType()
505 fileMimeType = DocumentsContract.Document.MIME_TYPE_DIR; in matchSearchQueryArguments()
543 row.add(Document.COLUMN_DOCUMENT_ID, docId); in includeFile()
544 row.add(Document.COLUMN_MIME_TYPE, mimeType); in includeFile()
546 final int flagIndex = ArrayUtils.indexOf(columns, Document.COLUMN_FLAGS); in includeFile()
550 if (mimeType.equals(Document.MIME_TYPE_DIR)) { in includeFile()
551 flags |= Document.FLAG_DIR_SUPPORTS_CREATE; in includeFile()
[all …]
/frameworks/base/core/java/android/provider/
DDocumentsProvider.java62 import android.provider.DocumentsContract.Document;
765 return cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE)); in getDocumentType()
1119 final String mimeType = extras.getString(Document.COLUMN_MIME_TYPE); in callUnchecked()
1120 final String displayName = extras.getString(Document.COLUMN_DISPLAY_NAME); in callUnchecked()
1141 final String displayName = extras.getString(Document.COLUMN_DISPLAY_NAME); in callUnchecked()
1380 cursor.getString(cursor.getColumnIndexOrThrow(Document.COLUMN_MIME_TYPE)); in getDocumentStreamTypes()
1382 cursor.getLong(cursor.getColumnIndexOrThrow(Document.COLUMN_FLAGS)); in getDocumentStreamTypes()
1383 if ((flags & Document.FLAG_VIRTUAL_DOCUMENT) == 0 && mimeType != null && in getDocumentStreamTypes()
DDocumentsContract.java289 public final static class Document { class in DocumentsContract
290 private Document() { in Document() method in DocumentsContract.Document
1323 in.putString(Document.COLUMN_MIME_TYPE, mimeType); in createDocument()
1324 in.putString(Document.COLUMN_DISPLAY_NAME, displayName); in createDocument()
1390 in.putString(Document.COLUMN_DISPLAY_NAME, displayName); in renameDocument()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/omadm/
DMoSerializerTest.java27 import org.w3c.dom.Document;
40 Document mDocument;
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java53 import android.provider.DocumentsContract.Document;
434 … assertNameEquals("test", FileUtils.buildUniqueFile(mTarget, Document.MIME_TYPE_DIR, "test")); in testBuildUniqueFile_dir()
437 FileUtils.buildUniqueFile(mTarget, Document.MIME_TYPE_DIR, "test")); in testBuildUniqueFile_dir()
440 FileUtils.buildUniqueFile(mTarget, Document.MIME_TYPE_DIR, "test.jpg")); in testBuildUniqueFile_dir()
443 FileUtils.buildUniqueFile(mTarget, Document.MIME_TYPE_DIR, "test.jpg")); in testBuildUniqueFile_dir()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/certificate/
DCertUtils.java24 import org.w3c.dom.Document;
124 Document document = in getXmlRootNode()
/frameworks/base/core/java/android/os/
DFileUtils.java45 import android.provider.DocumentsContract.Document;
1155 if (Document.MIME_TYPE_DIR.equals(mimeType)) { in splitFileName()
/frameworks/base/core/proto/android/service/
Dprint.proto378 // Document info of the job
/frameworks/base/core/java/com/android/internal/app/
DChooserActivity.java1171 int flagsIndex = cursor.getColumnIndex(DocumentsContract.Document.COLUMN_FLAGS);
1182 & DocumentsContract.Document.FLAG_SUPPORTS_THUMBNAIL) != 0;
/frameworks/base/config/
Dpreloaded-classes7309 org.w3c.dom.Document
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt24780 public static final class DocumentsContract.Document {
53518 method public abstract org.w3c.dom.Document newDocument();
53519 …method public org.w3c.dom.Document parse(java.io.InputStream) throws java.io.IOException, org.xml.…
53520 …method public org.w3c.dom.Document parse(java.io.InputStream, java.lang.String) throws java.io.IOE…
53521 …method public org.w3c.dom.Document parse(java.lang.String) throws java.io.IOException, org.xml.sax…
53522 …method public org.w3c.dom.Document parse(java.io.File) throws java.io.IOException, org.xml.sax.SAX…
53523 …method public abstract org.w3c.dom.Document parse(org.xml.sax.InputSource) throws java.io.IOExcept…
57865 …method public abstract org.w3c.dom.Document createDocument(java.lang.String, java.lang.String, org…
57896 public abstract interface Document implements org.w3c.dom.Node {
58012 method public abstract org.w3c.dom.Document getOwnerDocument();
[all …]
/frameworks/base/non-updatable-api/
Dcurrent.txt38380 public static final class DocumentsContract.Document {
77839 method public abstract org.w3c.dom.Document newDocument();
77840 …method public org.w3c.dom.Document parse(java.io.InputStream) throws java.io.IOException, org.xml.…
77841 …method public org.w3c.dom.Document parse(java.io.InputStream, String) throws java.io.IOException, …
77842 …method public org.w3c.dom.Document parse(String) throws java.io.IOException, org.xml.sax.SAXExcept…
77843 …method public org.w3c.dom.Document parse(java.io.File) throws java.io.IOException, org.xml.sax.SAX…
77844 …method public abstract org.w3c.dom.Document parse(org.xml.sax.InputSource) throws java.io.IOExcept…
78675 …method public org.w3c.dom.Document createDocument(String, String, org.w3c.dom.DocumentType) throws…
78706 public interface Document extends org.w3c.dom.Node {
78822 method public org.w3c.dom.Document getOwnerDocument();
[all …]

12