/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/ |
D | ActiveDeviceManagerTest.java | 94 private ActiveDeviceManager mActiveDeviceManager; field in ActiveDeviceManagerTest 136 mActiveDeviceManager = new ActiveDeviceManager(mAdapterService, mServiceFactory); in setUp() 137 mActiveDeviceManager.start(); in setUp() 204 if (mActiveDeviceManager != null) { in tearDown() 205 mActiveDeviceManager.cleanup(); in tearDown() 275 TestUtils.waitForLooperToFinishScheduledTask(mActiveDeviceManager.getHandlerLooper()); in a2dpActiveDeviceSelected_setActive() 277 Assert.assertEquals(mA2dpDevice, mActiveDeviceManager.getA2dpActiveDevice()); in a2dpActiveDeviceSelected_setActive() 335 TestUtils.waitForLooperToFinishScheduledTask(mActiveDeviceManager.getHandlerLooper()); in headsetActiveDeviceSelected_setActive() 337 Assert.assertEquals(mHeadsetDevice, mActiveDeviceManager.getHfpActiveDevice()); in headsetActiveDeviceSelected_setActive() 394 TestUtils.waitForLooperToFinishScheduledTask(mActiveDeviceManager.getHandlerLooper()); in hfpActivatedAfterA2dpActivated_shouldNotActivateA2dpAgain() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/ |
D | A2dpStateMachineTest.java | 71 @Mock private ActiveDeviceManager mActiveDeviceManager; field in A2dpStateMachineTest 78 doReturn(mActiveDeviceManager).when(mAdapterService).getActiveDeviceManager(); in setUp()
|
D | A2dpServiceTest.java | 88 @Mock private ActiveDeviceManager mActiveDeviceManager; field in A2dpServiceTest 127 doReturn(mActiveDeviceManager).when(mAdapterService).getActiveDeviceManager(); in setUp()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetServiceAndStateMachineTest.java | 100 @Mock private ActiveDeviceManager mActiveDeviceManager; field in HeadsetServiceAndStateMachineTest 149 doReturn(mActiveDeviceManager).when(mAdapterService).getActiveDeviceManager(); in setUp() 1840 verify(mActiveDeviceManager) in connectTestDevice() 1865 verify(mActiveDeviceManager) in connectTestDevice()
|
D | HeadsetServiceTest.java | 84 @Mock private ActiveDeviceManager mActiveDeviceManager; field in HeadsetServiceTest 124 doReturn(mActiveDeviceManager).when(mAdapterService).getActiveDeviceManager(); in setUp()
|
D | HeadsetStateMachineTest.java | 99 @Mock private ActiveDeviceManager mActiveDeviceManager; field in HeadsetStateMachineTest 126 doReturn(mActiveDeviceManager).when(mAdapterService).getActiveDeviceManager(); in setUp()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/ |
D | AdapterService.java | 289 private ActiveDeviceManager mActiveDeviceManager; field in AdapterService 740 mActiveDeviceManager = new AudioRoutingManager(this, new ServiceFactory()); in init() 742 mActiveDeviceManager = new ActiveDeviceManager(this, new ServiceFactory()); in init() 744 mActiveDeviceManager.start(); in init() 820 return mActiveDeviceManager; in getActiveDeviceManager() 1472 if (mActiveDeviceManager != null) { in cleanup() 1473 mActiveDeviceManager.cleanup(); in cleanup() 6037 mActiveDeviceManager.profileActiveDeviceChanged(profile, device); in handleActiveDeviceChange()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/ |
D | LeAudioBroadcastServiceTest.java | 83 @Mock private ActiveDeviceManager mActiveDeviceManager; field in LeAudioBroadcastServiceTest 208 doReturn(mActiveDeviceManager).when(mAdapterService).getActiveDeviceManager(); in setUp()
|
D | LeAudioServiceTest.java | 129 @Mock private ActiveDeviceManager mActiveDeviceManager; field in LeAudioServiceTest 200 doReturn(mActiveDeviceManager).when(mAdapterService).getActiveDeviceManager(); in setUp()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/ |
D | HearingAidServiceTest.java | 97 @Mock private ActiveDeviceManager mActiveDeviceManager; field in HearingAidServiceTest 127 return mActiveDeviceManager; in setUp()
|