Searched refs:mActiveDeviceManager (Results 1 – 2 of 2) sorted by relevance
59 private ActiveDeviceManager mActiveDeviceManager; field in ActiveDeviceManagerTest88 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 …]
196 private ActiveDeviceManager mActiveDeviceManager; field in AdapterService425 mActiveDeviceManager = new ActiveDeviceManager(this, new ServiceFactory()); in onCreate()426 mActiveDeviceManager.start(); in onCreate()732 if (mActiveDeviceManager != null) { in cleanup()733 mActiveDeviceManager.cleanup(); in cleanup()