Home
last modified time | relevance | path

Searched refs:AudioFocusInfo (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioFocusInfo.java32 public final class AudioFocusInfo implements Parcelable { class
58 public AudioFocusInfo(AudioAttributes aa, int clientUid, String clientId, String packageName, in AudioFocusInfo() method in AudioFocusInfo
164 AudioFocusInfo other = (AudioFocusInfo) obj; in equals()
194 public static final @android.annotation.NonNull Parcelable.Creator<AudioFocusInfo> CREATOR
195 = new Parcelable.Creator<AudioFocusInfo>() {
197 public AudioFocusInfo createFromParcel(Parcel in) {
198 final AudioFocusInfo afi = new AudioFocusInfo(
212 public AudioFocusInfo[] newArray(int size) {
213 return new AudioFocusInfo[size];
DAudioFocusInfo.aidl18 parcelable AudioFocusInfo;
DIAudioService.aidl25 import android.media.AudioFocusInfo;
405 int dispatchFocusChange(in AudioFocusInfo afi, in int focusChange, in dispatchFocusChange()
410 int dispatchFocusChangeWithFade(in AudioFocusInfo afi, in dispatchFocusChangeWithFade()
413 in List<AudioFocusInfo> otherActiveAfis, in dispatchFocusChangeWithFade()
422 oneway void setFocusRequestResultFromExtPolicy(in AudioFocusInfo afi, int requestResult, in setFocusRequestResultFromExtPolicy()
703 List<AudioFocusInfo> getFocusStack(); in getFocusStack()
705 boolean sendFocusLoss(in AudioFocusInfo focusLoser, in IAudioPolicyCallback apcb); in sendFocusLoss()
DAudioManager.java5072 public void setFocusRequestResult(@NonNull AudioFocusInfo afi, in setFocusRequestResult()
5111 public int dispatchAudioFocusChange(@NonNull AudioFocusInfo afi, int focusChange, in dispatchAudioFocusChange()
5175 public int dispatchAudioFocusChangeWithFade(@NonNull AudioFocusInfo afi, int focusChange, in dispatchAudioFocusChangeWithFade()
5176 @NonNull AudioPolicy ap, @NonNull List<AudioFocusInfo> otherActiveAfis, in dispatchAudioFocusChangeWithFade()
/frameworks/base/media/java/android/media/audiopolicy/
DIAudioPolicyCallback.aidl18 import android.media.AudioFocusInfo;
26 void notifyAudioFocusGrant(in AudioFocusInfo afi, int requestResult); in notifyAudioFocusGrant()
27 void notifyAudioFocusLoss(in AudioFocusInfo afi, boolean wasNotified); in notifyAudioFocusLoss()
29 void notifyAudioFocusRequest(in AudioFocusInfo afi, int requestResult); in notifyAudioFocusRequest()
30 void notifyAudioFocusAbandon(in AudioFocusInfo afi); in notifyAudioFocusAbandon()
DAudioPolicy.java35 import android.media.AudioFocusInfo;
921 public @NonNull List<AudioFocusInfo> getFocusStack() { in getFocusStack()
943 public boolean sendFocusLoss(@NonNull AudioFocusInfo focusLoser) throws IllegalStateException { in sendFocusLoss()
1094 public void onAudioFocusGrant(AudioFocusInfo afi, int requestResult) {} in onAudioFocusGrant()
1095 public void onAudioFocusLoss(AudioFocusInfo afi, boolean wasNotified) {} in onAudioFocusLoss()
1105 public void onAudioFocusRequest(AudioFocusInfo afi, int requestResult) {} in onAudioFocusRequest()
1113 public void onAudioFocusAbandon(AudioFocusInfo afi) {} in onAudioFocusAbandon()
1145 public void notifyAudioFocusGrant(AudioFocusInfo afi, int requestResult) {
1153 public void notifyAudioFocusLoss(AudioFocusInfo afi, boolean wasNotified) {
1161 public void notifyAudioFocusRequest(AudioFocusInfo afi, int requestResult) {
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java27 import android.media.AudioFocusInfo;
289 @NonNull List<AudioFocusInfo> getFocusStack() { in getFocusStack()
291 final ArrayList<AudioFocusInfo> stack = new ArrayList<>(mFocusStack.size()); in getFocusStack()
324 boolean sendFocusLoss(@NonNull AudioFocusInfo focusLoser) { in sendFocusLoss()
448 AudioFocusInfo abandonSource = null; in removeFocusStackEntry()
806 void notifyExtPolicyFocusGrant_syncAf(AudioFocusInfo afi, int requestResult) { in notifyExtPolicyFocusGrant_syncAf()
821 void notifyExtPolicyFocusLoss_syncAf(AudioFocusInfo afi, boolean wasDispatched) { in notifyExtPolicyFocusLoss_syncAf()
843 boolean notifyExtFocusPolicyFocusRequest_syncAf(AudioFocusInfo afi, in notifyExtFocusPolicyFocusRequest_syncAf()
886 void setFocusRequestResultFromExtPolicy(AudioFocusInfo afi, int requestResult) { in setFocusRequestResultFromExtPolicy()
911 boolean notifyExtFocusPolicyFocusAbandon_syncAf(AudioFocusInfo afi) { in notifyExtFocusPolicyFocusAbandon_syncAf()
[all …]
DFocusRequester.java23 import android.media.AudioFocusInfo;
120 FocusRequester(AudioFocusInfo afi, IAudioFocusDispatcher afl, in FocusRequester()
584 AudioFocusInfo toAudioFocusInfo() { in toAudioFocusInfo()
585 return new AudioFocusInfo(mAttributes, mCallingUid, mClientId, mPackageName, in toAudioFocusInfo()
DAudioService.java130 import android.media.AudioFocusInfo;
12923 public List<AudioFocusInfo> getFocusStack() { in getFocusStack()
12930 public boolean sendFocusLoss(@NonNull AudioFocusInfo focusLoser, in sendFocusLoss()
13854 public int dispatchFocusChange(AudioFocusInfo afi, int focusChange, IAudioPolicyCallback pcb) { in dispatchFocusChange()
13869 public void setFocusRequestResultFromExtPolicy(AudioFocusInfo afi, int requestResult, in setFocusRequestResultFromExtPolicy()
13890 public int dispatchFocusChangeWithFade(AudioFocusInfo afi, int focusChange, in dispatchFocusChangeWithFade()
13891 IAudioPolicyCallback pcb, List<AudioFocusInfo> otherActiveAfis, in dispatchFocusChangeWithFade()
/frameworks/layoutlib/bridge/src/android/media/
DAudioManager.java325 public void setFocusRequestResult(AudioFocusInfo afi, int requestResult, AudioPolicy ap) { } in setFocusRequestResult()
327 public int dispatchAudioFocusChange(AudioFocusInfo afi, int focusChange, AudioPolicy ap) { in dispatchAudioFocusChange()
/frameworks/base/core/api/
Dsystem-current.txt6984 public final class AudioFocusInfo implements android.os.Parcelable {
6994 …field @NonNull public static final android.os.Parcelable.Creator<android.media.AudioFocusInfo> CRE…
7017 …_ROUTING) public int dispatchAudioFocusChange(@NonNull android.media.AudioFocusInfo, int, @NonNull…
7018 …l android.media.AudioFocusInfo, int, @NonNull android.media.audiopolicy.AudioPolicy, @NonNull java…
7073 …IO_ROUTING) public void setFocusRequestResult(@NonNull android.media.AudioFocusInfo, int, @NonNull…
7505 …permission.MODIFY_AUDIO_ROUTING) public java.util.List<android.media.AudioFocusInfo> getFocusStack…
7509 …Y_AUDIO_ROUTING) public boolean sendFocusLoss(@NonNull android.media.AudioFocusInfo) throws java.l…
7526 method public void onAudioFocusAbandon(android.media.AudioFocusInfo);
7527 method public void onAudioFocusGrant(android.media.AudioFocusInfo, int);
7528 method public void onAudioFocusLoss(android.media.AudioFocusInfo, boolean);
[all …]
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt23798 Landroid/media/AudioFocusInfo;-><init>(Landroid/media/AudioAttributes;ILjava/lang/String;Ljava/lang…
23799 Landroid/media/AudioFocusInfo;->clearLossReceived()V
23800 Landroid/media/AudioFocusInfo;->getGen()J
23801 Landroid/media/AudioFocusInfo;->getSdkTarget()I
23802 Landroid/media/AudioFocusInfo;->mAttributes:Landroid/media/AudioAttributes;
23803 Landroid/media/AudioFocusInfo;->mClientId:Ljava/lang/String;
23804 Landroid/media/AudioFocusInfo;->mClientUid:I
23805 Landroid/media/AudioFocusInfo;->mFlags:I
23806 Landroid/media/AudioFocusInfo;->mGainRequest:I
23807 Landroid/media/AudioFocusInfo;->mGenCount:J
[all …]
/frameworks/base/boot/
Dpreloaded-classes4968 android.media.AudioFocusInfo$1
4969 android.media.AudioFocusInfo
Dboot-image-profile.txt27355 Landroid/media/AudioFocusInfo$1;
27356 Landroid/media/AudioFocusInfo;
/frameworks/base/config/
Dpreloaded-classes4972 android.media.AudioFocusInfo$1
4973 android.media.AudioFocusInfo
Dboot-image-profile.txt37489 Landroid/media/AudioFocusInfo$1;
37490 Landroid/media/AudioFocusInfo;
/frameworks/base/services/
Dart-wear-profile8402 PLcom/android/server/audio/FocusRequester;->toAudioFocusInfo()Landroid/media/AudioFocusInfo;
8420 …server/audio/MediaFocusControl;->notifyExtPolicyFocusGrant_syncAf(Landroid/media/AudioFocusInfo;I)V
8421 …/server/audio/MediaFocusControl;->notifyExtPolicyFocusLoss_syncAf(Landroid/media/AudioFocusInfo;Z)V