Home
last modified time | relevance | path

Searched refs:song (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java215 Song song = new Song(); in saveState() local
216 song.queueId = item.getQueueId(); in saveState()
218 song.mediaId = description.getMediaId(); in saveState()
219 song.title = description.getTitle().toString(); in saveState()
220 song.subtitle = description.getSubtitle().toString(); in saveState()
221 song.path = description.getExtras().getString(DataModel.PATH_KEY); in saveState()
223 playlist.songs[idx] = song; in saveState()
266 for (Song song : playlist.songs) { in maybeRebuildQueue()
267 File tmp = new File(song.path); in maybeRebuildQueue()
272 if (playlist.currentQueueId == song.queueId) { in maybeRebuildQueue()
[all …]
/packages/modules/Bluetooth/system/profile/avrcp/
Ddevice.cc671 for (const SongInfo& song : song_list) { in TrackChangedNotificationResponse() local
672 now_playing_ids_.insert(song.media_id); in TrackChangedNotificationResponse()
673 if (curr_song_id == song.media_id) { in TrackChangedNotificationResponse()
674 log::verbose("Found media ID match for {}", song.media_id); in TrackChangedNotificationResponse()
1377 (temp.type == ListItem::SONG && temp.song.media_id == media_id)) { in GetItemAttributesVFSResponse()
1384 filter_cover_art(item_requested.song); in GetItemAttributesVFSResponse()
1404 if (item_requested.song.attributes.find(attribute) != in GetItemAttributesVFSResponse()
1405 item_requested.song.attributes.end()) { in GetItemAttributesVFSResponse()
1407 *item_requested.song.attributes.find(attribute)); in GetItemAttributesVFSResponse()
1413 for (const auto& attribute : item_requested.song.attributes) { in GetItemAttributesVFSResponse()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/
DListItem.java22 public Metadata song; field in ListItem
31 song = s; in ListItem()
39 return new ListItem(song.clone()); in clone()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/
DBrowserPlayerWrapperTest.java401 Metadata song = item.song; in testGetFolderItems() local
402 Assert.assertNotNull(song); in testGetFolderItems()
403 Assert.assertEquals(expected.getDescription().getMediaId(), song.mediaId); in testGetFolderItems()
404 Assert.assertEquals(expected.getDescription().getTitle(), song.title); in testGetFolderItems()
405 Assert.assertEquals(expected.getDescription().getSubtitle(), song.artist); in testGetFolderItems()
406 Assert.assertEquals(expected.getDescription().getDescription(), song.album); in testGetFolderItems()
408 Assert.assertNotNull(song.image); in testGetFolderItems()
410 Assert.assertTrue(expectedBitmap.sameAs(song.image.getImage())); in testGetFolderItems()
412 Assert.assertTrue(mTestBitmap.sameAs(song.image.getImage())); in testGetFolderItems()
414 Assert.assertEquals(null, song.image); in testGetFolderItems()
/packages/modules/Bluetooth/system/packet/tests/avrcp/
Dget_folder_items_packet_test.cc113 auto song = MediaElementItem(0x02, "Test Title", attributes); in TEST() local
114 builder->AddSong(song); in TEST()
123 auto song = MediaElementItem(0x02, "Test Title", attributes); in TEST() local
124 builder->AddSong(song); in TEST()
193 auto song = MediaElementItem(0x01, "test song", std::set<AttributeEntry>()); in TEST() local
202 ASSERT_DEATH(builder->AddSong(song), in TEST()
/packages/apps/Car/VoiceControl/src/com/android/car/voicecontrol/actuators/
DMediaActuator.java181 private boolean playSongOnSource(String song, String source, TextToSpeech tts) { in playSongOnSource() argument
182 Log.i(TAG, "playSongOnSource(song: " + song + ", source: " + source + ")"); in playSongOnSource()
199 PlaybackStateCompat.ACTION_PLAY_FROM_SEARCH, song, in playSongOnSource()
224 private boolean playSongOnDefault(String song, TextToSpeech tts) { in playSongOnDefault() argument
225 Log.i(TAG, "playSongOnDefault(song: " + song + ")"); in playSongOnDefault()
228 song, R.string.speech_reply_not_ready_to_play, in playSongOnDefault()
250 String song = metadata.toString(); in informCurrentSong() local
251 tts.speak(R.string.speech_reply_playing_song, song, displayName); in informCurrentSong()
/packages/modules/Bluetooth/system/packet/tests/fuzzers/
Dget_folder_items_res_fuzzer.cc37 auto song = MediaElementItem(0x02, s, attributes); in LLVMFuzzerTestOneInput() local
38 builder->AddSong(song); in LLVMFuzzerTestOneInput()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpTargetService.java421 Metadata song = getCurrentSongInfo(); in getCurrentMediaId()
422 if (song != null && !song.mediaId.isEmpty()) return song.mediaId; in getCurrentMediaId()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_avrcp_target.cpp611 jobject song = sCallbackEnv->CallObjectMethod(song_list, method_get, i); in getNowPlayingList() local
612 ret.push_back(getSongInfoFromJavaObj(sCallbackEnv.get(), song)); in getNowPlayingList()
613 sCallbackEnv->DeleteLocalRef(song); in getNowPlayingList()
789 jobject song = env->GetObjectField(item, field_song); in getFolderItemsResponseNative() local
791 getSongInfoFromJavaObj(env, song)}; in getFolderItemsResponseNative()
793 env->DeleteLocalRef(song); in getFolderItemsResponseNative()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/
DBluetoothMediaBrowserService.java266 for (MediaItem song : songList) { in updateNowPlayingQueue()
269 song.getDescription(), mMediaQueue.size())); in updateNowPlayingQueue()
/packages/modules/Bluetooth/system/include/hardware/avrcp/
Davrcp.h71 SongInfo song; member
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/
DMediaPlayerList.java647 item.song.mediaId = playerPrefix.concat(item.song.mediaId); in getFolderItems()
/packages/modules/AdServices/adservices/tests/unittest/service-core/assets/classifier/
Dprecomputed_test_app_list.csv3325 quess.song.music.pop.quiz 10009
/packages/modules/AdServices/adservices/apk/assets/classifier/
Dprecomputed_app_list.csv3325 quess.song.music.pop.quiz 10009
/packages/inputmethods/LatinIME/dictionaries/
Dsv_wordlist.combined.gz
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Den_GB_wordlist.combined.gz
Den_US_wordlist.combined.gz
Den_wordlist.combined.gz
Dcs_wordlist.combined.gz
Dpl_wordlist.combined.gz
Dfr_wordlist.combined.gz
Dnl_wordlist.combined.gz
Dtr_wordlist.combined.gz1dictionary=main:tr,locale=tr,description=Türkçe,date=1414726261, ...
Dde_wordlist.combined.gz1dictionary=main:de,locale=de,description=Deutsch,date=1414726263, ...

12