Home
last modified time | relevance | path

Searched refs:valueInt2 (Results 1 – 25 of 26) sorted by relevance

12

/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfp/
DHeadsetStackEvent.java50 public final int valueInt2; field 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()
123 int valueInt2, in HeadsetStackEvent() argument
129 this.valueInt2 = valueInt2; in HeadsetStackEvent()
203 .append(valueInt2) in buildString()
DHeadsetStateMachine.java785 processSWBEvent(event.valueInt, event.valueInt2); in processMessage()
838 + event.valueInt2); in processMessage()
839 processAtBiev(event.valueInt, event.valueInt2, event.device); in processMessage()
843 processVolumeEvent(event.valueInt, event.valueInt2); in processMessage()
1155 processVolumeEvent(event.valueInt, event.valueInt2); in processMessage()
1170 processSWBEvent(event.valueInt, event.valueInt2); in processMessage()
1197 processAtBiev(event.valueInt, event.valueInt2, event.device); in processMessage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hap/
DHapClientNativeInterface.java256 event.valueInt2 = groupId; in onActivePresetGroupSelected()
280 event.valueInt2 = groupId; in onActivePresetGroupSelectError()
291 event.valueInt2 = infoReason; in onPresetInfo()
302 event.valueInt2 = infoReason; in onGroupPresetInfo()
316 event.valueInt2 = presetIndex; in onPresetNameSetError()
327 event.valueInt2 = presetIndex; in onGroupPresetNameSetError()
340 event.valueInt2 = presetIndex; in onPresetInfoError()
351 event.valueInt2 = presetIndex; in onGroupPresetInfoError()
DHapClientStackEvent.java85 public int valueInt2; field in HapClientStackEvent
100 result.append(", value2: " + eventTypeValueInt2ToString(type, valueInt2)); in toString()
DHapClientService.java1109 int groupId = stackEvent.valueInt2; in messageFromNative()
1131 int groupId = stackEvent.valueInt2; in messageFromNative()
1144 int infoReason = stackEvent.valueInt2; in messageFromNative()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hap/
DHapClientNativeInterfaceTest.java120 assertThat(event.getValue().valueInt2).isEqualTo(groupId); in onActivePresetGroupSelected()
148 assertThat(event.getValue().valueInt2).isEqualTo(groupId); in onActivePresetGroupSelectError()
166 assertThat(event.getValue().valueInt2).isEqualTo(infoReason); in onPresetInfo()
186 assertThat(event.getValue().valueInt2).isEqualTo(infoReason); in onGroupPresetInfo()
203 assertThat(event.getValue().valueInt2).isEqualTo(presetIndex); in onPresetNameSetError()
219 assertThat(event.getValue().valueInt2).isEqualTo(presetIndex); in onGroupPresetNameSetError()
235 assertThat(event.getValue().valueInt2).isEqualTo(presetIndex); in onPresetInfoError()
251 assertThat(event.getValue().valueInt2).isEqualTo(presetIndex); in onGroupPresetInfoError()
DHapClientStackEventTest.java137 event.valueInt2 = -1; in toString_containsProperSubStrings()
142 event.valueInt2 = HapClientStackEvent.PRESET_INFO_REASON_ALL_PRESET_INFO; in toString_containsProperSubStrings()
146 event.valueInt2 = HapClientStackEvent.PRESET_INFO_REASON_PRESET_INFO_UPDATE; in toString_containsProperSubStrings()
150 event.valueInt2 = HapClientStackEvent.PRESET_INFO_REASON_PRESET_DELETED; in toString_containsProperSubStrings()
154 event.valueInt2 = HapClientStackEvent.PRESET_INFO_REASON_PRESET_AVAILABILITY_CHANGED; in toString_containsProperSubStrings()
158 event.valueInt2 = HapClientStackEvent.PRESET_INFO_REASON_PRESET_INFO_REQUEST_RESPONSE; in toString_containsProperSubStrings()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/le_audio/
DLeAudioBroadcastServiceTest.java312 state_event.valueInt2 = LeAudioStackEvent.BROADCAST_STATE_PAUSED; in verifyBroadcastStarted()
318 state_event.valueInt2 = LeAudioStackEvent.BROADCAST_STATE_STREAMING; in verifyBroadcastStarted()
336 state_event.valueInt2 = LeAudioStackEvent.BROADCAST_STATE_STOPPED; in verifyBroadcastStopped()
475 state_event.valueInt2 = LeAudioStackEvent.BROADCAST_STATE_PAUSED; in testCreateBroadcastTimeout()
684 state_event.valueInt2 = LeAudioStackEvent.BROADCAST_STATE_STOPPED; in testIsBroadcastActive()
768 create_event.valueInt2 = LeAudioStackEvent.GROUP_NODE_ADDED; in prepareConnectedUnicastDevice()
774 create_event.valueInt2 = groupId; in prepareConnectedUnicastDevice()
798 create_event.valueInt2 = LeAudioStackEvent.GROUP_STATUS_ACTIVE; in testCreatePendingBroadcast()
818 create_event.valueInt2 = LeAudioStackEvent.GROUP_STATUS_INACTIVE; in testCreatePendingBroadcast()
886 create_event.valueInt2 = LeAudioStackEvent.GROUP_STATUS_ACTIVE; in prepareHandoverStreamingBroadcast()
[all …]
DLeAudioServiceTest.java1170 nodeGroupAdded.valueInt2 = LeAudioStackEvent.GROUP_NODE_ADDED; in generateGroupNodeAdded()
1179 nodeGroupRemoved.valueInt2 = LeAudioStackEvent.GROUP_NODE_REMOVED; in generateGroupNodeRemoved()
1328 nodeGroupAdded.valueInt2 = LeAudioStackEvent.GROUP_NODE_ADDED; in connectTestDevice()
1373 audioConfChangedEvent.valueInt2 = groupId; in testSetActiveDeviceGroup()
1386 groupStatusChangedEvent.valueInt2 = LeAudioStackEvent.GROUP_STATUS_ACTIVE; in testSetActiveDeviceGroup()
1396 groupStatusChangedEvent.valueInt2 = LeAudioStackEvent.GROUP_STATUS_INACTIVE; in testSetActiveDeviceGroup()
1424 audioConfChangedEvent.valueInt2 = groupId; in testSetActiveDeviceGroupTwice()
1437 groupStatusChangedEvent.valueInt2 = LeAudioStackEvent.GROUP_STATUS_ACTIVE; in testSetActiveDeviceGroupTwice()
1488 audioConfChangedEvent.valueInt2 = groupId; in testSetActiveDeviceGroupWithNoContextTypes()
1526 audioConfChangedEvent.valueInt2 = groupId_1; in testSwitchActiveGroups()
[all …]
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/le_audio/
DLeAudioNativeInterface.java119 event.valueInt2 = groupStatus; in onGroupStatus()
130 event.valueInt2 = nodeStatus; in onGroupNodeStatus()
147 event.valueInt2 = groupId; in onAudioConf()
233 event.valueInt2 = action; in onHealthBasedGroupRecommendationAction()
244 event.valueInt2 = status; in onUnicastMonitorModeStatus()
255 event.valueInt2 = groupStreamStatus; in onGroupStreamStatus()
DLeAudioStackEvent.java101 public int valueInt2 = 0; field in LeAudioStackEvent
125 result.append(", value2:" + eventTypeValue2ToString(type, valueInt2)); in toString()
DLeAudioBroadcasterNativeInterface.java119 event.valueInt2 = state; in onBroadcastStateChanged()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/vc/
DVolumeControlNativeInterface.java260 event.valueInt2 = volume; in onVolumeStateChanged()
275 event.valueInt2 = volume; in onGroupVolumeStateChanged()
301 event.valueInt2 = offset; in onExtAudioOutVolumeOffsetChanged()
314 event.valueInt2 = location; in onExtAudioOutLocationChanged()
DVolumeControlStackEvent.java42 public int valueInt2; field in VolumeControlStackEvent
60 result.append(", valueInt2:" + eventTypeValue2ToString(type, valueInt2)); in toString()
DVolumeControlService.java1132 stackEvent.valueInt2, in messageFromNative()
1159 handleDeviceExtAudioOffsetChanged(device, stackEvent.valueInt1, stackEvent.valueInt2); in messageFromNative()
1164 handleDeviceExtAudioLocationChanged(device, stackEvent.valueInt1, stackEvent.valueInt2); in messageFromNative()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/hfpclient/
DStackEvent.java59 public int valueInt2 = 0; field in StackEvent
75 result.append(", value2:" + valueInt2); in toString()
DNativeInterface.java353 event.valueInt2 = peerFeat; in onConnectionStateChanged()
580 event.valueInt2 = dir; in onCurrentCalls()
598 event.valueInt2 = volume; in onVolumeChange()
613 event.valueInt2 = cme; in onCmdResult()
DHeadsetClientStateMachine.java1238 event.valueInt, event.valueInt2, event.valueInt3, event.device); in processMessage()
1735 event.valueInt2 in processMessage()
1740 mCommandedSpeakerVolume = hfToAmVol(event.valueInt2); in processMessage()
1751 mAudioManager.setMicrophoneMute(event.valueInt2 == 0); in processMessage()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/csip/
DCsipSetCoordinatorStackEvent.java51 public int valueInt2 = 0; field in CsipSetCoordinatorStackEvent
68 result.append(", " + eventTypeValueInt2ToString(type, valueInt2)); in toString()
DCsipSetCoordinatorNativeInterface.java157 event.valueInt2 = groupSize; in onDeviceAvailable()
194 event.valueInt2 = status; in onGroupLockChanged()
DCsipSetCoordinatorService.java840 BluetoothCsipSetCoordinator.EXTRA_CSIS_GROUP_SIZE, stackEvent.valueInt2); in messageFromNative()
849 stackEvent.valueInt2); in messageFromNative()
860 int lock_status = stackEvent.valueInt2; in messageFromNative()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/hfpclient/
DHfpNativeInterfaceTest.java72 assertThat(event.getValue().valueInt2).isEqualTo(peerFeat); in onConnectionStateChanged()
232 assertThat(event.getValue().valueInt2).isEqualTo(dir); in onCurrentCalls()
248 assertThat(event.getValue().valueInt2).isEqualTo(volume); in onVolumeChange()
261 assertThat(event.getValue().valueInt2).isEqualTo(cme); in onCmdResult()
DStackEventTest.java44 + event.valueInt2 in toString_returnsInfo()
DHeadsetClientStateMachineTest.java333 slcEvent.valueInt2 = HeadsetClientHalConstants.PEER_FEAT_ECS;
511 slcEvent.valueInt2 = HeadsetClientHalConstants.PEER_FEAT_ECS;
562 eventIncomingCall.valueInt2 = 1; // direction
629 event.valueInt2 = HeadsetClientHalConstants.PEER_FEAT_ECS;
690 slcEvent.valueInt2 = HeadsetClientHalConstants.PEER_FEAT_ECS;
691 slcEvent.valueInt2 |= HeadsetClientHalConstants.PEER_FEAT_HF_IND;
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/vc/
DVolumeControlServiceTest.java559 stackEvent.valueInt2 = volume; in testVolumeControlStackEvents()
583 stackEvent.valueInt2 = in testVolumeCalculations()
627 stackEvent.valueInt2 = streamVol; in testAutonomousMuteUnmute()
667 stackEvent.valueInt2 = volume; in testVolumeCache()
722 stackEvent.valueInt2 = volume; in testMuteCache()
755 stackEvent.valueInt2 = volume; in testVolumeChangeWhileMuted()
1381 stackEvent.valueInt2 = groupVolume; in testVolumeControlChangedCallback()
1395 stackEvent2.valueInt2 = deviceOneVolume; in testVolumeControlChangedCallback()
1495 event.valueInt2 = offset; // offset value in generateDeviceOffsetChangedMessageFromNative()
1507 event.valueInt2 = location; // location in generateDeviceLocationChangedMessageFromNative()

12