Home
last modified time | relevance | path

Searched refs:AudioManagerWrapper (Results 1 – 25 of 32) sorted by relevance

12

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioUtilsTest.java176 AudioManagerWrapper audioManager = Mockito.mock(AudioManagerWrapper.class); in getAudioDeviceInfo()
190 AudioManagerWrapper audioManager = Mockito.mock(AudioManagerWrapper.class); in getAudioDeviceInfo_withDeviceNotAvailable()
264 AudioManagerWrapper manager = setUpMockAudioManager(); in getDynamicDevicesInConfig_withDynamicDevices()
275 AudioManagerWrapper manager = setUpMockAudioManager(); in getDynamicDevicesInConfig_withoutDynamicDevices()
285 AudioManagerWrapper manager = setUpMockAudioManager(); in getDynamicDevicesInConfig_withDynamicDevices_andFlagDisabled()
295 AudioManagerWrapper manager = setUpMockAudioManager(); in getDynamicDevicesInConfig_withoutDynamicDevices_andFlagDisabled()
354 private AudioManagerWrapper setUpMockAudioManager() { in setUpMockAudioManager()
355 AudioManagerWrapper manager = Mockito.mock(AudioManagerWrapper.class); in setUpMockAudioManager()
DCoreAudioHelperTest.java72 session.spyStatic(AudioManagerWrapper.class); in onSessionBuilder()
79 doReturn(strategies).when(AudioManagerWrapper::getAudioProductStrategies); in setUp()
80 doReturn(groups).when(AudioManagerWrapper::getAudioVolumeGroups); in setUp()
DAudioManagerWrapperTest.java95 private AudioManagerWrapper mAudioManagerWrapper;
128 mAudioManagerWrapper = new AudioManagerWrapper(mAudioManager); in setUp()
477 .that(AudioManagerWrapper.getAudioVolumeGroups()).containsExactlyElementsIn(groups); in getAudioVolumeGroups()
486 .that(AudioManagerWrapper.getAudioProductStrategies()) in getAudioProductStrategies()
DCoreAudioVolumeGroupCallbackTest.java67 AudioManagerWrapper mMockAudioManager;
DCarAudioContextTest.java142 .spyStatic(AudioManagerWrapper.class); in onSessionBuilder()
147 .when(AudioManagerWrapper::getAudioProductStrategies); in setupMock()
149 .when(AudioManagerWrapper::getAudioVolumeGroups); in setupMock()
DCarVolumeGroupFactoryTest.java71 AudioManagerWrapper mAudioManagerMock;
DCarAudioPolicyVolumeCallbackTest.java81 private AudioManagerWrapper mAudioManagerWrapper;
DCarAudioDeviceInfoTest.java59 private AudioManagerWrapper mAudioManagerWrapper;
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioUtils.java83 AudioManagerWrapper audioManager) { in getAudioDeviceInfo()
116 AudioManagerWrapper manager) { in getDynamicDevicesInConfig()
162 List<CarVolumeGroupInfo> volumeGroups, AudioManagerWrapper manager) { in getDynamicAudioDevices()
171 AudioManagerWrapper manager) { in getDynamicDevices()
DCarAudioDynamicRouting.java58 AudioManagerWrapper audioManager, AudioPolicy.Builder builder, in setupAudioDynamicRouting()
99 AudioManagerWrapper audioManager) { in setupAudioDynamicRoutingForZoneConfig()
117 AudioManagerWrapper audioManager) { in setupAudioDynamicRoutingForGroup()
170 AudioManagerWrapper audioManager) { in setupAudioDynamicRoutingForMirrorDevice()
DCoreAudioVolumeGroupCallback.java34 private final AudioManagerWrapper mAudioManager;
37 AudioManagerWrapper audioManager) { in CoreAudioVolumeGroupCallback()
DCarVolumeGroupFactory.java38 private final AudioManagerWrapper mAudioManager;
46 CarVolumeGroupFactory(AudioManagerWrapper audioManager, CarAudioSettings carAudioSettings, in CarVolumeGroupFactory()
DCoreAudioHelper.java80 AudioManagerWrapper.getAudioProductStrategies();
85 AudioManagerWrapper.getAudioVolumeGroups();
DAudioManagerWrapper.java45 public final class AudioManagerWrapper { class
49 AudioManagerWrapper(AudioManager audioManager) { in AudioManagerWrapper() method in AudioManagerWrapper
DCarAudioPolicyVolumeCallback.java52 private final AudioManagerWrapper mAudioManager;
67 AudioManagerWrapper audioManager, CarVolumeInfoWrapper carVolumeInfo, in CarAudioPolicyVolumeCallback()
DCoreAudioVolumeGroup.java57 private final AudioManagerWrapper mAudioManager;
67 CoreAudioVolumeGroup(AudioManagerWrapper audioManager, CarAudioContext carAudioContext, in CoreAudioVolumeGroup()
DCarAudioDeviceInfo.java66 private final AudioManagerWrapper mAudioManager;
98 CarAudioDeviceInfo(AudioManagerWrapper audioManager, in CarAudioDeviceInfo()
DCarZonesAudioFocus.java73 public static CarZonesAudioFocus createCarZonesAudioFocus(AudioManagerWrapper audioManager, in createCarZonesAudioFocus()
DCarAudioZonesHelper.java147 private final AudioManagerWrapper mAudioManager;
176 CarAudioZonesHelper(AudioManagerWrapper audioManager, CarAudioSettings carAudioSettings, in CarAudioZonesHelper()
DCarAudioFocus.java81 private final AudioManagerWrapper mAudioManager;
120 CarAudioFocus(AudioManagerWrapper audioManager, PackageManager packageManager, in CarAudioFocus()
/packages/services/Car/service/src/com/android/car/audio/hal/
DHalAudioFocus.java48 import com.android.car.audio.AudioManagerWrapper;
70 private final AudioManagerWrapper mAudioManager;
84 public HalAudioFocus(AudioManagerWrapper audioManager, in HalAudioFocus()
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioFocusTest.java60 import com.android.car.audio.AudioManagerWrapper;
101 private AudioManagerWrapper mAudioManagerWrapper;
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarZonesAudioFocusTestBase.java176 protected AudioManagerWrapper mMockAudioManager;
DCarAudioZonesHelperTest.java203 private AudioManagerWrapper mAudioManagerWrapper;
221 .spyStatic(AudioManagerWrapper.class) in setUp()
2093 .when(AudioManagerWrapper::getAudioProductStrategies); in setupAudioManagerMock()
2095 .when(AudioManagerWrapper::getAudioVolumeGroups); in setupAudioManagerMock()
DCarAudioDynamicRoutingTest.java77 private AudioManagerWrapper mAudioManager;

12