/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 | 94 public void onGroupVolumeChanged(int zoneId, int groupId, int flags) { 96 callback.onGroupVolumeChanged(zoneId, groupId, flags); 101 public void onMasterMuteChanged(int zoneId, int flags) { 103 callback.onMasterMuteChanged(zoneId, flags); 146 public void setGroupVolume(int zoneId, int groupId, int index, int flags) { in setGroupVolume() argument 148 mService.setGroupVolume(zoneId, groupId, index, flags); in setGroupVolume() 176 public int getGroupMaxVolume(int zoneId, int groupId) { in getGroupMaxVolume() argument 178 return mService.getGroupMaxVolume(zoneId, groupId); in getGroupMaxVolume() 206 public int getGroupMinVolume(int zoneId, int groupId) { in getGroupMinVolume() argument 208 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 | 601 int zoneId = Integer.decode(zone); in injectVhalEvent() local 602 VehiclePropValue v = createPropValue(propId, zoneId); in injectVhalEvent() 643 int zoneId = Integer.decode(zone); in injectOnPropertySetError() local 645 onPropertySetError(errorId, propId, zoneId); in injectOnPropertySetError()
|