History log of /packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/NativeInterface.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3d35808e7d5c704b4cc4f7fe0dc1d8cafc3f1fda 15-Aug-2017 Joseph Pirozzo <pirozzoj@google.com> HFP client volume control

Accept volume controls from connected phone. Suport AT+VGS and +VGS
commands.

Bug: 38005564
Test: Connect a phone, start a call, change volume up and down on phone
and verify volume level on headunit changes, as well as monitor snoop
logs.

Change-Id: I8b89b2487da81cf9562598a0a5408c266e8ecc6a
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/NativeInterface.java
93d129a2679021c3275ba940405ba2609853b9ee 07-Feb-2017 Sanket Agarwal <sanketa@google.com> Handle volume changes for multiple devices

Since synchronizing volume of multiple HFP connected devices is rather
cumbersome as a UX, we will make the car control the volume of the call
and the phone's volume will remain unchanged. The only scenario that
this breaks is when the user is trying to change the phone volume while
being in a call and connected over Bluetooth. This scenario should
anyways not happen for dirving safety

Bug: b/34518638
Test: Volume change w/ multiple AG connected to HF
Change-Id: Ic4345a71bfb677f94cf6543b1b2c64fb99676ed3
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/NativeInterface.java
84f977c60b8d7feea9c9b20d60a7eb8e3e4869a9 14-Dec-2016 Sanket Agarwal <sanketa@google.com> Multi HFP connection handling

The basic handling mechanism is to create multiple state machines for
each connection. We route the upper layer (application) and lower layer
(callbacks) appropriately depending on the BluetoothDevice.

The following are implemented:
-- StateMachine creation (garbage collection/deletion still needs work)
-- Device awareness in service to route the messages
-- Cleanup of code and creating a new class for handling native messages

You can do the following with this change:
-- Create multiple connections (simultaneously)
-- Tear down connections

Bug: b/33554547
Bug: b/30984220

Change-Id: If08f24f744b046a393e836c99fcf2288fd698cc2
(cherry picked from commit 98c5bfdf980d573042bec06588b7e6ddfc48d054)
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/NativeInterface.java