/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MediaNotificationManager.java | 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() [all …]
|
D | Playback.java | 63 private final MusicService mService; field in Playback 90 mService.startService(i); 97 this.mService = service; in Playback() 417 mMediaPlayer.setWakeMode(mService.getApplicationContext(), in createMediaPlayerIfNeeded() 441 mService.stopForeground(true); in relaxResources() 458 mService.registerReceiver(mAudioNoisyReceiver, mAudioNoisyIntentFilter); in registerAudioNoisyReceiver() 465 mService.unregisterReceiver(mAudioNoisyReceiver); in unregisterAudioNoisyReceiver()
|
/development/samples/Support4Demos/src/com/example/android/supportv4/media/ |
D | MediaNotificationManager.java | 57 private final MediaBrowserServiceSupport mService; field in MediaNotificationManager 77 mService = service; in MediaNotificationManager() 80 mNotificationColor = ResourceHelper.getThemeColor(mService, in MediaNotificationManager() 83 mNotificationManager = NotificationManagerCompat.from(mService); in MediaNotificationManager() 85 String pkg = mService.getPackageName(); in MediaNotificationManager() 86 mPauseIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager() 88 mPlayIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager() 90 mPreviousIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager() 92 mNextIntent = PendingIntent.getBroadcast(mService, REQUEST_CODE, in MediaNotificationManager() 119 mService.registerReceiver(this, filter); in startNotification() [all …]
|
D | Playback.java | 64 private final MediaBrowserServiceSupport mService; field in Playback 91 mService.startService(i); 98 this.mService = service; in Playback() 418 mMediaPlayer.setWakeMode(mService.getApplicationContext(), in createMediaPlayerIfNeeded() 442 mService.stopForeground(true); in relaxResources() 459 mService.registerReceiver(mAudioNoisyReceiver, mAudioNoisyIntentFilter); in registerAudioNoisyReceiver() 466 mService.unregisterReceiver(mAudioNoisyReceiver); in unregisterAudioNoisyReceiver()
|
/development/samples/Alarm/tests/src/com/example/android/newalarm/ |
D | AlarmServiceTest.java | 32 AlarmService mService; field in AlarmServiceTest 74 mService = this.getService(); in testServiceCreate() 77 assertNotNull(mService.mNotificationManager); in testServiceCreate() 80 assertNotNull(mService.mContentIntent); in testServiceCreate() 83 assertNotNull(mService.mNotification); in testServiceCreate()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | MessengerServiceActivities.java | 35 Messenger mService = null; field in MessengerServiceActivities.Binding 73 mService = new Messenger(service); 82 mService.send(msg); 87 mService.send(msg); 103 mService = null; 126 if (mService != null) { in doUnbindService() 131 mService.send(msg); in doUnbindService()
|
D | IsolatedService.java | 111 IRemoteService mService; field in IsolatedService.Controller.ServiceInfo 167 mService = IRemoteService.Stub.asInterface(service); 176 mService = null;
|
D | RemoteService.java | 271 IRemoteService mService = null; field in RemoteService.Binding 314 mService = IRemoteService.Stub.asInterface(service); 321 mService.registerCallback(mCallback); 337 mService = null; 386 if (mService != null) { 388 mService.unregisterCallback(mCallback);
|
/development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
D | NsdHelper.java | 38 NsdServiceInfo mService; field in NsdHelper 75 if (mService == service) { in initializeDiscoveryListener() 76 mService = null; in initializeDiscoveryListener() 113 mService = serviceInfo; in initializeResolveListener() 176 return mService; in getChosenServiceInfo()
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
D | MessagingFragment.java | 51 private Messenger mService; field in MessagingFragment 57 mService = new Messenger(service); 64 mService = null; 157 mService.send(msg); in sendMsg()
|
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/ |
D | CandidateView.java | 36 private SoftKeyboard mService; field in CandidateView 128 mService = listener; in setService() 282 mService.pickSuggestionManually(mSelectedIndex); in onTouchEvent() 291 mService.pickSuggestionManually(mSelectedIndex); in onTouchEvent() 312 mService.pickSuggestionManually(mSelectedIndex); in takeSuggestionAt()
|