Home
last modified time | relevance | path

Searched refs:mVolumeCallback (Results 1 – 3 of 3) sorted by relevance

/packages/services/Car/service/src/com/android/car/audio/
DCarAudioPolicyVolumeCallback.java54 private final AudioPolicyVolumeCallbackInternal mVolumeCallback; field in CarAudioPolicyVolumeCallback
69 mVolumeCallback = Objects.requireNonNull(volumeCallback, "Volume Callback cannot be null"); in CarAudioPolicyVolumeCallback()
109 mVolumeCallback.onGroupVolumeChange(info.getZoneId(), info.getId(), in evaluateVolumeAdjustmentExternal()
115 mVolumeCallback.onMuteChange(info.isMuted(), info.getZoneId(), info.getId(), flags); in evaluateVolumeAdjustmentExternal()
123 mVolumeCallback.onMuteChange(info.isMuted(), info.getZoneId(), in evaluateVolumeAdjustmentExternal()
127 mVolumeCallback.onGroupVolumeChange(info.getZoneId(), in evaluateVolumeAdjustmentExternal()
173 mVolumeCallback.onGroupVolumeChange(zoneId, groupId, minValue, flags); in evaluateVolumeAdjustmentInternal()
181 mVolumeCallback.onGroupVolumeChange(zoneId, groupId, maxValue, flags); in evaluateVolumeAdjustmentInternal()
185 mVolumeCallback.onMuteChange(adjustment == ADJUST_MUTE, zoneId, groupId, flags); in evaluateVolumeAdjustmentInternal()
188 mVolumeCallback.onMuteChange(!isMuted, zoneId, groupId, flags); in evaluateVolumeAdjustmentInternal()
/packages/apps/Settings/src/com/android/settings/notification/
DSoundSettings.java68 final VolumePreferenceCallback mVolumeCallback = new VolumePreferenceCallback(); field in SoundSettings
75 mVolumeCallback.stopSample();
124 mVolumeCallback.stopSample(); in onPause()
209 controller.setCallback(mVolumeCallback); in onAttach()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DSoundSettingsTest.java82 settings.mVolumeCallback, "mCurrent", mock(SeekBarVolumizer.class)); in onStreamValueChanged_shouldRepostStopSampleMessage()
84 settings.mVolumeCallback.onStreamValueChanged(0, 5); in onStreamValueChanged_shouldRepostStopSampleMessage()