Searched refs:hasAudioAttributes (Results 1 – 6 of 6) sorted by relevance
331 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 …]
192 when(carVolumeGroup.hasAudioAttributes(audioAttributes)).thenReturn(true); in build()
2042 .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()
877 boolean hasAudioAttributes = false; in parseTransientFadeConfigs()887 hasAudioAttributes = true; in parseTransientFadeConfigs()895 Preconditions.checkArgument(hasAudioAttributes, in parseTransientFadeConfigs()
428 if (mVolumeGroups.get(i).hasAudioAttributes(audioAttributes)) { in getVolumeGroupForAudioAttributes()
985 boolean hasAudioAttributes(AudioAttributes audioAttributes) { in hasAudioAttributes() method in CarVolumeGroup