Home
last modified time | relevance | path

Searched refs:USAGE_ASSISTANCE_NAVIGATION_GUIDANCE (Results 1 – 13 of 13) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarAudioPlaybackCallbackTest.java20 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE;
141 .setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in getAllActiveContextsForPrimaryZone_withMultipleConfiguration_returnsActiveContexts()
166 .setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in getAllActiveContextsForPrimaryZone_withInactiveConfigurations_returnsActiveContext()
193 .setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in getAllActiveContextsForPrimaryZone_withNoActiveConfigurations_returnsEmptyContexts()
219 .setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in getAllActiveContextsForPrimaryZone_withInactiveConfig_beforeTimeout_returnsContexts()
231 .setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in getAllActiveContextsForPrimaryZone_withInactiveConfig_beforeTimeout_returnsContexts()
260 .setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in getAllActiveContextsForPrimaryZone_withInactiveConfigs_beforeTimeout_returnsContexts()
272 .setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in getAllActiveContextsForPrimaryZone_withInactiveConfigs_beforeTimeout_returnsContexts()
302 .setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in getAllActiveContextsForPrimaryZone_afterResetStillActiveContexts_returnsEmptyContext()
314 .setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in getAllActiveContextsForPrimaryZone_afterResetStillActiveContexts_returnsEmptyContext()
[all …]
DCarAudioFocusUnitTest.java19 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE;
120 AudioFocusInfo sameClientFocusInfo = getInfo(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, in onAudioFocusRequest_withSameClientIdDifferentUsage_requestFailed()
461 getInfo(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, SECOND_CLIENT_ID, in onAudioFocus_multipleRequestOnlyOneWithDelayedFocus_duckedRequestReceivesLoss()
494 AudioFocusInfo mapFocusInfo = getInfo(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, THIRD_CLIENT_ID, in onAudioFocus_concurrentRequestAfterDelayedFocus_concurrentFocusGranted()
516 AudioFocusInfo mapFocusInfo = getInfo(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, THIRD_CLIENT_ID, in onAudioFocus_concurrentRequestsAndAbandonsAfterDelayedFocus_noDelayedFocusChange()
542 AudioFocusInfo mapFocusInfo = getInfo(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, THIRD_CLIENT_ID, in onAudioFocus_concurrentRequestAfterDelayedFocus_delayedGainesFocus()
820 return getInfo(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, SECOND_CLIENT_ID, gainType, in getConcurrentInfo()
846 return getInfo(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, SECOND_CLIENT_ID, in getRejectInfo()
DCarDuckingUtilsTest.java20 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE;
156 new int[]{USAGE_MEDIA, USAGE_SAFETY, USAGE_ASSISTANCE_NAVIGATION_GUIDANCE}; in getAddressesToDuck_onlyReturnsDevicesForUsagesHoldingFocus()
167 int[] usages = new int[]{USAGE_MEDIA, USAGE_SAFETY, USAGE_ASSISTANCE_NAVIGATION_GUIDANCE}; in getAddressesToDuck_withDuckedAndUnduckedContextsSharingDevice_excludesThatDevice()
DCarAudioContextTest.java19 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE;
124 int[] usages = {USAGE_MEDIA, USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, USAGE_EMERGENCY}; in getUniqueContextsForUsages_withMultipleUsages_returnsAllUniqueContexts()
DCarDuckingTest.java19 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE;
62 generateAudioFocusInfoForUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE);
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
DAudioTransientPlayersFragment.java20 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE;
49 USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, USAGE_ASSISTANT, USAGE_NOTIFICATION_RINGTONE,
99 if (usage == USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) { in getPlayerResource()
DAudioTestFragment.java26 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE;
391 .setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in initializePlayers()
855 .setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in FocusHandler()
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarZonesAudioFocusTest.java19 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE;
179 new AudioFocusInfoBuilder().setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in onAudioFocusRequest_repeatForSameZone_requestGranted()
212 new AudioFocusInfoBuilder().setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in onAudioFocusRequest_forNavigationWhileOnCall_rejectNavOnCall_requestFailed()
241 new AudioFocusInfoBuilder().setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in onAudioFocusRequest_forNavigationWhileOnCall_noRejectNavOnCall_requestSucceeds()
DCarAudioZoneTest.java19 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE;
126 new Builder().setUsage(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE) in findActiveContextsFromPlaybackConfigurations_returnsAllActiveContext()
DCarAudioFocusTest.java78 .setUsage(AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE)
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/
DHalAudioFocusTest.java20 import static android.media.AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE;
391 mHalAudioFocus.requestAudioFocus(USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, ZONE_ID, in getActiveUsagesForZone_withMultipleUsages_getsUsages()
398 USAGE_ASSISTANCE_NAVIGATION_GUIDANCE, USAGE_NOTIFICATION); in getActiveUsagesForZone_withMultipleUsages_getsUsages()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioContext.java149 AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE in CONTEXT_TO_USAGES.put() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/
DMediaPlayerList.java765 == AudioAttributes.USAGE_ASSISTANCE_NAVIGATION_GUIDANCE)