• Home
  • Raw
  • Download

Lines Matching refs:null

153     public static IMediaPlaybackService sService = null;
164 return bindToService(context, null); in bindToService()
169 if (realActivity == null) { in bindToService()
180 return null; in bindToService()
184 if (token == null) { in unbindFromService()
190 if (sb == null) { in unbindFromService()
198 sService = null; in unbindFromService()
211 if (mCallback != null) { in onServiceConnected()
217 if (mCallback != null) { in onServiceDisconnected()
220 sService = null; in onServiceDisconnected()
225 if (sService != null) { in getCurrentAlbumId()
235 if (MusicUtils.sService != null) { in getCurrentArtistId()
245 if (MusicUtils.sService != null) { in getCurrentAudioId()
256 if (sService != null) { in getCurrentShuffleMode()
266 if (sService != null) { in togglePartyShuffle()
281 if (item != null) { in setPartyShuffleMenuIcon()
298 if (MusicUtils.sService != null) { in isMusicLoaded()
300 return sService.getPath() != null; in isMusicLoaded()
310 if (cursor == null) { in getSongListForCursor()
334 ccols, where, null, in getSongListForArtist()
337 if (cursor != null) { in getSongListForArtist()
350 ccols, where, null, MediaStore.Audio.Media.TRACK); in getSongListForAlbum()
352 if (cursor != null) { in getSongListForAlbum()
363 ccols, null, null, MediaStore.Audio.Playlists.Members.DEFAULT_SORT_ORDER); in getSongListForPlaylist()
365 if (cursor != null) { in getSongListForPlaylist()
375 if (list != null) { in playPlaylist()
383 null, null); in getAllSongs()
385 if (c == null || c.getCount() == 0) { in getAllSongs()
386 return null; in getAllSongs()
397 if (c != null) { in getAllSongs()
419 if (resolver == null) { in makePlaylistMenu()
424 cols, whereclause, null, in makePlaylistMenu()
429 if (cur != null && cur.getCount() > 0) { in makePlaylistMenu()
443 if (cur != null) { in makePlaylistMenu()
452 context.getContentResolver().delete(uri, null, null); in clearPlaylist()
470 where.toString(), null, null); in deleteTracks()
472 if (c != null) { in deleteTracks()
493 …t.getContentResolver().delete(MediaStore.Audio.Media.EXTERNAL_CONTENT_URI, where.toString(), null); in deleteTracks()
520 context.getContentResolver().notifyChange(Uri.parse("content://media"), null); in deleteTracks()
524 if (sService == null) { in addToCurrentPlaylist()
536 private static ContentValues[] sContentValuesCache = null;
550 if (sContentValuesCache == null || sContentValuesCache.length != len) { in makeInsertItems()
555 if (sContentValuesCache[i] == null) { in makeInsertItems()
565 if (ids == null) { in addToPlaylist()
578 Cursor cur = resolver.query(uri, cols, null, null, null); in addToPlaylist()
598 if (resolver == null) { in query()
599 return null; in query()
606 return null; in query()
618 new String [] { MediaStore.MEDIA_SCANNER_VOLUME }, null, null, null); in isMediaScannerScanning()
619 if (cursor != null) { in isMediaScannerScanning()
702 if (v != null) { in displayDatabaseError()
706 if (v != null) { in displayDatabaseError()
710 if (v != null) { in displayDatabaseError()
714 if (v != null) { in displayDatabaseError()
723 if (v != null) { in hideDatabaseError()
727 if (v != null) { in hideDatabaseError()
731 if (v != null) { in hideDatabaseError()
793 if (list.length == 0 || sService == null) { in playAll()
846 canvas.drawBitmap(mBitmap, 0, 0, null); in draw()
861 private static Bitmap mCachedBit = null;
898 Drawable d = null; in getCachedArtwork()
902 if (d == null) { in getCachedArtwork()
908 if (b != null) { in getCachedArtwork()
913 if (value == null) { in getCachedArtwork()
934 if (uri != null) { in getArtworkQuick()
935 ParcelFileDescriptor fd = null; in getArtworkQuick()
945 fd.getFileDescriptor(), null, sBitmapOptionsCache); in getArtworkQuick() local
957 fd.getFileDescriptor(), null, sBitmapOptionsCache); in getArtworkQuick()
959 if (b != null) { in getArtworkQuick()
973 if (fd != null) in getArtworkQuick()
979 return null; in getArtworkQuick()
1001 if (bm != null) { in getArtwork()
1008 return null; in getArtwork()
1013 if (uri != null) { in getArtwork()
1014 InputStream in = null; in getArtwork()
1017 return BitmapFactory.decodeStream(in, null, sBitmapOptions); in getArtwork()
1022 if (bm != null) { in getArtwork()
1023 if (bm.getConfig() == null) { in getArtwork()
1025 if (bm == null && allowdefault) { in getArtwork()
1035 if (in != null) { in getArtwork()
1043 return null; in getArtwork()
1049 Bitmap bm = null; in getArtworkFromFile()
1050 byte [] art = null; in getArtworkFromFile()
1051 String path = null; in getArtworkFromFile()
1061 if (pfd != null) { in getArtworkFromFile()
1068 if (pfd != null) { in getArtworkFromFile()
1076 if (bm != null) { in getArtworkFromFile()
1086 context.getResources().openRawResource(R.drawable.albumart_mp_unknown), null, opts); in getDefaultArtwork()
1111 resolver.update(ringUri, values, null, null); in setRingtone()
1126 cols, where , null, null); in setRingtone()
1128 if (cursor != null && cursor.getCount() == 1) { in setRingtone()
1136 if (cursor != null) { in setRingtone()
1148 if (intent != null) { in updateButtonBar()
1236 if (nowPlayingView == null) { in updateNowPlaying()
1242 if (intent != null) { in updateNowPlaying()
1245 if (true && MusicUtils.sService != null && MusicUtils.sService.getAudioId() != -1) { in updateNowPlaying()
1272 if (bm == null) { in setBackground()
1309 Cursor c = res.query(Uri.parse("content://media/external/fs_id"), null, null, null, null); in getCardId()
1311 if (c != null) { in getCardId()
1359 if (entry != null) { in debugDump()