Home
last modified time | relevance | path

Searched refs:USAGE_ASSISTANT (Results 1 – 7 of 7) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarVolumeTest.java20 import static android.media.AudioAttributes.USAGE_ASSISTANT;
228 int[] activeHalUsages = new int[] {USAGE_ASSISTANT}; in getSuggestedAudioContext_withHalActiveUsage_returnsHalActive()
250 int[] activeHalUsages = new int[] {USAGE_ASSISTANT}; in getSuggestedAudioContext_withConfigAndHalActiveUsage_returnsConfigActive()
285 int[] activeHalUsages = new int[] {USAGE_MEDIA, USAGE_ANNOUNCEMENT, USAGE_ASSISTANT}; in getSuggestedAudioContext_withMultipleHalActiveUsages_returnsMusic()
471 @AttributeUsage int[] activeHalUsages = {USAGE_MEDIA, USAGE_ANNOUNCEMENT, USAGE_ASSISTANT}; in isAnyContextActive_withActiveHalUsagesAndMatchedContext_returnsTrue()
482 @AttributeUsage int[] activeHalUsages = {USAGE_MEDIA, USAGE_ANNOUNCEMENT, USAGE_ASSISTANT}; in isAnyContextActive_withActiveHalUsagesAndMismatchedContext_returnsFalse()
DCarAudioFocusUnitTest.java20 import static android.media.AudioAttributes.USAGE_ASSISTANT;
203 requestFocusForUsageWithFirstClient(USAGE_ASSISTANT, carAudioFocus); in onAudioFocus_rejectRequest_requestFailed()
215 AudioFocusInfo initialFocusInfo = requestFocusForUsageWithFirstClient(USAGE_ASSISTANT, in onAudioFocus_rejectRequest_holderRetainsFocus()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTransientPlayersFragment.java21 import static android.media.AudioAttributes.USAGE_ASSISTANT;
49 USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, USAGE_ASSISTANT, USAGE_NOTIFICATION_RINGTONE,
DAudioTestFragment.java28 import static android.media.AudioAttributes.USAGE_ASSISTANT;
397 .setUsage(USAGE_ASSISTANT) in initializePlayers()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarAudioZoneTest.java21 import static android.media.AudioAttributes.USAGE_ASSISTANT;
142 new Builder().setUsage(USAGE_ASSISTANT) in findActiveContextsFromPlaybackConfigurations_returnsNoMatchingContexts()
163 new Builder().setUsage(USAGE_ASSISTANT) in findActiveContextsFromPlaybackConfigurations_withMultiDevices_returnsContexts()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioContext.java155 AudioAttributes.USAGE_ASSISTANT in CONTEXT_TO_USAGES.put() argument
/packages/apps/Car/libs/car-assist-client-lib/src/com/android/car/assist/client/tts/
DTextToSpeechHelper.java113 .setUsage(AudioAttributes.USAGE_ASSISTANT) in TextToSpeechHelper()