Home
last modified time | relevance | path

Searched refs:Audio (Results 1 – 25 of 76) sorted by relevance

1234

/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DAudioStore.java46 void onAudiosAdded(@NonNull Collection<Audio> audios); in onAudiosAdded()
65 mContentResolver.registerContentObserver(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in AudioStore()
76 ArrayList<Audio> audios = new ArrayList<>(); in load()
82 Uri contentUri = MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI; in load()
84 MediaStore.Audio.Artists._ID in load()
86 String sortOrder = MediaStore.Audio.Artists._ID; in load()
90 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Artists._ID); in load()
106 Uri contentUri = MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI; in load()
108 MediaStore.Audio.Albums._ID, in load()
109 MediaStore.Audio.Media.ARTIST_ID // TODO MediaStore.Audio.Albums.ARTIST_ID in load()
[all …]
DAudio.java24 public class Audio { class
34 Audio(long id, @NonNull String mimeType) { in Audio() method in Audio
93 return obj instanceof Audio && mId == ((Audio) obj).mId; in equals()
DPlaylist.java33 private final List<Audio> mAudios = new ArrayList<>();
48 public @NonNull List<Audio> getAudios() { in getAudios()
60 boolean addAudio(@NonNull Audio audio) { in addAudio()
DGenre.java33 private final List<Audio> mAudios = new ArrayList<>();
48 public @NonNull List<Audio> getAudios() { in getAudios()
60 boolean addAudio(@NonNull Audio audio) { in addAudio()
DAlbum.java38 private final List<Audio> mAudios = new ArrayList<>();
61 public @NonNull List<Audio> getAudios() { in getAudios()
101 boolean addAudio(@NonNull Audio audio) { in addAudio()
DArtist.java38 private final List<Audio> mAudios = new ArrayList<>();
57 public @NonNull List<Audio> getAudios() { in getAudios()
100 boolean addAudio(@NonNull Audio audio) { in addAudio()
/packages/providers/MediaProvider/tests/src/com/android/providers/media/
DDatabaseHelperTest.java40 import android.provider.MediaStore.Audio;
41 import android.provider.MediaStore.Audio.AudioColumns;
1327 + " artist_id AS " + Audio.Artists._ID in createSSchema()
1328 + ", MIN(artist) AS " + Audio.Artists.ARTIST in createSSchema()
1329 + ", artist_key AS " + Audio.Artists.ARTIST_KEY in createSSchema()
1330 + ", COUNT(DISTINCT album_id) AS " + Audio.Artists.NUMBER_OF_ALBUMS in createSSchema()
1331 + ", COUNT(DISTINCT _id) AS " + Audio.Artists.NUMBER_OF_TRACKS in createSSchema()
1338 + " album_id AS " + Audio.Albums._ID in createSSchema()
1339 + ", album_id AS " + Audio.Albums.ALBUM_ID in createSSchema()
1340 + ", MIN(album) AS " + Audio.Albums.ALBUM in createSSchema()
[all …]
DResolvePlaylistTest.java121 final Uri membersUri = MediaStore.Audio.Playlists.Members in doPlaylist()
125 }, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER + " ASC")) { in doPlaylist()
146 }, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER + " ASC")) { in doPlaylist()
166 }, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER + " ASC")) { in doPlaylist()
200 final Uri membersUri = MediaStore.Audio.Playlists.Members in testBrokenPlaylistM3u()
222 final Uri playlistUri = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI; in testPlaylistDeletion()
236 final Uri membersUri = MediaStore.Audio.Playlists.Members in testPlaylistDeletion()
256 final Uri playlistUri = MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI; in testPlaylistMembersDeletion()
265 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, null); in testPlaylistMembersDeletion()
270 final Uri membersUri = MediaStore.Audio.Playlists.Members in testPlaylistMembersDeletion()
DMediaProviderTest.java59 import android.provider.MediaStore.Audio.AudioColumns;
451 MediaStore.Audio.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), values); in testCheckUriPermission()
585 final Uri targetUri = MediaStore.Audio.Media in testBulkInsert()
767 … buildFile(MediaStore.Audio.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in testBuildData_InvalidTypes()
797 buildFile(MediaStore.Audio.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY), in testBuildData_InvalidSecondaryTypes()
1458 testQueryAudioViewsNoItemWithColumn(MediaStore.Audio.Media.IS_TRASHED); in testQueryAudioViewsNoTrashedItem()
1463 testQueryAudioViewsNoItemWithColumn(MediaStore.Audio.Media.IS_PENDING); in testQueryAudioViewsNoPendingItem()
1475 MediaStore.Audio.Media.getContentUri(MediaStore.VOLUME_EXTERNAL_PRIMARY); in testQueryAudioViewsNoItemWithColumn()
1483 values.put(MediaStore.Audio.Media.ALBUM, album); in testQueryAudioViewsNoItemWithColumn()
1484 values.put(MediaStore.Audio.Media.ARTIST, artist); in testQueryAudioViewsNoItemWithColumn()
[all …]
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DAudioPlayerActivity.java38 import com.android.pump.db.Audio;
51 public static void start(@NonNull Context context, @NonNull Audio audio) { in start()
53 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in start()
63 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI, in start()
67 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Albums.CONTENT_TYPE); in start()
74 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI, in start()
78 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Artists.CONTENT_TYPE); in start()
85 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI, in start()
89 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Genres.CONTENT_TYPE); in start()
96 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in start()
[all …]
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DDataModel.java31 import android.provider.MediaStore.Audio.AlbumColumns;
32 import android.provider.MediaStore.Audio.AudioColumns;
49 MediaStore.Audio.Media.INTERNAL_CONTENT_URI,
50 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI
54 MediaStore.Audio.Albums.INTERNAL_CONTENT_URI,
55 MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI
59 MediaStore.Audio.Artists.INTERNAL_CONTENT_URI,
60 MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI
64 MediaStore.Audio.Genres.INTERNAL_CONTENT_URI,
65 MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI
[all …]
/packages/modules/AdServices/adservices/apk/assets/classifier/
Dtopic_id_to_name.csv29 10028 /Arts & Entertainment/Music & Audio
30 10029 /Arts & Entertainment/Music & Audio/Blues
31 10030 /Arts & Entertainment/Music & Audio/Classical Music
32 10031 /Arts & Entertainment/Music & Audio/Country Music
33 10032 /Arts & Entertainment/Music & Audio/Dance & Electronic Music
34 10033 /Arts & Entertainment/Music & Audio/Folk & Traditional Music
35 10034 /Arts & Entertainment/Music & Audio/Jazz
36 10035 /Arts & Entertainment/Music & Audio/Music Streams & Downloads
37 10036 /Arts & Entertainment/Music & Audio/Music Videos
38 10037 /Arts & Entertainment/Music & Audio/Musical Instruments
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DDatabaseHelper.java48 import android.provider.MediaStore.Audio;
1358 MediaStore.Audio.PlaylistsColumns.NAME, in migratePlaylistFiles()
1396 cursor.getColumnIndex(MediaStore.Audio.PlaylistsColumns.NAME)); in migratePlaylistFiles()
1409 MediaStore.Audio.Playlists.Members.getContentUri(mVolumeName, rowId)); in migratePlaylistFiles()
1423 MediaStore.Audio.Playlists.Members.AUDIO_ID, in createPlaylistFile()
1424 MediaStore.Audio.Playlists.Members.PLAY_ORDER, in createPlaylistFile()
1430 Audio.Playlists.Members.DEFAULT_SORT_ORDER)) { in createPlaylistFile()
1502 sMigrateColumns.add(MediaStore.Audio.AudioColumns.BOOKMARK);
1541 + getColumnsForCollection(Audio.Playlists.class) in createLatestViews()
1565 + getColumnsForCollection(Audio.Media.class) in createLatestViews()
[all …]
/packages/providers/MediaProvider/tests/client/src/com/android/providers/media/client/
DPublicVolumePlaylistTest.java82 final Uri externalPlaylists = MediaStore.Audio.Playlists in testEjectedVolume()
88 final Uri members = MediaStore.Audio.Playlists.Members in testEjectedVolume()
100 MediaStore.Audio.Media.getContentUri(volumeName), values); in testEjectedVolume()
106 values.put(MediaStore.Audio.Playlists.Members.AUDIO_ID, ContentUris.parseId(audioUri)); in testEjectedVolume()
113 MediaStore.Audio.Playlists.Members.AUDIO_ID}, Bundle.EMPTY, null)) { in testEjectedVolume()
120 MediaStore.Audio.Playlists.Members.AUDIO_ID}, Bundle.EMPTY, null)) { in testEjectedVolume()
DLegacyProviderMigrationTest.java47 import android.provider.MediaStore.Audio.AudioColumns;
115 mExternalAudio = MediaStore.Audio.Media.getContentUri(mVolumeName); in setUp()
120 Uri playlists = MediaStore.Audio.Playlists.getContentUri(mVolumeName); in setUp()
272 playlist.put(MediaStore.Audio.PlaylistsColumns.NAME, playlistName); in testLegacy_PlaylistMap()
278 playlistMap.put(MediaStore.Audio.Playlists.Members.PLAY_ORDER, 1); in testLegacy_PlaylistMap()
290 MediaStore.Audio.Playlists.Members.getContentUri(mVolumeName, playlistId) in testLegacy_PlaylistMap()
304 playlistMap.put(MediaStore.Audio.Playlists.Members.PLAYLIST_ID, playlistId); in testLegacy_PlaylistMap()
305 playlistMap.put(MediaStore.Audio.Playlists.Members.AUDIO_ID, audioId); in testLegacy_PlaylistMap()
313 playlistMap.put(MediaStore.Audio.Playlists.Members.AUDIO_ID, 4); in testLegacy_PlaylistMap()
340 playlistMap.getAsLong(MediaStore.Audio.Playlists.Members.PLAYLIST_ID); in testLegacy_PlaylistMap()
[all …]
DClientPlaylistTest.java37 import android.provider.MediaStore.Audio.Playlists;
77 private final Uri mExternalAudio = MediaStore.Audio.Media
79 private final Uri mExternalPlaylists = MediaStore.Audio.Playlists
135 final Uri membersUri = MediaStore.Audio.Playlists.Members in testAdd()
169 MediaStore.Audio.Playlists.getContentUri(VOLUME_EXTERNAL), playlistId); in testMove()
227 MediaStore.Audio.Playlists.getContentUri(VOLUME_EXTERNAL_PRIMARY), playlistId); in testRemove()
263 final Uri members = MediaStore.Audio.Playlists.Members in testVolumeName()
271 try (Cursor c = mContentResolver.query(MediaStore.Audio.Media.INTERNAL_CONTENT_URI, in testVolumeName()
301 final Uri externalVolumePlaylistUri = MediaStore.Audio.Playlists in createPlaylist()
310 final Uri members = MediaStore.Audio.Playlists.Members in createPlaylist()
[all …]
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DModernMediaScannerTest.java64 import android.provider.MediaStore.Audio.AudioColumns;
555 assertQueryCount(1, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter()
557 assertQueryCount(1, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter()
559 assertQueryCount(1, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter()
563 assertQueryCount(1, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter()
567 assertQueryCount(0, MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI in testFilter()
571 assertQueryCount(0, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter()
573 assertQueryCount(0, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI in testFilter()
777 .query(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, null, null, null, null)) { in testScan_audio_empty_title()
796 .query(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, null, null, null, null)) { in testScan_audio_recording()
[all …]
/packages/apps/Music/kotlin/src/com/android/music/
DAudioPreview.kt122 val titleIdx: Int = cursor.getColumnIndex(MediaStore.Audio.Media.TITLE) in onCreate()
123 val artistIdx: Int = cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST) in onCreate()
124 val idIdx: Int = cursor.getColumnIndex(MediaStore.Audio.Media._ID) in onCreate()
155 …ndler.startQuery(0, null, mUri, arrayOf<String>(MediaStore.Audio.Media.TITLE, MediaStore.Audio.Med… in onCreate()
167 …artQuery(0, null, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, arrayOf<String>(MediaStore.Audio.Me… in onCreate()
168 …MediaStore.Audio.Media.ARTIST), MediaStore.Audio.Media.DATA.toString() + "=?", arrayOf(path), null) in onCreate()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java133 int titleIdx = cursor.getColumnIndex(MediaStore.Audio.Media.TITLE); in onCreate()
134 int artistIdx = cursor.getColumnIndex(MediaStore.Audio.Media.ARTIST); in onCreate()
135 int idIdx = cursor.getColumnIndex(MediaStore.Audio.Media._ID); in onCreate()
171 new String[] {MediaStore.Audio.Media.TITLE, MediaStore.Audio.Media.ARTIST}, in onCreate()
183 mAsyncQueryHandler.startQuery(0, null, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in onCreate()
184 new String[] {MediaStore.Audio.Media._ID, MediaStore.Audio.Media.TITLE, in onCreate()
185 MediaStore.Audio.Media.ARTIST}, in onCreate()
186 MediaStore.Audio.Media.DATA + "=?", new String[] {path}, null); in onCreate()
/packages/providers/MediaProvider/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt23 Landroid/provider/MediaStore$Audio$AudioColumns;->ALBUM_ARTIST:Ljava/lang/String;
24 Landroid/provider/MediaStore$Audio$AudioColumns;->COMPILATION:Ljava/lang/String;
25 Landroid/provider/MediaStore$Audio$AudioColumns;->GENRE:Ljava/lang/String;
26 Landroid/provider/MediaStore$Audio$AudioColumns;->TITLE_RESOURCE_URI:Ljava/lang/String;
27 Landroid/provider/MediaStore$Audio$Media;->EXTERNAL_PATHS:[Ljava/lang/String;
28 Landroid/provider/MediaStore$Audio$Radio;-><init>()V
/packages/modules/Bluetooth/flags/
Dleaudio.aconfig51 description: "Support Dynamic Spatial Audio for LE Audio"
79 description: "Better LE Audio devices detection"
188 description: "Fix for if HFP- LE Audio handover happened, LE audio resume active after the call"
198 description: "Enable Le Audio for LeAudio only devices"
235 …description: "Introduce getting active state for LE Audio to avoid unnecessary broadcast handover …
245 description: "Set base ecosystem interval when LE Audio is in use"
372 description: "Use Audio Mode listener instead of Telecom in call callback"
/packages/providers/MediaProvider/apex/framework/api/
Dcurrent.txt193 public static final class MediaStore.Audio {
194 ctor public MediaStore.Audio();
198 public static interface MediaStore.Audio.AlbumColumns {
212 …ic static final class MediaStore.Audio.Albums implements android.provider.BaseColumns android.prov…
213 ctor public MediaStore.Audio.Albums();
222 public static interface MediaStore.Audio.ArtistColumns {
229 …ic static final class MediaStore.Audio.Artists implements android.provider.BaseColumns android.pro…
230 ctor public MediaStore.Audio.Artists();
239 …tatic final class MediaStore.Audio.Artists.Albums implements android.provider.BaseColumns android.…
240 ctor public MediaStore.Audio.Artists.Albums();
[all …]
/packages/apps/TV/tuner/proto/
Dchannel.proto92 // ISO/IEC 11172 Audio (MPEG-1)
94 // ISO/IEC 13818-3 Audio (MPEG-2)
96 // ISO/IEC 13818-7 Audio with ADTS transport syntax
100 // Dolby Digital Audio (ATSC)
102 // Dolby Digital Plus Audio (ATSC)ISO/IEC 14496-2Video (MPEG-1)
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DAudioFragment.java37 import com.android.pump.db.Audio;
68 …private final List<Audio> mAudios; // TODO(b/123710968) Use android.support.v7.util.SortedList/and…
101 Audio audio = mAudios.get(position - 1); in onBindViewHolder()
143 private void bind(@NonNull Audio audio) { in bind()
/packages/modules/Bluetooth/pandora/interfaces/pandora_experimental/
Dasha.proto24 // Service to trigger Audio Streaming for Hearing Aid (ASHA) procedures.
29 // Capture Audio.
55 // Audio data received on peripheral side.
73 // Audio data to playback.

1234