/packages/modules/Media/apex/framework/java/android/media/ |
D | Session2Token.java | 52 public final class Session2Token implements Parcelable { class 55 public static final @android.annotation.NonNull Creator<Session2Token> CREATOR = 56 new Creator<Session2Token>() { 58 public Session2Token createFromParcel(Parcel p) { 59 return new Session2Token(p); 63 public Session2Token[] newArray(int size) { 64 return new Session2Token[size]; 101 public Session2Token(@NonNull Context context, @NonNull ComponentName serviceComponent) { in Session2Token() method in Session2Token 125 Session2Token(int uid, int type, String packageName, Session2Link sessionLink, in Session2Token() method in Session2Token 136 Session2Token(Parcel in) { in Session2Token() method in Session2Token [all …]
|
D | MediaCommunicationManager.java | 108 public void notifySession2Created(@NonNull Session2Token token) { in notifySession2Created() 110 if (token.getType() != Session2Token.TYPE_SESSION) { in notifySession2Created() 162 public List<Session2Token> getSession2Tokens() { in getSession2Tokens() 241 private List<Session2Token> getSession2Tokens(int userId) { in getSession2Tokens() 295 default void onSession2TokenCreated(@NonNull Session2Token token) {} in onSession2TokenCreated() 307 default void onSession2TokenCreated(@NonNull Session2Token token, int pid) { in onSession2TokenCreated() 314 default void onSession2TokensChanged(@NonNull List<Session2Token> tokens) {} in onSession2TokensChanged() 345 public void onSession2Created(Session2Token token, int pid) throws RemoteException { in onSession2Created() 359 List<Session2Token> tokenList = tokens.getList(); in onSession2Changed()
|
D | MediaController2.java | 28 import static android.media.Session2Token.TYPE_SESSION; 67 private final Session2Token mSessionToken; 83 private Session2Token mConnectedToken; 102 MediaController2(@NonNull Context context, @NonNull Session2Token token, in MediaController2() 181 public Session2Token getConnectedToken() { in getConnectedToken() 292 mConnectedToken = new Session2Token(mSessionToken.getUid(), TYPE_SESSION, in onConnected() 423 private Session2Token mToken; 434 public Builder(@NonNull Context context, @NonNull Session2Token token) { in Builder()
|
D | MediaSession2.java | 28 import static android.media.Session2Token.TYPE_SESSION; 91 private final Session2Token mSessionToken; 119 mSessionToken = new Session2Token(Process.myUid(), TYPE_SESSION, context.getPackageName(), in MediaSession2() 174 public Session2Token getToken() { in getToken()
|
/packages/modules/Media/apex/service/java/com/android/server/media/ |
D | MediaCommunicationService.java | 35 import android.media.Session2Token; 158 ArrayList<Session2Token> getSession2TokensLocked(int userId) { in getSession2TokensLocked() 159 ArrayList<Session2Token> list = new ArrayList<>(); in getSession2TokensLocked() 228 void dispatchSession2Created(Session2Token token, int pid) { in dispatchSession2Created() 245 ArrayList<Session2Token> allSession2Tokens; in dispatchSession2Changed() 246 ArrayList<Session2Token> userSession2Tokens; in dispatchSession2Changed() 255 MediaParceledListSlice<Session2Token> toSend = in dispatchSession2Changed() 264 MediaParceledListSlice<Session2Token> toSend = in dispatchSession2Changed() 317 public void notifySession2Created(Session2Token sessionToken) { in notifySession2Created() 395 ArrayList<Session2Token> result; in getSession2Tokens() [all …]
|
D | SessionPriorityList.java | 20 import android.media.Session2Token; 95 public List<Session2Token> getAllTokens() { in getAllTokens() 96 List<Session2Token> sessions = new ArrayList<>(); in getAllTokens() 105 public List<Session2Token> getTokensByUserId(int userId) { in getTokensByUserId() 106 List<Session2Token> sessions = new ArrayList<>(); in getTokensByUserId()
|
/packages/modules/Media/apex/framework/api/ |
D | module-lib-current.txt | 11 method public default void onSession2TokenCreated(@NonNull android.media.Session2Token); 12 …_session_2") public default void onSession2TokenCreated(@NonNull android.media.Session2Token, int); 13 … public default void onSession2TokensChanged(@NonNull java.util.List<android.media.Session2Token>);
|
D | current.txt | 28 method @NonNull public java.util.List<android.media.Session2Token> getSession2Tokens(); 35 method @Nullable public android.media.Session2Token getConnectedToken(); 41 …c MediaController2.Builder(@NonNull android.content.Context, @NonNull android.media.Session2Token); 166 method @NonNull public android.media.Session2Token getToken(); 252 public final class Session2Token implements android.os.Parcelable { 253 …ctor public Session2Token(@NonNull android.content.Context, @NonNull android.content.ComponentName… 261 …field @NonNull public static final android.os.Parcelable.Creator<android.media.Session2Token> CREA…
|
/packages/modules/Media/apex/aidl/private/android/media/ |
D | IMediaCommunicationServiceCallback.aidl | 18 import android.media.Session2Token; 23 void onSession2Created(in Session2Token token, in int pid); in onSession2Created()
|
D | IMediaCommunicationService.aidl | 18 import android.media.Session2Token; 25 void notifySession2Created(in Session2Token sessionToken); in notifySession2Created()
|
/packages/modules/Media/apex/aidl/stable/android/media/ |
D | Session2Token.aidl | 19 parcelable Session2Token;
|
/packages/modules/Media/flags/ |
D | flags.aconfig | 12 description: "Add pid for Session2Token for Supporting project falcon in MediaSession2"
|
/packages/modules/Media/apex/framework/ |
D | Android.bp | 86 "java/android/media/Session2Token.java",
|