Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioFocusInfo.java34 public final class AudioFocusInfo implements Parcelable { class
60 public AudioFocusInfo(AudioAttributes aa, int clientUid, String clientId, String packageName, in AudioFocusInfo() method in AudioFocusInfo
166 AudioFocusInfo other = (AudioFocusInfo) obj; in equals()
196 public static final @android.annotation.NonNull Parcelable.Creator<AudioFocusInfo> CREATOR
197 = new Parcelable.Creator<AudioFocusInfo>() {
199 public AudioFocusInfo createFromParcel(Parcel in) {
200 final AudioFocusInfo afi = new AudioFocusInfo(
214 public AudioFocusInfo[] newArray(int size) {
215 return new AudioFocusInfo[size];
DAudioFocusInfo.aidl18 parcelable AudioFocusInfo;
DIAudioService.aidl21 import android.media.AudioFocusInfo;
239 int dispatchFocusChange(in AudioFocusInfo afi, in int focusChange, in dispatchFocusChange()
250 oneway void setFocusRequestResultFromExtPolicy(in AudioFocusInfo afi, int requestResult, in setFocusRequestResultFromExtPolicy()
DAudioManager.java3090 public void setFocusRequestResult(@NonNull AudioFocusInfo afi, in setFocusRequestResult()
3130 public int dispatchAudioFocusChange(@NonNull AudioFocusInfo afi, int focusChange, in dispatchAudioFocusChange()
/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.java29 import android.media.AudioFocusInfo;
750 public void onAudioFocusGrant(AudioFocusInfo afi, int requestResult) {} in onAudioFocusGrant()
751 public void onAudioFocusLoss(AudioFocusInfo afi, boolean wasNotified) {} in onAudioFocusLoss()
761 public void onAudioFocusRequest(AudioFocusInfo afi, int requestResult) {} in onAudioFocusRequest()
769 public void onAudioFocusAbandon(AudioFocusInfo afi) {} in onAudioFocusAbandon()
806 public void notifyAudioFocusGrant(AudioFocusInfo afi, int requestResult) {
814 public void notifyAudioFocusLoss(AudioFocusInfo afi, boolean wasNotified) {
822 public void notifyAudioFocusRequest(AudioFocusInfo afi, int requestResult) {
830 public void notifyAudioFocusAbandon(AudioFocusInfo afi) {
887 (AudioFocusInfo) msg.obj, msg.arg1); in handleMessage()
[all …]
/frameworks/base/services/core/java/com/android/server/audio/
DMediaFocusControl.java24 import android.media.AudioFocusInfo;
265 final AudioFocusInfo afi = fr.toAudioFocusInfo(); in removeFocusStackEntry()
542 void notifyExtPolicyFocusGrant_syncAf(AudioFocusInfo afi, int requestResult) { in notifyExtPolicyFocusGrant_syncAf()
557 void notifyExtPolicyFocusLoss_syncAf(AudioFocusInfo afi, boolean wasDispatched) { in notifyExtPolicyFocusLoss_syncAf()
579 boolean notifyExtFocusPolicyFocusRequest_syncAf(AudioFocusInfo afi, in notifyExtFocusPolicyFocusRequest_syncAf()
622 void setFocusRequestResultFromExtPolicy(AudioFocusInfo afi, int requestResult) { in setFocusRequestResultFromExtPolicy()
644 boolean notifyExtFocusPolicyFocusAbandon_syncAf(AudioFocusInfo afi) { in notifyExtFocusPolicyFocusAbandon_syncAf()
663 int dispatchFocusChange(AudioFocusInfo afi, int focusChange) { in dispatchFocusChange()
797 final AudioFocusInfo afiForExtPolicy; in requestAudioFocus()
800 afiForExtPolicy = new AudioFocusInfo(aa, Binder.getCallingUid(), in requestAudioFocus()
[all …]
DFocusRequester.java22 import android.media.AudioFocusInfo;
109 FocusRequester(AudioFocusInfo afi, IAudioFocusDispatcher afl, in FocusRequester()
488 AudioFocusInfo toAudioFocusInfo() { in toAudioFocusInfo()
489 return new AudioFocusInfo(mAttributes, mCallingUid, mClientId, mPackageName, in toAudioFocusInfo()
DAudioService.java66 import android.media.AudioFocusInfo;
7649 public int dispatchFocusChange(AudioFocusInfo afi, int focusChange, IAudioPolicyCallback pcb) { in dispatchFocusChange()
7664 public void setFocusRequestResultFromExtPolicy(AudioFocusInfo afi, int requestResult, in setFocusRequestResultFromExtPolicy()
/frameworks/base/api/
Dtest-lint-baseline.txt844 MissingNullability: android.media.AudioFocusInfo#writeToParcel(android.os.Parcel, int) parameter #0:
958 …udioPolicy.AudioPolicyFocusListener#onAudioFocusAbandon(android.media.AudioFocusInfo) parameter #0:
960 …AudioPolicy.AudioPolicyFocusListener#onAudioFocusGrant(android.media.AudioFocusInfo, int) paramete…
962 ….AudioPolicy.AudioPolicyFocusListener#onAudioFocusLoss(android.media.AudioFocusInfo, boolean) para…
964 …dioPolicy.AudioPolicyFocusListener#onAudioFocusRequest(android.media.AudioFocusInfo, int) paramete…
Dtest-current.txt1155 public final class AudioFocusInfo implements android.os.Parcelable {
1165 …field @NonNull public static final android.os.Parcelable.Creator<android.media.AudioFocusInfo> CRE…
1180 …ROUTING") public int dispatchAudioFocusChange(@NonNull android.media.AudioFocusInfo, int, @NonNull…
1183 …O_ROUTING") public void setFocusRequestResult(@NonNull android.media.AudioFocusInfo, int, @NonNull…
1329 method public void onAudioFocusAbandon(android.media.AudioFocusInfo);
1330 method public void onAudioFocusGrant(android.media.AudioFocusInfo, int);
1331 method public void onAudioFocusLoss(android.media.AudioFocusInfo, boolean);
1332 method public void onAudioFocusRequest(android.media.AudioFocusInfo, int);
Dsystem-current.txt3733 public final class AudioFocusInfo implements android.os.Parcelable {
3743 …field @NonNull public static final android.os.Parcelable.Creator<android.media.AudioFocusInfo> CRE…
3757 …_ROUTING) public int dispatchAudioFocusChange(@NonNull android.media.AudioFocusInfo, int, @NonNull…
3771 …IO_ROUTING) public void setFocusRequestResult(@NonNull android.media.AudioFocusInfo, int, @NonNull…
3918 method public void onAudioFocusAbandon(android.media.AudioFocusInfo);
3919 method public void onAudioFocusGrant(android.media.AudioFocusInfo, int);
3920 method public void onAudioFocusLoss(android.media.AudioFocusInfo, boolean);
3921 method public void onAudioFocusRequest(android.media.AudioFocusInfo, int);
/frameworks/base/non-updatable-api/
Dsystem-current.txt3733 public final class AudioFocusInfo implements android.os.Parcelable {
3743 …field @NonNull public static final android.os.Parcelable.Creator<android.media.AudioFocusInfo> CRE…
3757 …_ROUTING) public int dispatchAudioFocusChange(@NonNull android.media.AudioFocusInfo, int, @NonNull…
3771 …IO_ROUTING) public void setFocusRequestResult(@NonNull android.media.AudioFocusInfo, int, @NonNull…
3918 method public void onAudioFocusAbandon(android.media.AudioFocusInfo);
3919 method public void onAudioFocusGrant(android.media.AudioFocusInfo, int);
3920 method public void onAudioFocusLoss(android.media.AudioFocusInfo, boolean);
3921 method public void onAudioFocusRequest(android.media.AudioFocusInfo, int);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt33927 Landroid/media/AudioFocusInfo;-><init>(Landroid/media/AudioAttributes;ILjava/lang/String;Ljava/lang…
33928 Landroid/media/AudioFocusInfo;->clearLossReceived()V
33929 Landroid/media/AudioFocusInfo;->getGen()J
33930 Landroid/media/AudioFocusInfo;->getSdkTarget()I
33931 Landroid/media/AudioFocusInfo;->mAttributes:Landroid/media/AudioAttributes;
33932 Landroid/media/AudioFocusInfo;->mClientId:Ljava/lang/String;
33933 Landroid/media/AudioFocusInfo;->mClientUid:I
33934 Landroid/media/AudioFocusInfo;->mFlags:I
33935 Landroid/media/AudioFocusInfo;->mGainRequest:I
33936 Landroid/media/AudioFocusInfo;->mGenCount:J
[all …]
Dboot-image-profile.txt9294 HSPLandroid/media/AudioFocusInfo$1;-><init>()V
9295 HSPLandroid/media/AudioFocusInfo;-><init>(Landroid/media/AudioAttributes;ILjava/lang/String;Ljava/l…
/frameworks/base/services/
Dart-profile4406 HSPLcom/android/server/audio/FocusRequester;->toAudioFocusInfo()Landroid/media/AudioFocusInfo;
4420 …server/audio/MediaFocusControl;->notifyExtPolicyFocusGrant_syncAf(Landroid/media/AudioFocusInfo;I)V
4421 …/server/audio/MediaFocusControl;->notifyExtPolicyFocusLoss_syncAf(Landroid/media/AudioFocusInfo;Z)V