Searched refs:isCriticalAudioContext (Results 1 – 4 of 4) sorted by relevance
30 import static com.android.car.audio.CarAudioContext.isCriticalAudioContext;134 .that(isCriticalAudioContext(CarAudioContext.INVALID)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse()136 .that(isCriticalAudioContext(CarAudioContext.MUSIC)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse()138 .that(isCriticalAudioContext(CarAudioContext.NAVIGATION)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse()140 .that(isCriticalAudioContext(CarAudioContext.VOICE_COMMAND)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse()142 .that(isCriticalAudioContext(CarAudioContext.CALL_RING)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse()144 .that(isCriticalAudioContext(CarAudioContext.CALL)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse()146 .that(isCriticalAudioContext(CarAudioContext.ALARM)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse()148 .that(isCriticalAudioContext(CarAudioContext.NOTIFICATION)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse()150 .that(isCriticalAudioContext(CarAudioContext.SYSTEM_SOUND)).isFalse(); in isCriticalAudioContext_forNonCritialContexts_returnsFalse()[all …]
18 import static com.android.car.audio.CarAudioContext.isCriticalAudioContext;108 if (!isCriticalAudioContext(audioContext)) { in abandonNonCriticalFocusLocked()122 if (isCriticalAudioContext(holderEntry.getAudioContext())) { in abandonNonCriticalEntriesLocked()172 if (!isCriticalAudioContext(audioContext)) { in evaluateFocusRequestLocked()
263 static boolean isCriticalAudioContext(@CarAudioContext.AudioContext int audioContext) { in isCriticalAudioContext() method in CarAudioContext
260 if (CarAudioContext.isCriticalAudioContext(audioContext)) { in containsCriticalAudioContext()