Home
last modified time | relevance | path

Searched refs:MediaStore (Results 1 – 25 of 52) sorted by relevance

123

/frameworks/base/media/java/android/media/
DRingtoneManager.java45 import android.provider.MediaStore;
213 MediaStore.Audio.Media._ID,
214 MediaStore.Audio.Media.TITLE,
215 MediaStore.Audio.Media.TITLE,
216 MediaStore.Audio.Media.TITLE_KEY,
220 MediaStore.Audio.Media._ID,
221 MediaStore.Audio.Media.TITLE,
222 MediaStore.Audio.Media.TITLE,
223 MediaStore.Audio.Media.TITLE_KEY,
447 MediaStore.Audio.Media.DEFAULT_SORT_ORDER); in getCursor()
[all …]
DMediaScanner.java36 import android.provider.MediaStore;
37 import android.provider.MediaStore.Audio;
38 import android.provider.MediaStore.Audio.Playlists;
39 import android.provider.MediaStore.Files;
40 import android.provider.MediaStore.Files.FileColumns;
41 import android.provider.MediaStore.Images;
42 import android.provider.MediaStore.Video;
442 .acquireContentProviderClient(MediaStore.AUTHORITY); in MediaScanner()
457 filesFullUri = MediaStore.setIncludePending(filesFullUri); in MediaScanner()
458 filesFullUri = MediaStore.setIncludeTrashed(filesFullUri); in MediaScanner()
[all …]
DRingtone.java30 import android.provider.MediaStore;
31 import android.provider.MediaStore.MediaColumns;
52 MediaStore.Audio.Media._ID,
53 MediaStore.Audio.Media.TITLE
253 if (MediaStore.AUTHORITY.equals(authority)) { in getTitle()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java34 import android.provider.MediaStore;
35 import android.provider.MediaStore.Files;
223 return MediaStore.Audio.Media.getContentUri(volumeName); in getObjectPropertiesUri()
227 return MediaStore.Video.Media.getContentUri(volumeName); in getObjectPropertiesUri()
234 return MediaStore.Images.Media.getContentUri(volumeName); in getObjectPropertiesUri()
236 return MediaStore.Files.getContentUri(volumeName); in getObjectPropertiesUri()
279 .acquireContentProviderClient(MediaStore.AUTHORITY); in MtpDatabase()
425 MediaStore.scanFile(mContext, obj.getPath().toFile()); in endSendObject()
431 MediaStore.scanFile(mContext, new File(path)); in rescanFile()
580 final Uri objectsUri = MediaStore.Files.getMtpObjectsUri(obj.getVolumeName()); in renameFile()
[all …]
DMtpStorage.java21 import android.provider.MediaStore;
45 mVolumeName = MediaStore.VOLUME_EXTERNAL_PRIMARY; in MtpStorage()
DMtpPropertyGroup.java23 import android.provider.MediaStore.Audio;
24 import android.provider.MediaStore.Files;
25 import android.provider.MediaStore.Images;
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DRingtonePlayer.java37 import android.provider.MediaStore;
210 if (uri.toString().startsWith(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI.toString())) {
212 MediaStore.Audio.AudioColumns.IS_RINGTONE,
213 MediaStore.Audio.AudioColumns.IS_ALARM,
214 MediaStore.Audio.AudioColumns.IS_NOTIFICATION
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DRecordingService.java39 import android.provider.MediaStore;
374 Size size = Point.convert(MediaStore.ThumbnailConstants.MINI_SIZE); in createSaveNotification()
406 values.put(MediaStore.Video.Media.DISPLAY_NAME, fileName); in saveRecording()
407 values.put(MediaStore.Video.Media.MIME_TYPE, "video/mp4"); in saveRecording()
408 values.put(MediaStore.Video.Media.DATE_ADDED, System.currentTimeMillis()); in saveRecording()
409 values.put(MediaStore.Video.Media.DATE_TAKEN, System.currentTimeMillis()); in saveRecording()
412 Uri collectionUri = MediaStore.Video.Media.getContentUri( in saveRecording()
413 MediaStore.VOLUME_EXTERNAL_PRIMARY); in saveRecording()
/frameworks/rs/tests/java_api/RsCameraDemo/src/com/android/example/rscamera/
DMediaStoreSaver.java29 import android.provider.MediaStore;
30 import android.provider.MediaStore.Images;
72 url = cr.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); in insertImage()
/frameworks/rs/tests/java_api/CannyLive/src/com/android/example/cannylive/
DMediaStoreSaver.java29 import android.provider.MediaStore;
30 import android.provider.MediaStore.Images;
72 url = cr.insert(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, values); in insertImage()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DMediaInserterTest.java32 import android.provider.MediaStore.Audio;
33 import android.provider.MediaStore.Files;
34 import android.provider.MediaStore.Images;
35 import android.provider.MediaStore.Video;
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DFlashlightTile.java21 import android.provider.MediaStore;
70 return new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA); in getLongClickIntent()
/frameworks/base/api/
Dremoved.txt523 public final class MediaStore {
524 …reatePending(@NonNull android.content.Context, @NonNull android.provider.MediaStore.PendingParams);
526 …method @Deprecated @NonNull public static android.provider.MediaStore.PendingSession openPending(@…
533 …public static interface MediaStore.Audio.AudioColumns extends android.provider.MediaStore.MediaCol…
537 …public static interface MediaStore.DownloadColumns extends android.provider.MediaStore.MediaColumn…
541 …public static interface MediaStore.Images.ImageColumns extends android.provider.MediaStore.MediaCo…
549 public static interface MediaStore.MediaColumns extends android.provider.BaseColumns {
557 @Deprecated public static class MediaStore.PendingParams {
558 … ctor public MediaStore.PendingParams(@NonNull android.net.Uri, @NonNull String, @NonNull String);
565 @Deprecated public static class MediaStore.PendingSession implements java.lang.AutoCloseable {
[all …]
/frameworks/base/non-updatable-api/
Dremoved.txt523 public final class MediaStore {
524 …reatePending(@NonNull android.content.Context, @NonNull android.provider.MediaStore.PendingParams);
526 …method @Deprecated @NonNull public static android.provider.MediaStore.PendingSession openPending(@…
533 …public static interface MediaStore.Audio.AudioColumns extends android.provider.MediaStore.MediaCol…
537 …public static interface MediaStore.DownloadColumns extends android.provider.MediaStore.MediaColumn…
541 …public static interface MediaStore.Images.ImageColumns extends android.provider.MediaStore.MediaCo…
549 public static interface MediaStore.MediaColumns extends android.provider.BaseColumns {
557 @Deprecated public static class MediaStore.PendingParams {
558 … ctor public MediaStore.PendingParams(@NonNull android.net.Uri, @NonNull String, @NonNull String);
565 @Deprecated public static class MediaStore.PendingSession implements java.lang.AutoCloseable {
[all …]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/tests/src/androidx/media/filterfw/samples/simplecamera/
DAvgBrightnessFilterTest.java24 import android.provider.MediaStore;
DContrastRatioFilterTest.java30 import android.provider.MediaStore;
DExposureFilterTest.java23 import android.provider.MediaStore;
DIfElseFilterTest.java24 import android.provider.MediaStore;
/frameworks/base/core/java/com/android/internal/content/
DFileSystemProvider.java39 import android.provider.MediaStore;
261 MediaStore.scanFile(getContext(), file); in createDocument()
318 MediaStore.scanFile(getContext(), oldVisibleFile); in moveInMediaStore()
321 MediaStore.scanFile(getContext(), newVisibleFile); in moveInMediaStore()
350 final Uri externalUri = MediaStore.Files.getContentUri("external"); in removeFromMediaStore()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DOnePlayerActivity.java31 import android.provider.MediaStore;
120 … mAlbumArtBitmap = MediaStore.Images.Media.getBitmap(this.getContentResolver(), uri); in onActivityResult()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
DBluetoothUtils.java12 import android.provider.MediaStore;
156 final Bitmap bitmap = MediaStore.Images.Media.getBitmap( in getBtRainbowDrawableWithDescription()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/samples/simplecamera/
DSmartCamera.java26 import android.provider.MediaStore;
131 MediaStore.Images.Media.insertImage(getContentResolver(), bitmap, in captureImages()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DJobStatusTest.java43 import android.provider.MediaStore;
299 MediaStore.Images.Media.INTERNAL_CONTENT_URI, in testWouldBeReadyWithConstraint_RequestedContentTrigger()
324 MediaStore.Images.Media.INTERNAL_CONTENT_URI, in testWouldBeReadyWithConstraint_RequestedMixture_NoDeadline()
414 MediaStore.Images.Media.INTERNAL_CONTENT_URI, in testWouldBeReadyWithConstraint_RequestedMixture_WithDeadline()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DGlobalScreenshot.java75 import android.provider.MediaStore;
346 final MediaStore.PendingParams params = new MediaStore.PendingParams( in doInBackground()
347 MediaStore.Images.Media.EXTERNAL_CONTENT_URI, mImageFileName, "image/png"); in doInBackground()
351 final Uri uri = MediaStore.createPending(context, params); in doInBackground()
352 final MediaStore.PendingSession session = MediaStore.openPending(context, uri); in doInBackground()
/frameworks/base/services/core/java/com/android/server/
DPinnerService.java48 import android.provider.MediaStore;
370 Intent cameraIntent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA); in getCameraInfo()
380 cameraIntent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE); in getCameraInfo()
388 cameraIntent = new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA); in getCameraInfo()

123