/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioService.java | 111 static String getVolumeSettingsKeyForGroup(int zoneId, int groupId) { in getVolumeSettingsKeyForGroup() argument 112 final int maskedGroupId = (zoneId << 8) + groupId; in getVolumeSettingsKeyForGroup() 133 final int zoneId = CarAudioManager.PRIMARY_AUDIO_ZONE; 134 final int groupId = getVolumeGroupIdForUsage(zoneId, usage); 135 final int currentVolume = getGroupVolume(zoneId, groupId); 139 int minValue = Math.max(currentVolume - 1, getGroupMinVolume(zoneId, groupId)); 140 setGroupVolume(zoneId, groupId, minValue , flags); 143 int maxValue = Math.min(currentVolume + 1, getGroupMaxVolume(zoneId, groupId)); 144 setGroupVolume(zoneId, groupId, maxValue, flags); 148 callbackMasterMuteChange(zoneId, flags); [all …]
|
D | CarZonesAudioFocus.java | 75 ArrayList<AudioFocusInfo> getAudioFocusLosersForUid(int uid, int zoneId) { in getAudioFocusLosersForUid() argument 76 CarAudioFocus focus = mFocusZones.get(zoneId); in getAudioFocusLosersForUid() 86 ArrayList<AudioFocusInfo> getAudioFocusHoldersForUid(int uid, int zoneId) { in getAudioFocusHoldersForUid() argument 87 CarAudioFocus focus = mFocusZones.get(zoneId); in getAudioFocusHoldersForUid() 97 int zoneId) { in transientlyLoseInFocusInZone() argument 98 CarAudioFocus focus = mFocusZones.get(zoneId); in transientlyLoseInFocusInZone() 123 for (int zoneId : mFocusZones.keySet()) { in setOwningPolicy() 124 mFocusZones.get(zoneId).setOwningPolicy(mCarAudioService, mAudioPolicy); in setOwningPolicy() 149 int zoneId = mCarAudioService.getZoneIdForUid(afi.getClientUid()); in getFocusForAudioFocusInfo() local 162 zoneId = bundleZoneId; in getFocusForAudioFocusInfo() [all …]
|
D | CarVolumeGroup.java | 64 CarVolumeGroup(Context context, int zoneId, int id) { in CarVolumeGroup() argument 66 mZoneId = zoneId; in CarVolumeGroup() 81 CarVolumeGroup(Context context, int zoneId, int id, @NonNull int[] contexts) { in CarVolumeGroup() argument 82 this(context, zoneId, id); in CarVolumeGroup()
|
D | CarAudioZonesHelper.java | 216 private CarVolumeGroup parseVolumeGroup(XmlPullParser parser, int zoneId, int groupId) in parseVolumeGroup() argument 218 final CarVolumeGroup group = new CarVolumeGroup(mContext, zoneId, groupId); in parseVolumeGroup() 269 int zoneId = mNextSecondaryZoneId; in getNextSecondaryZoneId() local 271 return zoneId; in getNextSecondaryZoneId()
|
/packages/services/Car/car-lib/src/android/car/media/ |
D | CarAudioManager.java | 92 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) { 94 callback.onGroupVolumeChanged(zoneId, groupId, flags); 99 public void onMasterMuteChanged(int zoneId, int flags) { 101 callback.onMasterMuteChanged(zoneId, flags); 144 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() argument 146 mService.setGroupVolume(zoneId, groupId, index, flags); in setGroupVolume() 174 public int getGroupMaxVolume(int zoneId, int groupId) { in getGroupMaxVolume() argument 176 return mService.getGroupMaxVolume(zoneId, groupId); in getGroupMaxVolume() 204 public int getGroupMinVolume(int zoneId, int groupId) { in getGroupMinVolume() argument 206 return mService.getGroupMinVolume(zoneId, groupId); in getGroupMinVolume() [all …]
|
D | ICarAudio.aidl | 29 void setGroupVolume(int zoneId, int groupId, int index, int flags); in setGroupVolume() argument 30 int getGroupMaxVolume(int zoneId, int groupId); in getGroupMaxVolume() argument 31 int getGroupMinVolume(int zoneId, int groupId); in getGroupMinVolume() argument 32 int getGroupVolume(int zoneId, int groupId); in getGroupVolume() argument 41 int getVolumeGroupCount(int zoneId); in getVolumeGroupCount() argument 42 int getVolumeGroupIdForUsage(int zoneId, int usage); in getVolumeGroupIdForUsage() argument 43 int[] getUsagesForVolumeGroupId(int zoneId, int groupId); in getUsagesForVolumeGroupId() argument 47 boolean setZoneIdForUid(int zoneId, int uid); in setZoneIdForUid() argument
|
D | ICarVolumeCallback.aidl | 30 void onGroupVolumeChanged(int zoneId, int groupId, int flags); in onGroupVolumeChanged() argument 37 void onMasterMuteChanged(int zoneId, int flags); in onMasterMuteChanged() argument
|
/packages/services/Car/service/src/com/android/car/hal/ |
D | VehicleHal.java | 602 int zoneId = Integer.decode(zone); in injectVhalEvent() local 603 VehiclePropValue v = createPropValue(propId, zoneId); in injectVhalEvent() 644 int zoneId = Integer.decode(zone); in injectOnPropertySetError() local 646 onPropertySetError(errorId, propId, zoneId); in injectOnPropertySetError()
|