Home
last modified time | relevance | path

Searched refs:audio (Results 1 – 25 of 90) sorted by relevance

1234

/packages/apps/UniversalMediaPlayer/java/com/android/pump/db/
DAudioStore.java162 Audio audio = new Audio(id, mimeType); in load() local
163 audios.add(audio); in load()
169 audio.setArtist(artist); in load()
170 artist.addAudio(audio); in load()
176 audio.setAlbum(album); in load()
177 album.addAudio(audio); in load()
241 boolean loadData(@NonNull Audio audio) { in loadData() argument
251 String[] selectionArgs = { Long.toString(audio.getId()) }; in loadData()
263 updated |= audio.setTitle(title); in loadData()
268 updated |= audio.setArtist(artist); in loadData()
[all …]
DMediaDb.java247 public void loadData(@NonNull Audio audio) { in loadData() argument
249 if (audio.isLoaded()) return; in loadData()
252 boolean updated = mAudioStore.loadData(audio); in loadData()
254 audio.setLoaded(); in loadData()
256 Executors.uiThreadExecutor().execute(() -> updateAudio(audio)); in loadData()
408 for (Audio audio : mAudios) { in getAudioById()
409 if (audio.getId() == id) { in getAudioById()
410 return audio; in getAudioById()
648 private void updateAudio(@NonNull Audio audio) { in updateAudio() argument
649 int index = mAudios.indexOf(audio); in updateAudio()
DPlaylist.java60 boolean addAudio(@NonNull Audio audio) { in addAudio() argument
61 if (mAudios.contains(audio)) { in addAudio()
64 return mAudios.add(audio); in addAudio()
DGenre.java60 boolean addAudio(@NonNull Audio audio) { in addAudio() argument
61 if (mAudios.contains(audio)) { in addAudio()
64 return mAudios.add(audio); in addAudio()
DAlbum.java101 boolean addAudio(@NonNull Audio audio) { in addAudio() argument
102 if (mAudios.contains(audio)) { in addAudio()
105 return mAudios.add(audio); in addAudio()
DArtist.java100 boolean addAudio(@NonNull Audio audio) { in addAudio() argument
101 if (mAudios.contains(audio)) { in addAudio()
104 return mAudios.add(audio); in addAudio()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DAudioFragment.java101 Audio audio = mAudios.get(position - 1); in onBindViewHolder() local
102 mMediaDb.loadData(audio); // TODO Where should we call this? In bind()? in onBindViewHolder()
103 ((AudioViewHolder) holder).bind(audio); in onBindViewHolder()
119 return position == 0 ? R.layout.header : R.layout.audio; in getItemViewType()
143 private void bind(@NonNull Audio audio) { in bind() argument
148 Album album = audio.getAlbum(); in bind()
150 titleView.setText(audio.getTitle()); in bind()
151 Artist artist = audio.getArtist(); in bind()
155 AudioPlayerActivity.start(view.getContext(), audio)); in bind() local
DPlaylistFragment.java170 for (Audio audio : audios) { in bind()
171 Album album = audio.getAlbum(); in bind()
176 Artist artist = audio.getArtist(); in bind()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DGenreDetailsActivity.java178 Audio audio = mGenre.getAudios().get(position); in onBindViewHolder() local
179 mMediaDb.loadData(audio); // TODO Where should we call this? In bind()? in onBindViewHolder()
180 ((AudioViewHolder) holder).bind(mGenre, audio); in onBindViewHolder()
195 return R.layout.audio; in getItemViewType()
204 private void bind(@NonNull Genre genre, @NonNull Audio audio) { in bind() argument
209 Album album = audio.getAlbum(); in bind()
211 titleView.setText(audio.getTitle()); in bind()
212 Artist artist = audio.getArtist(); in bind()
216 AudioPlayerActivity.start(view.getContext(), audio)); in bind() local
DPlaylistDetailsActivity.java153 for (Audio audio : audios) { in updateViews()
154 Album album = audio.getAlbum(); in updateViews()
227 Audio audio = mPlaylist.getAudios().get(position); in onBindViewHolder() local
228 mMediaDb.loadData(audio); // TODO Where should we call this? In bind()? in onBindViewHolder()
229 ((AudioViewHolder) holder).bind(mPlaylist, audio); in onBindViewHolder()
244 return R.layout.audio; in getItemViewType()
253 private void bind(@NonNull Playlist playlist, @NonNull Audio audio) { in bind() argument
258 Album album = audio.getAlbum(); in bind()
260 titleView.setText(audio.getTitle()); in bind()
261 Artist artist = audio.getArtist(); in bind()
DAlbumDetailsActivity.java177 Audio audio = mAlbum.getAudios().get(position); in onBindViewHolder() local
178 mMediaDb.loadData(audio); // TODO Where should we call this? In bind()? in onBindViewHolder()
179 ((AudioViewHolder) holder).bind(mAlbum, audio); in onBindViewHolder()
194 return R.layout.audio; in getItemViewType()
203 private void bind(@NonNull Album album, @NonNull Audio audio) { in bind() argument
209 titleView.setText(audio.getTitle()); in bind()
210 Artist artist = audio.getArtist(); in bind()
214 AudioPlayerActivity.start(view.getContext(), audio)); in bind() local
DArtistDetailsActivity.java189 Audio audio = mArtist.getAudios().get(position); in onBindViewHolder() local
190 mMediaDb.loadData(audio); // TODO Where should we call this? In bind()? in onBindViewHolder()
191 ((AudioViewHolder) holder).bind(mArtist, audio); in onBindViewHolder()
206 return R.layout.audio; in getItemViewType()
215 private void bind(@NonNull Artist artist, @NonNull Audio audio) { in bind() argument
220 Album album = audio.getAlbum(); in bind()
222 titleView.setText(audio.getTitle()); in bind()
226 AudioPlayerActivity.start(view.getContext(), audio)); in bind() local
DAudioPlayerActivity.java51 public static void start(@NonNull Context context, @NonNull Audio audio) { in start() argument
54 audio.getId()); in start()
56 intent.setDataAndTypeAndNormalize(uri, audio.getMimeType()); in start()
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/
DStorageItemPreferenceControllerTest.java281 final StorageItemPreference audio = new StorageItemPreference(mContext); in testMeasurementCompletedUpdatesPreferences() local
292 .thenReturn(audio); in testMeasurementCompletedUpdatesPreferences()
323 assertThat(audio.getSummary().toString()).isEqualTo("0.14 GB"); in testMeasurementCompletedUpdatesPreferences()
333 final StorageItemPreference audio = spy(new StorageItemPreference(mContext)); in settingUserIdAppliesNewIcons() local
334 audio.setIcon(R.drawable.ic_media_stream); in settingUserIdAppliesNewIcons()
351 .thenReturn(audio); in settingUserIdAppliesNewIcons()
366 verify(audio, times(2)).setIcon(nullable(Drawable.class)); in settingUserIdAppliesNewIcons()
377 final StorageItemPreference audio = new StorageItemPreference(mContext); in displayPreference_dontHideFilePreferenceWhenEmulatedInternalStorageUsed() local
387 .thenReturn(audio); in displayPreference_dontHideFilePreferenceWhenEmulatedInternalStorageUsed()
407 final StorageItemPreference audio = new StorageItemPreference(mContext); in displayPreference_hideFilePreferenceWhenEmulatedStorageUnreadable() local
[all …]
/packages/services/Car/tests/BugReportApp/
DREADME.md12 5. Otherwise it creates MetaBugReport record in a local db and starts recording audio message.
13 6. When the submit button is clicked, it saves the audio message in temp directory and starts
59 - generates `MetaBugReport.Type.INTERACTIVE` bug report, shows audio message dialog before
62 - generates `MetaBugReport.Type.SILENT` bug report, without audio message. It shows audio dialog
88 * Audio files - they should contain the audio message you recorded.
/packages/providers/MediaProvider/tools/genfiles/
Dgenfiles.sh133audio._data from audio_playlists left outer join audio_playlists_map on audio_playlists._id=audio_…
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java30 import com.android.tv.tuner.exoplayer.audio.MpegTsDefaultAudioTrackRenderer;
31 import com.android.tv.tuner.exoplayer.audio.MpegTsMediaCodecAudioTrackRenderer;
44 import com.google.android.exoplayer.audio.AudioCapabilities;
45 import com.google.android.exoplayer.audio.AudioTrack;
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DAudioCapabilitiesReceiverV2Wrapper.java22 import com.google.android.exoplayer2.audio.AudioCapabilities;
23 import com.google.android.exoplayer2.audio.AudioCapabilitiesReceiver;
DAudioCapabilitiesReceiverV1Wrapper.java22 import com.google.android.exoplayer.audio.AudioCapabilities;
23 import com.google.android.exoplayer.audio.AudioCapabilitiesReceiver;
/packages/apps/TV/tuner/proto/
Dtrack.proto24 // Represents a AC3 audio track.
32 // Enum describing the types of a audio track.
Dchannel.proto90 // Enum describing the types of audio stream.
98 // ISO/IEC 14496-3 (MPEG-4 LOAS multi-format framed audio)
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/audio/
DAudioTrackWrapper.java17 package com.android.tv.tuner.exoplayer.audio;
21 import com.google.android.exoplayer.audio.AudioTrack;
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/
DMediaView.java80 Bundle audio = metadata.getBundle(Shared.METADATA_KEY_AUDIO); in accept() local
81 if (audio != null) { in accept()
82 showAudioData(this, audio); in accept()
/packages/apps/Dialer/java/com/android/voicemail/impl/transcribe/grpc/
Dvoicemail_transcription.proto11 // Enum that specifies supported audio formats.
84 // Voicemail audio file containing the raw bytes we receive from the carrier.
99 // Voicemail audio data encoded in the format specified by audio_format.
/packages/providers/MediaProvider/tests/res/raw/
Dtest_pls.pls10 Title2=Just some local audio that is 2mins long

1234