Searched refs:mBluetoothDevice (Results 1 – 3 of 3) sorted by relevance
38 private BluetoothDevice mBluetoothDevice; field in HeadsetProfileTest51 when(mCachedBluetoothDevice.getDevice()).thenReturn(mBluetoothDevice); in setUp()68 when(mService.getAudioState(mBluetoothDevice)). in testHeadsetProfile_shouldReturnAudioState()70 assertThat(mProfile.getAudioState(mBluetoothDevice)). in testHeadsetProfile_shouldReturnAudioState()73 when(mService.getAudioState(mBluetoothDevice)). in testHeadsetProfile_shouldReturnAudioState()75 assertThat(mProfile.getAudioState(mBluetoothDevice)). in testHeadsetProfile_shouldReturnAudioState()
65 private final BluetoothDevice mBluetoothDevice; field in BluetoothMidiDevice162 Log.e(TAG, "No CLIENT_CHARACTERISTIC_CONFIG for device " + mBluetoothDevice);221 mBluetoothDevice = device; in BluetoothMidiDevice()224 mBluetoothGatt = mBluetoothDevice.connectGatt(context, false, mGattCallback); in BluetoothMidiDevice()243 new Thread("BluetoothMidiDevice " + mBluetoothDevice) { in BluetoothMidiDevice()271 synchronized (mBluetoothDevice) { in close()273 mService.deviceClosed(mBluetoothDevice); in close()
288 private final BluetoothDevice mBluetoothDevice; field in MidiService.Device309 mBluetoothDevice = (BluetoothDevice)deviceInfo.getProperties().getParcelable( in Device()315 mBluetoothDevice = bluetoothDevice; in Device()400 (mServiceInfo != null || mBluetoothDevice != null)) { in addDeviceConnection()407 if (mBluetoothDevice != null) { in addDeviceConnection()412 … IBinder deviceBinder = mBluetoothMidiService.addBluetoothDevice(mBluetoothDevice); in addDeviceConnection()431 if (mBluetoothDevice != null) { in addDeviceConnection()462 if (mBluetoothDevice != null) { in removeDeviceConnection()492 if (mBluetoothDevice != null) { in closeLocked()493 mBluetoothDevices.remove(mBluetoothDevice); in closeLocked()