Home
last modified time | relevance | path

Searched refs:AudioControlWrapper (Results 1 – 19 of 19) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DAudioControlWrapperV1Test.java20 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_DUCKING;
21 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_FOCUS;
22 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING;
213 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in linkToDeath_succeeds()
214 mock(AudioControlWrapper.AudioControlDeathRecipient.class); in linkToDeath_succeeds()
224 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in linkToDeath_throws()
225 mock(AudioControlWrapper.AudioControlDeathRecipient.class); in linkToDeath_throws()
237 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in unlinkToDeath_succeeds()
238 mock(AudioControlWrapper.AudioControlDeathRecipient.class); in unlinkToDeath_succeeds()
249 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in unlinkToDeath_throws()
[all …]
DAudioControlWrapperV2Test.java20 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_DUCKING;
21 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_FOCUS;
22 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING;
259 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in linkToDeath_succeeds()
260 mock(AudioControlWrapper.AudioControlDeathRecipient.class); in linkToDeath_succeeds()
270 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in linkToDeath_throws()
271 mock(AudioControlWrapper.AudioControlDeathRecipient.class); in linkToDeath_throws()
283 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in unlinkToDeath_succeeds()
284 mock(AudioControlWrapper.AudioControlDeathRecipient.class); in unlinkToDeath_succeeds()
295 AudioControlWrapper.AudioControlDeathRecipient deathRecipient = in unlinkToDeath_throws()
[all …]
DAudioControlFactoryUnitTest.java64 AudioControlWrapper wrapper = AudioControlFactory.newAudioControl(); in newAudioControl_forAudioControlWrapperAIDL_returnsInstance()
76 AudioControlWrapper wrapper = AudioControlFactory.newAudioControl(); in newAudioControl_forAudioControlWrapperV2_returnsInstance()
88 AudioControlWrapper wrapper = AudioControlFactory.newAudioControl(); in newAudioControl_forAudioControlWrapperV1_returnsInstance()
DAudioControlWrapperAidlTest.java27 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_DUCKING;
28 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_FOCUS;
29 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_FOCUS_WITH_M…
30 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GAIN_CALLBAC…
31 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING;
32 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_MODULE_CALLB…
78 import com.android.car.audio.hal.AudioControlWrapper.AudioControlDeathRecipient;
DHalAudioFocusTest.java103 private AudioControlWrapper mAudioControlWrapper;
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioModuleChangeMonitor.java24 import com.android.car.audio.hal.AudioControlWrapper;
37 private final AudioControlWrapper mAudioControlWrapper;
42 CarAudioModuleChangeMonitor(AudioControlWrapper audioControlWrapper, in CarAudioModuleChangeMonitor()
DCarVolumeGroupMuting.java19 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING;
32 import com.android.car.audio.hal.AudioControlWrapper;
48 private final AudioControlWrapper mAudioControlWrapper;
56 @NonNull AudioControlWrapper audioControlWrapper) { in CarVolumeGroupMuting()
66 private static void requireGroupMutingSupported(AudioControlWrapper audioControlWrapper) { in requireGroupMutingSupported()
DCarDucking.java30 import com.android.car.audio.hal.AudioControlWrapper;
45 private final AudioControlWrapper mAudioControlWrapper;
51 CarDucking(SparseArray<CarAudioZone> carAudioZones, AudioControlWrapper audioControlWrapper) { in CarDucking()
DCarAudioGainMonitor.java27 import com.android.car.audio.hal.AudioControlWrapper;
40 @NonNull private final AudioControlWrapper mAudioControlWrapper;
44 CarAudioGainMonitor(AudioControlWrapper audioControlWrapper, in CarAudioGainMonitor()
DCarAudioService.java53 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_DUCKING;
54 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_FOCUS;
55 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GAIN_CALLBAC…
56 import static com.android.car.audio.hal.AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_MODULE_CALLB…
139 import com.android.car.audio.hal.AudioControlWrapper;
243 private @Nullable AudioControlWrapper mAudioControlWrapper;
1883 AudioControlWrapper audioControlWrapper = getAudioControlWrapperLocked();
1948 AudioControlWrapper audioControlWrapper = getAudioControlWrapperLocked();
2202 AudioControlWrapper audioControlWrapper = getAudioControlWrapperLocked();
2215 AudioControlWrapper audioControlWrapper = getAudioControlWrapperLocked();
[all …]
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeGroupMutingTest.java37 import com.android.car.audio.hal.AudioControlWrapper;
96 AudioControlWrapper mMockAudioControlWrapper;
137 .supportsFeature(AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) in setUp()
174 .supportsFeature(AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)) in constructor_withGroupMutingFeatureNotSupported_fails()
DCarDuckingTest.java38 import com.android.car.audio.hal.AudioControlWrapper;
83 private AudioControlWrapper mMockAudioControlWrapper;
DCarAudioServiceUnitTest.java201 import com.android.car.audio.hal.AudioControlWrapper;
202 import com.android.car.audio.hal.AudioControlWrapper.AudioControlDeathRecipient;
585 AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_DUCKING)).thenReturn(true); in setUpAudioControlHAL()
587 AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_FOCUS)).thenReturn(true); in setUpAudioControlHAL()
589 AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GAIN_CALLBACK)).thenReturn(true); in setUpAudioControlHAL()
591 AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_GROUP_MUTING)).thenReturn(true); in setUpAudioControlHAL()
593 AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_MODULE_CALLBACK)).thenReturn(true); in setUpAudioControlHAL()
1002 AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_MODULE_CALLBACK)).thenReturn(false); in release_withoutModuleChangeCallback()
2169 AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_MODULE_CALLBACK)).thenReturn(false); in init_withAudioModuleCallbackFeatureDisabled()
2179 AudioControlWrapper.AUDIOCONTROL_FEATURE_AUDIO_FOCUS)).thenReturn(false); in init_withAudioFocusFeatureDisabled()
[all …]
/packages/services/Car/service/src/com/android/car/audio/hal/
DAudioControlFactory.java44 public static AudioControlWrapper newAudioControl() { in newAudioControl()
DAudioControlWrapper.java39 public interface AudioControlWrapper { interface
DHalAudioFocus.java71 private final AudioControlWrapper mAudioControlWrapper;
85 AudioControlWrapper audioControlWrapper, in HalAudioFocus()
DAudioControlWrapperV1.java43 public final class AudioControlWrapperV1 implements AudioControlWrapper {
DAudioControlWrapperV2.java47 public final class AudioControlWrapperV2 implements AudioControlWrapper {
DAudioControlWrapperAidl.java60 public final class AudioControlWrapperAidl implements AudioControlWrapper, IBinder.DeathRecipient {