Home
last modified time | relevance | path

Searched refs:MtpDatabase (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/media/java/android/mtp/
DMtpServer.java28 private final MtpDatabase mDatabase;
36 MtpDatabase database, in MtpServer()
94 MtpDatabase database, in native_setup()
DMtpPropertyGroup.java50 private final MtpDatabase mDatabase;
67 public MtpPropertyGroup(MtpDatabase database, ContentProviderClient provider, String volumeName, in MtpPropertyGroup()
DMtpDatabase.java52 public class MtpDatabase implements AutoCloseable { class
163 public MtpDatabase(Context context, Context userContext, String volumeName, String storagePath, in MtpDatabase() method in MtpDatabase
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DPipeManager.java34 final MtpDatabase mDatabase;
36 PipeManager(MtpDatabase database) { in PipeManager()
40 PipeManager(MtpDatabase database, ExecutorService executor) { in PipeManager()
DMapper.java36 import static com.android.mtp.MtpDatabase.strings;
44 private final MtpDatabase mDatabase;
51 Mapper(MtpDatabase database) { in Mapper()
69 MtpDatabase.getDeviceDocumentValues(valuesList[0], extraValuesList[0], device); in putDeviceDocument()
103 MtpDatabase.getStorageDocumentValues( in putStorageDocuments()
145 MtpDatabase.getObjectDocumentValues( in putChildDocuments()
DDocumentLoader.java53 private final MtpDatabase mDatabase;
58 MtpDatabase database) { in DocumentLoader()
246 final MtpDatabase mDatabase;
255 LoaderTask(MtpManager manager, MtpDatabase database, int[] operationsSupported, in LoaderTask()
DRootScanner.java56 final MtpDatabase mDatabase;
64 MtpDatabase database) { in RootScanner()
DMtpDocumentsProvider.java91 private MtpDatabase mDatabase;
111 mDatabase = new MtpDatabase(getContext(), MtpDatabaseConstants.FLAG_DATABASE_IN_FILE); in onCreate()
147 MtpDatabase database, in onCreateForTesting()
208 MtpDatabase.strings(Document.COLUMN_DISPLAY_NAME, Document.COLUMN_FLAGS))) { in queryDocument()
227 MtpDatabase.putValuesToCursor(values, output); in queryDocument()
689 MtpDatabase.strings(Document.COLUMN_SIZE, Document.COLUMN_DISPLAY_NAME)); in getFileSize()
726 MtpDatabase database, in DeviceToolkit()
DMtpFileWriter.java64 void flush(MtpManager manager, MtpDatabase database, int[] operationsSupported) in flush()
DMtpDatabase.java84 class MtpDatabase { class
92 MtpDatabase(Context context, int flags) { in MtpDatabase() method in MtpDatabase
/frameworks/av/media/mtp/
DMtpServer.h35 class MtpDatabase; variable
41 MtpDatabase* mDatabase;
107 MtpServer(MtpDatabase* database, bool ptp,
DMtpDatabase.h28 class MtpDatabase {
30 virtual ~MtpDatabase() {} in ~MtpDatabase()
DMtpStorage.h25 class MtpDatabase; variable
DMtpServer.cpp98 MtpServer::MtpServer(MtpDatabase* database, bool ptp, in MtpServer()
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DPipeManagerTest.java35 private MtpDatabase mDatabase;
41 mDatabase = new MtpDatabase(getContext(), MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in setUp()
DTestUtil.java69 static void addTestDevice(MtpDatabase database) throws FileNotFoundException { in addTestDevice()
77 static void addTestStorage(MtpDatabase database, String parentId) throws FileNotFoundException { in addTestStorage()
DDocumentLoaderTest.java36 private MtpDatabase mDatabase;
45 mDatabase = new MtpDatabase(getContext(), MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in setUp()
DMtpDocumentsProviderTest.java41 import static com.android.mtp.MtpDatabase.strings;
52 private MtpDatabase mDatabase;
63 MtpDatabase.deleteDatabase(getContext()); in tearDown()
925 mDatabase = new MtpDatabase(getContext(), flag); in setupProvider()
DMtpDatabaseTest.java35 import static com.android.mtp.MtpDatabase.strings;
57 MtpDatabase mDatabase;
61 mDatabase = new MtpDatabase(getContext(), MtpDatabaseConstants.FLAG_DATABASE_IN_MEMORY); in setUp()
/frameworks/base/media/jni/
Dandroid_mtp_MtpServer.cpp53 extern MtpDatabase* getMtpDatabase(JNIEnv *env, jobject database);
Dandroid_mtp_MtpDatabase.cpp91 MtpDatabase* getMtpDatabase(JNIEnv *env, jobject database) { in getMtpDatabase()
92 return (MtpDatabase *)env->GetLongField(database, field_context); in getMtpDatabase()
97 class MyMtpDatabase : public MtpDatabase {
/frameworks/base/config/
Dcompiled-classes-phone2801 android.mtp.MtpDatabase