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.java505 processConnectionEvent(message, event.valueInt); in processMessage()
615 processConnectionEvent(message, event.valueInt); in processMessage()
621 processWBSEvent(event.valueInt); in processMessage()
629 + event.valueInt); in processMessage()
630 processVrEvent(event.valueInt); in processMessage()
638 + ", state=" + event.valueInt); in processMessage()
660 + event.valueInt + ", indVal=" + event.valueInt2); in processMessage()
661 processAtBiev(event.valueInt, event.valueInt2, event.device); in processMessage()
665 processVolumeEvent(event.valueInt, event.valueInt2); in processMessage()
769 processConnectionEvent(message, event.valueInt); in processMessage()
[all …]
DHeadsetService.java309 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.java952 + " state changed:" + event.valueInt); in processMessage()
953 processConnectionEvent(event.valueInt, event.device); in processMessage()
1039 + event.valueInt); in processMessage()
1040 processConnectionEvent(event.valueInt, event.valueInt2, event.valueInt3, in processMessage()
1357 + ": " + event.valueInt); in processMessage()
1358 processConnectionEvent(event.valueInt, event.device); in processMessage()
1362 + event.valueInt); in processMessage()
1363 processAudioEvent(event.valueInt, event.device); in processMessage()
1366 logD("Connected: Network state: " + event.valueInt); in processMessage()
1367 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.java136 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in testIncomingPriorityReject()
167 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in testIncomingPriorityAccept()
185 slcEvent.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_SLC_CONNECTED; in testIncomingPriorityAccept()
213 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in testIncomingTimeout()
258 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in testInBandRingtone()
272 slcEvent.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_SLC_CONNECTED; in testInBandRingtone()
285 event.valueInt = 0; in testInBandRingtone()
290 eventInBandRing.valueInt = 1; in testInBandRingtone()
312 eventIncomingCall.valueInt = 1; //index in testInBandRingtone()
327 eventCommandStatus.valueInt = AT_OK; in testInBandRingtone()
[all …]
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpStateMachineTest.java148 connStCh.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testIncomingPriorityReject()
170 connStCh.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTING; in testIncomingPriorityAccept()
188 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testIncomingPriorityAccept()
257 connStCh.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTING; in testIncomingTimeout()
339 connStCh.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testProcessCodecConfigEventCase()
DA2dpServiceTest.java413 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testOutgoingConnectDisconnectSuccess()
437 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in testOutgoingConnectDisconnectSuccess()
479 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testMaxConnectDevices()
905 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in connectDeviceWithCodecStatus()
927 stackEvent.valueInt = newConnectionState; in generateConnectionMessageFromNative()
939 stackEvent.valueInt = newConnectionState; in generateUnexpectedConnectionMessageFromNative()
950 stackEvent.valueInt = audioStackEvent; in generateAudioMessageFromNative()
962 stackEvent.valueInt = audioStackEvent; in generateUnexpectedAudioMessageFromNative()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java210 processConnectionEvent(event.valueInt); in processMessage()
299 event.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in processMessage()
317 processConnectionEvent(event.valueInt); in processMessage()
395 event.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in processMessage()
410 processConnectionEvent(event.valueInt); in processMessage()
520 processConnectionEvent(event.valueInt); in processMessage()
523 processAudioStateEvent(event.valueInt); in processMessage()
DA2dpStackEvent.java46 public int valueInt = 0; field in A2dpStackEvent
59 result.append(", value1:" + eventTypeValueIntToString(type, valueInt)); in toString()
DA2dpNativeInterface.java174 event.valueInt = state; in onConnectionStateChanged()
185 event.valueInt = state; in onAudioStateChanged()
DA2dpService.java916 switch (stackEvent.valueInt) { in messageFromNative()