/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/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/ApiDemos/src/com/example/android/apis/app/ |
D | MessengerServiceActivities.java | 36 Messenger mService = null; field in MessengerServiceActivities.Binding 74 mService = new Messenger(service); 83 mService.send(msg); 88 mService.send(msg); 104 mService = null; 127 if (mService != null) { in doUnbindService() 132 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/ToyVpn/src/com/example/android/toyvpn/ |
D | ToyVpnConnection.java | 80 private final VpnService mService; field in ToyVpnConnection 102 mService = service; in ToyVpnConnection() 169 if (!mService.protect(tunnel.socket())) { in run() 308 VpnService.Builder builder = mService.new Builder(); in configure() 351 synchronized (mService) { in configure()
|
/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()
|