Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DNativeInterface.java85 event.valueInt = state; in onConnectionStateChanged()
104 event.valueInt = state; in onAudioStateChanged()
120 event.valueInt = state; in onVrStateChanged()
137 event.valueInt = state; in onNetworkState()
155 event.valueInt = state; in onNetworkRoaming()
171 event.valueInt = signal; in onNetworkSignal()
186 event.valueInt = level; in onBatteryLevel()
217 event.valueInt = call; in onCall()
241 event.valueInt = callsetup; in onCallSetup()
266 event.valueInt = callheld; in onCallHeld()
[all …]
DHeadsetClientStateMachine.java893 + " state changed:" + event.valueInt); in processMessage()
895 processConnectionEvent(event.valueInt, event.device); in processMessage()
990 + event.valueInt); in processMessage()
992 processConnectionEvent(event.valueInt, event.valueInt2, event.valueInt3, in processMessage()
1293 + ": " + event.valueInt); in processMessage()
1295 processConnectionEvent(event.valueInt, event.device); in processMessage()
1300 + event.valueInt); in processMessage()
1302 processAudioEvent(event.valueInt, event.device); in processMessage()
1306 Log.d(TAG, "Connected: Network state: " + event.valueInt); in processMessage()
1308 mIndicatorNetworkState = event.valueInt; in processMessage()
[all …]
DStackEvent.java52 public int valueInt = 0; field in StackEvent
68 result.append(", value1:" + valueInt); in toString()
/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.java493 processConnectionEvent(message, event.valueInt); in processMessage()
600 processConnectionEvent(message, event.valueInt); in processMessage()
606 processWBSEvent(event.valueInt); in processMessage()
614 + event.valueInt); in processMessage()
615 processVrEvent(event.valueInt); in processMessage()
623 + ", state=" + event.valueInt); in processMessage()
645 + event.valueInt + ", indVal=" + event.valueInt2); in processMessage()
646 processAtBiev(event.valueInt, event.valueInt2, event.device); in processMessage()
650 processVolumeEvent(event.valueInt, event.valueInt2); in processMessage()
752 processConnectionEvent(message, event.valueInt); in processMessage()
[all …]
DHeadsetService.java299 switch (stackEvent.valueInt) { in messageFromNative()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java122 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in testIncomingPriorityReject()
152 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in testIncomingPriorityAccept()
170 slcEvent.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_SLC_CONNECTED; in testIncomingPriorityAccept()
198 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in testIncomingTimeout()
241 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED; in testInBandRingtone()
255 slcEvent.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_SLC_CONNECTED; in testInBandRingtone()
268 event.valueInt = 0; in testInBandRingtone()
273 eventInBandRing.valueInt = 1; in testInBandRingtone()
294 eventIncomingCall.valueInt = 1; //index in testInBandRingtone()
309 eventCommandStatus.valueInt = AT_OK; in testInBandRingtone()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java206 processConnectionEvent(event.valueInt); in processMessage()
295 event.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in processMessage()
313 processConnectionEvent(event.valueInt); in processMessage()
391 event.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in processMessage()
406 processConnectionEvent(event.valueInt); in processMessage()
516 processConnectionEvent(event.valueInt); in processMessage()
519 processAudioStateEvent(event.valueInt); in processMessage()
DA2dpStackEvent.java46 public int valueInt = 0; field in A2dpStackEvent
59 result.append(", value1:" + eventTypeValueIntToString(type, valueInt)); in toString()
DA2dpNativeInterface.java171 event.valueInt = state; in onConnectionStateChanged()
182 event.valueInt = state; in onAudioStateChanged()
DA2dpService.java830 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.java441 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testOutgoingConnectDisconnectSuccess()
465 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in testOutgoingConnectDisconnectSuccess()
508 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testMaxConnectDevices()
966 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in connectDeviceWithCodecStatus()
988 stackEvent.valueInt = newConnectionState; in generateConnectionMessageFromNative()
1000 stackEvent.valueInt = newConnectionState; in generateUnexpectedConnectionMessageFromNative()
1011 stackEvent.valueInt = audioStackEvent; in generateAudioMessageFromNative()
1023 stackEvent.valueInt = audioStackEvent; in generateUnexpectedAudioMessageFromNative()