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

12 3 4 5 6 7

  /packages/apps/Bluetooth/src/com/android/bluetooth/hid/
HidHostService.java 110 int inputDeviceState = getConnectionState(device);
352 public int getConnectionState(BluetoothDevice device) {
357 return service.getConnectionState(device);
473 if (getConnectionState(device) != BluetoothHidHost.STATE_DISCONNECTED) {
495 int getConnectionState(BluetoothDevice device) {
496 if (DBG) Log.d(TAG, "getConnectionState: " + device.getAddress());
509 int inputDeviceState = getConnectionState(device);
550 int state = this.getConnectionState(device);
566 int state = this.getConnectionState(device);
580 int state = this.getConnectionState(device)
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/bluetooth/
LocalBluetoothAdapter.java 135 public int getConnectionState() {
136 return mAdapter.getConnectionState();
MapProfile.java 140 if(V) Log.d(TAG,"getConnectionStatus: status is: "+ mService.getConnectionState(device));
143 ? mService.getConnectionState(device)
HidDeviceProfile.java 136 ? mService.getConnectionState(device)
HidProfile.java 123 ? mService.getConnectionState(device)
MapClientProfile.java 143 return mService.getConnectionState(device);
  /system/bt/binder/android/bluetooth/
IBluetoothHeadsetClient.aidl 34 int getConnectionState(in BluetoothDevice device);
IBluetooth.aidl 72 int getConnectionState(in BluetoothDevice device);
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
PbapClientStateMachine.java 372 public int getConnectionState() {
391 clientState = getConnectionState();
405 public int getConnectionState(BluetoothDevice device) {
411 return getConnectionState();
  /frameworks/base/core/java/android/bluetooth/
BluetoothPbap.java 233 public int getConnectionState(BluetoothDevice device) {
234 log("getConnectionState: device=" + device);
241 return service.getConnectionState(device);
274 return getConnectionState(device) == BluetoothAdapter.STATE_CONNECTED;
BluetoothAvrcpController.java 218 public int getConnectionState(BluetoothDevice device) {
223 return service.getConnectionState(device);
BluetoothPan.java 336 public int getConnectionState(BluetoothDevice device) {
341 return service.getConnectionState(device);
BluetoothPbapClient.java 274 public int getConnectionState(BluetoothDevice device) {
276 log("getConnectionState(" + device + ")");
281 return service.getConnectionState(device);
BluetoothManager.java 97 public int getConnectionState(BluetoothDevice device, int profile) {
98 if (DBG) Log.d(TAG, "getConnectionState()");
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
BluetoothControllerImplTest.java 86 when(mMockAdapter.getConnectionState()).thenReturn(BluetoothAdapter.STATE_DISCONNECTED);
169 when(mMockAdapter.getConnectionState()).thenReturn(BluetoothAdapter.STATE_CONNECTING);
190 when(mMockAdapter.getConnectionState()).thenReturn(
  /packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
HeadsetService.java 383 if (stateMachine.getConnectionState()
467 public int getConnectionState(BluetoothDevice device) {
472 return service.getConnectionState(device);
699 int connectionState = stateMachine.getConnectionState();
738 int connectionState = stateMachine.getConnectionState();
755 if (stateMachine.getConnectionState() == BluetoothProfile.STATE_CONNECTED) {
786 int connectionState = getConnectionState(device);
798 public int getConnectionState(BluetoothDevice device) {
805 return stateMachine.getConnectionState();
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
MapClientService.java 126 int state = getConnectionState(device);
197 connectionState = getConnectionState(device);
209 public synchronized int getConnectionState(BluetoothDevice device) {
402 return service.getConnectionState(device) == BluetoothProfile.STATE_CONNECTED;
454 public int getConnectionState(BluetoothDevice device) {
456 Log.v(TAG, "getConnectionState()");
462 return service.getConnectionState(device);
  /packages/apps/Nfc/src/com/android/nfc/handover/
BluetoothPeripheralHandover.java 259 if (mInput.getConnectionState(mDevice)
269 if (mHeadset.getConnectionState(mDevice)
276 if (mA2dp.getConnectionState(mDevice)
365 if (mInput.getConnectionState(mDevice)
374 if (mHeadset.getConnectionState(mDevice) !=
385 if (mA2dp.getConnectionState(mDevice) != BluetoothProfile.STATE_CONNECTED) {
  /packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
A2dpService.java 318 switch (sm.getConnectionState()) {
394 connectionState = sm.getConnectionState();
422 public int getConnectionState(BluetoothDevice device) {
429 return sm.getConnectionState();
452 && (getConnectionState(previousActiveDevice)
497 if (sm.getConnectionState() != BluetoothProfile.STATE_CONNECTED) {
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/
HearingAidService.java 379 connectionState = sm.getConnectionState();
408 int getConnectionState(BluetoothDevice device) {
415 return sm.getConnectionState();
477 if (getConnectionState(device) != BluetoothProfile.STATE_CONNECTED) {
510 if (getConnectionState(device) != BluetoothProfile.STATE_CONNECTED) {
666 if (sm.getConnectionState() != BluetoothProfile.STATE_DISCONNECTED) {
811 public int getConnectionState(BluetoothDevice device) {
816 return service.getConnectionState(device);
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
PhonePolicy.java 290 boolean hsDisconnected = hsService == null || hsService.getConnectionState(device)
294 || a2dpService.getConnectionState(device)
454 >= BluetoothProfile.PRIORITY_ON) && (hsService.getConnectionState(device)
463 >= BluetoothProfile.PRIORITY_ON) && (a2dpService.getConnectionState(device)
474 >= BluetoothProfile.PRIORITY_ON) && (panService.getConnectionState(device)
  /packages/apps/Bluetooth/src/com/android/bluetooth/pan/
PanService.java 252 public int getConnectionState(BluetoothDevice device) {
257 return service.getConnectionState(device);
322 if (getConnectionState(device) != BluetoothProfile.STATE_DISCONNECTED) {
338 public int getConnectionState(BluetoothDevice device) {
431 int panDeviceState = getConnectionState(device);
  /packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
BluetoothPbapService.java 417 int getConnectionState(BluetoothDevice device) {
428 return sm.getConnectionState();
451 if (state == mPbapStateMachineMap.get(device).getConnectionState()) {
639 public int getConnectionState(BluetoothDevice device) {
641 Log.d(TAG, "getConnectionState: " + device);
647 return service.getConnectionState(device);
  /external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
BluetoothA2dpSinkFacade.java 205 return sA2dpSinkProfile.getConnectionState(device);
BluetoothPbapClientFacade.java 219 return sPbapClientProfile.getConnectionState(device);

Completed in 444 milliseconds

12 3 4 5 6 7