Searched refs:mConnection (Results 1 - 7 of 7) sorted by relevance

/development/samples/training/NsdChat/src/com/example/android/nsdchat/
H A DNsdChatActivity.java40 ChatConnection mConnection; field in class:NsdChatActivity
57 mConnection = new ChatConnection(mUpdateHandler);
66 if(mConnection.getLocalPort() > -1) {
67 mNsdHelper.registerService(mConnection.getLocalPort());
81 mConnection.connectToServer(service.getHost(),
93 mConnection.sendMessage(messageString);
122 mConnection.tearDown();
/development/samples/USB/MissileLauncher/src/com/android/missilelauncher/
H A DMissileLauncherActivity.java48 private UsbDeviceConnection mConnection; field in class:MissileLauncherActivity
138 mConnection = connection;
144 mConnection = null;
154 if (mConnection != null) {
158 mConnection.controlTransfer(0x21, 0x9, 0x200, 0, message, message.length, 0);
219 request.initialize(mConnection, mEndpointIntr);
227 if (mConnection.requestWait() == request) {
/development/samples/ApiDemos/src/com/example/android/apis/app/
H A DLocalServiceActivities.java96 private ServiceConnection mConnection = new ServiceConnection() { field in class:LocalServiceActivities.Binding
127 LocalService.class), mConnection, Context.BIND_AUTO_CREATE);
134 unbindService(mConnection);
H A DIsolatedService.java128 mActivity.unbindService(mConnection);
149 mConnection, Context.BIND_AUTO_CREATE)) {
156 mActivity.unbindService(mConnection);
164 private ServiceConnection mConnection = new ServiceConnection() { field in class:IsolatedService.Controller.ServiceInfo
H A DMessengerServiceActivities.java65 private ServiceConnection mConnection = new ServiceConnection() { field in class:MessengerServiceActivities.Binding
117 MessengerService.class), mConnection, Context.BIND_AUTO_CREATE);
139 unbindService(mConnection);
H A DRemoteService.java299 private ServiceConnection mConnection = new ServiceConnection() { field in class:RemoteService.Binding
365 mConnection, Context.BIND_AUTO_CREATE);
388 unbindService(mConnection);
/development/samples/BluetoothHDP/src/com/example/bluetooth/health/
H A DBluetoothHDPActivity.java202 private ServiceConnection mConnection = new ServiceConnection() { field in class:BluetoothHDPActivity
225 if (mHealthServiceBound) unbindService(mConnection);
280 bindService(intent, mConnection, Context.BIND_AUTO_CREATE);

Completed in 166 milliseconds