Home
last modified time | relevance | path

Searched refs:MediaFocusControl (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/audio/
DFocusRequester.java32 import com.android.server.audio.MediaFocusControl.AudioFocusDeathHandler;
56 private final MediaFocusControl mFocusController; // never null
103 @NonNull MediaFocusControl ctlr, int sdk) { in FocusRequester()
121 IBinder source, AudioFocusDeathHandler hdlr, @NonNull MediaFocusControl ctlr) { in FocusRequester()
464 if (!MediaFocusControl.ENFORCE_DUCKING) { in frameworkHandleFocusLoss()
476 if (!forceDuck && (MediaFocusControl.ENFORCE_DUCKING_FOR_NEW in frameworkHandleFocusLoss()
477 && this.getSdkTarget() <= MediaFocusControl.DUCKING_IN_APP_SDK_LEVEL)) { in frameworkHandleFocusLoss()
487 if (!MediaFocusControl.ENFORCE_FADEOUT_FOR_FOCUS_LOSS) { in frameworkHandleFocusLoss()
511 if (MediaFocusControl.DEBUG) { Log.e(TAG, "dispatchFocusChange: no focus dispatcher"); } in dispatchFocusChange()
515 if (MediaFocusControl.DEBUG) { Log.v(TAG, "dispatchFocusChange: AUDIOFOCUS_NONE"); } in dispatchFocusChange()
[all …]
DMediaFocusControl.java64 public class MediaFocusControl implements PlayerFocusEnforcer { class
108 protected MediaFocusControl(Context cntxt, PlayerFocusEnforcer pfe) { in MediaFocusControl() method in MediaFocusControl
DPlaybackActivityMonitor.java99 .setDuration(MediaFocusControl.getFocusRampTimeMs(
114 .setDuration(MediaFocusControl.getFocusRampTimeMs(
DAudioService.java964 private final MediaFocusControl mMediaFocusControl;
1389 mMediaFocusControl = new MediaFocusControl(mContext, mPlaybackMonitor); in AudioService()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DFadeOutManagerTest.java194 MediaFocusControl mfc = new MediaFocusControl(mContext, null); in createFocusRequester()
/frameworks/base/services/
Dart-wear-profile8190 …iaFocusControl(Lcom/android/server/audio/AudioService;)Lcom/android/server/audio/MediaFocusControl;
8395 …com/android/server/audio/MediaFocusControl$AudioFocusDeathHandler;Ljava/lang/String;ILcom/android/…
8409 PLcom/android/server/audio/MediaFocusControl$4;-><init>(Lcom/android/server/audio/MediaFocusControl
8410 PLcom/android/server/audio/MediaFocusControl$AudioFocusDeathHandler;-><init>(Lcom/android/server/au…
8411 PLcom/android/server/audio/MediaFocusControl$ForgetFadeUidInfo;-><init>(I)V
8412 PLcom/android/server/audio/MediaFocusControl;-><clinit>()V
8413 PLcom/android/server/audio/MediaFocusControl;-><init>(Landroid/content/Context;Lcom/android/server/…
8414 PLcom/android/server/audio/MediaFocusControl;->abandonAudioFocus(Landroid/media/IAudioFocusDispatch…
8415 PLcom/android/server/audio/MediaFocusControl;->canReassignAudioFocus()Z
8416 PLcom/android/server/audio/MediaFocusControl;->getFocusRampTimeMs(ILandroid/media/AudioAttributes;)I
[all …]