Searched refs:MtpDatabaseConstants (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | MtpDocumentsProviderTest.java | 65 setupProvider(MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in testOpenAndCloseDevice() 94 setupProvider(MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in testOpenAndCloseErrorDevice() 127 setupProvider(MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in testOpenDeviceOnDemand() 172 setupProvider(MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in testQueryRoots() 237 setupProvider(MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in testQueryRoots_error() 291 setupProvider(MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in testQueryDocument() 328 setupProvider(MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in testQueryDocument_directory() 362 setupProvider(MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in testQueryDocument_forRoot() 385 setupProvider(MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in testQueryChildDocuments() 418 setupProvider(MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in testQueryChildDocuments_cursorError() [all …]
|
D | PipeManagerTest.java | 41 mDatabase = new MtpDatabase(getContext(), MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in setUp() 55 new Identifier(0, 0, 1, null, MtpDatabaseConstants.DOCUMENT_TYPE_OBJECT)); in testReadDocument_basic() 62 new Identifier(0, 0, 1, null, MtpDatabaseConstants.DOCUMENT_TYPE_OBJECT)); in testReadDocument_error() 70 new Identifier(0, 0, 1, null, MtpDatabaseConstants.DOCUMENT_TYPE_OBJECT)); in testReadThumbnail_basic() 77 new Identifier(0, 0, 1, null, MtpDatabaseConstants.DOCUMENT_TYPE_OBJECT)); in testReadThumbnail_error()
|
D | MtpDatabaseTest.java | 36 import static com.android.mtp.MtpDatabaseConstants.*; 43 MtpDatabaseConstants.COLUMN_DEVICE_ID, 44 MtpDatabaseConstants.COLUMN_STORAGE_ID, 45 MtpDatabaseConstants.COLUMN_OBJECT_HANDLE, 53 MtpDatabaseConstants.COLUMN_DOCUMENT_TYPE 61 mDatabase = new MtpDatabase(getContext(), MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in setUp() 109 MtpDatabaseConstants.DOCUMENT_TYPE_STORAGE, in testPutSingleStorageDocuments() 171 … MtpDatabaseConstants.DOCUMENT_TYPE_STORAGE, getInt(cursor, COLUMN_DOCUMENT_TYPE)); in testPutStorageDocuments() 225 MtpDatabaseConstants.DOCUMENT_TYPE_OBJECT, getInt(cursor, COLUMN_DOCUMENT_TYPE)); in testPutChildDocuments() 244 MtpDatabaseConstants.DOCUMENT_TYPE_OBJECT, getInt(cursor, COLUMN_DOCUMENT_TYPE)); in testPutChildDocuments() [all …]
|
D | DocumentLoaderTest.java | 41 0, 0, 0, "2", MtpDatabaseConstants.DOCUMENT_TYPE_STORAGE); 45 mDatabase = new MtpDatabase(getContext(), MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in setUp()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | Identifier.java | 20 import static com.android.mtp.MtpDatabaseConstants.DocumentType;
|
D | DocumentLoader.java | 258 assert identifier.mDocumentType != MtpDatabaseConstants.DOCUMENT_TYPE_DEVICE; in LoaderTask() 275 if (mIdentifier.mDocumentType == MtpDatabaseConstants.DOCUMENT_TYPE_STORAGE) { in loadObjectHandles()
|
D | MtpDatabaseConstants.java | 32 class MtpDatabaseConstants { class
|
D | MtpDocumentsProvider.java | 108 mDatabase = new MtpDatabase(getContext(), MtpDatabaseConstants.FLAG_DATABASE_IN_FILE); in onCreate() 208 if (parentIdentifier.mDocumentType == MtpDatabaseConstants.DOCUMENT_TYPE_DEVICE) { in queryChildDocuments() 313 if (parentIdentifier.mDocumentType == MtpDatabaseConstants.DOCUMENT_TYPE_STORAGE) { in deleteDocument()
|
D | Mapper.java | 35 import static com.android.mtp.MtpDatabaseConstants.*;
|
D | MtpDatabase.java | 19 import static com.android.mtp.MtpDatabaseConstants.*;
|