Home
last modified time | relevance | path

Searched refs:TEST_VOLUME_GROUP_ID (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/android/car/oem/
DAudioFocusEntryUnitTest.java39 private static final int TEST_VOLUME_GROUP_ID = 2; field in AudioFocusEntryUnitTest
47 TEST_AUDIO_CONTEXT, TEST_VOLUME_GROUP_ID, AudioManager.AUDIOFOCUS_GAIN).build(); in build()
54 .isEqualTo(TEST_VOLUME_GROUP_ID); in build()
84 TEST_AUDIO_CONTEXT, TEST_VOLUME_GROUP_ID, AudioManager.AUDIOFOCUS_GAIN) in setAudioFocusEntry()
95 TEST_AUDIO_CONTEXT, TEST_VOLUME_GROUP_ID, AudioManager.AUDIOFOCUS_GAIN) in setAudioFocusEntry_withNullInfo_fails()
108 TEST_AUDIO_CONTEXT, TEST_VOLUME_GROUP_ID, AudioManager.AUDIOFOCUS_GAIN) in setAudioContextId()
119 TEST_AUDIO_CONTEXT, TEST_VOLUME_GROUP_ID, AudioManager.AUDIOFOCUS_GAIN) in setAudioVolumeGroupId()
129 TEST_AUDIO_CONTEXT, TEST_VOLUME_GROUP_ID, AudioManager.AUDIOFOCUS_GAIN) in setAudioFocusResult()
139 TEST_AUDIO_CONTEXT, TEST_VOLUME_GROUP_ID, AudioManager.AUDIOFOCUS_GAIN) in builder_withReuse_fails()
154 TEST_AUDIO_CONTEXT, TEST_VOLUME_GROUP_ID, AudioManager.AUDIOFOCUS_GAIN).build(); in builder_withAudioFocusEntry()
[all …]
DOemFocusUtils.java28 public static final int TEST_VOLUME_GROUP_ID = 3; field in OemFocusUtils
42 return new AudioFocusEntry.Builder(info, TEST_AUDIO_CONTEXT, TEST_VOLUME_GROUP_ID, in getAudioFocusEntry()
DOemCarAudioFocusEvaluationRequestUnitTest.java53 private static final int TEST_VOLUME_GROUP_ID = 2; field in OemCarAudioFocusEvaluationRequestUnitTest
62 TEST_VOLUME_GROUP_ID).setMaxVolumeGainIndex(TEST_MAX_GAIN_INDEX)
68 TEST_VOLUME_GROUP_ID).setMaxVolumeGainIndex(TEST_MAX_GAIN_INDEX)
/packages/services/Car/tests/CarLibUnitTest/src/android/car/media/
DCarAudioManagerUnitTest.java87 private static final int TEST_VOLUME_GROUP_ID = 1; field in CarAudioManagerUnitTest
203 mCarAudioManager.setGroupVolume(TEST_VOLUME_GROUP_ID, TEST_VOLUME_GROUP_INDEX, TEST_FLAGS); in setGroupVolume_withoutZoneId()
205 verify(mServiceMock).setGroupVolume(PRIMARY_AUDIO_ZONE, TEST_VOLUME_GROUP_ID, in setGroupVolume_withoutZoneId()
211 mCarAudioManager.setGroupVolume(TEST_REAR_RIGHT_ZONE_ID, TEST_VOLUME_GROUP_ID, in setGroupVolume_withZoneId()
214 verify(mServiceMock).setGroupVolume(TEST_REAR_RIGHT_ZONE_ID, TEST_VOLUME_GROUP_ID, in setGroupVolume_withZoneId()
221 TEST_VOLUME_GROUP_ID, TEST_VOLUME_GROUP_INDEX, TEST_FLAGS); in setGroupVolume_withServiceRemoteException()
223 mCarAudioManager.setGroupVolume(TEST_REAR_RIGHT_ZONE_ID, TEST_VOLUME_GROUP_ID, in setGroupVolume_withServiceRemoteException()
231 when(mServiceMock.getGroupMaxVolume(PRIMARY_AUDIO_ZONE, TEST_VOLUME_GROUP_ID)) in getGroupMaxVolume_withoutZoneId()
235 .that(mCarAudioManager.getGroupMaxVolume(TEST_VOLUME_GROUP_ID)) in getGroupMaxVolume_withoutZoneId()
241 when(mServiceMock.getGroupMaxVolume(TEST_REAR_RIGHT_ZONE_ID, TEST_VOLUME_GROUP_ID)) in getGroupMaxVolume_withZoneId()
[all …]