HomeSort by relevance Sort by last modified time
    Searched refs:mConnection (Results 26 - 50 of 52) sorted by null

12 3

  /frameworks/base/core/java/android/bluetooth/
BluetoothInputDevice.java 196 synchronized (mConnection) {
199 mContext.unbindService(mConnection);
205 synchronized (mConnection) {
209 if (!mContext.bindService(new Intent(IBluetoothInputDevice.class.getName()), mConnection, 0)) {
241 mConnection, 0)) {
257 synchronized (mConnection) {
261 mContext.unbindService(mConnection);
455 private ServiceConnection mConnection = new ServiceConnection() {
BluetoothHeadset.java 231 synchronized (mConnection) {
234 mContext.unbindService(mConnection);
240 synchronized (mConnection) {
244 if (!mContext.bindService(new Intent(IBluetoothHeadset.class.getName()), mConnection, 0)) {
273 if (!context.bindService(new Intent(IBluetoothHeadset.class.getName()), mConnection, 0)) {
296 synchronized (mConnection) {
300 mContext.unbindService(mConnection);
857 private ServiceConnection mConnection = new ServiceConnection() {
    [all...]
  /frameworks/support/v7/mediarouter/src/android/support/v7/media/
RegisteredMediaRouteProvider.java 299 private Connection mConnection;
307 mConnection = connection;
323 if (mConnection != null) {
324 mConnection.releaseRouteController(mControllerId);
325 mConnection = null;
338 if (mConnection != null) {
339 mConnection.selectRoute(mControllerId);
346 if (mConnection != null) {
347 mConnection.unselectRoute(mControllerId);
353 if (mConnection != null)
    [all...]
  /frameworks/base/core/java/android/net/http/
RequestHandle.java 52 private Connection mConnection;
92 mConnection = conn;
288 if (mConnection != null) {
289 mConnection.processRequests(mRequest);
451 // mConnection is non-null if and only if the requests are synchronous.
452 if (mConnection != null) {
457 mConnection = newHandle.mConnection;
RequestQueue.java 151 Connection connection = mThreads[i].mConnection;
164 Connection connection = ct.mConnection;
  /development/samples/ApiDemos/src/com/example/android/apis/app/
MessengerServiceActivities.java 65 private ServiceConnection mConnection = new ServiceConnection() {
117 MessengerService.class), mConnection, Context.BIND_AUTO_CREATE);
139 unbindService(mConnection);
RemoteService.java 299 private ServiceConnection mConnection = new ServiceConnection() {
365 mConnection, Context.BIND_AUTO_CREATE);
388 unbindService(mConnection);
  /frameworks/base/core/tests/coretests/src/android/os/
BinderThreadPriorityTest.java 38 private ServiceConnection mConnection = new ServiceConnection() {
65 mConnection, Context.BIND_AUTO_CREATE);
93 getContext().unbindService(mConnection);
  /frameworks/base/core/java/com/android/internal/util/
AsyncChannel.java 187 private AsyncChannelConnection mConnection;
226 mConnection = new AsyncChannelConnection();
243 boolean result = srcContext.bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
444 mConnection = null;
451 if ((mConnection != null) && (mSrcContext != null)) {
452 mSrcContext.unbindService(mConnection);
468 if (mConnection == null && mDstMessenger != null && mDeathMonitor!= null) {
850 if (mConnection == null) {
  /frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/functional/
WifiConnectionTest.java 89 WifiInfo mConnection = mAct.mWifiManager.getConnectionInfo();
90 assertNotNull(mConnection);
WifiAssociationTest.java 83 WifiInfo mConnection = mAct.mWifiManager.getConnectionInfo();
84 assertNotNull(mConnection);
  /cts/tests/tests/os/src/android/os/cts/
MessengerTest.java 94 private ServiceConnection mConnection = new ServiceConnection() {
112 getContext().bindService(new Intent(mContext, MessengerService.class), mConnection,
124 getContext().unbindService(mConnection);
  /frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
FaceUnlock.java 132 mConnection,
169 mContext.unbindService(mConnection);
355 private ServiceConnection mConnection = new ServiceConnection() {
  /packages/apps/Phone/src/com/android/phone/
EmergencyCallbackModeExitDialog.java 132 EmergencyCallbackModeService.class), mConnection, Context.BIND_AUTO_CREATE);
154 unbindService(mConnection);
317 private ServiceConnection mConnection = new ServiceConnection() {
  /packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
VCardService.java 76 final MediaScannerConnection mConnection;
80 mConnection = new MediaScannerConnection(VCardService.this, this);
85 mConnection.connect();
91 mConnection.scanFile(mPath, null);
97 mConnection.disconnect();
ImportVCardActivity.java 123 private ImportRequestConnection mConnection;
249 if (mConnection == null) {
355 mConnection.sendImportRequest(requests);
371 unbindService(mConnection);
    [all...]
  /frameworks/base/services/java/com/android/server/connectivity/
Vpn.java 95 private Connection mConnection;
212 if (mConnection != null) {
214 mConnection.mService.transact(IBinder.LAST_CALL_TRANSACTION,
219 mContext.unbindService(mConnection);
220 mConnection = null;
313 if (mConnection != null) {
314 mContext.unbindService(mConnection);
319 mConnection = connection;
376 if (mConnection != null) {
377 mContext.unbindService(mConnection);
    [all...]
  /development/samples/BluetoothHDP/src/com/example/bluetooth/health/
BluetoothHDPActivity.java 202 private ServiceConnection mConnection = new ServiceConnection() {
225 if (mHealthServiceBound) unbindService(mConnection);
280 bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
  /packages/apps/Gallery2/src/com/android/camera/
CameraActivity.java 72 private ServiceConnection mConnection = new ServiceConnection() {
348 bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
355 if (mConnection != null) {
356 unbindService(mConnection);
  /frameworks/base/core/java/android/app/
LoadedApk.java     [all...]
  /frameworks/base/core/java/android/service/wallpaper/
WallpaperService.java 127 IWallpaperConnection mConnection;
    [all...]
  /packages/apps/Nfc/src/com/android/nfc/handover/
HandoverManager.java 120 private ServiceConnection mConnection = new ServiceConnection() {
164 mContext.bindServiceAsUser(new Intent(mContext, HandoverService.class), mConnection,
175 mContext.unbindService(mConnection);
176 mContext.bindServiceAsUser(new Intent(mContext, HandoverService.class), mConnection,
  /cts/libs/testserver/src/android/webkit/cts/
CtsTestServer.java     [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/opp/
BluetoothOppService.java     [all...]
  /frameworks/base/services/java/com/android/server/accessibility/
AccessibilityManagerService.java     [all...]

Completed in 628 milliseconds

12 3