Home
last modified time | relevance | path

Searched refs:HalAudioGainCallback (Results 1 – 14 of 14) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioGainCallbackTest.java54 assertWithMessage("Reason " + HalAudioGainCallback.reasonToString(validReason)) in isReasonValid_withValidReasons_succeeds()
55 .that(HalAudioGainCallback.isReasonValid(validReason)) in isReasonValid_withValidReasons_succeeds()
66 assertWithMessage("Reason " + HalAudioGainCallback.reasonToString(invalidReason)) in isReasonValid_withInvalidReasons_fails()
67 .that(HalAudioGainCallback.isReasonValid(invalidReason)) in isReasonValid_withInvalidReasons_fails()
88 String literalReason = HalAudioGainCallback.reasonToString(reasons.get(index)); in reasonToString_validReasons_succeeds()
101 String literalReason = HalAudioGainCallback.reasonToString(reasons.get(index)); in reasonToString_invalidReasons_succeeds()
116 String literalGain = HalAudioGainCallback.gainToString(audioGainConfigInfo); in gainToString_succeeds()
DAudioControlWrapperV1Test.java172 HalAudioGainCallback halAudioGainCallback = mock(HalAudioGainCallback.class); in registerAudioGainCallback_throws()
DAudioControlWrapperV2Test.java216 HalAudioGainCallback gainCallback = mock(HalAudioGainCallback.class); in registerAudioGainCallback_throws()
DAudioControlWrapperAidlTest.java155 private HalAudioGainCallback mHalAudioGainCallback;
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioGainMonitorTest.java53 import com.android.car.audio.hal.HalAudioGainCallback;
191 HalAudioGainCallback callback = mock(HalAudioGainCallback.class); in registercallback_succeeds()
204 HalAudioGainCallback callback = mock(HalAudioGainCallback.class); in registercallback_multipleTimes()
211 HalAudioGainCallback callback2 = mock(HalAudioGainCallback.class); in registercallback_multipleTimes()
DCarAudioServiceUnitTest.java205 import com.android.car.audio.hal.HalAudioGainCallback;
1612 HalAudioGainCallback callback = getHalAudioGainCallback(); in setGroupVolume_withVolumeGroupMutingDisabled_doesnotThrowException()
3891 HalAudioGainCallback callback = getHalAudioGainCallback(); in onAudioDeviceGainsChanged_forPrimaryZone_changesVolume()
3905 HalAudioGainCallback callback = getHalAudioGainCallback(); in onAudioDeviceGainsChanged_forSecondaryZone_changesVolume()
3919 HalAudioGainCallback callback = getHalAudioGainCallback(); in onAudioDeviceGainsChanged_forIncorrectDeviceAddress_sameVolume()
3935 HalAudioGainCallback callback = getHalAudioGainCallback(); in onAudioDeviceGainsChanged_forMultipleZones_changesVolume()
3956 HalAudioGainCallback halAudioGainCallback = getHalAudioGainCallback(); in onAudioDeviceGainsChanged_withMute_setsSystemMute()
5605 HalAudioGainCallback halAudioGainCallback = getHalAudioGainCallback(); in setUnmuted_whenMutedBySystem_triggersCallback()
5636 HalAudioGainCallback halAudioGainCallback = getHalAudioGainCallback(); in setMuted_whenMutedByApiAndSystem_doesNotTriggerCallback()
6429 private HalAudioGainCallback getHalAudioGainCallback() { in getHalAudioGainCallback()
[all …]
/packages/services/Car/service/src/com/android/car/audio/hal/
DAudioControlWrapperAidl.java138 public void registerAudioGainCallback(HalAudioGainCallback gainCallback) { in registerAudioGainCallback()
430 private @NonNull final HalAudioGainCallback mCallback;
432 AudioGainCallbackWrapper(@NonNull HalAudioGainCallback gainCallback) { in AudioGainCallbackWrapper()
458 if (!HalAudioGainCallback.isReasonValid(halReason)) { in onAudioDeviceGainsChanged()
476 reasonsString.add(HalAudioGainCallback.reasonToString(reasonsList.get(i))); in onAudioDeviceGainsChanged()
DAudioControlWrapper.java87 void registerAudioGainCallback(@NonNull HalAudioGainCallback gainCallback); in registerAudioGainCallback()
DHalAudioGainCallback.java32 public interface HalAudioGainCallback { interface
DAudioControlWrapperV1.java80 public void registerAudioGainCallback(HalAudioGainCallback gainCallback) { in registerAudioGainCallback()
DAudioControlWrapperV2.java100 public void registerAudioGainCallback(HalAudioGainCallback gainCallback) { in registerAudioGainCallback()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioGainMonitor.java28 import com.android.car.audio.hal.HalAudioGainCallback;
61 public void registerAudioGainListener(HalAudioGainCallback callback) { in registerAudioGainListener()
DCarVolumeGroup.java40 import static com.android.car.audio.hal.HalAudioGainCallback.reasonToString;
DCarAudioService.java143 import com.android.car.audio.hal.HalAudioGainCallback;
366 private final HalAudioGainCallback mHalAudioGainCallback =
367 new HalAudioGainCallback() {