Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/audio/
DFocusRequester.java29 import com.android.server.audio.MediaFocusControl.AudioFocusDeathHandler;
51 private final MediaFocusControl mFocusController; // never null
92 String pn, int uid, @NonNull MediaFocusControl ctlr, int sdk) { in FocusRequester()
109 IBinder source, AudioFocusDeathHandler hdlr, @NonNull MediaFocusControl ctlr) { in FocusRequester()
375 && MediaFocusControl.ENFORCE_DUCKING in handleFocusLoss()
385 } else if (!forceDuck && (MediaFocusControl.ENFORCE_DUCKING_FOR_NEW && in handleFocusLoss()
386 this.getSdkTarget() <= MediaFocusControl.DUCKING_IN_APP_SDK_LEVEL)) in handleFocusLoss()
427 if (MediaFocusControl.DEBUG) { Log.e(TAG, "dispatchFocusChange: no focus dispatcher"); } in dispatchFocusChange()
431 if (MediaFocusControl.DEBUG) { Log.v(TAG, "dispatchFocusChange: AUDIOFOCUS_NONE"); } in dispatchFocusChange()
456 if (MediaFocusControl.DEBUG) { in dispatchFocusResultFromExtPolicy()
DMediaFocusControl.java53 public class MediaFocusControl implements PlayerFocusEnforcer { class
90 protected MediaFocusControl(Context cntxt, PlayerFocusEnforcer pfe) { in MediaFocusControl() method in MediaFocusControl
DPlaybackActivityMonitor.java63 .setDuration(MediaFocusControl.getFocusRampTimeMs(
DAudioService.java617 private final MediaFocusControl mMediaFocusControl;
832 mMediaFocusControl = new MediaFocusControl(mContext, mPlaybackMonitor); in AudioService()
/frameworks/base/services/
Dart-profile2174 Lcom/android/server/audio/MediaFocusControl;