Home
last modified time | relevance | path

Searched refs:Root (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpDatabaseConstants.java22 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 …]
DMtpDatabase.java38 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 …]
DMtpDocumentsProvider.java42 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,
DReceiverActivity.java50 intent.setDataAndType(uri, DocumentsContract.Root.MIME_TYPE_ITEM); in onCreate()
DMapper.java26 import android.provider.DocumentsContract.Root;
283 rootExtraValues.put(Root.COLUMN_ROOT_ID, rowId); in putDocuments()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportStorageProvider.java28 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/
DExternalStorageProvider.java38 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 …]
DTestDocumentsProvider.java41 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/
DMtpDatabaseTest.java27 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 …]
DMtpDocumentsProviderTest.java27 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/
DRoot.java38 public class Root implements Serializable { class
151 static Root fromFile(String fileName) in fromFile()
157 Root root = (Root) oin.readObject(); in fromFile()
DPrintPsTree.java38 Root root = (Root) oin.readObject(); in main()
DWritePreloadedClassFile.java49 Root root = Root.fromFile(rootFile); in main()
133 private static void addAllClassesFrom(String processName, Root root, in addAllClassesFrom()
DCompile.java39 Root root = new Root(); in main()
DPrintCsv.java40 Root root = Root.fromFile(args[0]); in main()
DPrintHtmlDiff.java36 Root root = Root.fromFile(args[0]); in main()
DAndroid.mk16 Root.java \
DMemoryUsage.java289 Root root = Root.fromFile(args[0]); in main()
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
DPopupMenuTest.java48 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/
DDocumentsProvider.java63 import android.provider.DocumentsContract.Root;
838 return DocumentsContract.Root.MIME_TYPE_ITEM; in getType()
DDocumentsContract.java472 public final static class Root { class in DocumentsContract
473 private Root() { in Root() method in DocumentsContract.Root
/frameworks/base/core/java/android/os/storage/
DVolumeInfo.java440 intent.setDataAndType(uri, DocumentsContract.Root.MIME_TYPE_ITEM); in buildBrowseIntent()
/frameworks/base/proto/src/
Dmetrics_constants.proto337 // OPEN: Settings (Root page)
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt24799 public static final class DocumentsContract.Root {
/frameworks/base/api/
Dcurrent.txt34357 public static final class DocumentsContract.Root {

12