Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DActiveDeviceManagerTest.java94 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/
DA2dpStateMachineTest.java71 @Mock private ActiveDeviceManager mActiveDeviceManager; field in A2dpStateMachineTest
78 doReturn(mActiveDeviceManager).when(mAdapterService).getActiveDeviceManager(); in setUp()
DA2dpServiceTest.java88 @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/
DHeadsetServiceAndStateMachineTest.java100 @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()
DHeadsetServiceTest.java84 @Mock private ActiveDeviceManager mActiveDeviceManager; field in HeadsetServiceTest
124 doReturn(mActiveDeviceManager).when(mAdapterService).getActiveDeviceManager(); in setUp()
DHeadsetStateMachineTest.java99 @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/
DAdapterService.java289 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/
DLeAudioBroadcastServiceTest.java83 @Mock private ActiveDeviceManager mActiveDeviceManager; field in LeAudioBroadcastServiceTest
208 doReturn(mActiveDeviceManager).when(mAdapterService).getActiveDeviceManager(); in setUp()
DLeAudioServiceTest.java129 @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/
DHearingAidServiceTest.java97 @Mock private ActiveDeviceManager mActiveDeviceManager; field in HearingAidServiceTest
127 return mActiveDeviceManager; in setUp()