Home
last modified time | relevance | path

Searched refs:mService (Results 1 – 8 of 8) sorted by relevance

/development/samples/Alarm/tests/src/com/example/android/newalarm/
DAlarmServiceTest.java32 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/
DMediaNotification.java63 private final MusicService mService; field in MediaNotification
84 mService = service; in MediaNotification()
98 mNotificationManager = (NotificationManager) mService in MediaNotification()
101 String pkg = mService.getPackageName(); in MediaNotification()
102 mPauseIntent = PendingIntent.getBroadcast(mService, 100, in MediaNotification()
104 mPlayIntent = PendingIntent.getBroadcast(mService, 100, in MediaNotification()
106 mPreviousIntent = PendingIntent.getBroadcast(mService, 100, in MediaNotification()
108 mNextIntent = PendingIntent.getBroadcast(mService, 100, in MediaNotification()
114 String packageName = mService.getPackageName(); in getNotificationColor()
116 Context packageContext = mService.createPackageContext(packageName, 0); in getNotificationColor()
[all …]
/development/samples/ApiDemos/src/com/example/android/apis/app/
DMessengerServiceActivities.java35 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()
DIsolatedService.java111 IRemoteService mService; field in IsolatedService.Controller.ServiceInfo
167 mService = IRemoteService.Stub.asInterface(service);
176 mService = null;
DRemoteService.java264 IRemoteService mService = null; field in RemoteService.Binding
307 mService = IRemoteService.Stub.asInterface(service);
314 mService.registerCallback(mCallback);
330 mService = null;
378 if (mService != null) {
380 mService.unregisterCallback(mCallback);
/development/samples/training/NsdChat/src/com/example/android/nsdchat/
DNsdHelper.java38 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/
DMessagingFragment.java51 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/
DCandidateView.java36 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()