Home
last modified time | relevance | path

Searched refs:media (Results 1 – 25 of 1756) sorted by relevance

12345678910>>...71

/packages/modules/Media/apex/framework/api/
Dcurrent.txt2 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 …]
Dsystem-current.txt2 package android.media {
5media.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 …]
Dmodule-lib-current.txt2 package android.media {
6 …rSessionCallback(@NonNull java.util.concurrent.Executor, @NonNull android.media.MediaCommunication…
7 …method public void unregisterSessionCallback(@NonNull android.media.MediaCommunicationManager.Sess…
11 method public default void onSession2TokenCreated(@NonNull android.media.Session2Token);
12 …Api("com.android.media.mainline.flags.enable_pid_to_media_session_2") public default void onSessio…
13 …method public default void onSession2TokensChanged(@NonNull java.util.List<android.media.Session2T…
18 method public static void setMediaServiceManager(@NonNull android.media.MediaServiceManager);
24 …method @Deprecated @NonNull public static <T extends android.os.Parcelable> android.media.MediaPar…
28 …Null public static final android.os.Parcelable.ClassLoaderCreator<android.media.MediaParceledListS…
/packages/services/Car/car-lib/src/com/android/car/internal/annotation/
DAttributeUsage.java19 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/modules/Media/apex/framework/
DAndroid.bp23 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/providers/MediaProvider/src/com/android/providers/media/
DAccessChecker.java17 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 …]
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioUtils.java19 import static android.media.AudioDeviceInfo.TYPE_AUX_LINE;
20 import static android.media.AudioDeviceInfo.TYPE_BLE_BROADCAST;
21 import static android.media.AudioDeviceInfo.TYPE_BLE_HEADSET;
22 import static android.media.AudioDeviceInfo.TYPE_BLE_SPEAKER;
23 import static android.media.AudioDeviceInfo.TYPE_BLUETOOTH_A2DP;
24 import static android.media.AudioDeviceInfo.TYPE_BUILTIN_MIC;
25 import static android.media.AudioDeviceInfo.TYPE_BUILTIN_SPEAKER;
26 import static android.media.AudioDeviceInfo.TYPE_BUS;
27 import static android.media.AudioDeviceInfo.TYPE_HDMI;
28 import static android.media.AudioDeviceInfo.TYPE_USB_ACCESSORY;
[all …]
DAudioManagerWrapper.java20 import android.car.builtin.media.AudioManagerHelper;
21 import android.media.AudioAttributes;
22 import android.media.AudioDeviceAttributes;
23 import android.media.AudioDeviceCallback;
24 import android.media.AudioDeviceInfo;
25 import android.media.AudioFocusInfo;
26 import android.media.AudioFocusRequest;
27 import android.media.AudioManager;
28 import android.media.AudioManager.AudioPlaybackCallback;
29 import android.media.AudioManager.AudioServerStateCallback;
[all …]
DCarAudioPolicyVolumeCallback.java19 import static android.car.builtin.media.AudioManagerHelper.adjustToString;
20 import static android.car.media.CarAudioManager.INVALID_VOLUME_GROUP_ID;
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/modules/ImsMedia/service/src/com/android/telephony/imsmedia/
DUtils.java19 import android.hardware.radio.ims.media.CodecMode;
20 import android.hardware.radio.ims.media.CodecParams;
21 import android.hardware.radio.ims.media.CodecSpecificParams;
22 import android.hardware.radio.ims.media.DtmfParams;
23 import android.hardware.radio.ims.media.RtpAddress;
24 import android.hardware.radio.ims.media.RtpSessionParams;
129 private static android.hardware.radio.ims.media.AmrParams
131 final android.hardware.radio.ims.media.AmrParams amrParams = in buildAmrParams()
132 new android.hardware.radio.ims.media.AmrParams(); in buildAmrParams()
141 private static android.hardware.radio.ims.media.EvsParams
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/util/
DMetrics.java17 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 …]
DExifUtils.java17 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/libs/car-test-lib/src/android/car/testapi/
DFakeCarAudioService.java19 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.IAudioZoneConfigurationsChangeCallback;
29 import android.car.media.IAudioZonesMirrorStatusCallback;
30 import android.car.media.ICarAudio;
31 import android.car.media.ICarVolumeEventCallback;
[all …]
/packages/providers/MediaProvider/
DAndroid.bp46 "framework-media.stubs.module_lib",
81 certificate: "media",
83 privapp_allowlist: ":privapp_allowlist_com.android.providers.media.module.xml",
85 aaptflags: ["--custom-package com.android.providers.media"],
124 "src/com/android/providers/media/util/DatabaseUtils.java",
125 "src/com/android/providers/media/util/FileUtils.java",
126 "src/com/android/providers/media/util/ForegroundThread.java",
127 "src/com/android/providers/media/util/Logging.java",
128 "src/com/android/providers/media/util/MimeUtils.java",
129 "src/com/android/providers/media/util/StringUtils.java",
[all …]
/packages/apps/TV/tuner/src/com/google/android/exoplayer/
DMediaFormatUtil.java31 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/providers/MediaProvider/src/com/android/providers/media/photopicker/sync/
DMediaResetWorker.java17 package com.android.providers.media.photopicker.sync;
19 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_CLOUD_ONLY;
20 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_LOCAL_ONLY;
21 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_RESET_ALBUM;
22 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_RESET_MEDIA;
23 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_ALBU…
24 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_AUTH…
25 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_RESE…
26 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_INPUT_SYNC…
27 import static com.android.providers.media.photopicker.sync.PickerSyncManager.SYNC_WORKER_TAG_IS_PER…
[all …]
/packages/services/Car/car-lib/src/android/car/media/
DICarAudio.aidl17 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.IAudioZoneConfigurationsChangeCallback;
24 import android.car.media.IAudioZonesMirrorStatusCallback;
25 import android.car.media.ICarVolumeEventCallback;
26 import android.car.media.IMediaAudioRequestStatusCallback;
27 import android.car.media.IPrimaryZoneMediaAudioRequestCallback;
28 import android.car.media.ISwitchAudioZoneConfigCallback;
[all …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/
DAudioAutoStartActivity.java24 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/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowAudioManager.java19 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/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioUtilsTest.java19 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE;
20 import static android.media.AudioAttributes.USAGE_ASSISTANT;
21 import static android.media.AudioAttributes.USAGE_MEDIA;
22 import static android.media.AudioDeviceInfo.TYPE_AUX_LINE;
23 import static android.media.AudioDeviceInfo.TYPE_BLE_BROADCAST;
24 import static android.media.AudioDeviceInfo.TYPE_BLE_HEADSET;
25 import static android.media.AudioDeviceInfo.TYPE_BLE_SPEAKER;
26 import static android.media.AudioDeviceInfo.TYPE_BLUETOOTH_A2DP;
27 import static android.media.AudioDeviceInfo.TYPE_BUILTIN_MIC;
28 import static android.media.AudioDeviceInfo.TYPE_BUILTIN_SPEAKER;
[all …]
DHalAudioDeviceInfoBuilder.java19 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;
29 import android.media.audio.common.AudioDevice;
30 import android.media.audio.common.AudioDeviceAddress;
31 import android.media.audio.common.AudioDeviceDescription;
32 import android.media.audio.common.AudioPort;
33 import android.media.audio.common.AudioPortDeviceExt;
34 import android.media.audio.common.AudioPortExt;
100 audioPort.gains = new android.media.audio.common.AudioGain[] { in build()
[all …]
DAudioManagerWrapperTest.java19 import static android.media.AudioAttributes.USAGE_EMERGENCY;
20 import static android.media.AudioAttributes.USAGE_MEDIA;
21 import static android.media.AudioAttributes.USAGE_SAFETY;
22 import static android.media.AudioManager.ADJUST_LOWER;
23 import static android.media.AudioManager.AUDIOFOCUS_GAIN;
24 import static android.media.AudioManager.AUDIOFOCUS_REQUEST_GRANTED;
25 import static android.media.AudioManager.FLAG_FROM_KEY;
26 import static android.media.AudioManager.FLAG_SHOW_UI;
27 import static android.media.AudioManager.GET_DEVICES_OUTPUTS;
37 import android.car.builtin.media.AudioManagerHelper;
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarZonesAudioFocusTestBase.java20 import static android.media.AudioAttributes.USAGE_ALARM;
21 import static android.media.AudioAttributes.USAGE_ANNOUNCEMENT;
22 import static android.media.AudioAttributes.USAGE_ASSISTANCE_ACCESSIBILITY;
23 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE;
24 import static android.media.AudioAttributes.USAGE_ASSISTANCE_SONIFICATION;
25 import static android.media.AudioAttributes.USAGE_EMERGENCY;
26 import static android.media.AudioAttributes.USAGE_MEDIA;
27 import static android.media.AudioAttributes.USAGE_NOTIFICATION;
28 import static android.media.AudioAttributes.USAGE_NOTIFICATION_RINGTONE;
29 import static android.media.AudioAttributes.USAGE_SAFETY;
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/photopicker/
DDeviceStatePreserver.java17 package com.android.providers.media.photopicker;
19 import static com.android.providers.media.ConfigStore.NAMESPACE_MEDIAPROVIDER;
20 import static com.android.providers.media.photopicker.PhotoPickerCloudTestUtils.INVALID_CLOUD_PROVI…
21 import static com.android.providers.media.photopicker.PhotoPickerCloudTestUtils.disableCloudMediaAn…
22 import static com.android.providers.media.photopicker.PhotoPickerCloudTestUtils.enableCloudMediaAnd…
23 import static com.android.providers.media.photopicker.PhotoPickerCloudTestUtils.getAllowedProviders…
24 import static com.android.providers.media.photopicker.PhotoPickerCloudTestUtils.getCurrentCloudProv…
25 import static com.android.providers.media.photopicker.PhotoPickerCloudTestUtils.isCloudMediaEnabled;
26 import static com.android.providers.media.photopicker.PhotoPickerCloudTestUtils.setCloudProvider;
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioPlayer.java19 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 …]

12345678910>>...71