Searched refs:MediaFocusControl (Results 1 – 5 of 5) sorted by relevance
29 import com.android.server.audio.MediaFocusControl.AudioFocusDeathHandler;51 private final MediaFocusControl mFocusController; // never null92 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()
53 public class MediaFocusControl implements PlayerFocusEnforcer { class90 protected MediaFocusControl(Context cntxt, PlayerFocusEnforcer pfe) { in MediaFocusControl() method in MediaFocusControl
63 .setDuration(MediaFocusControl.getFocusRampTimeMs(
617 private final MediaFocusControl mMediaFocusControl;832 mMediaFocusControl = new MediaFocusControl(mContext, mPlaybackMonitor); in AudioService()
2174 Lcom/android/server/audio/MediaFocusControl;