/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpDatabaseConstants.java | 22 import android.provider.DocumentsContract.Root; 62 Root.COLUMN_ROOT_ID); 118 static final String SELECTION_ROOT_ID = Root.COLUMN_ROOT_ID + " = ?"; 141 Root.COLUMN_ROOT_ID + " INTEGER PRIMARY KEY," + 142 Root.COLUMN_FLAGS + " INTEGER NOT NULL," + 143 Root.COLUMN_AVAILABLE_BYTES + " INTEGER," + 144 Root.COLUMN_CAPACITY_BYTES + " INTEGER," + 145 Root.COLUMN_MIME_TYPES + " TEXT NOT NULL);"; 157 COLUMN_MAP_ROOTS.put(Root.COLUMN_ROOT_ID, TABLE_ROOT_EXTRA + "." + Root.COLUMN_ROOT_ID); in COLUMN_MAP_ROOTS.put() 158 COLUMN_MAP_ROOTS.put(Root.COLUMN_FLAGS, TABLE_ROOT_EXTRA + "." + Root.COLUMN_FLAGS); in COLUMN_MAP_ROOTS.put() [all …]
|
D | MtpDatabase.java | 38 import android.provider.DocumentsContract.Root; 169 storageCursor.getColumnIndex(Root.COLUMN_CAPACITY_BYTES); in queryRoots() 171 storageCursor.getColumnIndex(Root.COLUMN_AVAILABLE_BYTES); in queryRoots() 182 values.put(Root.COLUMN_CAPACITY_BYTES, capacityBytes); in queryRoots() 183 values.put(Root.COLUMN_AVAILABLE_BYTES, availableBytes); in queryRoots() 185 values.putNull(Root.COLUMN_CAPACITY_BYTES); in queryRoots() 186 values.putNull(Root.COLUMN_AVAILABLE_BYTES); in queryRoots() 188 if (storageCursor.getCount() == 1 && values.containsKey(Root.COLUMN_TITLE)) { in queryRoots() 192 Root.COLUMN_TITLE, in queryRoots() 195 values.getAsString(Root.COLUMN_TITLE), in queryRoots() [all …]
|
D | MtpDocumentsProvider.java | 42 import android.provider.DocumentsContract.Root; 69 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_ICON, 70 Root.COLUMN_TITLE, Root.COLUMN_DOCUMENT_ID, 71 Root.COLUMN_AVAILABLE_BYTES,
|
D | ReceiverActivity.java | 50 intent.setDataAndType(uri, DocumentsContract.Root.MIME_TYPE_ITEM); in onCreate()
|
D | Mapper.java | 26 import android.provider.DocumentsContract.Root; 283 rootExtraValues.put(Root.COLUMN_ROOT_ID, rowId); in putDocuments()
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
D | BugreportStorageProvider.java | 28 import android.provider.DocumentsContract.Root; 40 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_ICON, Root.COLUMN_TITLE, 41 Root.COLUMN_DOCUMENT_ID, 62 row.add(Root.COLUMN_ROOT_ID, DOC_ID_ROOT); in queryRoots() 63 row.add(Root.COLUMN_FLAGS, Root.FLAG_LOCAL_ONLY | Root.FLAG_ADVANCED); in queryRoots() 64 row.add(Root.COLUMN_ICON, android.R.mipmap.sym_def_app_icon); in queryRoots() 65 row.add(Root.COLUMN_TITLE, getContext().getString(R.string.bugreport_storage_title)); in queryRoots() 66 row.add(Root.COLUMN_DOCUMENT_ID, DOC_ID_ROOT); in queryRoots()
|
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/ |
D | ExternalStorageProvider.java | 38 import android.provider.DocumentsContract.Root; 73 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_ICON, Root.COLUMN_TITLE, 74 Root.COLUMN_DOCUMENT_ID, Root.COLUMN_AVAILABLE_BYTES, 184 root.flags = Root.FLAG_LOCAL_ONLY in updateVolumesLocked() 185 | Root.FLAG_SUPPORTS_SEARCH in updateVolumesLocked() 186 | Root.FLAG_SUPPORTS_IS_CHILD; in updateVolumesLocked() 191 root.flags |= Root.FLAG_REMOVABLE_SD; in updateVolumesLocked() 193 root.flags |= Root.FLAG_REMOVABLE_USB; in updateVolumesLocked() 197 root.flags |= Root.FLAG_SUPPORTS_EJECT; in updateVolumesLocked() 203 root.flags |= Root.FLAG_ADVANCED; in updateVolumesLocked() [all …]
|
D | TestDocumentsProvider.java | 41 import android.provider.DocumentsContract.Root; 83 Root.COLUMN_ROOT_ID, Root.COLUMN_FLAGS, Root.COLUMN_ICON, 84 Root.COLUMN_TITLE, Root.COLUMN_SUMMARY, Root.COLUMN_DOCUMENT_ID, 85 Root.COLUMN_AVAILABLE_BYTES, 134 row.add(Root.COLUMN_ROOT_ID, MY_ROOT_ID); in queryRoots() 135 row.add(Root.COLUMN_FLAGS, Root.FLAG_SUPPORTS_RECENTS | Root.FLAG_SUPPORTS_CREATE); in queryRoots() 136 row.add(Root.COLUMN_TITLE, "_Test title which is really long"); in queryRoots() 137 row.add(Root.COLUMN_SUMMARY, in queryRoots() 139 row.add(Root.COLUMN_DOCUMENT_ID, MY_DOC_ID); in queryRoots() 140 row.add(Root.COLUMN_AVAILABLE_BYTES, 1024); in queryRoots()
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | MtpDatabaseTest.java | 27 import android.provider.DocumentsContract.Root; 117 Root.COLUMN_ROOT_ID, in testPutSingleStorageDocuments() 118 Root.COLUMN_FLAGS, in testPutSingleStorageDocuments() 119 Root.COLUMN_ICON, in testPutSingleStorageDocuments() 120 Root.COLUMN_TITLE, in testPutSingleStorageDocuments() 121 Root.COLUMN_SUMMARY, in testPutSingleStorageDocuments() 122 Root.COLUMN_DOCUMENT_ID, in testPutSingleStorageDocuments() 123 Root.COLUMN_AVAILABLE_BYTES, in testPutSingleStorageDocuments() 124 Root.COLUMN_CAPACITY_BYTES in testPutSingleStorageDocuments() 129 assertEquals(1, getInt(cursor, Root.COLUMN_ROOT_ID)); in testPutSingleStorageDocuments() [all …]
|
D | MtpDocumentsProviderTest.java | 27 import android.provider.DocumentsContract.Root; 150 DocumentsContract.Root.COLUMN_TITLE, in testOpenDeviceOnDemand() 151 DocumentsContract.Root.COLUMN_DOCUMENT_ID in testOpenDeviceOnDemand() 216 Root.FLAG_SUPPORTS_IS_CHILD | in testQueryRoots() 217 Root.FLAG_SUPPORTS_CREATE | in testQueryRoots() 218 Root.FLAG_LOCAL_ONLY, in testQueryRoots() 235 Root.FLAG_SUPPORTS_IS_CHILD | Root.FLAG_LOCAL_ONLY, cursor.getInt(1)); in testQueryRoots() 282 Root.FLAG_SUPPORTS_IS_CHILD | Root.FLAG_SUPPORTS_CREATE | Root.FLAG_LOCAL_ONLY, in testQueryRoots_error() 292 Root.FLAG_SUPPORTS_IS_CHILD | Root.FLAG_SUPPORTS_CREATE | Root.FLAG_LOCAL_ONLY, in testQueryRoots_error() 958 return getStrings(mProvider.queryRoots(strings(DocumentsContract.Root.COLUMN_ROOT_ID))); in setupRoots()
|
/frameworks/base/tools/preload/ |
D | Root.java | 38 public class Root implements Serializable { class 151 static Root fromFile(String fileName) in fromFile() 157 Root root = (Root) oin.readObject(); in fromFile()
|
D | PrintPsTree.java | 38 Root root = (Root) oin.readObject(); in main()
|
D | WritePreloadedClassFile.java | 49 Root root = Root.fromFile(rootFile); in main() 133 private static void addAllClassesFrom(String processName, Root root, in addAllClassesFrom()
|
D | Compile.java | 39 Root root = new Root(); in main()
|
D | PrintCsv.java | 40 Root root = Root.fromFile(args[0]); in main()
|
D | PrintHtmlDiff.java | 36 Root root = Root.fromFile(args[0]); in main()
|
D | Android.mk | 16 Root.java \
|
D | MemoryUsage.java | 289 Root root = Root.fromFile(args[0]); in main()
|
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/ |
D | PopupMenuTest.java | 48 import android.support.test.espresso.Root; 293 private static Matcher<Root> hasWindowFocus() { in hasWindowFocus() 294 return new TypeSafeMatcher<Root>() { in hasWindowFocus() 301 public boolean matchesSafely(Root root) { in hasWindowFocus()
|
/frameworks/base/core/java/android/provider/ |
D | DocumentsProvider.java | 63 import android.provider.DocumentsContract.Root; 838 return DocumentsContract.Root.MIME_TYPE_ITEM; in getType()
|
D | DocumentsContract.java | 472 public final static class Root { class in DocumentsContract 473 private Root() { in Root() method in DocumentsContract.Root
|
/frameworks/base/core/java/android/os/storage/ |
D | VolumeInfo.java | 440 intent.setDataAndType(uri, DocumentsContract.Root.MIME_TYPE_ITEM); in buildBrowseIntent()
|
/frameworks/base/proto/src/ |
D | metrics_constants.proto | 337 // OPEN: Settings (Root page)
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 24799 public static final class DocumentsContract.Root {
|
/frameworks/base/api/ |
D | current.txt | 34357 public static final class DocumentsContract.Root {
|