Home
last modified time | relevance | path

Searched refs:Session2Token (Results 1 – 13 of 13) sorted by relevance

/packages/modules/Media/apex/framework/java/android/media/
DSession2Token.java52 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 …]
DMediaCommunicationManager.java108 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()
DMediaController2.java28 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()
DMediaSession2.java28 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/
DMediaCommunicationService.java35 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 …]
DSessionPriorityList.java20 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/
Dmodule-lib-current.txt11 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>);
Dcurrent.txt28 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/
DIMediaCommunicationServiceCallback.aidl18 import android.media.Session2Token;
23 void onSession2Created(in Session2Token token, in int pid); in onSession2Created()
DIMediaCommunicationService.aidl18 import android.media.Session2Token;
25 void notifySession2Created(in Session2Token sessionToken); in notifySession2Created()
/packages/modules/Media/apex/aidl/stable/android/media/
DSession2Token.aidl19 parcelable Session2Token;
/packages/modules/Media/flags/
Dflags.aconfig12 description: "Add pid for Session2Token for Supporting project falcon in MediaSession2"
/packages/modules/Media/apex/framework/
DAndroid.bp86 "java/android/media/Session2Token.java",