Home
last modified time | relevance | path

Searched defs:audioFocusInfo (Results 1 – 8 of 8) sorted by relevance

/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/
DCarZonesAudioFocusUnitTest.java189 AudioFocusInfo audioFocusInfo = generateAudioFocusRequest(); in onAudioFocusRequest_withPrimaryZoneUid_passesRequestToPrimaryZone() local
200 AudioFocusInfo audioFocusInfo = generateAudioFocusRequest(); in onAudioFocusRequest_withSecondaryZoneUid_passesRequestToSecondaryZone() local
212 AudioFocusInfo audioFocusInfo = generateAudioFocusInfoWithBundledZoneId(SECONDARY_ZONE_ID); in onAudioFocusRequest_withValidBundledZoneId_passesRequestToBundledZone() local
225 AudioFocusInfo audioFocusInfo = generateAudioFocusInfoWithBundledZoneId(invalidZoneId); in onAudioFocusRequest_withInvalidBundledZoneId_passesRequestBasedOnUid() local
237 AudioFocusInfo audioFocusInfo = generateAudioFocusRequest(); in onAudioFocusRequest_withFocusCallback_callsOnFocusChange() local
254 AudioFocusInfo audioFocusInfo = generateAudioFocusRequest(); in onAudioFocusRequest_withNullAudioService() local
266 AudioFocusInfo audioFocusInfo = generateAudioFocusRequest(); in onAudioFocusAbandon_withNullAudioService() local
280 AudioFocusInfo audioFocusInfo = generateAudioFocusRequest(); in onAudioFocusAbandon() local
DCarAudioFocusUnitTest.java228 AudioFocusInfo audioFocusInfo = getInfoForFirstClientWithMedia(); in onAudioFocusRequest_withNoCurrentFocusHolder_requestGranted() local
239 AudioFocusInfo audioFocusInfo = getInfoForFirstClientWithMedia(); in onAudioFocusRequest_withSameClientIdSameUsage_requestGranted() local
253 AudioFocusInfo audioFocusInfo = getInfo(USAGE_VOICE_COMMUNICATION, CALL_CLIENT_ID, in onAudioFocusRequest_withSameCallClientIdDifferentUsage_requestGranted() local
1568 AudioFocusInfo audioFocusInfo = getInfo(USAGE_MEDIA, SECOND_CLIENT_ID, AUDIOFOCUS_GAIN, in getActiveAudioFocusForUserAndAudioAttributes_forActiveMedia_returnMedia() local
1585 AudioFocusInfo audioFocusInfo = getInfo(USAGE_MEDIA, SECOND_CLIENT_ID, AUDIOFOCUS_GAIN, in getActiveAudioFocusForUserAndAudioAttributes_forInactiveMedia_returnsEmpty() local
1604 AudioFocusInfo audioFocusInfo = getInfo(USAGE_MEDIA, SECOND_CLIENT_ID, AUDIOFOCUS_GAIN, in getActiveAudioFocusForUserAndAudioAttributes_forActiveMedia_forDifferentUser() local
1621 AudioFocusInfo audioFocusInfo = getInfo(USAGE_MEDIA, SECOND_CLIENT_ID, AUDIOFOCUS_GAIN, in getInactiveAudioFocusForUserAndAudioAttributes_forActiveMedia_returnsEmpty() local
1659 AudioFocusInfo audioFocusInfo = getInfo(USAGE_MEDIA, SECOND_CLIENT_ID, AUDIOFOCUS_GAIN, in getInactiveAudioFocusForUserAndAudioAttributes_forActiveMedia_forDifferentUser() local
1678 AudioFocusInfo audioFocusInfo = getInfo(USAGE_MEDIA, SECOND_CLIENT_ID, AUDIOFOCUS_GAIN, in onAudioFocusRequest_withOemServiceEnabled_capturesFocusRequest() local
1712 AudioFocusInfo audioFocusInfo = getInfo(USAGE_MEDIA, SECOND_CLIENT_ID, AUDIOFOCUS_GAIN, in onAudioFocusRequest_withOemServiceEnabledAndEnabledFadeManager() local
[all …]
DCarAudioServiceUnitTest.java1378 AudioFocusInfo audioFocusInfo = createAudioFocusInfoForMedia(); in setZoneIdForUid_onDifferentZones_withAudioFocus_succeeds() local
4578 AudioFocusInfo audioFocusInfo = createAudioFocusInfoForMedia(TEST_REAR_RIGHT_UID); in switchZoneToConfig_withPendingFocus_regainsFocus() local
4601 AudioFocusInfo audioFocusInfo = createAudioFocusInfoForMedia(TEST_REAR_RIGHT_UID); in switchZoneToConfig_withPendingFocus_updatesDuckingInfo() local
4631 AudioFocusInfo audioFocusInfo = createAudioFocusInfoForMedia(TEST_REAR_RIGHT_UID); in switchZoneToConfig_withCurrentZoneConfigAndPendingFocus_notLoseAndRegainFocus() local
5152 AudioFocusInfo audioFocusInfo = createAudioFocusInfoForMedia(TEST_REAR_RIGHT_UID); in disableAudioMirrorForZone_withPendingFocus() local
5243 AudioFocusInfo audioFocusInfo = createAudioFocusInfoForMedia(TEST_REAR_RIGHT_UID); in disableAudioMirror_withPendingFocus() local
/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
DCarZonesAudioFocusTest.java382 AudioFocusInfo audioFocusInfo = generateMediaRequestForPrimaryZone( in onAudioFocusRequest_notifiesFocusCallback() local
398 AudioFocusInfo audioFocusInfo = generateMediaRequestForPrimaryZone( in onAudioFocusAbandon_notifiesFocusCallback() local
417 AudioFocusInfo audioFocusInfo = generateMediaRequestForPrimaryZone( in onAudioFocusRequest_withNullOemService_notifiesFocusCallback() local
430 AudioFocusInfo audioFocusInfo = generateMediaRequestForPrimaryZone( in onAudioFocusAbandon_withNullCallback_notifiesCarOemAudioFocusService() local
462 AudioFocusInfo audioFocusInfo = generateMediaRequestForPrimaryZone( in onAudioFocusRequest_notifiesCarOemAudioFocusService() local
503 AudioFocusInfo audioFocusInfo = generateMediaRequestForPrimaryZone( in onAudioAbandon_notifiesCarOemAudioFocusService() local
/packages/services/Car/car-lib/src/android/car/oem/
DAudioFocusEntry.java42 AudioFocusEntry( in AudioFocusEntry()
121 AudioFocusInfo audioFocusInfo = AudioFocusInfo.CREATOR.createFromParcel(in); in AudioFocusEntry() local
189 public Builder( in Builder()
202 public @NonNull Builder setAudioFocusInfo(@NonNull AudioFocusInfo audioFocusInfo) { in setAudioFocusInfo()
/packages/services/Car/tests/OemCarServiceTestApp/src/com/android/car/oem/focus/
DFocusInteraction.java512 private boolean canReceiveDucking(AudioFocusInfo audioFocusInfo) { in canReceiveDucking()
516 private boolean canReceiveDelayedFocus(AudioFocusInfo audioFocusInfo) { in canReceiveDelayedFocus()
/packages/services/Car/service/src/com/android/car/audio/
DFocusEntry.java46 FocusEntry(@NonNull AudioFocusInfo audioFocusInfo, @AudioContext int context, in FocusEntry()
DCarAudioFocus.java510 AudioFocusInfo audioFocusInfo) { in evaluateFocusRequestLocked()
519 AudioFocusInfo audioFocusInfo, FocusEntry replacedCurrentEntry) { in evaluateFocusRequestInternallyLocked()