Home
last modified time | relevance | path

Searched refs:valueInt (Results 1 – 13 of 13) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStackEvent.java50 public final int valueInt; field in HeadsetStackEvent
73 public HeadsetStackEvent(int type, int valueInt, BluetoothDevice device) { in HeadsetStackEvent() argument
74 this(type, valueInt, 0, null, null, device); in HeadsetStackEvent()
85 public HeadsetStackEvent(int type, int valueInt, int valueInt2, BluetoothDevice device) { in HeadsetStackEvent() argument
86 this(type, valueInt, valueInt2, null, null, device); in HeadsetStackEvent()
121 public HeadsetStackEvent(int type, int valueInt, int valueInt2, String valueString, in HeadsetStackEvent() argument
124 this.valueInt = valueInt; in HeadsetStackEvent()
195 .append(valueInt) in buildString()
DHeadsetStateMachine.java498 processConnectionEvent(message, event.valueInt); in processMessage()
606 processConnectionEvent(message, event.valueInt); in processMessage()
612 processWBSEvent(event.valueInt); in processMessage()
620 + event.valueInt); in processMessage()
621 processVrEvent(event.valueInt); in processMessage()
629 + ", state=" + event.valueInt); in processMessage()
651 + event.valueInt + ", indVal=" + event.valueInt2); in processMessage()
652 processAtBiev(event.valueInt, event.valueInt2, event.device); in processMessage()
656 processVolumeEvent(event.valueInt, event.valueInt2); in processMessage()
758 processConnectionEvent(message, event.valueInt); in processMessage()
[all …]
DHeadsetService.java308 switch (stackEvent.valueInt) { in messageFromNative()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DNativeInterface.java311 event.valueInt = state; in onConnectionStateChanged()
330 event.valueInt = state; in onAudioStateChanged()
346 event.valueInt = state; in onVrStateChanged()
363 event.valueInt = state; in onNetworkState()
381 event.valueInt = state; in onNetworkRoaming()
397 event.valueInt = signal; in onNetworkSignal()
412 event.valueInt = level; in onBatteryLevel()
443 event.valueInt = call; in onCall()
467 event.valueInt = callsetup; in onCallSetup()
492 event.valueInt = callheld; in onCallHeld()
[all …]
DHeadsetClientStateMachine.java856 + " state changed:" + event.valueInt); in processMessage()
857 processConnectionEvent(event.valueInt, event.device); in processMessage()
943 + event.valueInt); in processMessage()
944 processConnectionEvent(event.valueInt, event.valueInt2, event.valueInt3, in processMessage()
1241 + ": " + event.valueInt); in processMessage()
1242 processConnectionEvent(event.valueInt, event.device); in processMessage()
1246 + event.valueInt); in processMessage()
1247 processAudioEvent(event.valueInt, event.device); in processMessage()
1250 logD("Connected: Network state: " + event.valueInt); in processMessage()
1251 mIndicatorNetworkState = event.valueInt; in processMessage()
[all …]
DStackEvent.java53 public int valueInt = 0; field in StackEvent
69 result.append(", value1:" + valueInt); in toString()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java135 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in testIncomingPriorityReject()
165 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in testIncomingPriorityAccept()
183 slcEvent.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_SLC_CONNECTED; in testIncomingPriorityAccept()
211 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in testIncomingTimeout()
255 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in testInBandRingtone()
269 slcEvent.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_SLC_CONNECTED; in testInBandRingtone()
282 event.valueInt = 0; in testInBandRingtone()
287 eventInBandRing.valueInt = 1; in testInBandRingtone()
309 eventIncomingCall.valueInt = 1; //index in testInBandRingtone()
324 eventCommandStatus.valueInt = AT_OK; in testInBandRingtone()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java207 processConnectionEvent(event.valueInt); in processMessage()
296 event.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in processMessage()
314 processConnectionEvent(event.valueInt); in processMessage()
392 event.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in processMessage()
407 processConnectionEvent(event.valueInt); in processMessage()
517 processConnectionEvent(event.valueInt); in processMessage()
520 processAudioStateEvent(event.valueInt); in processMessage()
DA2dpStackEvent.java46 public int valueInt = 0; field in A2dpStackEvent
59 result.append(", value1:" + eventTypeValueIntToString(type, valueInt)); in toString()
DA2dpNativeInterface.java173 event.valueInt = state; in onConnectionStateChanged()
184 event.valueInt = state; in onAudioStateChanged()
DA2dpService.java896 switch (stackEvent.valueInt) { in messageFromNative()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpStateMachineTest.java147 connStCh.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testIncomingPriorityReject()
169 connStCh.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTING; in testIncomingPriorityAccept()
187 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testIncomingPriorityAccept()
255 connStCh.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTING; in testIncomingTimeout()
336 connStCh.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testProcessCodecConfigEventCase()
DA2dpServiceTest.java412 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testOutgoingConnectDisconnectSuccess()
436 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in testOutgoingConnectDisconnectSuccess()
478 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testMaxConnectDevices()
904 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in connectDeviceWithCodecStatus()
926 stackEvent.valueInt = newConnectionState; in generateConnectionMessageFromNative()
938 stackEvent.valueInt = newConnectionState; in generateUnexpectedConnectionMessageFromNative()
949 stackEvent.valueInt = audioStackEvent; in generateAudioMessageFromNative()
961 stackEvent.valueInt = audioStackEvent; in generateUnexpectedAudioMessageFromNative()