Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/mtp/
DMtpServer.java26 private final MtpDatabase mDatabase;
32 public MtpServer(MtpDatabase database, boolean usePtp) { in MtpServer()
70 private native final void native_setup(MtpDatabase database, boolean usePtp); in native_setup()
DMtpPropertyGroup.java50 private final MtpDatabase mDatabase;
67 public MtpPropertyGroup(MtpDatabase database, ContentProviderClient provider, String volumeName, in MtpPropertyGroup()
DMtpDatabase.java51 public class MtpDatabase implements AutoCloseable { class
159 public MtpDatabase(Context context, 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.java88 private MtpDatabase mDatabase;
108 mDatabase = new MtpDatabase(getContext(), MtpDatabaseConstants.FLAG_DATABASE_IN_FILE); in onCreate()
152 MtpDatabase database, in onCreateForTesting()
556 MtpDatabase.strings(Document.COLUMN_SIZE, Document.COLUMN_DISPLAY_NAME)); in getFileSize()
593 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.h31 class MtpDatabase; variable
40 MtpDatabase* mDatabase;
93 MtpServer(int fd, MtpDatabase* database, bool ptp,
DMtpDatabase.h28 class MtpDatabase {
30 virtual ~MtpDatabase() {} in ~MtpDatabase()
DMtpStorage.h25 class MtpDatabase; variable
DMtpServer.cpp100 MtpServer::MtpServer(int fd, 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.java39 import static com.android.mtp.MtpDatabase.strings;
50 private MtpDatabase mDatabase;
61 MtpDatabase.deleteDatabase(getContext()); in tearDown()
764 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.cpp90 MtpDatabase* getMtpDatabase(JNIEnv *env, jobject database) { in getMtpDatabase()
91 return (MtpDatabase *)env->GetLongField(database, field_context); in getMtpDatabase()
96 class MyMtpDatabase : public MtpDatabase {
/frameworks/base/
Dpreloaded-classes1475 android.mtp.MtpDatabase
Dcompiled-classes-phone2626 android.mtp.MtpDatabase