/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/loader/ |
D | TmaMediaMetadataReader.java | 17 package com.android.car.media.testmediaapp.loader; 19 import static android.support.v4.media.MediaMetadataCompat.METADATA_KEY_ADVERTISEMENT; 20 import static android.support.v4.media.MediaMetadataCompat.METADATA_KEY_ALBUM; 21 import static android.support.v4.media.MediaMetadataCompat.METADATA_KEY_ALBUM_ART; 22 import static android.support.v4.media.MediaMetadataCompat.METADATA_KEY_ALBUM_ARTIST; 23 import static android.support.v4.media.MediaMetadataCompat.METADATA_KEY_ALBUM_ART_URI; 24 import static android.support.v4.media.MediaMetadataCompat.METADATA_KEY_ART; 25 import static android.support.v4.media.MediaMetadataCompat.METADATA_KEY_ARTIST; 26 import static android.support.v4.media.MediaMetadataCompat.METADATA_KEY_ART_URI; 27 import static android.support.v4.media.MediaMetadataCompat.METADATA_KEY_AUTHOR; [all …]
|
D | TmaMediaItemReader.java | 17 package com.android.car.media.testmediaapp.loader; 19 import static android.support.v4.media.MediaBrowserCompat.MediaItem.FLAG_BROWSABLE; 20 import static android.support.v4.media.MediaBrowserCompat.MediaItem.FLAG_PLAYABLE; 22 import static com.android.car.media.testmediaapp.TmaMediaEvent.INSTANT_PLAYBACK; 23 import static com.android.car.media.testmediaapp.loader.TmaLoaderUtils.enumNamesToValues; 24 import static com.android.car.media.testmediaapp.loader.TmaLoaderUtils.getArray; 25 import static com.android.car.media.testmediaapp.loader.TmaLoaderUtils.getEnum; 26 import static com.android.car.media.testmediaapp.loader.TmaLoaderUtils.getEnumArray; 27 import static com.android.car.media.testmediaapp.loader.TmaLoaderUtils.getInt; 28 import static com.android.car.media.testmediaapp.loader.TmaLoaderUtils.getString; [all …]
|
D | TmaMediaEventReader.java | 17 package com.android.car.media.testmediaapp.loader; 19 import static com.android.car.media.testmediaapp.loader.TmaLoaderUtils.enumNamesToValues; 20 import static com.android.car.media.testmediaapp.loader.TmaLoaderUtils.getEnum; 21 import static com.android.car.media.testmediaapp.loader.TmaLoaderUtils.getInt; 22 import static com.android.car.media.testmediaapp.loader.TmaLoaderUtils.getString; 28 import com.android.car.media.testmediaapp.TmaMediaEvent; 29 import com.android.car.media.testmediaapp.TmaMediaEvent.Action; 30 import com.android.car.media.testmediaapp.TmaMediaEvent.EventState; 31 import com.android.car.media.testmediaapp.TmaMediaEvent.ResolutionIntent; 32 import com.android.car.media.testmediaapp.TmaMediaEvent.StateErrorCode;
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/ |
D | TmaMediaEvent.java | 17 package com.android.car.media.testmediaapp; 19 import static android.support.v4.media.session.PlaybackStateCompat.ERROR_CODE_ACTION_ABORTED; 20 import static android.support.v4.media.session.PlaybackStateCompat.ERROR_CODE_APP_ERROR; 21 import static android.support.v4.media.session.PlaybackStateCompat.ERROR_CODE_AUTHENTICATION_EXPIRE… 22 import static android.support.v4.media.session.PlaybackStateCompat.ERROR_CODE_CONCURRENT_STREAM_LIM… 23 import static android.support.v4.media.session.PlaybackStateCompat.ERROR_CODE_CONTENT_ALREADY_PLAYI… 24 import static android.support.v4.media.session.PlaybackStateCompat.ERROR_CODE_END_OF_QUEUE; 25 import static android.support.v4.media.session.PlaybackStateCompat.ERROR_CODE_NOT_AVAILABLE_IN_REGI… 26 import static android.support.v4.media.session.PlaybackStateCompat.ERROR_CODE_NOT_SUPPORTED; 27 import static android.support.v4.media.session.PlaybackStateCompat.ERROR_CODE_PARENTAL_CONTROL_REST… [all …]
|
D | TmaPlayer.java | 17 package com.android.car.media.testmediaapp; 19 import static android.media.AudioManager.AUDIOFOCUS_GAIN; 20 import static android.media.AudioManager.AUDIOFOCUS_REQUEST_GRANTED; 21 import static android.support.v4.media.session.PlaybackStateCompat.ACTION_PAUSE; 22 import static android.support.v4.media.session.PlaybackStateCompat.ACTION_PLAY; 23 import static android.support.v4.media.session.PlaybackStateCompat.ACTION_PLAY_FROM_MEDIA_ID; 24 import static android.support.v4.media.session.PlaybackStateCompat.ACTION_PREPARE; 25 import static android.support.v4.media.session.PlaybackStateCompat.ACTION_SEEK_TO; 26 import static android.support.v4.media.session.PlaybackStateCompat.ACTION_SKIP_TO_NEXT; 27 import static android.support.v4.media.session.PlaybackStateCompat.ACTION_SKIP_TO_PREVIOUS; [all …]
|
D | TmaBrowser.java | 16 package com.android.car.media.testmediaapp; 18 import static com.android.car.media.testmediaapp.prefs.TmaEnumPrefs.TmaBrowseNodeType.LEAF_CHILDREN; 19 import static com.android.car.media.testmediaapp.prefs.TmaEnumPrefs.TmaBrowseNodeType.QUEUE_ONLY; 20 import static com.android.car.media.testmediaapp.prefs.TmaEnumPrefs.TmaLoginEventOrder.PLAYBACK_STA… 23 import android.media.AudioManager; 26 import android.support.v4.media.MediaBrowserCompat.MediaItem; 27 import android.support.v4.media.session.MediaSessionCompat; 28 import android.support.v4.media.session.PlaybackStateCompat; 33 import androidx.media.MediaBrowserServiceCompat; 35 import com.android.car.media.testmediaapp.loader.TmaLoader; [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/providers/MediaProvider/tests/src/com/android/providers/media/util/ |
D | PermissionUtilsTest.java | 17 package com.android.providers.media.util; 19 import static com.android.providers.media.util.PermissionUtils.checkNoIsolatedStorageGranted; 20 import static com.android.providers.media.util.PermissionUtils.checkPermissionDelegator; 21 import static com.android.providers.media.util.PermissionUtils.checkPermissionManager; 22 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadAudio; 23 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadImages; 24 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadStorage; 25 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadVideo; 26 import static com.android.providers.media.util.PermissionUtils.checkPermissionSelf; 27 import static com.android.providers.media.util.PermissionUtils.checkPermissionShell; [all …]
|
/packages/providers/MediaProvider/ |
D | Android.bp | 43 certificate: "media", 46 aaptflags: ["--custom-package com.android.providers.media"], 78 "src/com/android/providers/media/DatabaseHelper.java", 79 "src/com/android/providers/media/util/BackgroundThread.java", 80 "src/com/android/providers/media/util/DatabaseUtils.java", 81 "src/com/android/providers/media/util/FileUtils.java", 82 "src/com/android/providers/media/util/ForegroundThread.java", 83 "src/com/android/providers/media/util/HandlerExecutor.java", 84 "src/com/android/providers/media/util/Logging.java", 85 "src/com/android/providers/media/util/MimeUtils.java", [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/apps/Bluetooth/src/com/android/bluetooth/avrcp/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; 43 @NonNull public android.media.session.MediaController mDelegate; 44 public android.media.session.MediaController.TransportControls mTransportDelegate; 47 MediaController(@NonNull android.media.session.MediaController delegate) { in MediaController() 54 mDelegate = new android.media.session.MediaController(context, token); in MediaController() 59 public android.media.session.MediaController getWrappedInstance() { in getWrappedInstance() [all …]
|
/packages/apps/Car/Media/src/com/android/car/media/browse/ |
D | BrowseViewHolder.java | 17 package com.android.car.media.browse; 31 import com.android.car.media.MediaAppConfig; 32 import com.android.car.media.common.MediaItemMetadata; 55 mTitle = itemView.findViewById(com.android.car.media.R.id.title); in BrowseViewHolder() 56 mSubtitle = itemView.findViewById(com.android.car.media.R.id.subtitle); in BrowseViewHolder() 57 mAlbumArt = itemView.findViewById(com.android.car.media.R.id.thumbnail); in BrowseViewHolder() 58 mContainer = itemView.findViewById(com.android.car.media.R.id.container); in BrowseViewHolder() 59 mRightArrow = itemView.findViewById(com.android.car.media.R.id.right_arrow); in BrowseViewHolder() 61 com.android.car.media.R.id.download_icon_with_title); in BrowseViewHolder() 63 com.android.car.media.R.id.explicit_icon_with_title); in BrowseViewHolder() [all …]
|
D | BrowseItemViewType.java | 17 package com.android.car.media.browse; 26 HEADER(com.android.car.media.R.layout.media_browse_header_item), 28 GRID_ITEM(com.android.car.media.R.layout.media_browse_grid_item, 1), 30 ICON_GRID_ITEM(com.android.car.media.R.layout.media_browse_grid_icons_item, 1), 32 LIST_ITEM(com.android.car.media.R.layout.media_browse_list_item), 34 ICON_LIST_ITEM(com.android.car.media.R.layout.media_browse_list_icons_item), 37 SPACER(com.android.car.media.R.layout.media_browse_spacer);
|
/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/providers/MediaProvider/src/com/android/providers/media/ |
D | LocalCallingIdentity.java | 17 package com.android.providers.media; 24 import static com.android.providers.media.util.PermissionUtils.checkIsLegacyStorageGranted; 25 import static com.android.providers.media.util.PermissionUtils.checkPermissionDelegator; 26 import static com.android.providers.media.util.PermissionUtils.checkPermissionManager; 27 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadAudio; 28 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadImages; 29 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadStorage; 30 import static com.android.providers.media.util.PermissionUtils.checkPermissionReadVideo; 31 import static com.android.providers.media.util.PermissionUtils.checkPermissionSelf; 32 import static com.android.providers.media.util.PermissionUtils.checkPermissionShell; [all …]
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarAudioFocusUnitTest.java | 18 import static android.media.AudioAttributes.USAGE_ANNOUNCEMENT; 19 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE; 20 import static android.media.AudioAttributes.USAGE_ASSISTANT; 21 import static android.media.AudioAttributes.USAGE_EMERGENCY; 22 import static android.media.AudioAttributes.USAGE_MEDIA; 23 import static android.media.AudioAttributes.USAGE_NOTIFICATION_RINGTONE; 24 import static android.media.AudioAttributes.USAGE_VEHICLE_STATUS; 25 import static android.media.AudioAttributes.USAGE_VOICE_COMMUNICATION; 26 import static android.media.AudioManager.AUDIOFOCUS_GAIN; 27 import static android.media.AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK; [all …]
|
D | CarVolumeTest.java | 19 import static android.media.AudioAttributes.USAGE_ALARM; 20 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE; 21 import static android.media.AudioAttributes.USAGE_MEDIA; 22 import static android.media.AudioAttributes.USAGE_NOTIFICATION; 23 import static android.media.AudioAttributes.USAGE_VIRTUAL_SOURCE; 24 import static android.media.AudioAttributes.USAGE_VOICE_COMMUNICATION; 40 import android.media.AudioAttributes; 41 import android.media.AudioAttributes.AttributeUsage; 42 import android.media.AudioPlaybackConfiguration;
|
/packages/apps/Car/tests/TestMediaApp/src/com/android/car/media/testmediaapp/phone/ |
D | TmaLauncherActivity.java | 1 package com.android.car.media.testmediaapp.phone; 6 import android.support.v4.media.MediaBrowserCompat; 7 import android.support.v4.media.session.MediaControllerCompat; 8 import android.support.v4.media.session.MediaSessionCompat; 13 import com.android.car.media.testmediaapp.MediaKeys; 14 import com.android.car.media.testmediaapp.TmaBrowser; 15 import com.android.car.media.testmediaapp.prefs.TmaPrefsActivity; 16 import com.android.car.media.testmediaapp.R;
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | EpgTestData.java | 37 public static final androidx.tvprovider.media.tv.Channel CHANNEL_10 = 38 new androidx.tvprovider.media.tv.Channel.Builder() 43 public static final androidx.tvprovider.media.tv.Channel CHANNEL_11 = 44 new androidx.tvprovider.media.tv.Channel.Builder() 48 public static final androidx.tvprovider.media.tv.Channel CHANNEL_90_2 = 49 new androidx.tvprovider.media.tv.Channel.Builder() 171 androidx.tvprovider.media.tv.Channel... channels) { in toTvChannels() 174 new Function<androidx.tvprovider.media.tv.Channel, Channel>() { in toTvChannels() 176 public Channel apply(androidx.tvprovider.media.tv.Channel original) { in toTvChannels() 182 public static Channel toTvChannel(androidx.tvprovider.media.tv.Channel original) {
|
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/ |
D | ModernMediaScannerTest.java | 17 package com.android.providers.media.scan; 19 import static com.android.providers.media.scan.MediaScanner.REASON_UNKNOWN; 20 import static com.android.providers.media.scan.MediaScannerTest.stage; 21 import static com.android.providers.media.scan.ModernMediaScanner.shouldScanPathAndIsPathHidden; 22 import static com.android.providers.media.scan.ModernMediaScanner.isFileAlbumArt; 23 import static com.android.providers.media.scan.ModernMediaScanner.parseOptional; 24 import static com.android.providers.media.scan.ModernMediaScanner.parseOptionalDate; 25 import static com.android.providers.media.scan.ModernMediaScanner.parseOptionalDateTaken; 26 import static com.android.providers.media.scan.ModernMediaScanner.parseOptionalImageResolution; 27 import static com.android.providers.media.scan.ModernMediaScanner.parseOptionalMimeType; [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/scan/ |
D | ModernMediaScanner.java | 17 package com.android.providers.media.scan; 19 import static android.media.MediaMetadataRetriever.METADATA_KEY_ALBUM; 20 import static android.media.MediaMetadataRetriever.METADATA_KEY_ALBUMARTIST; 21 import static android.media.MediaMetadataRetriever.METADATA_KEY_ARTIST; 22 import static android.media.MediaMetadataRetriever.METADATA_KEY_AUTHOR; 23 import static android.media.MediaMetadataRetriever.METADATA_KEY_BITRATE; 24 import static android.media.MediaMetadataRetriever.METADATA_KEY_CAPTURE_FRAMERATE; 25 import static android.media.MediaMetadataRetriever.METADATA_KEY_CD_TRACK_NUMBER; 26 import static android.media.MediaMetadataRetriever.METADATA_KEY_COLOR_RANGE; 27 import static android.media.MediaMetadataRetriever.METADATA_KEY_COLOR_STANDARD; [all …]
|
/packages/services/Car/tests/carservice_test/src/android/media/tests/ |
D | AudioPolicyTest.java | 17 package android.media.tests; 23 import android.media.AudioAttributes; 24 import android.media.AudioFormat; 25 import android.media.AudioManager; 26 import android.media.AudioPatch; 27 import android.media.AudioPort; 28 import android.media.audiopolicy.AudioMix; 29 import android.media.audiopolicy.AudioMixingRule; 30 import android.media.audiopolicy.AudioPolicy;
|
/packages/apps/TV/src/com/android/tv/data/ |
D | PreviewDataManager.java | 27 import android.media.tv.TvContract; 36 import androidx.tvprovider.media.tv.ChannelLogoUtils; 37 import androidx.tvprovider.media.tv.PreviewProgram; 231 androidx.tvprovider.media.tv.Channel.PROJECTION, in doInBackground() 237 androidx.tvprovider.media.tv.Channel previewChannel = in doInBackground() 238 androidx.tvprovider.media.tv.Channel.fromCursor(cursor); in doInBackground() 251 androidx.tvprovider.media.tv.Channel.PROJECTION, in doInBackground() 257 androidx.tvprovider.media.tv.Channel previewChannel = in doInBackground() 258 androidx.tvprovider.media.tv.Channel.fromCursor(cursor); in doInBackground() 564 public static androidx.tvprovider.media.tv.Channel createPreviewChannel( in createPreviewChannel() [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarZonesAudioFocusTest.java | 19 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE; 20 import static android.media.AudioAttributes.USAGE_MEDIA; 21 import static android.media.AudioAttributes.USAGE_VOICE_COMMUNICATION; 22 import static android.media.AudioManager.AUDIOFOCUS_GAIN; 23 import static android.media.AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_MAY_DUCK; 24 import static android.media.AudioManager.AUDIOFOCUS_REQUEST_DELAYED; 25 import static android.media.AudioManager.AUDIOFOCUS_REQUEST_FAILED; 26 import static android.media.AudioManager.AUDIOFOCUS_REQUEST_GRANTED; 34 import android.car.media.CarAudioManager; 37 import android.media.AudioAttributes; [all …]
|