Home
last modified time | relevance | path

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

12

/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DAudioStore.java47 void onAudiosAdded(@NonNull Collection<Audio> audios); in onAudiosAdded()
66 mContentResolver.registerContentObserver(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in AudioStore()
77 ArrayList<Audio> audios = new ArrayList<>(); in load()
83 Uri contentUri = MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI; in load()
85 MediaStore.Audio.Artists._ID in load()
87 String sortOrder = MediaStore.Audio.Artists._ID; in load()
91 int idColumn = cursor.getColumnIndexOrThrow(MediaStore.Audio.Artists._ID); in load()
107 Uri contentUri = MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI; in load()
109 MediaStore.Audio.Albums._ID, in load()
110 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()
DMediaDb.java51 private final List<Audio> mAudios = new ArrayList<>();
87 public void onAudiosAdded(@NonNull Collection<Audio> audios) { in MediaDb()
218 public @NonNull List<Audio> getAudios() { in getAudios()
247 public void loadData(@NonNull Audio audio) { in loadData()
407 public @NonNull Audio getAudioById(long id) { in getAudioById()
408 for (Audio audio : mAudios) { in getAudioById()
522 private void addAudios(@NonNull Collection<Audio> audios) { in addAudios()
648 private void updateAudio(@NonNull Audio audio) { in updateAudio()
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()
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()
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/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DAudioPlayerActivity.java36 import com.android.pump.db.Audio;
48 public static void start(@NonNull Context context, @NonNull Audio audio) { in start()
50 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in start()
60 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Albums.EXTERNAL_CONTENT_URI, in start()
64 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Albums.CONTENT_TYPE); in start()
71 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Artists.EXTERNAL_CONTENT_URI, in start()
75 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Artists.CONTENT_TYPE); in start()
82 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Genres.EXTERNAL_CONTENT_URI, in start()
86 intent.setDataAndTypeAndNormalize(uri, MediaStore.Audio.Genres.CONTENT_TYPE); in start()
93 Uri uri = ContentUris.withAppendedId(MediaStore.Audio.Playlists.EXTERNAL_CONTENT_URI, in start()
[all …]
DPlaylistDetailsActivity.java40 import com.android.pump.db.Audio;
152 List<Audio> audios = mPlaylist.getAudios(); in updateViews()
153 for (Audio audio : audios) { in updateViews()
227 Audio audio = mPlaylist.getAudios().get(position); in onBindViewHolder()
253 private void bind(@NonNull Playlist playlist, @NonNull Audio audio) { in bind()
DAlbumDetailsActivity.java39 import com.android.pump.db.Audio;
177 Audio audio = mAlbum.getAudios().get(position); in onBindViewHolder()
203 private void bind(@NonNull Album album, @NonNull Audio audio) { in bind()
DGenreDetailsActivity.java39 import com.android.pump.db.Audio;
178 Audio audio = mGenre.getAudios().get(position); in onBindViewHolder()
204 private void bind(@NonNull Genre genre, @NonNull Audio audio) { in bind()
DArtistDetailsActivity.java40 import com.android.pump.db.Audio;
189 Audio audio = mArtist.getAudios().get(position); in onBindViewHolder()
215 private void bind(@NonNull Artist artist, @NonNull Audio audio) { in bind()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java110 import android.provider.MediaStore.Audio;
111 import android.provider.MediaStore.Audio.AudioColumns;
112 import android.provider.MediaStore.Audio.Playlists;
226 sDataColumns.put(MediaStore.Audio.PlaylistsColumns.DATA, null); in sDataColumns.put()
227 sDataColumns.put(MediaStore.Audio.AlbumColumns.ALBUM_ART, null); in sDataColumns.put()
662 consumer.accept(Audio.Media.getContentUri(volumeName, id)); in acceptWithExpansionInternal()
670 consumer.accept(Audio.Media.getContentUri(volumeName)); in acceptWithExpansionInternal()
683 consumer.accept(Audio.Genres.getContentUri(volumeName)); in acceptWithExpansionInternal()
684 consumer.accept(Audio.Playlists.getContentUri(volumeName)); in acceptWithExpansionInternal()
685 consumer.accept(Audio.Artists.getContentUri(volumeName)); in acceptWithExpansionInternal()
[all …]
DMediaDocumentsProvider.java49 import android.provider.MediaStore.Audio;
50 import android.provider.MediaStore.Audio.AlbumColumns;
51 import android.provider.MediaStore.Audio.Albums;
52 import android.provider.MediaStore.Audio.ArtistColumns;
53 import android.provider.MediaStore.Audio.Artists;
54 import android.provider.MediaStore.Audio.AudioColumns;
388 Audio.Media.EXTERNAL_CONTENT_URI, ident.id); in getUriForDocumentId()
458 query = Audio.Media.EXTERNAL_CONTENT_URI; in getDocumentMetadataFromIndex()
628 cursor = resolver.query(Audio.Media.EXTERNAL_CONTENT_URI, in queryDocument()
703 cursor = resolver.query(Audio.Artists.EXTERNAL_CONTENT_URI, in queryChildDocuments()
[all …]
/packages/apps/SoundRecorder/src/com/android/soundrecorder/
DSoundRecorder.java262 = android.provider.MediaStore.Audio.Media.EXTRA_MAX_BYTES; in onCreate()
539 Uri uri = MediaStore.Audio.Playlists.Members.getContentUri("external", playlistId); in addToPlaylist()
545 values.put(MediaStore.Audio.Playlists.Members.PLAY_ORDER, Integer.valueOf(base + audioId)); in addToPlaylist()
546 values.put(MediaStore.Audio.Playlists.Members.AUDIO_ID, audioId); in addToPlaylist()
554 Uri uri = MediaStore.Audio.Playlists.getContentUri("external"); in getPlaylistId()
555 final String[] ids = new String[] { MediaStore.Audio.Playlists._ID }; in getPlaylistId()
556 final String where = MediaStore.Audio.Playlists.NAME + "=?"; in getPlaylistId()
578 cv.put(MediaStore.Audio.Playlists.NAME, res.getString(R.string.audio_db_playlist_name)); in createPlaylist()
579 Uri uri = resolver.insert(MediaStore.Audio.Playlists.getContentUri("external"), cv); in createPlaylist()
607 cv.put(MediaStore.Audio.Media.IS_MUSIC, "0"); in addToMediaDB()
[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/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/apps/TV/tuner/proto/
Dchannel.proto95 // ISO/IEC 11172 Audio (MPEG-1)
97 // ISO/IEC 13818-3 Audio (MPEG-2)
99 // ISO/IEC 13818-7 Audio with ADTS transport syntax
103 // Dolby Digital Audio (ATSC)
105 // 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()
DPlaylistFragment.java43 import com.android.pump.db.Audio;
169 List<Audio> audios = playlist.getAudios(); in bind()
170 for (Audio audio : audios) { in bind()
/packages/providers/MediaProvider/src/com/android/providers/media/scan/
DPlaylistResolver.java176 final Uri audioUri = MediaStore.Audio.Media.getContentUri(MediaStore.getVolumeName(uri)); in resolvePlaylistItem()
186 op.withValue(MediaStore.Audio.Playlists.Members.PLAY_ORDER, itemIndex); in resolvePlaylistItem()
187 op.withValue(MediaStore.Audio.Playlists.Members.AUDIO_ID, cursor.getInt(0)); in resolvePlaylistItem()
193 return MediaStore.Audio.Playlists.Members.getContentUri(MediaStore.getVolumeName(uri), in getPlaylistMembersUri()
/packages/apps/Settings/tests/uitests/assets/
Dsearch_results_list52 Audio & on-screen text;audio_and_captions_category
53 Audio (music, ringtones, podcasts, etc.);storage_settings_music_space
93 Bluetooth Audio Bits Per Sample;bluetooth_select_a2dp_bits_per_sample
94 Bluetooth Audio Channel Mode;bluetooth_select_a2dp_channel_mode
95 Bluetooth Audio Codec;bluetooth_select_a2dp_codec
96 Bluetooth Audio LDAC Codec: Playback Quality;bluetooth_select_a2dp_ldac_playback_quality
97 Bluetooth Audio Sample Rate;bluetooth_select_a2dp_sample_rate
/packages/providers/MediaProvider/tests/src/com/android/providers/media/scan/
DModernMediaScannerTest.java269 final Uri membersUri = MediaStore.Audio.Playlists.Members in doPlaylist()
273 }, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER + " ASC")) { in doPlaylist()
290 }, null, null, MediaStore.Audio.Playlists.Members.PLAY_ORDER + " ASC")) { in doPlaylist()
DMediaScannerTest.java129 MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, in testCorrectness()
216 getCount(context, MediaStore.Audio.Media.EXTERNAL_CONTENT_URI), in getCounts()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
Dvoicemail_transcription.proto88 // Audio format of the voicemail file.
103 // Audio format of the voicemail file.

12