Home
last modified time | relevance | path

Searched refs:mNativeInterface (Results 1 – 25 of 39) sorted by relevance

12

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceAndStateMachineTest.java99 private HeadsetNativeInterface mNativeInterface; field in HeadsetServiceAndStateMachineTest
197 mNativeInterface = spy(HeadsetNativeInterface.getInstance()); in setUp()
198 doNothing().when(mNativeInterface).init(anyInt(), anyBoolean()); in setUp()
199 doNothing().when(mNativeInterface).cleanup(); in setUp()
200 doReturn(true).when(mNativeInterface).connectHfp(any(BluetoothDevice.class)); in setUp()
201 doReturn(true).when(mNativeInterface).disconnectHfp(any(BluetoothDevice.class)); in setUp()
202 doReturn(true).when(mNativeInterface).connectAudio(any(BluetoothDevice.class)); in setUp()
203 doReturn(true).when(mNativeInterface).disconnectAudio(any(BluetoothDevice.class)); in setUp()
204 doReturn(true).when(mNativeInterface).setActiveDevice(any(BluetoothDevice.class)); in setUp()
205 doReturn(true).when(mNativeInterface).sendBsir(any(BluetoothDevice.class), anyBoolean()); in setUp()
[all …]
DAtPhonebookTest.java63 private HeadsetNativeInterface mNativeInterface; field in AtPhonebookTest
78 mNativeInterface = spy(HeadsetNativeInterface.getInstance()); in setUp()
79 mAtPhonebook = new AtPhonebook(mTargetContext, mNativeInterface); in setUp()
104 verify(mNativeInterface).atResponseString(mTestDevice, in handleCscsCommand()
108 verify(mNativeInterface).atResponseString(mTestDevice, in handleCscsCommand()
112 verify(mNativeInterface, atLeastOnce()).atResponseCode(mTestDevice, in handleCscsCommand()
116 verify(mNativeInterface, atLeastOnce()).atResponseCode(mTestDevice, in handleCscsCommand()
120 verify(mNativeInterface).atResponseCode(mTestDevice, HeadsetHalConstants.AT_RESPONSE_ERROR, in handleCscsCommand()
124 verify(mNativeInterface).atResponseCode(mTestDevice, HeadsetHalConstants.AT_RESPONSE_ERROR, in handleCscsCommand()
133 verify(mNativeInterface).atResponseString(mTestDevice, in handleCpbsCommand()
[all …]
DHeadsetStateMachineTest.java97 private HeadsetNativeInterface mNativeInterface; field in HeadsetStateMachineTest
118 mNativeInterface = spy(HeadsetNativeInterface.getInstance()); in setUp()
119 doNothing().when(mNativeInterface).init(anyInt(), anyBoolean()); in setUp()
120 doReturn(true).when(mNativeInterface).connectHfp(mTestDevice); in setUp()
121 doReturn(true).when(mNativeInterface).disconnectHfp(mTestDevice); in setUp()
122 doReturn(true).when(mNativeInterface).connectAudio(mTestDevice); in setUp()
123 doReturn(true).when(mNativeInterface).disconnectAudio(mTestDevice); in setUp()
149 mAdapterService, mNativeInterface, mSystemInterface); in setUp()
1020 verify(mNativeInterface, timeout(ASYNC_CALL_TIMEOUT_MILLIS)).disconnectAudio(mTestDevice); in testKeyPressedEventWhenIdleAndAudioOn_disconnectAudio()
1208 verify(mNativeInterface).atResponseCode(null, 0, 0); in testHandleAccessPermissionResult_withNoChangeInAtCommandResult()
[all …]
DHeadsetServiceTest.java77 private HeadsetNativeInterface mNativeInterface; field in HeadsetServiceTest
128 mNativeInterface = spy(HeadsetNativeInterface.getInstance()); in setUp()
129 doNothing().when(mNativeInterface).init(anyInt(), anyBoolean()); in setUp()
130 doNothing().when(mNativeInterface).cleanup(); in setUp()
131 doReturn(true).when(mNativeInterface).connectHfp(any(BluetoothDevice.class)); in setUp()
132 doReturn(true).when(mNativeInterface).disconnectHfp(any(BluetoothDevice.class)); in setUp()
133 doReturn(true).when(mNativeInterface).connectAudio(any(BluetoothDevice.class)); in setUp()
134 doReturn(true).when(mNativeInterface).disconnectAudio(any(BluetoothDevice.class)); in setUp()
135 doReturn(true).when(mNativeInterface).setActiveDevice(any(BluetoothDevice.class)); in setUp()
136 doReturn(true).when(mNativeInterface).sendBsir(any(BluetoothDevice.class), anyBoolean()); in setUp()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientTest.java107 private HapClientNativeInterface mNativeInterface; field in HapClientTest
141 mService.mHapClientNativeInterface = mNativeInterface; in setUp()
159 when(mNativeInterface.getDevice(getByteAddress(mDevice))).thenReturn(mDevice); in setUp()
161 when(mNativeInterface.getDevice(getByteAddress(mDevice2))).thenReturn(mDevice2); in setUp()
163 when(mNativeInterface.getDevice(getByteAddress(mDevice3))).thenReturn(mDevice3); in setUp()
165 doCallRealMethod().when(mNativeInterface) in setUp()
167 doCallRealMethod().when(mNativeInterface).onFeaturesUpdate(any(byte[].class), anyInt()); in setUp()
168 doCallRealMethod().when(mNativeInterface).onDeviceAvailable(any(byte[].class), anyInt()); in setUp()
169 doCallRealMethod().when(mNativeInterface) in setUp()
171 doCallRealMethod().when(mNativeInterface) in setUp()
[all …]
DHapClientNativeInterfaceTest.java40 private HapClientNativeInterface mNativeInterface; field in HapClientNativeInterfaceTest
47 mNativeInterface = HapClientNativeInterface.getInstance(); in setUp()
58 mNativeInterface.onConnectionStateChanged(state, TEST_DEVICE_ADDRESS); in onConnectionStateChanged()
71 mNativeInterface.onDeviceAvailable(TEST_DEVICE_ADDRESS, features); in onDeviceAvailable()
84 mNativeInterface.onFeaturesUpdate(TEST_DEVICE_ADDRESS, features); in onFeaturesUpdate()
97 mNativeInterface.onActivePresetSelected(TEST_DEVICE_ADDRESS, presetIndex); in onActivePresetSelected()
111 mNativeInterface.onActivePresetGroupSelected(groupId, presetIndex); in onActivePresetGroupSelected()
126 mNativeInterface.onActivePresetSelectError(TEST_DEVICE_ADDRESS, resultCode); in onActivePresetSelectError()
140 mNativeInterface.onActivePresetGroupSelectError(groupId, resultCode); in onActivePresetGroupSelectError()
159 mNativeInterface.onPresetInfo(TEST_DEVICE_ADDRESS, infoReason, presets); in onPresetInfo()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHfpNativeInterfaceTest.java42 private NativeInterface mNativeInterface; field in HfpNativeInterfaceTest
50 mNativeInterface = NativeInterface.getInstance(); in setUp()
64 mNativeInterface.onConnectionStateChanged(state, peerFeat, chldFeat, TEST_DEVICE_ADDRESS); in onConnectionStateChanged()
77 mNativeInterface.onAudioStateChanged(state, TEST_DEVICE_ADDRESS); in onAudioStateChanged()
88 mNativeInterface.onVrStateChanged(state, TEST_DEVICE_ADDRESS); in onVrStateChanged()
99 mNativeInterface.onNetworkState(state, TEST_DEVICE_ADDRESS); in onNetworkState()
110 mNativeInterface.onNetworkRoaming(state, TEST_DEVICE_ADDRESS); in onNetworkRoaming()
121 mNativeInterface.onNetworkSignal(signal, TEST_DEVICE_ADDRESS); in onNetworkSignal()
132 mNativeInterface.onBatteryLevel(level, TEST_DEVICE_ADDRESS); in onBatteryLevel()
143 mNativeInterface.onCurrentOperator(name, TEST_DEVICE_ADDRESS); in onCurrentOperator()
[all …]
DVendorCommandResponseProcessorTest.java48 private NativeInterface mNativeInterface; field in VendorCommandResponseProcessorTest
60 mNativeInterface = spy(NativeInterface.getInstance()); in setUp()
64 mProcessor = new VendorCommandResponseProcessor(mHeadsetClientService, mNativeInterface); in setUp()
96 doReturn(true).when(mNativeInterface).sendATCmd(mTestDevice, in sendCommand_withEqualSign()
106 doReturn(true).when(mNativeInterface).sendATCmd(mTestDevice, in sendCommand_withQuestionMarkSign()
116 doReturn(false).when(mNativeInterface).sendATCmd(mTestDevice, in sendCommand_failingToSendATCommand()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidNativeInterfaceTest.java45 private HearingAidNativeInterface mNativeInterface; field in HearingAidNativeInterfaceTest
53 mNativeInterface = HearingAidNativeInterface.getInstance(); in setUp()
64 assertThat(mNativeInterface.getByteAddress(null)) in getByteAddress()
68 assertThat(mNativeInterface.getByteAddress(device)) in getByteAddress()
75 mNativeInterface.onConnectionStateChanged(BluetoothProfile.STATE_CONNECTED, in onConnectionStateChanged()
76 mNativeInterface.getByteAddress(device)); in onConnectionStateChanged()
87 mNativeInterface.onConnectionStateChanged(BluetoothProfile.STATE_CONNECTED, in onConnectionStateChanged()
88 mNativeInterface.getByteAddress(device)); in onConnectionStateChanged()
97 mNativeInterface.onDeviceAvailable(capabilities, hiSyncId, in onDeviceAvailable()
98 mNativeInterface.getByteAddress(device)); in onDeviceAvailable()
[all …]
DHearingAidServiceTest.java83 @Mock private HearingAidNativeInterface mNativeInterface; field in HearingAidServiceTest
104 mService.mHearingAidNativeInterface = mNativeInterface; in setUp()
308 doReturn(true).when(mNativeInterface).connectHearingAid(any(BluetoothDevice.class)); in testOutgoingConnectMissingHearingAidUuid()
309 doReturn(true).when(mNativeInterface).disconnectHearingAid(any(BluetoothDevice.class)); in testOutgoingConnectMissingHearingAidUuid()
324 doReturn(true).when(mNativeInterface).connectHearingAid(any(BluetoothDevice.class)); in testOutgoingConnectPriorityOff()
325 doReturn(true).when(mNativeInterface).disconnectHearingAid(any(BluetoothDevice.class)); in testOutgoingConnectPriorityOff()
355 doReturn(true).when(mNativeInterface).connectHearingAid(any(BluetoothDevice.class)); in testOutgoingConnectTimeout()
356 doReturn(true).when(mNativeInterface).disconnectHearingAid(any(BluetoothDevice.class)); in testOutgoingConnectTimeout()
397 doReturn(true).when(mNativeInterface).connectHearingAid(any(BluetoothDevice.class)); in testConnectAPair_connectBothDevices()
398 doReturn(true).when(mNativeInterface).disconnectHearingAid(any(BluetoothDevice.class)); in testConnectAPair_connectBothDevices()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java137 private final HeadsetNativeInterface mNativeInterface; field in HeadsetStateMachine
192 mNativeInterface = in HeadsetStateMachine()
214 mPhonebook = new AtPhonebook(mHeadsetService, mNativeInterface); in HeadsetStateMachine()
503 if (!mNativeInterface.connectHfp(device)) { in processMessage()
563 if (!mNativeInterface.disconnectHfp(mDevice)) { in processConnectionEvent()
863 if (!mNativeInterface.startVoiceRecognition(mDevice)) { in processMessage()
876 if (!mNativeInterface.stopVoiceRecognition(mDevice)) { in processMessage()
884 if (!mNativeInterface.phoneStateChange(mDevice, callState)) { in processMessage()
896 mNativeInterface.notifyDeviceStatus(mDevice, (HeadsetDeviceState) message.obj); in processMessage()
907 mNativeInterface.clccResponse(device, 0, 0, 0, 0, false, "", 0); in processMessage()
[all …]
DAtPhonebook.java86 private HeadsetNativeInterface mNativeInterface; field in AtPhonebook
112 mNativeInterface = nativeInterface; in AtPhonebook()
189 mNativeInterface.atResponseCode(device, atCommandResult, atCommandErrorCode); in handleCscsCommand()
208 mNativeInterface.atResponseString(device, atCommandResponse); in handleCscsCommand()
210 mNativeInterface.atResponseCode(device, atCommandResult, atCommandErrorCode); in handleCscsCommand()
277 mNativeInterface.atResponseString(device, atCommandResponse); in handleCpbsCommand()
279 mNativeInterface.atResponseCode(device, atCommandResult, atCommandErrorCode); in handleCpbsCommand()
302 mNativeInterface.atResponseCode(remoteDevice, atCommandResult, in handleCpbrCommand()
317 mNativeInterface.atResponseString(remoteDevice, atCommandResponse); in handleCpbrCommand()
318 mNativeInterface.atResponseCode(remoteDevice, atCommandResult, atCommandErrorCode); in handleCpbrCommand()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hid/
DHidDeviceNativeInterfaceTest.java44 private HidDeviceNativeInterface mNativeInterface; field in HidDeviceNativeInterfaceTest
52 mNativeInterface = HidDeviceNativeInterface.getInstance(); in setUp()
63 mNativeInterface.onApplicationStateChanged(TEST_DEVICE_ADDRESS, true); in onApplicationStateChanged()
69 mNativeInterface.onConnectStateChanged(TEST_DEVICE_ADDRESS, in onConnectStateChanged()
79 mNativeInterface.onGetReport(type, id, bufferSize); in onGetReport()
88 mNativeInterface.onSetReport(reportType, reportId, data); in onSetReport()
95 mNativeInterface.onSetProtocol(protocol); in onSetProtocol()
103 mNativeInterface.onInterruptData(reportId, data); in onInterruptData()
109 mNativeInterface.onVirtualCableUnplug(); in onVirtualCableUnplug()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlNativeInterfaceTest.java46 private VolumeControlNativeInterface mNativeInterface; field in VolumeControlNativeInterfaceTest
53 mNativeInterface = VolumeControlNativeInterface.getInstance(); in setUp()
66 mNativeInterface.onConnectionStateChanged(state, address); in onConnectionStateChanged()
82 mNativeInterface.onVolumeStateChanged(volume, mute, address, isAutonomous); in onVolumeStateChanged()
98 mNativeInterface.onGroupVolumeStateChanged(volume, mute, groupId, isAutonomous); in onGroupVolumeStateChanged()
113 mNativeInterface.onDeviceAvailable(numOfExternalOutputs, address); in onDeviceAvailable()
127 mNativeInterface.onExtAudioOutVolumeOffsetChanged(externalOutputId, offset, address); in onExtAudioOutVolumeOffsetChanged()
142 mNativeInterface.onExtAudioOutLocationChanged(externalOutputId, location, address); in onExtAudioOutLocationChanged()
157 mNativeInterface.onExtAudioOutDescriptionChanged(externalOutputId, descr, address); in onExtAudioOutDescriptionChanged()
DVolumeControlServiceTest.java91 @Mock private VolumeControlNativeInterface mNativeInterface; field in VolumeControlServiceTest
125 mService.mVolumeControlNativeInterface = mNativeInterface; in setUp()
343 doReturn(true).when(mNativeInterface).connectVolumeControl(any(BluetoothDevice.class)); in testOutgoingConnectMissingVolumeControlUuid()
344 doReturn(true).when(mNativeInterface).disconnectVolumeControl(any(BluetoothDevice.class)); in testOutgoingConnectMissingVolumeControlUuid()
364 doReturn(true).when(mNativeInterface).connectVolumeControl(any(BluetoothDevice.class)); in testOutgoingConnectDisconnectExistingVolumeControlUuid()
365 doReturn(true).when(mNativeInterface).disconnectVolumeControl(any(BluetoothDevice.class)); in testOutgoingConnectDisconnectExistingVolumeControlUuid()
397 doReturn(true).when(mNativeInterface).connectVolumeControl(any(BluetoothDevice.class)); in testOutgoingConnectPolicyForbidden()
398 doReturn(true).when(mNativeInterface).disconnectVolumeControl(any(BluetoothDevice.class)); in testOutgoingConnectPolicyForbidden()
420 doReturn(true).when(mNativeInterface).connectVolumeControl(any(BluetoothDevice.class)); in testOutgoingConnectTimeout()
421 doReturn(true).when(mNativeInterface).disconnectVolumeControl(any(BluetoothDevice.class)); in testOutgoingConnectTimeout()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/
DAvrcpTargetService.java73 private AvrcpNativeInterface mNativeInterface; field in AvrcpTargetService
92 if (mNativeInterface == null) return; in run()
104 mNativeInterface.sendMediaUpdate(metadata, state, queue); in run()
110 if (mNativeInterface == null) return; in run()
112 mNativeInterface.sendFolderUpdate(availablePlayers, addressedPlayers, uids); in run()
121 if (mNativeInterface == null) return; in onReceive()
124 mNativeInterface.sendMediaUpdate(false, true, false); in onReceive()
126 if (mNativeInterface == null) return; in onReceive()
134 if (mNativeInterface.disconnectDevice(device.getAddress())) { in onReceive()
206 mNativeInterface = AvrcpNativeInterface.getInterface(); in start()
[all …]
DAvrcpCoverArtService.java67 private AvrcpNativeInterface mNativeInterface; field in AvrcpCoverArtService
71 mNativeInterface = AvrcpNativeInterface.getInterface(); in AvrcpCoverArtService()
172 mNativeInterface.registerBipServer(psm); in registerBipServer()
181 mNativeInterface.unregisterBipServer(); in unregisterBipServer()
204 mNativeInterface.setBipClientStatus(device.getAddress(), true); in connect()
208 mNativeInterface.setBipClientStatus(device.getAddress(), false); in connect()
239 mNativeInterface.setBipClientStatus(device.getAddress(), false); in disconnect()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioNativeInterfaceTest.java42 private LeAudioNativeInterface mNativeInterface; field in LeAudioNativeInterfaceTest
49 mNativeInterface = LeAudioNativeInterface.getInstance(); in setUp()
62 mNativeInterface.onConnectionStateChanged(state, address); in onConnectionStateChanged()
77 mNativeInterface.onGroupNodeStatus(address, groupId, nodeStatus); in onGroupNodeStatus()
94 mNativeInterface.onAudioConf( in onAudioConf()
109 mNativeInterface.onSinkAudioLocationAvailable(address, sinkAudioLocation); in onSinkAudioLocationAvailable()
127 mNativeInterface.onAudioLocalCodecCapabilities( in onAudioLocalCodecCapabilities()
149 mNativeInterface.onAudioGroupCodecConf(groupId, inputConfig, outputConfig, in onAudioGroupCodecConf()
DLeAudioServiceTest.java117 @Mock private LeAudioNativeInterface mNativeInterface; field in LeAudioServiceTest
191 LeAudioNativeInterface.setInstance(mNativeInterface); in setUp()
231 verify(mNativeInterface, timeout(3000).times(1)).init(any()); in setUp()
439 doReturn(true).when(mNativeInterface).connectLeAudio(any(BluetoothDevice.class)); in testOutgoingConnectMissingLeAudioUuid()
440 doReturn(true).when(mNativeInterface).disconnectLeAudio(any(BluetoothDevice.class)); in testOutgoingConnectMissingLeAudioUuid()
455 doReturn(true).when(mNativeInterface).connectLeAudio(any(BluetoothDevice.class)); in testOutgoingConnectPriorityOff()
456 doReturn(true).when(mNativeInterface).disconnectLeAudio(any(BluetoothDevice.class)); in testOutgoingConnectPriorityOff()
482 doReturn(true).when(mNativeInterface).connectLeAudio(any(BluetoothDevice.class)); in testOutgoingConnectTimeout()
483 doReturn(true).when(mNativeInterface).disconnectLeAudio(any(BluetoothDevice.class)); in testOutgoingConnectTimeout()
534 doReturn(true).when(mNativeInterface).connectLeAudio(any(BluetoothDevice.class)); in testAudioManagerConnectDisconnect()
[all …]
DLeAudioBroadcasterNativeInterfaceTest.java43 private LeAudioBroadcasterNativeInterface mNativeInterface; field in LeAudioBroadcasterNativeInterfaceTest
50 mNativeInterface = LeAudioBroadcasterNativeInterface.getInstance(); in setUp()
63 mNativeInterface.onBroadcastCreated(broadcastId, success); in onBroadcastCreated()
76 mNativeInterface.onBroadcastDestroyed(broadcastId); in onBroadcastDestroyed()
90 mNativeInterface.onBroadcastStateChanged(broadcastId, state); in onBroadcastStateChanged()
104 mNativeInterface.onBroadcastMetadataChanged(broadcastId, metadata); in onBroadcastMetadataChanged()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/csip/
DCsipSetCoordinatorStateMachineTest.java67 @Mock private CsipSetCoordinatorNativeInterface mNativeInterface; field in CsipSetCoordinatorStateMachineTest
88 mTestDevice, mService, mNativeInterface, mHandlerThread.getLooper())); in setUp()
194 doReturn(true).when(mNativeInterface).connect(any(BluetoothDevice.class)); in testOutgoingTimeout()
195 doReturn(true).when(mNativeInterface).disconnect(any(BluetoothDevice.class)); in testOutgoingTimeout()
221 verify(mNativeInterface).disconnect(eq(mTestDevice)); in testOutgoingTimeout()
230 doReturn(true).when(mNativeInterface).connect(any(BluetoothDevice.class)); in testIncomingTimeout()
231 doReturn(true).when(mNativeInterface).disconnect(any(BluetoothDevice.class)); in testIncomingTimeout()
261 verify(mNativeInterface).disconnect(eq(mTestDevice)); in testIncomingTimeout()
302 doReturn(true).when(mNativeInterface).connect(any(BluetoothDevice.class)); in testProcessConnectMessage_onDisconnectedState()
330 verify(mNativeInterface).disconnect(mTestDevice); in testStackEvent_withoutStateChange_onDisconnectedState()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidStateMachine.java91 private HearingAidNativeInterface mNativeInterface; field in HearingAidStateMachine
100 mNativeInterface = nativeInterface; in HearingAidStateMachine()
165 if (!mNativeInterface.connectHearingAid(mDevice)) { in processMessage()
178 mNativeInterface.disconnectHearingAid(mDevice); in processMessage()
216 mNativeInterface.disconnectHearingAid(mDevice); in processConnectionEvent()
227 mNativeInterface.disconnectHearingAid(mDevice); in processConnectionEvent()
270 mNativeInterface.disconnectHearingAid(mDevice); in processMessage()
273 mNativeInterface.addToAcceptlist(mDevice); in processMessage()
284 mNativeInterface.disconnectHearingAid(mDevice); in processMessage()
361 mNativeInterface.disconnectHearingAid(mDevice); in processMessage()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientStateMachine.java91 private final HapClientNativeInterface mNativeInterface; field in HapClientStateMachine
100 mNativeInterface = gattInterface; in HapClientStateMachine()
248 if (!mNativeInterface.connectHapClient(mDevice)) { in processMessage()
262 mNativeInterface.disconnectHapClient(mDevice); in processMessage()
302 mNativeInterface.disconnectHapClient(mDevice); in processConnectionEvent()
313 mNativeInterface.disconnectHapClient(mDevice); in processConnectionEvent()
356 mNativeInterface.disconnectHapClient(mDevice); in processMessage()
366 mNativeInterface.disconnectHapClient(mDevice); in processMessage()
443 mNativeInterface.disconnectHapClient(mDevice); in processMessage()
491 mNativeInterface.disconnectHapClient(mDevice); in processConnectionEvent()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioStateMachine.java91 private LeAudioNativeInterface mNativeInterface; field in LeAudioStateMachine
100 mNativeInterface = nativeInterface; in LeAudioStateMachine()
164 if (!mNativeInterface.connectLeAudio(mDevice)) { in processMessage()
177 mNativeInterface.disconnectLeAudio(mDevice); in processMessage()
215 mNativeInterface.disconnectLeAudio(mDevice); in processConnectionEvent()
226 mNativeInterface.disconnectLeAudio(mDevice); in processConnectionEvent()
269 mNativeInterface.disconnectLeAudio(mDevice); in processMessage()
279 mNativeInterface.disconnectLeAudio(mDevice); in processMessage()
356 mNativeInterface.disconnectLeAudio(mDevice); in processMessage()
403 mNativeInterface.disconnectLeAudio(mDevice); in processConnectionEvent()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlStateMachine.java63 private VolumeControlNativeInterface mNativeInterface; field in VolumeControlStateMachine
73 mNativeInterface = nativeInterface; in VolumeControlStateMachine()
137 if (!mNativeInterface.connectVolumeControl(mDevice)) { in processMessage()
190 mNativeInterface.disconnectVolumeControl(mDevice); in processConnectionEvent()
203 mNativeInterface.disconnectVolumeControl(mDevice); in processConnectionEvent()
246 mNativeInterface.disconnectVolumeControl(mDevice); in processMessage()
257 mNativeInterface.disconnectVolumeControl(mDevice); in processMessage()
350 mNativeInterface.disconnectVolumeControl(mDevice); in processMessage()
399 mNativeInterface.disconnectVolumeControl(mDevice); in processConnectionEvent()
410 mNativeInterface.disconnectVolumeControl(mDevice); in processConnectionEvent()
[all …]

12