/packages/modules/Media/apex/framework/api/ |
D | current.txt | 2 package android.media { 5 …method @NonNull public static android.media.ApplicationMediaCapabilities createFromXml(@NonNull or… 15 …field @NonNull public static final android.os.Parcelable.Creator<android.media.ApplicationMediaCap… 20 …method @NonNull public android.media.ApplicationMediaCapabilities.Builder addSupportedHdrType(@Non… 21 …method @NonNull public android.media.ApplicationMediaCapabilities.Builder addSupportedVideoMimeTyp… 22 …method @NonNull public android.media.ApplicationMediaCapabilities.Builder addUnsupportedHdrType(@N… 23 …method @NonNull public android.media.ApplicationMediaCapabilities.Builder addUnsupportedVideoMimeT… 24 method @NonNull public android.media.ApplicationMediaCapabilities build(); 28 method @NonNull public java.util.List<android.media.Session2Token> getSession2Tokens(); 35 method @Nullable public android.media.Session2Token getConnectedToken(); [all …]
|
D | system-current.txt | 2 package android.media { 5 …media.MediaTranscodingManager.TranscodingSession enqueueRequest(@NonNull android.media.MediaTransc… 9 …method public void onTranscodingFinished(@NonNull android.media.MediaTranscodingManager.Transcodin… 22 …ngRequest.VideoFormatResolver(@NonNull android.media.ApplicationMediaCapabilities, @NonNull androi… 23 method @Nullable public android.media.MediaFormat resolveVideoFormat(); 37 …ssUpdateListener(@NonNull java.util.concurrent.Executor, @NonNull android.media.MediaTranscodingMa… 52 …method public void onProgressUpdate(@NonNull android.media.MediaTranscodingManager.TranscodingSess… 55 …public static final class MediaTranscodingManager.VideoTranscodingRequest extends android.media.Me… 56 method @NonNull public android.media.MediaFormat getVideoTrackFormat(); 60 …st.Builder(@NonNull android.net.Uri, @NonNull android.net.Uri, @NonNull android.media.MediaFormat); [all …]
|
/packages/modules/Media/apex/framework/ |
D | Android.bp | 23 name: "updatable-media", 26 "framework-media.impl", 30 "android.media", 37 proguard_flags_files: ["updatable-media-proguard.flags"], 46 "com.android.media", 47 "test_com.android.media", 51 // This MUST not be used for compilation within the media module, use 52 // framework-media.impl instead. 58 "//frameworks/base/apex/media/service", 63 name: "updatable-media-srcs", [all …]
|
/packages/services/Car/car-lib/src/com/android/car/internal/annotation/ |
D | AttributeUsage.java | 19 import static android.media.AudioAttributes.USAGE_ALARM; 20 import static android.media.AudioAttributes.USAGE_ANNOUNCEMENT; 21 import static android.media.AudioAttributes.USAGE_ASSISTANCE_ACCESSIBILITY; 22 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE; 23 import static android.media.AudioAttributes.USAGE_ASSISTANCE_SONIFICATION; 24 import static android.media.AudioAttributes.USAGE_ASSISTANT; 25 import static android.media.AudioAttributes.USAGE_CALL_ASSISTANT; 26 import static android.media.AudioAttributes.USAGE_EMERGENCY; 27 import static android.media.AudioAttributes.USAGE_GAME; 28 import static android.media.AudioAttributes.USAGE_MEDIA; [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | AccessChecker.java | 17 package com.android.providers.media; 26 import static com.android.providers.media.LocalUriMatcher.AUDIO_ALBUMART; 27 import static com.android.providers.media.LocalUriMatcher.AUDIO_ALBUMART_ID; 28 import static com.android.providers.media.LocalUriMatcher.AUDIO_ALBUMS; 29 import static com.android.providers.media.LocalUriMatcher.AUDIO_ALBUMS_ID; 30 import static com.android.providers.media.LocalUriMatcher.AUDIO_ARTISTS; 31 import static com.android.providers.media.LocalUriMatcher.AUDIO_ARTISTS_ID; 32 import static com.android.providers.media.LocalUriMatcher.AUDIO_ARTISTS_ID_ALBUMS; 33 import static com.android.providers.media.LocalUriMatcher.AUDIO_GENRES; 34 import static com.android.providers.media.LocalUriMatcher.AUDIO_GENRES_ALL_MEMBERS; [all …]
|
D | LocalCallingIdentity.java | 17 package com.android.providers.media; 19 import static com.android.providers.media.util.DatabaseUtils.bindList; 20 import static com.android.providers.media.util.Logging.TAG; 21 import static com.android.providers.media.util.PermissionUtils.checkAppOpRequestInstallPackagesForS… 22 import static com.android.providers.media.util.PermissionUtils.checkIsLegacyStorageGranted; 23 import static com.android.providers.media.util.PermissionUtils.checkPermissionAccessMediaLocation; 24 import static com.android.providers.media.util.PermissionUtils.checkPermissionAccessMtp; 25 import static com.android.providers.media.util.PermissionUtils.checkPermissionDelegator; 26 import static com.android.providers.media.util.PermissionUtils.checkPermissionInstallPackages; 27 import static com.android.providers.media.util.PermissionUtils.checkPermissionManager; [all …]
|
/packages/providers/MediaProvider/ |
D | proguard.flags | 2 -keep public class com.android.providers.media.CacheClearingActivity 3 -keep public class com.android.providers.media.IdleService 4 -keep public class com.android.providers.media.MediaApplication 5 -keep public class com.android.providers.media.MediaDocumentsProvider 6 -keep public class com.android.providers.media.MediaProvider 7 -keep public class com.android.providers.media.MediaReceiver 8 -keep public class com.android.providers.media.MediaService 9 -keep public class com.android.providers.media.MediaUpgradeReceiver 10 -keep public class com.android.providers.media.PermissionActivity 11 -keep public class com.android.providers.media.fuse.ExternalStorageServiceImpl [all …]
|
D | Android.bp | 41 "framework-media.stubs.module_lib", 73 certificate: "media", 76 aaptflags: ["--custom-package com.android.providers.media"], 91 "preinstalled-packages-com.android.providers.media.module.xml", 92 "privapp_allowlist_com.android.providers.media.module.xml", 116 "src/com/android/providers/media/LegacyDatabaseHelper.java", 117 "src/com/android/providers/media/util/DatabaseUtils.java", 118 "src/com/android/providers/media/util/FileUtils.java", 119 "src/com/android/providers/media/util/ForegroundThread.java", 120 "src/com/android/providers/media/util/Logging.java", [all …]
|
/packages/modules/ImsMedia/service/src/com/android/telephony/imsmedia/ |
D | Utils.java | 19 import android.hardware.radio.ims.media.CodecParams; 20 import android.hardware.radio.ims.media.CodecSpecificParams; 21 import android.hardware.radio.ims.media.DtmfParams; 22 import android.hardware.radio.ims.media.RtpAddress; 23 import android.hardware.radio.ims.media.RtpSessionParams; 127 private static android.hardware.radio.ims.media.AmrParams 129 final android.hardware.radio.ims.media.AmrParams amrParams = in buildAmrParams() 130 new android.hardware.radio.ims.media.AmrParams(); in buildAmrParams() 139 private static android.hardware.radio.ims.media.EvsParams 141 final android.hardware.radio.ims.media.EvsParams evsParams = in buildEvsParams() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/util/ |
D | Metrics.java | 17 package com.android.providers.media.util; 19 import static com.android.providers.media.MediaProviderStatsLog.MEDIA_CONTENT_DELETED; 20 import static com.android.providers.media.MediaProviderStatsLog.MEDIA_PROVIDER_IDLE_MAINTENANCE_FIN… 21 import static com.android.providers.media.MediaProviderStatsLog.MEDIA_PROVIDER_PERMISSION_REQUESTED; 22 import static com.android.providers.media.MediaProviderStatsLog.MEDIA_PROVIDER_PERMISSION_REQUESTED… 23 import static com.android.providers.media.MediaProviderStatsLog.MEDIA_PROVIDER_PERMISSION_REQUESTED… 24 import static com.android.providers.media.MediaProviderStatsLog.MEDIA_PROVIDER_SCAN_OCCURRED; 25 import static com.android.providers.media.MediaProviderStatsLog.MEDIA_PROVIDER_SCAN_OCCURRED__VOLUM… 26 import static com.android.providers.media.MediaProviderStatsLog.MEDIA_PROVIDER_SCAN_OCCURRED__VOLUM… 27 import static com.android.providers.media.MediaProviderStatsLog.MEDIA_PROVIDER_SCAN_OCCURRED__VOLUM… [all …]
|
D | ExifUtils.java | 17 package com.android.providers.media.util; 19 import static android.media.ExifInterface.TAG_DATETIME; 20 import static android.media.ExifInterface.TAG_DATETIME_DIGITIZED; 21 import static android.media.ExifInterface.TAG_DATETIME_ORIGINAL; 22 import static android.media.ExifInterface.TAG_GPS_DATESTAMP; 23 import static android.media.ExifInterface.TAG_GPS_TIMESTAMP; 24 import static android.media.ExifInterface.TAG_OFFSET_TIME; 25 import static android.media.ExifInterface.TAG_OFFSET_TIME_DIGITIZED; 26 import static android.media.ExifInterface.TAG_OFFSET_TIME_ORIGINAL; 27 import static android.media.ExifInterface.TAG_SUBSEC_TIME; [all …]
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeCarAudioService.java | 19 import static android.car.media.CarAudioManager.AUDIO_MIRROR_OUT_OF_OUTPUT_DEVICES; 23 import android.car.media.AudioZonesMirrorStatusCallback; 24 import android.car.media.CarAudioManager; 25 import android.car.media.CarAudioPatchHandle; 26 import android.car.media.CarAudioZoneConfigInfo; 27 import android.car.media.CarVolumeGroupInfo; 28 import android.car.media.IAudioZonesMirrorStatusCallback; 29 import android.car.media.ICarAudio; 30 import android.car.media.ICarVolumeEventCallback; 31 import android.car.media.IMediaAudioRequestStatusCallback; [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | AudioAutoStartActivity.java | 24 import static android.car.media.CarAudioManager.AUDIO_FEATURE_DYNAMIC_ROUTING; 25 import static android.media.AudioManager.AUDIOFOCUS_GAIN; 26 import static android.media.AudioManager.AUDIOFOCUS_GAIN_TRANSIENT; 27 import static android.media.AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE; 28 import static android.media.AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK; 29 import static android.media.AudioManager.AUDIOFOCUS_LOSS; 30 import static android.media.AudioManager.AUDIOFOCUS_LOSS_TRANSIENT; 31 import static android.media.AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK; 32 import static android.media.AudioManager.AUDIOFOCUS_REQUEST_DELAYED; 33 import static android.media.AudioManager.AUDIOFOCUS_REQUEST_FAILED; [all …]
|
/packages/apps/TV/tuner/src/com/google/android/exoplayer/ |
D | MediaFormatUtil.java | 31 public static MediaFormat createMediaFormat(android.media.MediaFormat format) { in createMediaFormat() 32 String mimeType = format.getString(android.media.MediaFormat.KEY_MIME); in createMediaFormat() 33 String language = getOptionalStringV16(format, android.media.MediaFormat.KEY_LANGUAGE); in createMediaFormat() 35 getOptionalIntegerV16(format, android.media.MediaFormat.KEY_MAX_INPUT_SIZE); in createMediaFormat() 36 int width = getOptionalIntegerV16(format, android.media.MediaFormat.KEY_WIDTH); in createMediaFormat() 37 int height = getOptionalIntegerV16(format, android.media.MediaFormat.KEY_HEIGHT); in createMediaFormat() 40 getOptionalIntegerV16(format, android.media.MediaFormat.KEY_CHANNEL_COUNT); in createMediaFormat() 41 int sampleRate = getOptionalIntegerV16(format, android.media.MediaFormat.KEY_SAMPLE_RATE); in createMediaFormat() 53 format.containsKey(android.media.MediaFormat.KEY_DURATION) in createMediaFormat() 54 ? format.getLong(android.media.MediaFormat.KEY_DURATION) in createMediaFormat() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarZonesAudioFocusTestBase.java | 19 import static android.media.AudioAttributes.USAGE_ALARM; 20 import static android.media.AudioAttributes.USAGE_ANNOUNCEMENT; 21 import static android.media.AudioAttributes.USAGE_ASSISTANCE_ACCESSIBILITY; 22 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE; 23 import static android.media.AudioAttributes.USAGE_ASSISTANCE_SONIFICATION; 24 import static android.media.AudioAttributes.USAGE_EMERGENCY; 25 import static android.media.AudioAttributes.USAGE_MEDIA; 26 import static android.media.AudioAttributes.USAGE_NOTIFICATION; 27 import static android.media.AudioAttributes.USAGE_NOTIFICATION_RINGTONE; 28 import static android.media.AudioAttributes.USAGE_SAFETY; [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowAudioManager.java | 19 import static android.media.AudioManager.STREAM_ACCESSIBILITY; 20 import static android.media.AudioManager.STREAM_ALARM; 21 import static android.media.AudioManager.STREAM_DTMF; 22 import static android.media.AudioManager.STREAM_MUSIC; 23 import static android.media.AudioManager.STREAM_NOTIFICATION; 24 import static android.media.AudioManager.STREAM_RING; 25 import static android.media.AudioManager.STREAM_SYSTEM; 26 import static android.media.AudioManager.STREAM_VOICE_CALL; 30 import android.media.AudioDeviceCallback; 31 import android.media.AudioManager;
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioPolicyVolumeCallback.java | 19 import static android.car.builtin.media.AudioManagerHelper.adjustToString; 20 import static android.car.builtin.media.AudioManagerHelper.isMasterMute; 21 import static android.car.media.CarAudioManager.PRIMARY_AUDIO_ZONE; 22 import static android.media.AudioManager.ADJUST_LOWER; 23 import static android.media.AudioManager.ADJUST_MUTE; 24 import static android.media.AudioManager.ADJUST_RAISE; 25 import static android.media.AudioManager.ADJUST_SAME; 26 import static android.media.AudioManager.ADJUST_TOGGLE_MUTE; 27 import static android.media.AudioManager.ADJUST_UNMUTE; 28 import static android.media.AudioManager.FLAG_FROM_KEY; [all …]
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | ICarAudio.aidl | 17 package android.car.media; 20 import android.car.media.CarAudioPatchHandle; 21 import android.car.media.CarAudioZoneConfigInfo; 22 import android.car.media.CarVolumeGroupInfo; 23 import android.car.media.IAudioZonesMirrorStatusCallback; 24 import android.car.media.ICarVolumeEventCallback; 25 import android.car.media.IMediaAudioRequestStatusCallback; 26 import android.car.media.IPrimaryZoneMediaAudioRequestCallback; 27 import android.car.media.ISwitchAudioZoneConfigCallback; 28 import android.media.AudioAttributes; [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | HalAudioDeviceInfoBuilder.java | 19 import static android.media.audio.common.AudioDeviceDescription.CONNECTION_BUS; 20 import static android.media.audio.common.AudioDeviceType.OUT_DEVICE; 21 import static android.media.audio.common.AudioGainMode.JOINT; 28 import android.media.audio.common.AudioDevice; 29 import android.media.audio.common.AudioDeviceAddress; 30 import android.media.audio.common.AudioDeviceDescription; 31 import android.media.audio.common.AudioPort; 32 import android.media.audio.common.AudioPortDeviceExt; 33 import android.media.audio.common.AudioPortExt; 97 audioPort.gains = new android.media.audio.common.AudioGain[] { in build() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | AudioPlayer.java | 19 import static android.media.AudioManager.AUDIOFOCUS_GAIN; 20 import static android.media.AudioManager.AUDIOFOCUS_GAIN_TRANSIENT; 21 import static android.media.AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE; 22 import static android.media.AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK; 23 import static android.media.AudioManager.AUDIOFOCUS_LOSS; 24 import static android.media.AudioManager.AUDIOFOCUS_LOSS_TRANSIENT; 25 import static android.media.AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK; 26 import static android.media.AudioManager.AUDIOFOCUS_REQUEST_DELAYED; 27 import static android.media.AudioManager.AUDIOFOCUS_REQUEST_FAILED; 28 import static android.media.AudioManager.AUDIOFOCUS_REQUEST_GRANTED; [all …]
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/ |
D | AccessCheckerTest.java | 17 package com.android.providers.media; 25 import static com.android.providers.media.AccessChecker.getWhereForConstrainedAccess; 26 import static com.android.providers.media.AccessChecker.getWhereForMediaTypeMatch; 27 import static com.android.providers.media.AccessChecker.getWhereForOwnerPackageMatch; 28 import static com.android.providers.media.AccessChecker.getWhereForUserIdMatch; 29 import static com.android.providers.media.AccessChecker.getWhereForUserSelectedAccess; 30 import static com.android.providers.media.AccessChecker.hasAccessToCollection; 31 import static com.android.providers.media.AccessChecker.hasUserSelectedAccess; 32 import static com.android.providers.media.LocalUriMatcher.AUDIO_MEDIA; 33 import static com.android.providers.media.LocalUriMatcher.DOWNLOADS; [all …]
|
D | PickerProviderMediaGenerator.java | 17 package com.android.providers.media; 25 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.LONG_D… 26 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.STRING… 27 import static com.android.providers.media.photopicker.data.PickerDbFacade.QueryFilterBuilder.STRING… 39 import com.android.providers.media.photopicker.LocalProvider; 274 for (TestMedia media : mediaList) { in getCursor() 275 if (!TextUtils.isEmpty(albumId) && matchesFilter(media, in getCursor() 277 matrix.addRow(media.toAlbumMediaArray()); in getCursor() 278 } else if (media.generation > generation in getCursor() 279 && matchesFilter(media, albumId, mimeTypes, sizeBytes)) { in getCursor() [all …]
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/mockable/ |
D | MediaController.java | 23 import android.media.MediaDescription; 24 import android.media.MediaMetadata; 25 import android.media.Rating; 26 import android.media.session.MediaSession; 27 import android.media.session.PlaybackState; 44 @NonNull public android.media.session.MediaController mDelegate; 45 public android.media.session.MediaController.TransportControls mTransportDelegate; 48 MediaController(@NonNull android.media.session.MediaController delegate) { in MediaController() 55 mDelegate = new android.media.session.MediaController(context, token); in MediaController() 60 public android.media.session.MediaController getWrappedInstance() { in getWrappedInstance() [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/ |
D | ProfileDialogFragment.java | 17 package com.android.providers.media.photopicker.ui; 19 import static com.android.providers.media.photopicker.ui.DevicePolicyResources.Drawables.Style.OUTL… 20 import static com.android.providers.media.photopicker.ui.DevicePolicyResources.Drawables.WORK_PROFI… 21 import static com.android.providers.media.photopicker.ui.DevicePolicyResources.Strings.BLOCKED_BY_A… 22 import static com.android.providers.media.photopicker.ui.DevicePolicyResources.Strings.BLOCKED_FROM… 23 import static com.android.providers.media.photopicker.ui.DevicePolicyResources.Strings.BLOCKED_FROM… 24 import static com.android.providers.media.photopicker.ui.DevicePolicyResources.Strings.WORK_PROFILE… 25 import static com.android.providers.media.photopicker.ui.DevicePolicyResources.Strings.WORK_PROFILE… 42 import com.android.providers.media.R; 43 import com.android.providers.media.photopicker.data.UserIdManager; [all …]
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/media/ |
D | AudioManagerHelper.java | 17 package android.car.builtin.media; 19 import static android.media.AudioAttributes.USAGE_VIRTUAL_SOURCE; 20 import static android.media.AudioManager.EXTRA_VOLUME_STREAM_TYPE; 21 import static android.media.AudioManager.GET_DEVICES_INPUTS; 22 import static android.media.AudioManager.GET_DEVICES_OUTPUTS; 23 import static android.media.AudioManager.MASTER_MUTE_CHANGED_ACTION; 24 import static android.media.AudioManager.VOLUME_CHANGED_ACTION; 36 import android.media.AudioAttributes; 37 import android.media.AudioAttributes.AttributeUsage; 38 import android.media.AudioDeviceInfo; [all …]
|