Searched refs:getHeadsetService (Results 1 – 19 of 19) sorted by relevance
45 public HeadsetService getHeadsetService() { in getHeadsetService() method in ServiceFactory46 return HeadsetService.getHeadsetService(); in getHeadsetService()
308 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()
573 HeadsetService service = mFactory.getHeadsetService(); in setActiveDevice()615 HeadsetService service = mFactory.getHeadsetService(); in removeActiveDevice()705 HeadsetService service = mFactory.getHeadsetService(); in shouldActivateWhenConnected()
253 HeadsetService headsetService = mFactory.getHeadsetService(); in handleSilenceDeviceStateChanged()
919 final HeadsetService headsetService = mFactory.getHeadsetService(); in setHfpActiveDevice()1091 HeadsetService headsetService = mFactory.getHeadsetService(); in setFallbackDeviceActiveLocked()
778 HeadsetService headsetService = HeadsetService.getHeadsetService(); in clearProfilePriority()
1983 mHeadsetService = HeadsetService.getHeadsetService(); in initProfileServices()
29 context, HeadsetService.getHeadsetService(), t.getLooper(), nativeInterface); in make()
71 when(mServiceFactory.getHeadsetService()).thenReturn(mHeadsetService); in setUp()
129 when(mServiceFactory.getHeadsetService()).thenReturn(mHeadsetService); in setUp()
132 when(mServiceFactory.getHeadsetService()).thenReturn(mHeadsetService); in setUp()
107 doReturn(mHeadsetService).when(mServiceFactory).getHeadsetService(); in setUp()
78 HeadsetService service = HeadsetService.getHeadsetService(); in sendMessageToService()
832 public static synchronized HeadsetService getHeadsetService() { in getHeadsetService() method in HeadsetService
182 mHeadsetService = HeadsetService.getHeadsetService(); in tearDown()192 Assert.assertEquals(mHeadsetService, HeadsetService.getHeadsetService()); in testGetHeadsetService()
205 mHeadsetService = HeadsetService.getHeadsetService(); in tearDown()215 assertThat(HeadsetService.getHeadsetService()).isEqualTo(mHeadsetService); in testGetHeadsetService()
409 HeadsetService headsetService = HeadsetService.getHeadsetService(); in okToConnect()
2619 when(mServiceFactory.getHeadsetService()).thenReturn(headsetService); in testHandleGroupIdleDuringCall()
2691 HeadsetService headsetService = mServiceFactory.getHeadsetService(); in handleGroupIdleDuringCall()