/packages/services/Car/tests/android_car_api_test/src/android/car/apitest/media/ |
D | CarAudioManagerTest.java | 25 import android.car.media.CarAudioManager; 41 private CarAudioManager mCarAudioManager; 45 mCarAudioManager = (CarAudioManager) getCar().getCarManager(Car.AUDIO_SERVICE); in setUp() 55 assertThat(zoneIds).contains(CarAudioManager.PRIMARY_AUDIO_ZONE); in test_getAudioZoneIds() 61 mCarAudioManager.isAudioFeatureEnabled(CarAudioManager.AUDIO_FEATURE_DYNAMIC_ROUTING); in test_isAudioFeatureEnabled() 62 mCarAudioManager.isAudioFeatureEnabled(CarAudioManager.AUDIO_FEATURE_VOLUME_GROUP_MUTING); in test_isAudioFeatureEnabled() 69 mCarAudioManager.getVolumeGroupCount(CarAudioManager.PRIMARY_AUDIO_ZONE)).isEqualTo( in test_getVolumeGroupCount() 77 assertThat(mCarAudioManager.getGroupVolume(CarAudioManager.PRIMARY_AUDIO_ZONE, in test_getGroupVolume() 80 assertThat(mCarAudioManager.getGroupMaxVolume(CarAudioManager.PRIMARY_AUDIO_ZONE, in test_getGroupVolume() 83 assertThat(mCarAudioManager.getGroupMinVolume(CarAudioManager.PRIMARY_AUDIO_ZONE, in test_getGroupVolume() [all …]
|
/packages/services/Car/tests/CarSecurityPermissionTest/src/com/android/car/media/ |
D | CarAudioManagerPublicPermissionTest.java | 26 import android.car.media.CarAudioManager; 27 import android.car.media.CarAudioManager.CarVolumeCallback; 43 private CarAudioManager mCarAudioManager; 49 mCarAudioManager = (CarAudioManager) car.getCarManager(Car.AUDIO_SERVICE); in setUp() 64 CarAudioManager.AUDIO_FEATURE_VOLUME_GROUP_MUTING); in isAudioFeatureEnabled_withVolumeGroupMuteFeature_succeeds() 73 CarAudioManager.AUDIO_FEATURE_DYNAMIC_ROUTING); in isAudioFeatureEnabled_withDynamicRoutingFeature_succeeds()
|
D | CarAudioManagerPermissionTest.java | 23 import static android.car.media.CarAudioManager.PRIMARY_AUDIO_ZONE; 31 import android.car.media.CarAudioManager; 52 private CarAudioManager mCarAudioManager; 59 mCarAudioManager = (CarAudioManager) car.getCarManager(AUDIO_SERVICE); in setUp()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/volume/ |
D | VolumeUI.java | 20 import android.car.media.CarAudioManager; 51 private final CarAudioManager.CarVolumeCallback mVolumeChangeCallback = 52 new CarAudioManager.CarVolumeCallback() { 75 private CarAudioManager mCarAudioManager; 104 mCarAudioManager = (CarAudioManager) car.getCarManager(Car.AUDIO_SERVICE); in start()
|
D | CarVolumeDialogImpl.java | 27 import android.car.media.CarAudioManager; 108 private CarAudioManager mCarAudioManager; 117 private final CarAudioManager.CarVolumeCallback mVolumeChangeCallback = 118 new CarAudioManager.CarVolumeCallback() { 162 mCarAudioManager = (CarAudioManager) car.getCarManager(Car.AUDIO_SERVICE); 211 private static int getSeekbarValue(CarAudioManager carAudioManager, int volumeGroupId) { in getSeekbarValue() 215 private static int getMaxSeekbarValue(CarAudioManager carAudioManager, int volumeGroupId) { in getMaxSeekbarValue() 625 private final CarAudioManager mCarAudioManager; 627 private VolumeSeekBarChangeListener(int volumeGroupId, CarAudioManager carAudioManager) { in VolumeSeekBarChangeListener()
|
/packages/apps/Car/Settings/src/com/android/car/settings/sound/ |
D | VolumeSettingsPreferenceController.java | 24 import android.car.media.CarAudioManager; 66 final CarAudioManager.CarVolumeCallback mVolumeChangeCallback = 67 new CarAudioManager.CarVolumeCallback() { 100 private CarAudioManager mCarAudioManager; 120 mCarAudioManager = (CarAudioManager) mCar.getCarManager(Car.AUDIO_SERVICE); in VolumeSettingsPreferenceController()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | CarAudioInputTestFragment.java | 22 import android.car.media.CarAudioManager; 52 private CarAudioManager mCarAudioManager; 74 mCarAudioManager = (CarAudioManager) car.getCarManager(Car.AUDIO_SERVICE); 113 CarAudioManager.AUDIO_FEATURE_DYNAMIC_ROUTING)) { in initInputInfo()
|
D | AudioSystemPlayerFragment.java | 26 import android.car.media.CarAudioManager; 55 private final CarAudioManager mCarAudioManager; 61 AudioSystemPlayerFragment(CarAudioManager carAudioManager, AudioManager audioManager) { in AudioSystemPlayerFragment()
|
D | CarAudioZoneInputFragment.java | 21 import android.car.media.CarAudioManager; 58 private final CarAudioManager mCarAudioManager; 75 public CarAudioZoneInputFragment(int audioZoneId, CarAudioManager carAudioManager, in CarAudioZoneInputFragment()
|
D | AudioTestFragment.java | 23 import static android.car.media.CarAudioManager.AUDIOFOCUS_EXTRA_REQUEST_ZONE_ID; 24 import static android.car.media.CarAudioManager.AUDIO_FEATURE_DYNAMIC_ROUTING; 25 import static android.car.media.CarAudioManager.PRIMARY_AUDIO_ZONE; 54 import android.car.media.CarAudioManager; 136 private CarAudioManager mCarAudioManager; 200 mCarAudioManager = (CarAudioManager) car.getCarManager(Car.AUDIO_SERVICE); in connectCar()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarAudioManagerTest.java | 19 import android.car.media.CarAudioManager; 34 private CarAudioManager mCarAudioManager; 40 mCarAudioManager = (CarAudioManager) getCar().getCarManager(Car.AUDIO_SERVICE); in setUp()
|
/packages/services/Car/service/src/com/android/car/audio/ |
D | CarAudioService.java | 18 import static android.car.media.CarAudioManager.AUDIO_FEATURE_DYNAMIC_ROUTING; 19 import static android.car.media.CarAudioManager.AUDIO_FEATURE_VOLUME_GROUP_MUTING; 20 import static android.car.media.CarAudioManager.CarAudioFeature; 21 import static android.car.media.CarAudioManager.INVALID_VOLUME_GROUP_ID; 22 import static android.car.media.CarAudioManager.PRIMARY_AUDIO_ZONE; 36 import android.car.media.CarAudioManager; 162 final int zoneId = CarAudioManager.PRIMARY_AUDIO_ZONE; 834 int groupId = getVolumeGroupIdForUsage(CarAudioManager.PRIMARY_AUDIO_ZONE, usage); in createAudioPatchLocked() 835 setGroupVolume(CarAudioManager.PRIMARY_AUDIO_ZONE, groupId, in createAudioPatchLocked() 836 getGroupVolume(CarAudioManager.PRIMARY_AUDIO_ZONE, groupId), 0); in createAudioPatchLocked() [all …]
|
D | FocusEntry.java | 22 import android.car.media.CarAudioManager; 99 if (!bundle.getBoolean(CarAudioManager.AUDIOFOCUS_EXTRA_RECEIVE_DUCKING_EVENTS)) { in receivesDuckEvents()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | CarAudioZoneVolumeFragment.java | 19 import static android.car.media.CarAudioManager.AUDIO_FEATURE_VOLUME_GROUP_MUTING; 22 import android.car.media.CarAudioManager; 59 private final CarAudioManager mCarAudioManager; 116 public CarAudioZoneVolumeFragment(int zoneId, CarAudioManager carAudioManager, in CarAudioZoneVolumeFragment() 202 if (mZoneId == CarAudioManager.PRIMARY_AUDIO_ZONE) { in requestFocus()
|
D | VolumeTestFragment.java | 20 import android.car.media.CarAudioManager; 21 import android.car.media.CarAudioManager.CarVolumeCallback; 53 private CarAudioManager mCarAudioManager; 122 mCarAudioManager = (CarAudioManager) car.getCarManager(Car.AUDIO_SERVICE);
|
/packages/services/Car/tests/SampleCustomInputService/src/com/android/car/custominput/sample/ |
D | CustomInputEventListener.java | 19 import static android.car.media.CarAudioManager.PRIMARY_AUDIO_ZONE; 24 import android.car.media.CarAudioManager; 48 private final CarAudioManager mCarAudioManager; 82 @NonNull CarAudioManager carAudioManager, in CustomInputEventListener()
|
D | SampleCustomInputService.java | 23 import android.car.media.CarAudioManager; 76 (CarAudioManager) mCar.getCarManager(Car.AUDIO_SERVICE), in connectToCarService()
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | AudioAutoStartActivity.java | 24 import static android.car.media.CarAudioManager.AUDIO_FEATURE_DYNAMIC_ROUTING; 40 import android.car.media.CarAudioManager; 69 private CarAudioManager mCarAudioManager; 112 mCarAudioManager = (CarAudioManager) car.getCarManager(AUDIO_SERVICE); in connectCar()
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/ |
D | CarZonesAudioFocusUnitTest.java | 32 import android.car.media.CarAudioManager; 56 private static final int PRIMARY_ZONE_ID = CarAudioManager.PRIMARY_AUDIO_ZONE; 57 private static final int SECONDARY_ZONE_ID = CarAudioManager.PRIMARY_AUDIO_ZONE + 1; 254 bundle.putInt(CarAudioManager.AUDIOFOCUS_EXTRA_REQUEST_ZONE_ID, zoneId); in generateAudioFocusInfoWithBundledZoneId()
|
D | CarVolumeGroupMutingTest.java | 31 import android.car.media.CarAudioManager; 57 private static final int PRIMARY_ZONE_ID = CarAudioManager.PRIMARY_AUDIO_ZONE; 58 private static final int SECONDARY_ZONE_ID = CarAudioManager.PRIMARY_AUDIO_ZONE + 1; 59 private static final int TERTIARY_ZONE_ID = CarAudioManager.PRIMARY_AUDIO_ZONE + 2;
|
D | CarAudioSettingsUnitTest.java | 21 import android.car.media.CarAudioManager; 37 private static final int TEST_ZONE_ID = CarAudioManager.PRIMARY_AUDIO_ZONE;
|
D | FocusEntryTest.java | 24 import android.car.media.CarAudioManager; 120 bundle.putBoolean(CarAudioManager.AUDIOFOCUS_EXTRA_RECEIVE_DUCKING_EVENTS, in getInfoThatReceivesDuckingEvents()
|
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarZonesAudioFocusTest.java | 36 import android.car.media.CarAudioManager; 65 private static final int PRIMARY_ZONE_ID = CarAudioManager.PRIMARY_AUDIO_ZONE; 66 private static final int SECONDARY_ZONE_ID = CarAudioManager.PRIMARY_AUDIO_ZONE + 1; 158 bundle.putInt(CarAudioManager.AUDIOFOCUS_EXTRA_REQUEST_ZONE_ID, in onAudioFocusRequest_withBundleFocusRequest_requestGranted()
|
D | CarAudioZonesValidatorTest.java | 20 import android.car.media.CarAudioManager; 110 when(zoneMock.getId()).thenReturn(CarAudioManager.PRIMARY_AUDIO_ZONE); in getMockPrimaryZone()
|
/packages/services/Car/tests/SampleCustomInputService/tests/src/com/android/car/custominput/sample/unittest/ |
D | CustomInputEventListenerTest.java | 20 import static android.car.media.CarAudioManager.PRIMARY_AUDIO_ZONE; 35 import android.car.media.CarAudioManager; 79 @Mock private CarAudioManager mCarAudioManager;
|