Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetStackEvent.java49 public final int valueInt; field in HeadsetStackEvent
72 public HeadsetStackEvent(int type, int valueInt, BluetoothDevice device) { in HeadsetStackEvent() argument
73 this(type, valueInt, 0, null, null, device); in HeadsetStackEvent()
84 public HeadsetStackEvent(int type, int valueInt, int valueInt2, BluetoothDevice device) { in HeadsetStackEvent() argument
85 this(type, valueInt, valueInt2, null, null, device); in HeadsetStackEvent()
122 int valueInt, in HeadsetStackEvent() argument
128 this.valueInt = valueInt; in HeadsetStackEvent()
201 .append(valueInt) in buildString()
DHeadsetStateMachine.java631 processConnectionEvent(message, event.valueInt); in processMessage()
776 processConnectionEvent(message, event.valueInt); in processMessage()
782 processWBSEvent(event.valueInt); in processMessage()
785 processSWBEvent(event.valueInt, event.valueInt2); in processMessage()
796 + event.valueInt); in processMessage()
797 processVrEvent(event.valueInt); in processMessage()
808 + event.valueInt); in processMessage()
836 + event.valueInt in processMessage()
839 processAtBiev(event.valueInt, event.valueInt2, event.device); in processMessage()
843 processVolumeEvent(event.valueInt, event.valueInt2); in processMessage()
[all …]
DHeadsetService.java366 switch (stackEvent.valueInt) { in messageFromNative()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHfpNativeInterfaceTest.java71 assertThat(event.getValue().valueInt).isEqualTo(state); in onConnectionStateChanged()
84 assertThat(event.getValue().valueInt).isEqualTo(state); in onAudioStateChanged()
95 assertThat(event.getValue().valueInt).isEqualTo(state); in onVrStateChanged()
106 assertThat(event.getValue().valueInt).isEqualTo(state); in onNetworkState()
117 assertThat(event.getValue().valueInt).isEqualTo(state); in onNetworkRoaming()
128 assertThat(event.getValue().valueInt).isEqualTo(signal); in onNetworkSignal()
139 assertThat(event.getValue().valueInt).isEqualTo(level); in onBatteryLevel()
161 assertThat(event.getValue().valueInt).isEqualTo(call); in onCall()
172 assertThat(event.getValue().valueInt).isEqualTo(callsetup); in onCallSetup()
183 assertThat(event.getValue().valueInt).isEqualTo(callheld); in onCallHeld()
[all …]
DHeadsetClientStateMachineTest.java274 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED;
310 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED;
332 slcEvent.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_SLC_CONNECTED;
367 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED;
489 connStCh.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_CONNECTED;
510 slcEvent.valueInt = HeadsetClientHalConstants.CONNECTION_STATE_SLC_CONNECTED;
532 event.valueInt = 0;
537 eventInBandRing.valueInt = 1;
561 eventIncomingCall.valueInt = 1; // index
576 eventCommandStatus.valueInt = AT_OK;
[all …]
DStackEventTest.java42 + event.valueInt in toString_returnsInfo()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DNativeInterface.java352 event.valueInt = state; in onConnectionStateChanged()
370 event.valueInt = state; in onAudioStateChanged()
387 event.valueInt = state; in onVrStateChanged()
404 event.valueInt = state; in onNetworkState()
422 event.valueInt = state; in onNetworkRoaming()
438 event.valueInt = signal; in onNetworkSignal()
452 event.valueInt = level; in onBatteryLevel()
482 event.valueInt = call; in onCall()
502 event.valueInt = callsetup; in onCallSetup()
523 event.valueInt = callheld; in onCallHeld()
[all …]
DHeadsetClientStateMachine.java1139 + event.valueInt); in processMessage()
1140 processConnectionEvent(event.valueInt, event.device); in processMessage()
1236 + event.valueInt); in processMessage()
1238 event.valueInt, event.valueInt2, event.valueInt3, event.device); in processMessage()
1258 + event.valueInt in processMessage()
1270 if (event.valueInt == StackEvent.CMD_RESULT_TYPE_OK) { in processMessage()
1619 + event.valueInt); in processMessage()
1620 processConnectionEvent(event.valueInt, event.device); in processMessage()
1627 + event.valueInt); in processMessage()
1628 processAudioEvent(event.valueInt, event.device); in processMessage()
[all …]
DStackEvent.java58 public int valueInt = 0; field in StackEvent
74 result.append(", value1:" + valueInt); in toString()
DHeadsetClientService.java1180 if ((stackEvent.valueInt == HeadsetClientHalConstants.CONNECTION_STATE_CONNECTING) in isConnectionEvent()
1181 || (stackEvent.valueInt in isConnectionEvent()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/tbs/
DTbsGatt.java791 private boolean updateStatusFlags(BluetoothDevice device, int valueInt) { in updateStatusFlags() argument
794 value[0] = (byte) (valueInt & 0xFF); in updateStatusFlags()
795 value[1] = (byte) ((valueInt >> 8) & 0xFF); in updateStatusFlags()
808 Integer valueInt = entryExist ? mStatusFlagValue.get(device) : 0; in updateStatusFlagsInbandRingtone() local
809 valueInt ^= STATUS_FLAG_INBAND_RINGTONE_ENABLED; in updateStatusFlagsInbandRingtone()
812 mStatusFlagValue.replace(device, valueInt); in updateStatusFlagsInbandRingtone()
814 mStatusFlagValue.put(device, valueInt); in updateStatusFlagsInbandRingtone()
816 return updateStatusFlags(device, valueInt); in updateStatusFlagsInbandRingtone()
830 Integer valueInt = entryExist ? mStatusFlagValue.get(device) : 0; in updateStatusFlagsSilentMode() local
831 valueInt ^= STATUS_FLAG_SILENT_MODE_ENABLED; in updateStatusFlagsSilentMode()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dp/
DA2dpStackEvent.java46 public int valueInt = 0; field in A2dpStackEvent
59 result.append(", value1:" + eventTypeValueIntToString(type, valueInt)); in toString()
DA2dpStateMachine.java218 processConnectionEvent(event.valueInt); in processMessage()
344 event.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in processMessage()
364 processConnectionEvent(event.valueInt); in processMessage()
458 event.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in processMessage()
473 processConnectionEvent(event.valueInt); in processMessage()
598 processConnectionEvent(event.valueInt); in processMessage()
601 processAudioStateEvent(event.valueInt); in processMessage()
DA2dpNativeInterface.java196 event.valueInt = state; in onConnectionStateChanged()
205 event.valueInt = state; in onAudioStateChanged()
DA2dpService.java937 switch (stackEvent.valueInt) { in messageFromNative()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/a2dp/
DA2dpStateMachineTest.java174 connStCh.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testIncomingPriorityReject()
194 connStCh.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTING; in testIncomingPriorityAccept()
212 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testIncomingPriorityAccept()
276 connStCh.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTING; in testIncomingTimeout()
376 connStCh.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testProcessCodecConfigEventCase()
DA2dpServiceTest.java368 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testOutgoingConnectDisconnectSuccess()
396 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_DISCONNECTED; in testOutgoingConnectDisconnectSuccess()
442 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in testMaxConnectDevices()
1072 connCompletedEvent.valueInt = A2dpStackEvent.CONNECTION_STATE_CONNECTED; in connectDeviceWithCodecStatus()
1097 stackEvent.valueInt = newConnectionState; in generateConnectionMessageFromNative()
1110 stackEvent.valueInt = newConnectionState; in generateUnexpectedConnectionMessageFromNative()
1123 stackEvent.valueInt = audioStackEvent; in generateAudioMessageFromNative()
1140 stackEvent.valueInt = audioStackEvent; in generateUnexpectedAudioMessageFromNative()