Searched refs:mMediaProvider (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 72 private final ContentProviderClient mMediaProvider; field in MtpDatabase 253 mMediaProvider = context.getContentResolver() in MtpDatabase() 298 if (mMediaProvider != null) { in close() 299 mMediaProvider.close(); in close() 413 Uri uri = mMediaProvider.insert(mObjectsUri, values); in endSendObject() 445 mMediaProvider.insert( in rescanFile() 532 propertyGroup = new MtpPropertyGroup(mMediaProvider, mVolumeName, in getObjectPropertyList() 541 propertyGroup = new MtpPropertyGroup(mMediaProvider, mVolumeName, in getObjectPropertyList() 587 mMediaProvider.update(mObjectsUri, values, PATH_WHERE, whereArgs); in renameFile() 598 mMediaProvider.call(MediaStore.UNHIDE_CALL, newPath.toString(), null); in renameFile() [all …]
|
/frameworks/base/media/java/android/media/ |
D | MediaScanner.java | 323 private final ContentProviderClient mMediaProvider; field in MediaScanner 409 mMediaProvider = mContext.getContentResolver() in MediaScanner() 1064 result = mMediaProvider.insert(tableUri, values); 1096 mMediaProvider.update(result, values, null, null); 1215 MediaBulkDeleter deleter = new MediaBulkDeleter(mMediaProvider, builder.build()); 1233 c = mMediaProvider.query(limitUri, FILES_PRESCAN_PROJECTION, 1273 mMediaProvider.call(MediaStore.UNHIDE_CALL, parent, null); 1291 c = mMediaProvider.query(mImagesUri, ID_PROJECTION, null, null, null, null); 1361 mMediaInserter = new MediaInserter(mMediaProvider, 500); 1528 mMediaProvider.update(Files.getMtpObjectsUri(mVolumeName), values, [all …]
|