Searched refs:HalAudioGainCallback (Results 1 – 14 of 14) sorted by relevance
54 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()
172 HalAudioGainCallback halAudioGainCallback = mock(HalAudioGainCallback.class); in registerAudioGainCallback_throws()
216 HalAudioGainCallback gainCallback = mock(HalAudioGainCallback.class); in registerAudioGainCallback_throws()
155 private HalAudioGainCallback mHalAudioGainCallback;
53 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()
205 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 …]
138 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()
87 void registerAudioGainCallback(@NonNull HalAudioGainCallback gainCallback); in registerAudioGainCallback()
32 public interface HalAudioGainCallback { interface
80 public void registerAudioGainCallback(HalAudioGainCallback gainCallback) { in registerAudioGainCallback()
100 public void registerAudioGainCallback(HalAudioGainCallback gainCallback) { in registerAudioGainCallback()
28 import com.android.car.audio.hal.HalAudioGainCallback;61 public void registerAudioGainListener(HalAudioGainCallback callback) { in registerAudioGainListener()
40 import static com.android.car.audio.hal.HalAudioGainCallback.reasonToString;
143 import com.android.car.audio.hal.HalAudioGainCallback;366 private final HalAudioGainCallback mHalAudioGainCallback =367 new HalAudioGainCallback() {