/development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
D | NsdChatActivity.java | 40 ChatConnection mConnection; field in NsdChatActivity 62 if(mConnection.getLocalPort() > -1) { in clickAdvertise() 63 mNsdHelper.registerService(mConnection.getLocalPort()); in clickAdvertise() 77 mConnection.connectToServer(service.getHost(), in clickConnect() 89 mConnection.sendMessage(messageString); in clickSend() 102 mConnection = new ChatConnection(mUpdateHandler); in onStart() 143 mConnection.tearDown(); in onStop() 145 mConnection = null; in onStop()
|
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/ |
D | MissileLauncherActivity.java | 48 private UsbDeviceConnection mConnection; field in MissileLauncherActivity 138 mConnection = connection; in setDevice() 144 mConnection = null; in setDevice() 154 if (mConnection != null) { in sendCommand() 158 mConnection.controlTransfer(0x21, 0x9, 0x200, 0, message, message.length, 0); in sendCommand() 219 request.initialize(mConnection, mEndpointIntr); in run() 227 if (mConnection.requestWait() == request) { in run()
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
D | LocalServiceActivities.java | 96 private ServiceConnection mConnection = new ServiceConnection() { field in LocalServiceActivities.Binding 127 LocalService.class), mConnection, Context.BIND_AUTO_CREATE); in doBindService() 134 unbindService(mConnection); in doUnbindService()
|
D | IsolatedService.java | 128 mActivity.unbindService(mConnection); in destroy() 149 mConnection, Context.BIND_AUTO_CREATE)) { 156 mActivity.unbindService(mConnection); 164 private ServiceConnection mConnection = new ServiceConnection() { field in IsolatedService.Controller.ServiceInfo
|
D | MessengerServiceActivities.java | 65 private ServiceConnection mConnection = new ServiceConnection() { field in MessengerServiceActivities.Binding 117 MessengerService.class), mConnection, Context.BIND_AUTO_CREATE); in doBindService() 139 unbindService(mConnection); in doUnbindService()
|
D | RemoteService.java | 299 private ServiceConnection mConnection = new ServiceConnection() { field in RemoteService.Binding 365 mConnection, Context.BIND_AUTO_CREATE); 388 unbindService(mConnection);
|
/development/samples/browseable/MessagingService/src/com.example.android.messagingservice/ |
D | MessagingFragment.java | 54 private ServiceConnection mConnection = new ServiceConnection() { field in MessagingFragment 126 getActivity().bindService(new Intent(getActivity(), MessagingService.class), mConnection, in onStart() 147 getActivity().unbindService(mConnection); in onStop()
|
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/ |
D | BluetoothHDPActivity.java | 202 private ServiceConnection mConnection = new ServiceConnection() { field in BluetoothHDPActivity 225 if (mHealthServiceBound) unbindService(mConnection); in onDestroy() 280 bindService(intent, mConnection, Context.BIND_AUTO_CREATE); in initialize()
|