Home
last modified time | relevance | path

Searched refs:mActiveDeviceManager (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DActiveDeviceManagerTest.java59 private ActiveDeviceManager mActiveDeviceManager; field in ActiveDeviceManagerTest
88 mActiveDeviceManager = new ActiveDeviceManager(mAdapterService, mServiceFactory); in setUp()
89 mActiveDeviceManager.start(); in setUp()
105 mActiveDeviceManager.cleanup(); in tearDown()
158 TestUtils.waitForLooperToFinishScheduledTask(mActiveDeviceManager.getHandlerLooper()); in a2dpActiveDeviceSelected_setActive()
160 Assert.assertEquals(mA2dpDevice, mActiveDeviceManager.getA2dpActiveDevice()); in a2dpActiveDeviceSelected_setActive()
209 TestUtils.waitForLooperToFinishScheduledTask(mActiveDeviceManager.getHandlerLooper()); in headsetActiveDeviceSelected_setActive()
211 Assert.assertEquals(mHeadsetDevice, mActiveDeviceManager.getHfpActiveDevice()); in headsetActiveDeviceSelected_setActive()
246 TestUtils.waitForLooperToFinishScheduledTask(mActiveDeviceManager.getHandlerLooper()); in hearingAidActive_dontSetA2dpAndHeadsetActive()
264 TestUtils.waitForLooperToFinishScheduledTask(mActiveDeviceManager.getHandlerLooper()); in hearingAidActive_setA2dpActiveExplicitly()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java271 private ActiveDeviceManager mActiveDeviceManager; field in AdapterService
556 mActiveDeviceManager = new ActiveDeviceManager(this, new ServiceFactory()); in onCreate()
557 mActiveDeviceManager.start(); in onCreate()
893 if (mActiveDeviceManager != null) { in cleanup()
894 mActiveDeviceManager.cleanup(); in cleanup()