DO NOT MERGE Hearing Aid: Use separate time for L/R in connect() and use whitelist
* connect() sends connect command to L/R devices in parallel, but in
native layer connecting is sequential. We need to have separate timeout
for devices (8 seconds for the first, 16 seconds for the second) so that
each we attempt to connect each device with same amount of time.
* When one device is connected but another is not, use whitelist
* Connect to the other device in the group first, then the selected
device
Bug: 116317072
Bug: 115365334
Test: connect to a pair with one device off
Test: also run unit test
Change-Id: I332b2bd23f518a6024ba5166c86db2d5ecbde6fc
6 files changed