Home
last modified time | relevance | path

Searched refs:getHeadsetService (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/
DServiceFactory.java45 public HeadsetService getHeadsetService() { in getHeadsetService() method in ServiceFactory
46 return HeadsetService.getHeadsetService(); in getHeadsetService()
DPhonePolicy.java308 HeadsetService headsetService = mFactory.getHeadsetService(); in processInitProfilePriorities()
763 HeadsetService hsService = mFactory.getHeadsetService(); in processActiveDeviceChanged()
810 HeadsetService hsService = mFactory.getHeadsetService(); in handleAllProfilesDisconnected()
941 final HeadsetService hsService = mFactory.getHeadsetService(); in autoConnectHeadset()
1022 HeadsetService hsService = mFactory.getHeadsetService(); in processConnectOtherProfiles()
DAudioRoutingManager.java573 HeadsetService service = mFactory.getHeadsetService(); in setActiveDevice()
615 HeadsetService service = mFactory.getHeadsetService(); in removeActiveDevice()
705 HeadsetService service = mFactory.getHeadsetService(); in shouldActivateWhenConnected()
DSilenceDeviceManager.java253 HeadsetService headsetService = mFactory.getHeadsetService(); in handleSilenceDeviceStateChanged()
DActiveDeviceManager.java919 final HeadsetService headsetService = mFactory.getHeadsetService(); in setHfpActiveDevice()
1091 HeadsetService headsetService = mFactory.getHeadsetService(); in setFallbackDeviceActiveLocked()
DBondStateMachine.java778 HeadsetService headsetService = HeadsetService.getHeadsetService(); in clearProfilePriority()
DAdapterService.java1983 mHeadsetService = HeadsetService.getHeadsetService(); in initProfileServices()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineFactory.java29 context, HeadsetService.getHeadsetService(), t.getLooper(), nativeInterface); in make()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/btservice/
DSilenceDeviceManagerTest.java71 when(mServiceFactory.getHeadsetService()).thenReturn(mHeadsetService); in setUp()
DAudioRoutingManagerTest.java129 when(mServiceFactory.getHeadsetService()).thenReturn(mHeadsetService); in setUp()
DActiveDeviceManagerTest.java132 when(mServiceFactory.getHeadsetService()).thenReturn(mHeadsetService); in setUp()
DPhonePolicyTest.java107 doReturn(mHeadsetService).when(mServiceFactory).getHeadsetService(); in setUp()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetNativeInterface.java78 HeadsetService service = HeadsetService.getHeadsetService(); in sendMessageToService()
DHeadsetService.java832 public static synchronized HeadsetService getHeadsetService() { in getHeadsetService() method in HeadsetService
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceTest.java182 mHeadsetService = HeadsetService.getHeadsetService(); in tearDown()
192 Assert.assertEquals(mHeadsetService, HeadsetService.getHeadsetService()); in testGetHeadsetService()
DHeadsetServiceAndStateMachineTest.java205 mHeadsetService = HeadsetService.getHeadsetService(); in tearDown()
215 assertThat(HeadsetService.getHeadsetService()).isEqualTo(mHeadsetService); in testGetHeadsetService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpService.java409 HeadsetService headsetService = HeadsetService.getHeadsetService(); in okToConnect()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioServiceTest.java2619 when(mServiceFactory.getHeadsetService()).thenReturn(headsetService); in testHandleGroupIdleDuringCall()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioService.java2691 HeadsetService headsetService = mServiceFactory.getHeadsetService(); in handleGroupIdleDuringCall()