History log of /packages/services/Telecomm/tests/src/com/android/server/telecom/tests/BluetoothRouteManagerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
740989589390582f097a0f8a4a44bdab9eb0d26c 19-May-2018 Hall Liu <hallliu@google.com> Switch to active BT route when changing focus

Send a BT_AUDIO_CONNECTED message right away if we try to connect to BT
audio and we find that it's already connected. This way we don't get
stuck in a quiescent state.

Change-Id: Idbfb4b77a243d300d47703643e22d5f1d8a2474c
Fixes: 79501344
Test: added a unit test.
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/BluetoothRouteManagerTest.java
cc74215b6e52d550f36b929319129a5dabb4b616 10-May-2018 Hall Liu <hallliu@google.com> Bring Telecom logic into agreement with Bluetooth

Account for the BT active device being null sometimes (and not starting
calls on BT when so)
Follow the BT stack's changes on the BT active device

Fixes: 79231275
Test: unit, manual, BT team's regression suite

Change-Id: Ib6ced6baa9e0ca5fa17b854ae58f19e9d49a80fd
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/BluetoothRouteManagerTest.java
67eb3b08235d34f0f6411f1021808c97042ecbbc 28-Apr-2018 Hall Liu <hallliu@google.com> Integrate the BT multi-hfp apis with Telecom

Add a call to setActiveDevice when setting a bluetooth device

Test: unit, testapps
Change-Id: Ibd7c7f976c2caf834228745f8bedf24767d500b8
Fixes: 78653642
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/BluetoothRouteManagerTest.java
2afe9027824dbe6d88fb953045e12496b0da4cbc 04-Jan-2018 Hall Liu <hallliu@google.com> Migrate CAMSM and BRM tests to Parametrized

Migrate the two other state machine unit tests suites to use the builtin
JUnit parametrized runner. Also remove the old StateMachineTestBase
class.

Test: unit tests
Change-Id: Ib4e2f0cfd1bfd53aae64aaeedee6e6d86c81359e
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/BluetoothRouteManagerTest.java
c8a396be8aae0609e4953add63952acc2ca8f871 28-Dec-2017 Hall Liu <hallliu@google.com> Migrate Telecom tests to JUnit4

Change all tests to use AndroidJUnitRunner instead of
InstrumentationRunner.
TelecomTestCase no longer inherits from AndroidTestCase.
Update the lite_test_telecom script to use JUnit4.

This allows Telecom tests to use modern JUnit4 features. Refactorings
along those lines will be in subsequent CLs.

Bug: 69482930
Test: lite_test_telecom -a
Change-Id: I64a41fa049f2a23f28b7652d7b835d7705e2179a
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/BluetoothRouteManagerTest.java
9086fb1d96dfc6581e7e7d4fe756a90ad592311f 08-Nov-2017 Hall Liu <hallliu@google.com> Implement multi-hfp APIs

Plumb Telecom multi-hfp APIs all the way through the stack.
Also delete BluetoothManager (deprecated) and modify tests to fully test
the multi-hfp functionality

Bug: 64767509
Test: unit tests
Change-Id: I02aafe3fca759510a013fd7cd956e3e923dd408a
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/BluetoothRouteManagerTest.java
132a557c896bcffd6b9ca8cb0753436564851142 03-Nov-2017 Hall Liu <hallliu@google.com> Make changes to CARSM and BRM for multi-hfp

* Update the BRM <-> CARSM interface
* Update CARSM to no longer actively connect to BT in state enter()
methods. Instead rely on messages from BRM to enter
ActiveBluetoothRoute.

Test: unit tests updated
Change-Id: Id9bf507fb4f813e1bfcce5571d61b3819e55adf3
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/BluetoothRouteManagerTest.java
d0fe76e8e74ac515cacc492fa2c783cf2247ac05 20-Mar-2017 Brad Ebinger <breadley@google.com> Fix Telecom Unit Tests
1) Add/Fix VideoProviderTests
2) Update tests to accommodate ContentProvider changes

Test: Telecom Unit Tests
Change-Id: I8ac65a4686937bfb3954f1d87ca8d1e4ee492644
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/BluetoothRouteManagerTest.java
ea8d15df3c4d563274a7f7755e8c55d42bc9e805 31-Oct-2016 Hall Liu <hallliu@google.com> Add BluetoothRouteManager (multi-hfp part 2)

This adds BluetoothRouteManager, a state machine class that manages
which HFP device is/should be active during a call. It handles:
* requests from the rest of Telecom to turn Bluetooth on/off
* connecting/disconnecting from individual HFP devices
* fallback in the case of disconnections or connection failures
* informing Telecom of Bluetooth device connections and disconnections.
See design document for details.

Test: added unit tests
Change-Id: I4deea4376e735ef3975544efaadef1c3045030ca
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/BluetoothRouteManagerTest.java