Searched refs:MediaFocusControl (Results 1 – 6 of 6) sorted by relevance
32 import com.android.server.audio.MediaFocusControl.AudioFocusDeathHandler;56 private final MediaFocusControl mFocusController; // never null103 @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 …]
64 public class MediaFocusControl implements PlayerFocusEnforcer { class108 protected MediaFocusControl(Context cntxt, PlayerFocusEnforcer pfe) { in MediaFocusControl() method in MediaFocusControl
99 .setDuration(MediaFocusControl.getFocusRampTimeMs(114 .setDuration(MediaFocusControl.getFocusRampTimeMs(
964 private final MediaFocusControl mMediaFocusControl;1389 mMediaFocusControl = new MediaFocusControl(mContext, mPlaybackMonitor); in AudioService()
194 MediaFocusControl mfc = new MediaFocusControl(mContext, null); in createFocusRequester()
8190 …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)V8412 PLcom/android/server/audio/MediaFocusControl;-><clinit>()V8413 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()Z8416 PLcom/android/server/audio/MediaFocusControl;->getFocusRampTimeMs(ILandroid/media/AudioAttributes;)I[all …]