Lines Matching refs:mService

54     private final MusicService mService;  field in MediaNotificationManager
74 mService = service; in MediaNotificationManager()
77 mNotificationColor = ResourceHelper.getThemeColor(mService, in MediaNotificationManager()
80 mNotificationManager = (NotificationManager) mService in MediaNotificationManager()
83 String pkg = mService.getPackageName(); in MediaNotificationManager()
84 mPauseIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager()
86 mPlayIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager()
88 mPreviousIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager()
90 mNextIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager()
117 mService.registerReceiver(this, filter); in startNotification()
119 mService.startForeground(NOTIFICATION_ID, notification); in startNotification()
135 mService.unregisterReceiver(this); in stopNotification()
139 mService.stopForeground(true); in stopNotification()
171 MediaSession.Token freshToken = mService.getSessionToken(); in updateSessionToken()
177 mController = new MediaController(mService, mSessionToken); in updateSessionToken()
186 Intent openUI = new Intent(mService, MusicPlayerActivity.class); in createContentIntent()
188 return PendingIntent.getActivity(mService, REQUEST_CODE, openUI, in createContentIntent()
232 Notification.Builder notificationBuilder = new Notification.Builder(mService); in createNotification()
238 mService.getString(R.string.label_previous), mPreviousIntent); in createNotification()
252 mService.getString(R.string.label_next), mNextIntent); in createNotification()
268 art = BitmapFactory.decodeResource(mService.getResources(), in createNotification()
301 label = mService.getString(R.string.label_pause); in addPlayPauseAction()
305 label = mService.getString(R.string.label_play); in addPlayPauseAction()
316 mService.stopForeground(true); in setNotificationPlaybackState()