Home
last modified time | relevance | path

Searched refs:sService (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Music/src/com/android/music/
DMusicUtils.java153 public static IMediaPlaybackService sService = null; field in MusicUtils
198 sService = null; in unbindFromService()
209 sService = IMediaPlaybackService.Stub.asInterface(service); in onServiceConnected()
220 sService = null; in onServiceDisconnected()
225 if (sService != null) { in getCurrentAlbumId()
227 return sService.getAlbumId(); in getCurrentAlbumId()
235 if (MusicUtils.sService != null) { in getCurrentArtistId()
237 return sService.getArtistId(); in getCurrentArtistId()
245 if (MusicUtils.sService != null) { in getCurrentAudioId()
247 return sService.getAudioId(); in getCurrentAudioId()
[all …]
DTrackBrowserActivity.java398 int cur = MusicUtils.sService.getQueuePosition(); in init()
553 if (MusicUtils.sService != null in removePlaylistItem()
554 && which != MusicUtils.sService.getQueuePosition()) { in removePlaylistItem()
604 if (MusicUtils.sService == null) {
609 Cursor c = new NowPlayingCursor(MusicUtils.sService, mCursorCols);
808 if (curpos != MusicUtils.sService.getQueuePosition()) { in removeItem()
894 if (MusicUtils.sService != null) {
896 MusicUtils.sService.setQueuePosition(position);
1030 if (MusicUtils.sService != null) {
1031 ret = new NowPlayingCursor(MusicUtils.sService, mCursorCols);
[all …]
DMediaPickerActivity.java124 if (MusicUtils.sService != null) { in onListItemClick()
126 MusicUtils.sService.stop(); in onListItemClick()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java229 private static NfcService sService; field in NfcService
232 return sService; in getInstance()
311 sService = this; in NfcService()