Searched refs:VolumeControlStackEvent (Results 1 – 7 of 7) sorted by relevance
126 VolumeControlStackEvent connStCh = in testIncomingPolicyReject()127 new VolumeControlStackEvent( in testIncomingPolicyReject()128 VolumeControlStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testIncomingPolicyReject()130 connStCh.valueInt1 = VolumeControlStackEvent.CONNECTION_STATE_CONNECTED; in testIncomingPolicyReject()148 VolumeControlStackEvent connStCh = in testIncomingPolicyAccept()149 new VolumeControlStackEvent( in testIncomingPolicyAccept()150 VolumeControlStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in testIncomingPolicyAccept()152 connStCh.valueInt1 = VolumeControlStackEvent.CONNECTION_STATE_CONNECTING; in testIncomingPolicyAccept()169 VolumeControlStackEvent connCompletedEvent = in testIncomingPolicyAccept()170 new VolumeControlStackEvent( in testIncomingPolicyAccept()[all …]
58 int state = VolumeControlStackEvent.CONNECTION_STATE_CONNECTED; in onConnectionStateChanged()63 ArgumentCaptor<VolumeControlStackEvent> event = in onConnectionStateChanged()64 ArgumentCaptor.forClass(VolumeControlStackEvent.class); in onConnectionStateChanged()67 .isEqualTo(VolumeControlStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in onConnectionStateChanged()79 ArgumentCaptor<VolumeControlStackEvent> event = in onVolumeStateChanged()80 ArgumentCaptor.forClass(VolumeControlStackEvent.class); in onVolumeStateChanged()83 .isEqualTo(VolumeControlStackEvent.EVENT_TYPE_VOLUME_STATE_CHANGED); in onVolumeStateChanged()95 ArgumentCaptor<VolumeControlStackEvent> event = in onGroupVolumeStateChanged()96 ArgumentCaptor.forClass(VolumeControlStackEvent.class); in onGroupVolumeStateChanged()99 .isEqualTo(VolumeControlStackEvent.EVENT_TYPE_VOLUME_STATE_CHANGED); in onGroupVolumeStateChanged()[all …]
554 VolumeControlStackEvent stackEvent = in testVolumeControlStackEvents()555 new VolumeControlStackEvent( in testVolumeControlStackEvents()556 VolumeControlStackEvent.EVENT_TYPE_VOLUME_STATE_CHANGED); in testVolumeControlStackEvents()571 final VolumeControlStackEvent stackEvent = in testVolumeCalculations()572 new VolumeControlStackEvent( in testVolumeCalculations()573 VolumeControlStackEvent.EVENT_TYPE_VOLUME_STATE_CHANGED); in testVolumeCalculations()622 final VolumeControlStackEvent stackEvent = in testAutonomousMuteUnmute()623 new VolumeControlStackEvent( in testAutonomousMuteUnmute()624 VolumeControlStackEvent.EVENT_TYPE_VOLUME_STATE_CHANGED); in testAutonomousMuteUnmute()662 VolumeControlStackEvent stackEvent = in testVolumeCache()[all …]
165 VolumeControlStackEvent event = (VolumeControlStackEvent) message.obj; in processMessage()171 case VolumeControlStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED: in processMessage()188 case VolumeControlStackEvent.CONNECTION_STATE_DISCONNECTED: in processConnectionEvent()191 case VolumeControlStackEvent.CONNECTION_STATE_CONNECTING: in processConnectionEvent()205 case VolumeControlStackEvent.CONNECTION_STATE_CONNECTED: in processConnectionEvent()218 case VolumeControlStackEvent.CONNECTION_STATE_DISCONNECTING: in processConnectionEvent()268 VolumeControlStackEvent disconnectEvent = in processMessage()269 new VolumeControlStackEvent( in processMessage()270 VolumeControlStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in processMessage()273 VolumeControlStackEvent.CONNECTION_STATE_DISCONNECTED; in processMessage()[all …]
229 private void sendMessageToService(VolumeControlStackEvent event) { in sendMessageToService()243 VolumeControlStackEvent event = in onConnectionStateChanged()244 new VolumeControlStackEvent( in onConnectionStateChanged()245 VolumeControlStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED); in onConnectionStateChanged()255 VolumeControlStackEvent event = in onVolumeStateChanged()256 new VolumeControlStackEvent( in onVolumeStateChanged()257 VolumeControlStackEvent.EVENT_TYPE_VOLUME_STATE_CHANGED); in onVolumeStateChanged()270 VolumeControlStackEvent event = in onGroupVolumeStateChanged()271 new VolumeControlStackEvent( in onGroupVolumeStateChanged()272 VolumeControlStackEvent.EVENT_TYPE_VOLUME_STATE_CHANGED); in onGroupVolumeStateChanged()[all …]
22 public class VolumeControlStackEvent { class49 VolumeControlStackEvent(int type) { in VolumeControlStackEvent() method in VolumeControlStackEvent
1125 void messageFromNative(VolumeControlStackEvent stackEvent) { in messageFromNative()1128 if (stackEvent.type == VolumeControlStackEvent.EVENT_TYPE_VOLUME_STATE_CHANGED) { in messageFromNative()1152 if (stackEvent.type == VolumeControlStackEvent.EVENT_TYPE_DEVICE_AVAILABLE) { in messageFromNative()1158 == VolumeControlStackEvent.EVENT_TYPE_EXT_AUDIO_OUT_VOL_OFFSET_CHANGED) { in messageFromNative()1163 if (stackEvent.type == VolumeControlStackEvent.EVENT_TYPE_EXT_AUDIO_OUT_LOCATION_CHANGED) { in messageFromNative()1169 == VolumeControlStackEvent.EVENT_TYPE_EXT_AUDIO_OUT_DESCRIPTION_CHANGED) { in messageFromNative()1179 == VolumeControlStackEvent.EVENT_TYPE_CONNECTION_STATE_CHANGED) { in messageFromNative()1181 case VolumeControlStackEvent.CONNECTION_STATE_CONNECTED: in messageFromNative()1182 case VolumeControlStackEvent.CONNECTION_STATE_CONNECTING: in messageFromNative()