Home
last modified time | relevance | path

Searched refs:connCompletedEvent (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hearingaid/
DHearingAidServiceTest.java427 HearingAidStackEvent connCompletedEvent; in testConnectAnotherPair_disconnectCurrentPair() local
429 connCompletedEvent = new HearingAidStackEvent( in testConnectAnotherPair_disconnectCurrentPair()
431 connCompletedEvent.device = mLeftDevice; in testConnectAnotherPair_disconnectCurrentPair()
432 connCompletedEvent.valueInt1 = HearingAidStackEvent.CONNECTION_STATE_CONNECTED; in testConnectAnotherPair_disconnectCurrentPair()
433 mService.messageFromNative(connCompletedEvent); in testConnectAnotherPair_disconnectCurrentPair()
434 connCompletedEvent = new HearingAidStackEvent( in testConnectAnotherPair_disconnectCurrentPair()
436 connCompletedEvent.device = mRightDevice; in testConnectAnotherPair_disconnectCurrentPair()
437 connCompletedEvent.valueInt1 = HearingAidStackEvent.CONNECTION_STATE_CONNECTED; in testConnectAnotherPair_disconnectCurrentPair()
438 mService.messageFromNative(connCompletedEvent); in testConnectAnotherPair_disconnectCurrentPair()
499 HearingAidStackEvent connCompletedEvent; in testAudioManagerConnectDisconnect() local
[all …]
DHearingAidStateMachineTest.java163 HearingAidStackEvent connCompletedEvent = in testIncomingPriorityAccept() local
165 connCompletedEvent.device = mTestDevice; in testIncomingPriorityAccept()
166 connCompletedEvent.valueInt1 = HearingAidStackEvent.CONNECTION_STATE_CONNECTED; in testIncomingPriorityAccept()
167 mHearingAidStateMachine.sendMessage(HearingAidStateMachine.STACK_EVENT, connCompletedEvent); in testIncomingPriorityAccept()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpServiceTest.java397 A2dpStackEvent connCompletedEvent; in testOutgoingConnectDisconnectSuccess() local
416 connCompletedEvent = new A2dpStackEvent(A2dpStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testOutgoingConnectDisconnectSuccess()
417 connCompletedEvent.device = mTestDevice; in testOutgoingConnectDisconnectSuccess()
418 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testOutgoingConnectDisconnectSuccess()
419 mA2dpService.messageFromNative(connCompletedEvent); in testOutgoingConnectDisconnectSuccess()
440 connCompletedEvent = new A2dpStackEvent(A2dpStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testOutgoingConnectDisconnectSuccess()
441 connCompletedEvent.device = mTestDevice; in testOutgoingConnectDisconnectSuccess()
442 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in testOutgoingConnectDisconnectSuccess()
443 mA2dpService.messageFromNative(connCompletedEvent); in testOutgoingConnectDisconnectSuccess()
460 A2dpStackEvent connCompletedEvent; in testMaxConnectDevices() local
[all …]
DA2dpStateMachineTest.java184 A2dpStackEvent connCompletedEvent = in testIncomingPriorityAccept() local
186 connCompletedEvent.device = mTestDevice; in testIncomingPriorityAccept()
187 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testIncomingPriorityAccept()
188 mA2dpStateMachine.sendMessage(A2dpStateMachine.STACK_EVENT, connCompletedEvent); in testIncomingPriorityAccept()