Searched refs:mDefaultGain (Results 1 – 5 of 5) sorted by relevance
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioVolumeGroup.java | 42 private int mDefaultGain = Integer.MAX_VALUE; field in CarAudioVolumeGroup 59 mDefaultGain = defaultGain; in CarAudioVolumeGroup() 104 mMaxGain, mDefaultGain, getGainForIndexLocked(mCurrentGainIndex)); in dumpLocked() 110 return getIndexForGainLocked(mDefaultGain); in getDefaultGainIndex() 177 if (defaultGain != mDefaultGain) { in calculateNewGainStageFromDeviceInfos() 178 mDefaultGain = defaultGain; in calculateNewGainStageFromDeviceInfos() 198 mCurrentGainIndex = getIndexForGainLocked(mDefaultGain); in calculateNewGainStageFromDeviceInfos()
|
D | CarVolumeGroupFactory.java | 42 private int mDefaultGain = Integer.MIN_VALUE; field in CarVolumeGroupFactory 74 mContextToDeviceInfo, mZoneId, mConfigId, mId, mName, mStepSize, mDefaultGain, in getCarVolumeGroup() 98 if (info.getDefaultGain() > mDefaultGain) { in setDeviceInfoForContext() 101 mDefaultGain = info.getDefaultGain(); in setDeviceInfoForContext() 131 return mDefaultGain; in getDefaultGain()
|
D | CarAudioDeviceInfo.java | 72 private int mDefaultGain; field in CarAudioDeviceInfo 106 mDefaultGain = UNINITIALIZED_GAIN; in CarAudioDeviceInfo() 231 return mDefaultGain; in getDefaultGain() 301 mDefaultGain = halDeviceInfo.getGainDefaultValue(); in updateAudioDeviceInfo() 346 mDefaultGain = audioGainInfo.getDefaultGain(); in setAudioGainInfoIfNeededLocked() 363 mDefaultGain = UNINITIALIZED_GAIN; in resetAudioDeviceInfoToDefaultLocked() 472 mMinGain, mMaxGain, mDefaultGain, mCurrentGain); in dump() 491 proto.write(CarAudioDumpProto.CarVolumeGain.DEFAULT_GAIN_INDEX, mDefaultGain); in dumpProto()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | TestCarAudioDeviceInfoBuilder.java | 41 private int mDefaultGain = DEFAULT_GAIN; field in TestCarAudioDeviceInfoBuilder 58 mDefaultGain = defaultGain; in setDefaultGain() 88 when(infoMock.getDefaultGain()).thenReturn(mDefaultGain); in build()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/media/ |
D | AudioManagerHelper.java | 373 private final int mDefaultGain; field in AudioManagerHelper.AudioGainInfo 379 mDefaultGain = gain.defaultValue(); in AudioGainInfo() 392 return mDefaultGain; in getDefaultGain()
|