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

/packages/apps/Bluetooth/src/com/android/bluetooth/hdp/
H A DHealthService.java632 int newDeviceState = convertState(newChannelState);
634 if (currDeviceState == newDeviceState) return;
647 if (newDeviceState == BluetoothHealth.STATE_CONNECTED) {
679 updateAndSendIntent(device, newDeviceState, currDeviceState);
684 updateAndSendIntent(device, newDeviceState, currDeviceState);
687 private void updateAndSendIntent(BluetoothDevice device, int newDeviceState, argument
689 if (newDeviceState == BluetoothHealth.STATE_DISCONNECTED) {
692 mHealthDevices.put(device, newDeviceState);
694 notifyProfileConnectionStateChanged(device, BluetoothProfile.HEALTH, newDeviceState, prevDeviceState);

Completed in 26 milliseconds