Searched refs:getConnectionState (Results 26 - 50 of 51) sorted by relevance

123

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
H A DPbapClientProfile.java167 return mService.getConnectionState(device);
H A DA2dpProfile.java158 return mService.getConnectionState(device);
H A DHeadsetProfile.java149 return mService.getConnectionState(device);
H A DHfpClientProfile.java154 return mService.getConnectionState(device);
H A DSapProfile.java141 ? mService.getConnectionState(device)
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImplTest.java82 when(mMockAdapter.getConnectionState()).thenReturn(BluetoothAdapter.STATE_DISCONNECTED);
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothA2dpSink.java333 public int getConnectionState(BluetoothDevice device) { method in class:BluetoothA2dpSink
338 return mService.getConnectionState(device);
H A DBluetoothInputHost.java321 public int getConnectionState(BluetoothDevice device) { method in class:BluetoothInputHost
322 Log.v(TAG, "getConnectionState(): device=" + device);
326 return mService.getConnectionState(device);
H A DBluetoothMap.java301 public int getConnectionState(BluetoothDevice device) { method in class:BluetoothMap
302 if (DBG) log("getConnectionState(" + device + ")");
306 return mService.getConnectionState(device);
H A DBluetoothMapClient.java277 public int getConnectionState(BluetoothDevice device) { method in class:BluetoothMapClient
278 if (DBG) Log.d(TAG, "getConnectionState(" + device + ")");
282 return mService.getConnectionState(device);
H A DBluetoothSap.java328 public int getConnectionState(BluetoothDevice device) { method in class:BluetoothSap
329 if (DBG) log("getConnectionState(" + device + ")");
333 return mService.getConnectionState(device);
H A DBluetoothInputDevice.java406 public int getConnectionState(BluetoothDevice device) { method in class:BluetoothInputDevice
410 return mService.getConnectionState(device);
H A DBluetoothA2dp.java395 public int getConnectionState(BluetoothDevice device) { method in class:BluetoothA2dp
401 return mService.getConnectionState(device);
H A DBluetoothDevice.java79 * Connection state bitmask as returned by getConnectionState.
1064 return sService.getConnectionState(this) != CONNECTION_STATE_DISCONNECTED;
1086 return sService.getConnectionState(this) > CONNECTION_STATE_CONNECTED;
H A DBluetoothHeadset.java475 public int getConnectionState(BluetoothDevice device) { method in class:BluetoothHeadset
476 if (VDBG) log("getConnectionState(" + device + ")");
480 return mService.getConnectionState(device);
H A DBluetoothHeadsetClient.java570 public int getConnectionState(BluetoothDevice device) { method in class:BluetoothHeadsetClient
571 if (VDBG) log("getConnectionState(" + device + ")");
575 return mService.getConnectionState(device);
H A DBluetoothHealth.java350 public int getConnectionState(BluetoothDevice device) { method in class:BluetoothHealth
H A DBluetoothGattServer.java792 public int getConnectionState(BluetoothDevice device) { method in class:BluetoothGattServer
793 throw new UnsupportedOperationException("Use BluetoothManager#getConnectionState instead.");
H A DBluetoothGatt.java1450 public int getConnectionState(BluetoothDevice device) { method in class:BluetoothGatt
1451 throw new UnsupportedOperationException("Use BluetoothManager#getConnectionState instead.");
H A DBluetoothAdapter.java1642 public int getConnectionState() { method in class:BluetoothAdapter
1648 Log.e(TAG, "getConnectionState:", e);
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
H A DBluetoothTestUtils.java923 int state = proxy.getConnectionState(device);
949 state = proxy.getConnectionState(device);
1004 int state = proxy.getConnectionState(device);
1030 state = proxy.getConnectionState(device);
1112 int state = mPan.getConnectionState(device);
1135 state = mPan.getConnectionState(device);
1217 int state = mPan.getConnectionState(device);
1239 state = mPan.getConnectionState(device);
/frameworks/support/v7/mediarouter/src/android/support/v7/app/
H A DMediaRouteChooserDialog.java292 route.getConnectionState() == CONNECTION_STATE_CONNECTED
293 || route.getConnectionState() == CONNECTION_STATE_CONNECTING;
/frameworks/support/v7/mediarouter/src/android/support/v7/media/
H A DMediaRouteDescriptor.java140 * @deprecated Use {@link #getConnectionState} instead
155 public int getConnectionState() { method in class:MediaRouteDescriptor
320 result.append(", connectionState=").append(getConnectionState());
H A DMediaRouter.java828 * @see #getConnectionState
836 * @see #getConnectionState
843 * @see #getConnectionState
1038 public int getConnectionState() { method in class:MediaRouter.RouteInfo
1502 if (mConnectionState != descriptor.getConnectionState()) {
1503 mConnectionState = descriptor.getConnectionState();
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DBluetoothControllerImpl.java195 int state = mLocalBluetoothManager.getBluetoothAdapter().getConnectionState();

Completed in 449 milliseconds

123