Home
last modified time | relevance | path

Searched refs:hasAudioAttributes (Results 1 – 6 of 6) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioPlaybackMonitorTest.java331 doReturn(false).when(mMockPrimaryZoneMediaGroup).hasAudioAttributes(any()); in generatePrimaryZone()
332 doReturn(false).when(mMockPrimaryZoneNavGroup).hasAudioAttributes(any()); in generatePrimaryZone()
333 doReturn(false).when(mMockPrimaryZoneRingtoneGroup).hasAudioAttributes(any()); in generatePrimaryZone()
335 .hasAudioAttributes(TEST_MEDIA_AUDIO_ATTRIBUTE); in generatePrimaryZone()
337 .hasAudioAttributes(TEST_NAVIGATION_AUDIO_ATTRIBUTE); in generatePrimaryZone()
339 .hasAudioAttributes(TEST_NOTIFICATION_RINGTONE_AUDIO_ATTRIBUTE); in generatePrimaryZone()
341 .hasAudioAttributes(TEST_VOICE_COMMUNICATION_AUDIO_ATTRIBUTE); in generatePrimaryZone()
355 doReturn(false).when(mMockSecondaryZoneMediaGroup).hasAudioAttributes(any()); in generateSecondaryZone()
356 doReturn(false).when(mMockSecondaryZoneNavGroup).hasAudioAttributes(any()); in generateSecondaryZone()
358 .hasAudioAttributes(TEST_MEDIA_AUDIO_ATTRIBUTE); in generateSecondaryZone()
[all …]
DVolumeGroupBuilder.java192 when(carVolumeGroup.hasAudioAttributes(audioAttributes)).thenReturn(true); in build()
DCarVolumeGroupUnitTest.java2042 .hasAudioAttributes(CarAudioContext.getAudioAttributeFromUsage(USAGE_GAME))) in hasAudioAttributes_withAttributesInVolumeGroup()
2051 .that(carVolumeGroup.hasAudioAttributes(new AudioAttributes.Builder() in hasAudioAttributes_withAttributeUsageInVolumeGroup()
2060 .hasAudioAttributes(CarAudioContext.getAudioAttributeFromUsage( in hasAudioAttributes_withAttributesNotInVolumeGroup()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioZonesHelper.java877 boolean hasAudioAttributes = false; in parseTransientFadeConfigs()
887 hasAudioAttributes = true; in parseTransientFadeConfigs()
895 Preconditions.checkArgument(hasAudioAttributes, in parseTransientFadeConfigs()
DCarAudioZoneConfig.java428 if (mVolumeGroups.get(i).hasAudioAttributes(audioAttributes)) { in getVolumeGroupForAudioAttributes()
DCarVolumeGroup.java985 boolean hasAudioAttributes(AudioAttributes audioAttributes) { in hasAudioAttributes() method in CarVolumeGroup