Searched refs:isCriticalAudioAudioAttribute (Results 1 – 4 of 4) sorted by relevance
37 import static com.android.car.audio.CarAudioContext.isCriticalAudioAudioAttribute;375 .that(isCriticalAudioAudioAttribute(TEST_INVALID_ATTRIBUTE)).isFalse(); in isCriticalAudioContext_forNonCriticalContexts_returnsFalse()377 .that(isCriticalAudioAudioAttribute(TEST_MEDIA_ATTRIBUTE)).isFalse(); in isCriticalAudioContext_forNonCriticalContexts_returnsFalse()379 .that(isCriticalAudioAudioAttribute(TEST_NAVIGATION_ATTRIBUTE)).isFalse(); in isCriticalAudioContext_forNonCriticalContexts_returnsFalse()381 .that(isCriticalAudioAudioAttribute(TEST_ASSISTANT_ATTRIBUTE)).isFalse(); in isCriticalAudioContext_forNonCriticalContexts_returnsFalse()383 .that(isCriticalAudioAudioAttribute(TEST_RINGER_ATTRIBUTE)).isFalse(); in isCriticalAudioContext_forNonCriticalContexts_returnsFalse()385 .that(isCriticalAudioAudioAttribute(TEST_CALL_ATTRIBUTE)).isFalse(); in isCriticalAudioContext_forNonCriticalContexts_returnsFalse()387 .that(isCriticalAudioAudioAttribute(TEST_ALARM_ATTRIBUTE)).isFalse(); in isCriticalAudioContext_forNonCriticalContexts_returnsFalse()389 .that(isCriticalAudioAudioAttribute(TEST_NOTIFICATION_ATTRIBUTE)).isFalse(); in isCriticalAudioContext_forNonCriticalContexts_returnsFalse()391 .that(isCriticalAudioAudioAttribute(TEST_SYSTEM_ATTRIBUTE)).isFalse(); in isCriticalAudioContext_forNonCriticalContexts_returnsFalse()[all …]
33 import static com.android.car.audio.CarAudioContext.isCriticalAudioAudioAttribute;155 if (!isCriticalAudioAudioAttribute(mDelayedRequest.getAttributes())) { in abandonNonCriticalFocusLocked()176 if (isCriticalAudioAudioAttribute(holderEntry.getAudioFocusInfo().getAttributes())) { in abandonNonCriticalEntriesLocked()250 if (!isCriticalAudioAudioAttribute(afi.getAttributes())) { in evaluateFocusRequestLocked()
645 static boolean isCriticalAudioAudioAttribute(AudioAttributes attributes) { in isCriticalAudioAudioAttribute() method in CarAudioContext
794 if (CarAudioContext.isCriticalAudioAudioAttribute(volumeAttributes.get(index))) { in containsCriticalAttributes()