Home
last modified time | relevance | path

Searched refs:mHeadsetClientService (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java60 private HeadsetClientService mHeadsetClientService; field in HeadsetClientStateMachineTest
82 when(mHeadsetClientService.getAudioManager()).thenReturn( in setUp()
84 when(mHeadsetClientService.getResources()).thenReturn(mMockHfpResources); in setUp()
98 new HeadsetClientStateMachine(mHeadsetClientService, mHandlerThread.getLooper(), in setUp()
131 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in testIncomingPriorityReject()
141 verify(mHeadsetClientService, timeout(STANDARD_WAIT_MILLIS)).sendBroadcast(MockitoHamcrest in testIncomingPriorityReject()
162 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in testIncomingPriorityAccept()
173 verify(mHeadsetClientService, timeout(STANDARD_WAIT_MILLIS)).sendBroadcast(intentArgument1 in testIncomingPriorityAccept()
192 verify(mHeadsetClientService, timeout(STANDARD_WAIT_MILLIS).times(2)).sendBroadcast( in testIncomingPriorityAccept()
208 when(mHeadsetClientService.getConnectionPolicy(any(BluetoothDevice.class))).thenReturn( in testIncomingTimeout()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DAdapterService.java283 private HeadsetClientService mHeadsetClientService; field in AdapterService
1039 if (mHeadsetClientService != null && mHeadsetClientService.getConnectionPolicy(device) in isAnyProfileEnabled()
1100 if (mHeadsetClientService != null && isSupported(localDeviceUuids, remoteDeviceUuids, in connectEnabledProfiles()
1102 && mHeadsetClientService.getConnectionPolicy(device) in connectEnabledProfiles()
1105 mHeadsetClientService.connect(device); in connectEnabledProfiles()
1167 mHeadsetClientService = HeadsetClientService.getHeadsetClientService(); in initProfileServices()
2902 if (mHeadsetClientService != null && isSupported(localDeviceUuids, remoteDeviceUuids, in connectAllEnabledProfiles()
2905 mHeadsetClientService.setConnectionPolicy(device, in connectAllEnabledProfiles()
2978 if (mHeadsetClientService != null && mHeadsetClientService.getConnectionState(device) in disconnectAllEnabledProfiles()
2981 mHeadsetClientService.disconnect(device); in disconnectAllEnabledProfiles()