Home
last modified time | relevance | path

Searched refs:messageFromNative (Results 1 – 25 of 34) sorted by relevance

12

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHfpNativeInterfaceTest.java69 verify(mService).messageFromNative(event.capture()); in onConnectionStateChanged()
82 verify(mService).messageFromNative(event.capture()); in onAudioStateChanged()
93 verify(mService).messageFromNative(event.capture()); in onVrStateChanged()
104 verify(mService).messageFromNative(event.capture()); in onNetworkState()
115 verify(mService).messageFromNative(event.capture()); in onNetworkRoaming()
126 verify(mService).messageFromNative(event.capture()); in onNetworkSignal()
137 verify(mService).messageFromNative(event.capture()); in onBatteryLevel()
148 verify(mService).messageFromNative(event.capture()); in onCurrentOperator()
159 verify(mService).messageFromNative(event.capture()); in onCall()
170 verify(mService).messageFromNative(event.capture()); in onCallSetup()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DNativeInterface.java361 service.messageFromNative(event); in onConnectionStateChanged()
375 service.messageFromNative(event); in onAudioStateChanged()
393 service.messageFromNative(event); in onVrStateChanged()
410 service.messageFromNative(event); in onNetworkState()
427 service.messageFromNative(event); in onNetworkRoaming()
443 service.messageFromNative(event); in onNetworkSignal()
457 service.messageFromNative(event); in onBatteryLevel()
471 service.messageFromNative(event); in onCurrentOperator()
487 service.messageFromNative(event); in onCall()
508 service.messageFromNative(event); in onCallSetup()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientNativeInterfaceTest.java64 verify(mService).messageFromNative(event.capture()); in onConnectionStateChanged()
77 verify(mService).messageFromNative(event.capture()); in onDeviceAvailable()
90 verify(mService).messageFromNative(event.capture()); in onFeaturesUpdate()
102 verify(mService).messageFromNative(event.capture()); in onActivePresetSelected()
116 verify(mService).messageFromNative(event.capture()); in onActivePresetGroupSelected()
130 verify(mService).messageFromNative(event.capture()); in onActivePresetSelectError()
144 verify(mService).messageFromNative(event.capture()); in onActivePresetGroupSelectError()
164 verify(mService).messageFromNative(event.capture()); in onPresetInfo()
184 verify(mService).messageFromNative(event.capture()); in onGroupPresetInfo()
199 verify(mService).messageFromNative(event.capture()); in onPresetNameSetError()
[all …]
DHapClientTest.java1068 mService.messageFromNative(evt); in verifyConnectingDevice()
1085 mService.messageFromNative(evt); in verifyConnectingDevice()
1099 mService.messageFromNative(evt); in verifyConnectingDevice()
1126 mService.messageFromNative(evt); in testOnPresetSelected()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioBroadcastServiceTest.java303 mService.messageFromNative(create_event); in verifyBroadcastStarted()
313 mService.messageFromNative(state_event); in verifyBroadcastStarted()
319 mService.messageFromNative(state_event); in verifyBroadcastStarted()
337 mService.messageFromNative(state_event); in verifyBroadcastStopped()
344 mService.messageFromNative(state_event); in verifyBroadcastStopped()
418 mService.messageFromNative(create_event); in testCreateBroadcastNativeFailed()
463 mService.messageFromNative(create_event); in testCreateBroadcastTimeout()
476 mService.messageFromNative(state_event); in testCreateBroadcastTimeout()
632 mService.messageFromNative(create_event); in testGetAllBroadcastMetadata()
641 mService.messageFromNative(state_event); in testGetAllBroadcastMetadata()
[all …]
DLeAudioNativeInterfaceTest.java67 verify(mMockService).messageFromNative(event.capture()); in onConnectionStateChanged()
81 verify(mMockService).messageFromNative(event.capture()); in onGroupNodeStatus()
98 verify(mMockService).messageFromNative(event.capture()); in onAudioConf()
111 verify(mMockService).messageFromNative(event.capture()); in onSinkAudioLocationAvailable()
128 verify(mMockService).messageFromNative(event.capture()); in onAudioLocalCodecCapabilities()
143 verify(mMockService).messageFromNative(event.capture()); in onAudioGroupCurrentCodecConf()
163 verify(mMockService).messageFromNative(event.capture()); in onAudioGroupSelectableCodecConf()
DLeAudioServiceTest.java227 mService.messageFromNative(stackEvent); in setUp()
654 mService.messageFromNative(connCompletedEvent); in testAudioManagerConnectDisconnect()
670 mService.messageFromNative(connCompletedEvent); in testAudioManagerConnectDisconnect()
710 mService.messageFromNative(connCompletedEvent); in testAudioManagerConnectDisconnect()
726 mService.messageFromNative(connCompletedEvent); in testAudioManagerConnectDisconnect()
1125 mService.messageFromNative(connCompletedEvent); in connectDevice()
1149 mService.messageFromNative(stackEvent); in generateConnectionMessageFromNative()
1160 mService.messageFromNative(stackEvent); in generateUnexpectedConnectionMessageFromNative()
1171 mService.messageFromNative(nodeGroupAdded); in generateGroupNodeAdded()
1180 mService.messageFromNative(nodeGroupRemoved); in generateGroupNodeRemoved()
[all …]
DLeAudioBroadcasterNativeInterfaceTest.java66 verify(mMockService).messageFromNative(event.capture()); in onBroadcastCreated()
77 verify(mMockService).messageFromNative(event.capture()); in onBroadcastDestroyed()
90 verify(mMockService).messageFromNative(event.capture()); in onBroadcastStateChanged()
102 verify(mMockService).messageFromNative(event.capture()); in onBroadcastMetadataChanged()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlNativeInterfaceTest.java65 verify(mService).messageFromNative(event.capture()); in onConnectionStateChanged()
81 verify(mService).messageFromNative(event.capture()); in onVolumeStateChanged()
97 verify(mService).messageFromNative(event.capture()); in onGroupVolumeStateChanged()
112 verify(mService).messageFromNative(event.capture()); in onDeviceAvailable()
127 verify(mService).messageFromNative(event.capture()); in onExtAudioOutVolumeOffsetChanged()
142 verify(mService).messageFromNative(event.capture()); in onExtAudioOutLocationChanged()
157 verify(mService).messageFromNative(event.capture()); in onExtAudioOutDescriptionChanged()
DVolumeControlServiceTest.java561 mService.messageFromNative(stackEvent); in testVolumeControlStackEvents()
589 mService.messageFromNative(stackEvent); in testVolumeCalculations()
635 mService.messageFromNative(stackEvent); in testAutonomousMuteUnmute()
643 mService.messageFromNative(stackEvent); in testAutonomousMuteUnmute()
670 mService.messageFromNative(stackEvent); in testVolumeCache()
725 mService.messageFromNative(stackEvent); in testMuteCache()
736 mService.messageFromNative(stackEvent); in testMuteCache()
758 mService.messageFromNative(stackEvent); in testVolumeChangeWhileMuted()
1384 mService.messageFromNative(stackEvent); in testVolumeControlChangedCallback()
1398 mService.messageFromNative(stackEvent2); in testVolumeControlChangedCallback()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfp/
DHeadsetServiceAndStateMachineTest.java260 mHeadsetService.messageFromNative(connectedEvent); in testConnectFromApi()
303 mHeadsetService.messageFromNative(connectedEvent); in testUnbondDevice_disconnectBeforeUnbond()
349 mHeadsetService.messageFromNative(connectedEvent); in testUnbondDevice_disconnectAfterUnbond()
367 mHeadsetService.messageFromNative(connectingEvent); in testUnbondDevice_disconnectAfterUnbond()
527 mHeadsetService.messageFromNative(dialingOutEvent); in testDialingOutCall_NormalDialingOut()
540 mHeadsetService.messageFromNative(dialingOutEvent); in testDialingOutCall_NormalDialingOut()
549 mHeadsetService.messageFromNative(dialingOutEventOtherDevice); in testDialingOutCall_NormalDialingOut()
626 mHeadsetService.messageFromNative(dialingOutEvent); in testDialingOutCall_DialingOutPreemptVirtualCall()
717 mHeadsetService.messageFromNative(stopVrEvent); in testVoiceRecognition_SingleHfStopSuccess()
760 mHeadsetService.messageFromNative(startVrEvent); in testVoiceRecognition_SingleHfInitiatedFailedToActivate()
[all …]
DHeadsetServiceTest.java326 mHeadsetService.messageFromNative(connectedEvent); in testMessageFromNative_deviceConnected()
351 mHeadsetService.messageFromNative(disconnectEvent); in testMessageFromNative_deviceConnected()
374 mHeadsetService.messageFromNative(connectingEvent); in testMessageFromNative_deviceConnectingUnknown()
400 mHeadsetService.messageFromNative(connectingEvent); in testMessageFromNative_deviceDisconnectedUnknown()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidNativeInterfaceTest.java83 verify(mService).messageFromNative(event.capture()); in onConnectionStateChanged()
92 verify(mService, never()).messageFromNative(any()); in onConnectionStateChanged()
105 verify(mService).messageFromNative(event.capture()); in onDeviceAvailable()
115 verify(mService, never()).messageFromNative(any()); in onDeviceAvailable()
DHearingAidServiceTest.java443 mService.messageFromNative(connCompletedEvent); in testConnectAnotherPair_disconnectCurrentPair()
448 mService.messageFromNative(connCompletedEvent); in testConnectAnotherPair_disconnectCurrentPair()
522 mService.messageFromNative(connCompletedEvent); in testAudioManagerConnectDisconnect()
535 mService.messageFromNative(connCompletedEvent); in testAudioManagerConnectDisconnect()
575 mService.messageFromNative(connCompletedEvent); in testAudioManagerConnectDisconnect()
590 mService.messageFromNative(connCompletedEvent); in testAudioManagerConnectDisconnect()
645 mService.messageFromNative(connCompletedEvent); in testAudioManagerConnectDisconnect_suppressNoisyIntentCase()
992 mService.messageFromNative(connCompletedEvent); in firstTimeConnection_shouldConnectToBothDevices()
1006 mService.messageFromNative(hiSyncIdEvent); in firstTimeConnection_shouldConnectToBothDevices()
1026 mService.messageFromNative(connCompletedEvent); in firstTimeConnection_shouldConnectToBothDevices()
[all …]
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java369 mA2dpService.messageFromNative(connCompletedEvent); in testOutgoingConnectDisconnectSuccess()
397 mA2dpService.messageFromNative(connCompletedEvent); in testOutgoingConnectDisconnectSuccess()
443 mA2dpService.messageFromNative(connCompletedEvent); in testMaxConnectDevices()
1073 mA2dpService.messageFromNative(connCompletedEvent); in connectDeviceWithCodecStatus()
1098 mA2dpService.messageFromNative(stackEvent); in generateConnectionMessageFromNative()
1111 mA2dpService.messageFromNative(stackEvent); in generateUnexpectedConnectionMessageFromNative()
1124 mA2dpService.messageFromNative(stackEvent); in generateAudioMessageFromNative()
1141 mA2dpService.messageFromNative(stackEvent); in generateUnexpectedAudioMessageFromNative()
1153 mA2dpService.messageFromNative(stackEvent); in generateCodecMessageFromNative()
1167 mA2dpService.messageFromNative(stackEvent); in generateUnexpectedCodecMessageFromNative()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dpsink/
DA2dpSinkServiceTest.java134 mService.messageFromNative(nativeEvent); in setupDeviceConnection()
265 mService.messageFromNative(audioConfigChanged); in testGetAudioConfiguration()
280 mService.messageFromNative(audioConfigChanged); in testOnAudioConfigChanged_withNullDevice_eventDropped()
291 mService.messageFromNative(audioConfigChanged); in testOnAudioConfigChanged_withUnknownDevice_eventDropped()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hearingaid/
DHearingAidNativeInterface.java138 service.messageFromNative(event); in sendMessageToService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/
DA2dpSinkNativeInterface.java146 service.messageFromNative(event); in sendMessageToService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/
DCsipSetCoordinatorNativeInterface.java124 service.messageFromNative(event); in sendMessageToService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioBroadcasterNativeInterface.java72 service.messageFromNative(event); in sendMessageToService()
DLeAudioNativeInterface.java82 service.messageFromNative(event); in sendMessageToService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpNativeInterface.java182 service.messageFromNative(event); in sendMessageToService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlNativeInterface.java232 service.messageFromNative(event); in sendMessageToService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientNativeInterface.java88 service.messageFromNative(event); in sendMessageToService()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetNativeInterface.java80 service.messageFromNative(event); in sendMessageToService()

12