/packages/services/Car/car-lib/src/android/car/media/ |
D | CarVolumeGroupEvent.java | 293 @EventTypeEnum int eventTypes, in CarVolumeGroupEvent() argument 298 this.mEventTypes = eventTypes; in CarVolumeGroupEvent() 422 public static List<Integer> convertFlagsToExtraInfo(int flags, int eventTypes) { in convertFlagsToExtraInfo() argument 435 if ((eventTypes & EVENT_TYPE_MUTE_CHANGED) != 0) { in convertFlagsToExtraInfo() 437 } else if ((eventTypes & EVENT_TYPE_VOLUME_GAIN_INDEX_CHANGED) != 0) { in convertFlagsToExtraInfo() 477 public static String eventTypeToString(@EventTypeEnum int eventTypes) { in eventTypeToString() argument 481 int eventType = eventTypes & (1 << i); in eventTypeToString() 607 int eventTypes = in.readInt(); in CarVolumeGroupEvent() local 611 this.mEventTypes = eventTypes; in CarVolumeGroupEvent() 652 @EventTypeEnum int eventTypes) { in Builder() argument [all …]
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | VolumeSettingsPreferenceController.java | 240 private void updateVolumeAndMute(int zoneId, int groupId, int eventTypes) { in updateVolumeAndMute() argument 247 updateVolumePreference(carAudioManager.getVolumeGroupInfo(zoneId, groupId), eventTypes); in updateVolumeAndMute() local 320 int eventTypes = event.getEventTypes(); in updateVolumeGroupForEvents() local 323 updateVolumePreference(infos.get(infoIndex), eventTypes); in updateVolumeGroupForEvents() local 344 private void updateVolumePreference(CarVolumeGroupInfo groupInfo, int eventTypes) { in updateVolumePreference() argument 350 if ((eventTypes & EVENT_TYPE_VOLUME_GAIN_INDEX_CHANGED) != 0) { in updateVolumePreference() 353 if ((eventTypes & EVENT_TYPE_MUTE_CHANGED) != 0) { in updateVolumePreference() 356 if ((eventTypes & EVENT_TYPE_VOLUME_MIN_INDEX_CHANGED) != 0) { in updateVolumePreference() 359 if ((eventTypes & EVENT_TYPE_VOLUME_MAX_INDEX_CHANGED) != 0) { in updateVolumePreference()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioUtils.java | 40 int eventTypes) { in convertVolumeChangeToEvent() argument 41 List<Integer> extraInfos = CarVolumeGroupEvent.convertFlagsToExtraInfo(flags, eventTypes); in convertVolumeChangeToEvent() 42 return new CarVolumeGroupEvent.Builder(List.of(info), eventTypes, extraInfos).build(); in convertVolumeChangeToEvent()
|
D | CarAudioService.java | 606 int eventTypes = EVENT_TYPE_VOLUME_GAIN_INDEX_CHANGED; in setGroupVolume() local 621 eventTypes |= EVENT_TYPE_MUTE_CHANGED; in setGroupVolume() 628 getVolumeGroupInfo(zoneId, groupId), callbackFlags, eventTypes))); in setGroupVolume() local 3047 int eventTypes = group.onAudioVolumeGroupChanged(flags); 3048 if (eventTypes == 0) { 3051 if ((eventTypes & EVENT_TYPE_VOLUME_GAIN_INDEX_CHANGED) != 0) { 3057 if ((eventTypes & EVENT_TYPE_MUTE_CHANGED) != 0) { 3061 getVolumeGroupInfo(zoneId, group.getId()), callbackFlags, eventTypes)));
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/ |
D | CarVolumeDialogImpl.java | 163 int eventTypes) { 168 eventTypes); 171 eventTypes, extraInfos); 843 int eventTypes = event.getEventTypes(); in updateVolumeGroupForEvents() local 847 updateVolumePreference(infos.get(infoIndex), eventTypes, extraInfos); in updateVolumeGroupForEvents() local 868 private void updateVolumePreference(CarVolumeGroupInfo groupInfo, int eventTypes, in updateVolumePreference() argument 880 if ((eventTypes & EVENT_TYPE_VOLUME_GAIN_INDEX_CHANGED) != 0) { in updateVolumePreference() 884 if ((eventTypes & EVENT_TYPE_MUTE_CHANGED) != 0) { in updateVolumePreference() 888 if ((eventTypes & EVENT_TYPE_VOLUME_MAX_INDEX_CHANGED) != 0) { in updateVolumePreference()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/systemui/keyguard/ |
D | ExperimentalCarKeyguardServiceTest.java | 127 int[] eventTypes = filterCaptor.getValue().getEventTypes(); in onInit_registersListeners() local 128 assertThat(Arrays.stream(eventTypes).anyMatch( in onInit_registersListeners() 130 assertThat(Arrays.stream(eventTypes).anyMatch( in onInit_registersListeners()
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | BlockingUserLifecycleListener.java | 325 private static String toString(@NonNull List<Integer> eventTypes) { in toString() argument 326 return eventTypes.stream() in toString()
|
/packages/services/Car/car-lib/src/android/car/user/ |
D | UserLifecycleEventFilter.java | 292 int[] eventTypes = (flg & 0x1) == 0 ? null : in.createIntArray(); in UserLifecycleEventFilter() local 295 this.mEventTypes = eventTypes; in UserLifecycleEventFilter()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/testapi/ |
D | BlockingUserLifecycleListenerTest.java | 281 @UserIdInt int userId, @UserLifecycleEventType int... eventTypes) { in sendAsyncEvents() argument 282 List<UserLifecycleEvent> events = Arrays.stream(eventTypes) in sendAsyncEvents()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarController.kt | 618 fun filterBroadcasts(sender: Object?, eventTypes: Long) { in filterBroadcasts() 619 filters.put(sender, eventTypes) in filterBroadcasts()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/ |
D | BottomActionBar.java | 675 private void skipAccessibilityEvent(BottomAction[] actions, int[] eventTypes) { in skipAccessibilityEvent() argument 681 if (!ArrayUtils.contains(eventTypes, eventType)) { in skipAccessibilityEvent()
|