Home
last modified time | relevance | path

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

/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp95 class MtpDatabase : public IMtpDatabase { class
103 MtpDatabase(JNIEnv *env, jobject client);
104 virtual ~MtpDatabase();
204 MtpDatabase::MtpDatabase(JNIEnv *env, jobject client) in MtpDatabase() function in MtpDatabase
230 void MtpDatabase::cleanup(JNIEnv *env) { in cleanup()
237 MtpDatabase::~MtpDatabase() { in ~MtpDatabase()
240 MtpObjectHandle MtpDatabase::beginSendObject(const char* path, in beginSendObject()
255 void MtpDatabase::endSendObject(MtpObjectHandle handle, bool succeeded) { in endSendObject()
262 void MtpDatabase::rescanFile(const char* path, MtpObjectHandle handle, in rescanFile()
274 MtpObjectHandleList* MtpDatabase::getObjectList(MtpStorageID storageID, in getObjectList()
[all …]
/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.java95 private MtpDatabase mDatabase;
115 mDatabase = new MtpDatabase(getContext(), MtpDatabaseConstants.FLAG_DATABASE_IN_FILE); in onCreate()
151 MtpDatabase database, in onCreateForTesting()
212 MtpDatabase.strings(Document.COLUMN_DISPLAY_NAME, Document.COLUMN_FLAGS))) { in queryDocument()
231 MtpDatabase.putValuesToCursor(values, output); in queryDocument()
716 MtpDatabase.strings(Document.COLUMN_SIZE, Document.COLUMN_DISPLAY_NAME)); in getFileSize()
753 MtpDatabase database, in DeviceToolkit()
DMtpFileWriter.java64 void flush(MtpManager manager, MtpDatabase database, int[] operationsSupported) in flush()
DMtpDatabase.java85 class MtpDatabase { class
93 MtpDatabase(Context context, int flags) { in MtpDatabase() method in MtpDatabase
/frameworks/base/media/java/android/mtp/
DMtpServer.java36 private final MtpDatabase mDatabase;
50 MtpDatabase database, in MtpServer()
153 MtpDatabase database, in native_setup()
DMtpDatabase.java70 public class MtpDatabase implements AutoCloseable { class
71 private static final String TAG = MtpDatabase.class.getSimpleName();
275 public MtpDatabase(Context context, String[] subDirectories) { in MtpDatabase() method in MtpDatabase
283 if (MtpDatabase.this.mServer != null) in MtpDatabase()
284 MtpDatabase.this.mServer.sendObjectAdded(id); in MtpDatabase()
289 if (MtpDatabase.this.mServer != null) in MtpDatabase()
290 MtpDatabase.this.mServer.sendObjectRemoved(id); in MtpDatabase()
295 if (MtpDatabase.this.mServer != null) in MtpDatabase()
296 MtpDatabase.this.mServer.sendObjectInfoChanged(id); in MtpDatabase()
DMtpPropertyGroup.java181 final Uri uri = MtpDatabase.getObjectPropertiesUri(object.getFormat(), in getPropertyList()
/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()
927 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/av/media/mtp/
DMtpStorage.h26 class MtpDatabase; variable
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt42283 Landroid/mtp/MtpDatabase;-><init>(Landroid/content/Context;Ljava/lang/String;[Ljava/lang/String;)V
42284 Landroid/mtp/MtpDatabase;->addStorage(Landroid/os/storage/StorageVolume;)V
42285 Landroid/mtp/MtpDatabase;->AUDIO_PROPERTIES:[I
42286 Landroid/mtp/MtpDatabase;->beginCopyObject(III)I
42287 Landroid/mtp/MtpDatabase;->beginDeleteObject(I)I
42288 Landroid/mtp/MtpDatabase;->beginMoveObject(III)I
42289 Landroid/mtp/MtpDatabase;->beginSendObject(Ljava/lang/String;III)I
42290 Landroid/mtp/MtpDatabase;->deleteFromMedia(Ljava/nio/file/Path;Z)V
42291 Landroid/mtp/MtpDatabase;->DEVICE_PROPERTIES:[I
42292 Landroid/mtp/MtpDatabase;->endCopyObject(IZ)V
[all …]
Dpreloaded-classes2483 android.mtp.MtpDatabase
Dboot-image-profile.txt34803 Landroid/mtp/MtpDatabase;