Home
last modified time | relevance | path

Searched refs:HeadsetClientHalConstants (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java392 mIndicatorNetworkState == HeadsetClientHalConstants.NETWORK_STATE_AVAILABLE, in sendNetworkStateChangedIntent()
395 mIndicatorNetworkType == HeadsetClientHalConstants.SERVICE_TYPE_ROAMING); in sendNetworkStateChangedIntent()
610 action = HeadsetClientHalConstants.CALL_ACTION_ATA; in acceptCall()
618 action = HeadsetClientHalConstants.CALL_ACTION_CHLD_2; in acceptCall()
627 action = HeadsetClientHalConstants.CALL_ACTION_CHLD_2; in acceptCall()
630 action = HeadsetClientHalConstants.CALL_ACTION_CHLD_1; in acceptCall()
638 action = HeadsetClientHalConstants.CALL_ACTION_CHLD_2; in acceptCall()
640 action = HeadsetClientHalConstants.CALL_ACTION_CHLD_1; in acceptCall()
642 action = HeadsetClientHalConstants.CALL_ACTION_CHLD_3; in acceptCall()
644 action = HeadsetClientHalConstants.CALL_ACTION_CHLD_2; in acceptCall()
[all …]
DHeadsetClientHalConstants.java20 public final class HeadsetClientHalConstants { class
DHeadsetClientServiceInterface.java129 return features != null && features.contains(HeadsetClientHalConstants.PEER_FEAT_ECC); in hasHfpClientEcc()
DVendorCommandResponseProcessor.java106 HeadsetClientHalConstants.HANDSFREECLIENT_AT_CMD_VENDOR_SPECIFIC_CMD, in sendCommand()
DHeadsetClientService.java1180 if ((stackEvent.valueInt == HeadsetClientHalConstants.CONNECTION_STATE_CONNECTING) in isConnectionEvent()
1182 == HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED)) { in isConnectionEvent()
1268 if (audioState == HeadsetClientHalConstants.AUDIO_STATE_CONNECTED) { in isScoRouted()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java274 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED;
310 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED;
332 slcEvent.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_SLC_CONNECTED;
333 slcEvent.valueInt2 = HeadsetClientHalConstants.PEER_FEAT_ECS;
367 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED;
489 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED;
510 slcEvent.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_SLC_CONNECTED;
511 slcEvent.valueInt2 = HeadsetClientHalConstants.PEER_FEAT_ECS;
622 event.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED;
628 event.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_SLC_CONNECTED;
[all …]
DHfpNativeInterfaceTest.java63 int state = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in onConnectionStateChanged()
64 int peerFeat = HeadsetClientHalConstants.PEER_FEAT_HF_IND; in onConnectionStateChanged()
65 int chldFeat = HeadsetClientHalConstants.PEER_FEAT_ECS; in onConnectionStateChanged()
78 int state = HeadsetClientHalConstants.AUDIO_STATE_DISCONNECTED; in onAudioStateChanged()
100 int state = HeadsetClientHalConstants.NETWORK_STATE_NOT_AVAILABLE; in onNetworkState()
111 int state = HeadsetClientHalConstants.SERVICE_TYPE_ROAMING; in onNetworkRoaming()
222 int dir = HeadsetClientHalConstants.CALL_DIRECTION_OUTGOING; in onCurrentCalls()
224 int mparty = HeadsetClientHalConstants.CALL_MPTY_TYPE_MULTI; in onCurrentCalls()
240 int type = HeadsetClientHalConstants.VOLUME_TYPE_SPK; in onVolumeChange()
DVendorCommandResponseProcessorTest.java99 HeadsetClientHalConstants.HANDSFREECLIENT_AT_CMD_VENDOR_SPECIFIC_CMD, in sendCommand_withEqualSign()
114 HeadsetClientHalConstants.HANDSFREECLIENT_AT_CMD_VENDOR_SPECIFIC_CMD, in sendCommand_withQuestionMarkSign()
129 HeadsetClientHalConstants.HANDSFREECLIENT_AT_CMD_VENDOR_SPECIFIC_CMD, in sendCommand_failingToSendATCommand()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/connserv/
DHfpClientDeviceBlockTest.java102 HeadsetClientHalConstants.AUDIO_STATE_CONNECTED); in testCreateOutgoingConnection_scoStateIsSet()
105 .isEqualTo(HeadsetClientHalConstants.AUDIO_STATE_CONNECTED); in testCreateOutgoingConnection_scoStateIsSet()
121 HeadsetClientHalConstants.AUDIO_STATE_CONNECTED); in testOnAudioStateChanged()
123 .isEqualTo(HeadsetClientHalConstants.AUDIO_STATE_CONNECTED); in testOnAudioStateChanged()
126 HeadsetClientHalConstants.AUDIO_STATE_DISCONNECTED, in testOnAudioStateChanged()
127 HeadsetClientHalConstants.AUDIO_STATE_CONNECTED); in testOnAudioStateChanged()
130 .isEqualTo(HeadsetClientHalConstants.AUDIO_STATE_DISCONNECTED); in testOnAudioStateChanged()
146 createOutgoingConnectionWithScoState(HeadsetClientHalConstants.AUDIO_STATE_CONNECTING); in testHandleMultiPartyCall_scoStateIsSetOnConference()
157 .isEqualTo(HeadsetClientHalConstants.AUDIO_STATE_CONNECTING); in testHandleMultiPartyCall_scoStateIsSetOnConference()
DHeadsetClientServiceInterfaceTest.java202 Set<Integer> features = Set.of(HeadsetClientHalConstants.PEER_FEAT_3WAY); in testGetCurrentAgFeatures()
241 Set<Integer> features = Set.of(HeadsetClientHalConstants.PEER_FEAT_3WAY); in testHasHfpClientEcc()
248 Set<Integer> featuresWithEcc = Set.of(HeadsetClientHalConstants.PEER_FEAT_ECC); in testHasHfpClientEcc()
DHfpClientConnectionServiceTest.java215 HeadsetClientHalConstants.AUDIO_STATE_CONNECTED, in audioStateChanged_scoStateChanged()
216 HeadsetClientHalConstants.AUDIO_STATE_CONNECTING); in audioStateChanged_scoStateChanged()
221 .isEqualTo(HeadsetClientHalConstants.AUDIO_STATE_CONNECTED); in audioStateChanged_scoStateChanged()