/packages/services/Car/tests/carservice_unit_test/src/com/android/car/audio/hal/ |
D | HalAudioFocusTest.java | 143 verify(mAudioControlWrapper).onAudioFocusChange(METADATA_MEDIA, ZONE_ID, in requestAudioFocus_notifiesHalOfFocusChange() 200 verify(mAudioControlWrapper).onAudioFocusChange(METADATA_ALARM, ZONE_ID, AUDIOFOCUS_LOSS); in requestAudioFocus_withFocusRequestDelayed() 211 verify(mAudioControlWrapper).onAudioFocusChange(METADATA_MEDIA, ZONE_ID, in requestAudioFocus_withNullPlaybackMonitor() 255 listener.onAudioFocusChange(AUDIOFOCUS_LOSS_TRANSIENT); in requestAudioFocus_withSameZoneAndUsage_notifiesHalOfExistingRequestStatus() 257 verify(mAudioControlWrapper).onAudioFocusChange(METADATA_MEDIA, ZONE_ID, in requestAudioFocus_withSameZoneAndUsage_notifiesHalOfExistingRequestStatus() 262 verify(mAudioControlWrapper, times(2)).onAudioFocusChange(METADATA_MEDIA, ZONE_ID, in requestAudioFocus_withSameZoneAndUsage_notifiesHalOfExistingRequestStatus() 280 listener.onAudioFocusChange(AUDIOFOCUS_LOSS_TRANSIENT); in requestAudioFocus_withSameContext_notifiesHalOfExistingRequestStatus() 281 verify(mAudioControlWrapper).onAudioFocusChange(METADATA_MEDIA, ZONE_ID, in requestAudioFocus_withSameContext_notifiesHalOfExistingRequestStatus() 286 verify(mAudioControlWrapper).onAudioFocusChange(METADATA_MEDIA, ZONE_ID, in requestAudioFocus_withSameContext_notifiesHalOfExistingRequestStatus() 288 verify(mAudioControlWrapper).onAudioFocusChange(METADATA_MOVIE, ZONE_ID, in requestAudioFocus_withSameContext_notifiesHalOfExistingRequestStatus() [all …]
|
D | AudioControlWrapperV2Test.java | 180 mAudioControlWrapperV2.onAudioFocusChange(METADATA, ZONE_ID, FOCUS_GAIN); in onAudioFocusChange_succeeds() 182 verify(mAudioControlV2).onAudioFocusChange(USAGE, ZONE_ID, FOCUS_GAIN); in onAudioFocusChange_succeeds() 188 .onAudioFocusChange(anyInt(), anyInt(), anyInt()); in onAudioFocusChange_throws() 191 () -> mAudioControlWrapperV2.onAudioFocusChange(METADATA, ZONE_ID, FOCUS_GAIN)); in onAudioFocusChange_throws()
|
D | AudioControlWrapperAidlTest.java | 324 mAudioControlWrapperAidl.onAudioFocusChange(METADATA, ZONE_ID, FOCUS_GAIN); in onAudioFocusChange_succeeds() 332 .onAudioFocusChange(anyString(), anyInt(), anyInt()); in onAudioFocusChange_throws() 337 () -> mAudioControlWrapperAidl.onAudioFocusChange(METADATA, ZONE_ID, FOCUS_GAIN)); in onAudioFocusChange_throws() 350 mAudioControlWrapperAidl.onAudioFocusChange(METADATA, ZONE_ID, FOCUS_GAIN); in onAudioFocusChange_whenMetaDataApiUnimplemented_fallbacksOnUsageApi() 352 verify(mAudioControl).onAudioFocusChange(USAGE_NAME, ZONE_ID, FOCUS_GAIN); in onAudioFocusChange_whenMetaDataApiUnimplemented_fallbacksOnUsageApi()
|
D | AudioControlWrapperV1Test.java | 151 () -> mAudioControlWrapperV1.onAudioFocusChange(METADATA, ZONE_ID, FOCUS_GAIN)); in onAudioFocusChange_throws()
|
/packages/apps/TV/tests/robotests/src/com/android/tv/audio/ |
D | AudioManagerHelperTest.java | 58 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_NONE); in onAudioFocusChange_none_noTimeShift() 68 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_NONE); in onAudioFocusChange_none_TimeShift() 78 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_GAIN); in onAudioFocusChange_gain_noTimeShift() 88 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_GAIN); in onAudioFocusChange_gain_timeShift() 98 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_LOSS); in onAudioFocusChange_loss_noTimeShift() 108 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_LOSS); in onAudioFocusChange_loss_timeShift() 118 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_LOSS_TRANSIENT); in onAudioFocusChange_lossTransient_noTimeShift() 128 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_LOSS_TRANSIENT); in onAudioFocusChange_lossTransient_timeShift() 138 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK); in onAudioFocusChange_lossTransientCanDuck_noTimeShift() 148 mAudioManagerHelper.onAudioFocusChange(AudioManager.AUDIOFOCUS_LOSS_TRANSIENT_CAN_DUCK); in onAudioFocusChange_lossTransientCanDuck_timeShift()
|
/packages/services/Car/service/src/com/android/car/audio/hal/ |
D | HalAudioFocus.java | 136 mAudioControlWrapper.onAudioFocusChange(metadata, zoneId, in requestAudioFocus() 278 mAudioControlWrapper.onAudioFocusChange(metadata, zoneId, AUDIOFOCUS_LOSS); in abandonAudioFocusLocked() 304 onAudioFocusChange(attributes, zoneId, focusChange); in generateFocusRequestLocked() 309 private void onAudioFocusChange(AudioAttributes attributes, int zoneId, int focusChange) { in onAudioFocusChange() method 322 mAudioControlWrapper.onAudioFocusChange(metadata, zoneId, focusChange); in onAudioFocusChange() 355 mAudioControlWrapper.onAudioFocusChange(metadata, zoneId, resultingFocusGain); in makeAudioFocusRequestLocked()
|
D | AudioControlWrapperAidl.java | 164 public void onAudioFocusChange(PlaybackTrackMetadata metaData, int zoneId, int focusChange) { in onAudioFocusChange() method in AudioControlWrapperAidl 173 onAudioFocusChange(metaData.usage, zoneId, focusChange); in onAudioFocusChange() 177 private void onAudioFocusChange(@AttributeUsage int usage, int zoneId, int focusChange) { in onAudioFocusChange() method in AudioControlWrapperAidl 184 mAudioControl.onAudioFocusChange(usageName, zoneId, focusChange); in onAudioFocusChange()
|
D | AudioControlWrapperV2.java | 112 public void onAudioFocusChange(PlaybackTrackMetadata metaData, int zoneId, int focusChange) { in onAudioFocusChange() method in AudioControlWrapperV2 119 mAudioControlV2.onAudioFocusChange(usage, zoneId, focusChange); in onAudioFocusChange()
|
D | AudioControlWrapper.java | 101 void onAudioFocusChange(PlaybackTrackMetadata metadata, int zoneId, int focusChange); in onAudioFocusChange() method
|
D | AudioControlWrapperV1.java | 97 public void onAudioFocusChange(PlaybackTrackMetadata metaData, int zoneId, int focusChange) { in onAudioFocusChange() method in AudioControlWrapperV1
|
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/ |
D | VoicemailAudioManager.java | 70 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() method in VoicemailAudioManager 72 voicemailPlaybackPresenter.onAudioFocusChange(focusChange == AudioManager.AUDIOFOCUS_GAIN); in onAudioFocusChange()
|
/packages/apps/TV/src/com/android/tv/audio/ |
D | AudioManagerHelper.java | 141 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() method in AudioManagerHelper
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | Beeper.java | 238 public void onAudioFocusChange(int i) { in onAudioFocusChange() method in Beeper.BeepRecord
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/ |
D | OemCarServiceTestFragment.java | 194 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() method in OemCarServiceTestFragment.MediaWithDelayedFocusListener
|
D | CarAudioZoneInputFragment.java | 255 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() method in CarAudioZoneInputFragment.InputAudioFocusListener
|
D | AudioPlayer.java | 94 public void onAudioFocusChange(int focusChange) {
|
D | AudioTestFragment.java | 1009 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() method in AudioTestFragment.FocusHandler.AudioFocusListener 1026 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() method in AudioTestFragment.MediaWithDelayedFocusListener
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/a2dpsink/ |
D | A2dpSinkStreamHandler.java | 95 public void onAudioFocusChange(int focusChange) {
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/ |
D | AudioAutoStartActivity.java | 233 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() method in AudioAutoStartActivity.AutoStartFocusListener
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/volume/ |
D | CarAudioZoneVolumeFragment.java | 349 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() method in CarAudioZoneVolumeFragment.AudioFocusListener
|
/packages/apps/Music/kotlin/src/com/android/music/ |
D | AudioPreview.kt | 249 override fun onAudioFocusChange(focusChange: Int) { in onAudioFocusChange() method in com.android.music.AudioPreview
|
/packages/apps/Music/src/com/android/music/ |
D | AudioPreview.java | 278 public void onAudioFocusChange(int focusChange) {
|
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/video/ |
D | VideoUi.kt | 515 override fun onAudioFocusChange(focusChange: Int) { in rememberAudioFocus() method
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
D | CellBroadcastAlertAudio.java | 728 public void onAudioFocusChange(int focusChange) { in onAudioFocusChange() method in CellBroadcastAlertAudio
|
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/ |
D | Player.java | 624 public void onAudioFocusChange(int focus) {
|