Home
last modified time | relevance | path

Searched refs:Session2Command (Results 1 – 11 of 11) sorted by relevance

/packages/modules/Media/apex/framework/java/android/media/
DSession2Command.java43 public final class Session2Command implements Parcelable { class
50 public static final @android.annotation.NonNull Parcelable.Creator<Session2Command> CREATOR =
51 new Parcelable.Creator<Session2Command>() {
53 public Session2Command createFromParcel(Parcel in) {
54 return new Session2Command(in);
58 public Session2Command[] newArray(int size) {
59 return new Session2Command[size];
73 public Session2Command(int commandCode) { in Session2Command() method in Session2Command
88 public Session2Command(@NonNull String action, @Nullable Bundle extras) { in Session2Command() method in Session2Command
101 Session2Command(Parcel in) { in Session2Command() method in Session2Command
[all …]
DSession2CommandGroup.java19 import static android.media.Session2Command.COMMAND_CODE_CUSTOM;
54 Set<Session2Command> mCommands = new HashSet<>();
62 Session2CommandGroup(@Nullable Collection<Session2Command> commands) { in Session2CommandGroup()
73 Parcelable[] commands = in.readParcelableArray(Session2Command.class.getClassLoader()); in Session2CommandGroup()
76 mCommands.add((Session2Command) command); in Session2CommandGroup()
86 public boolean hasCommand(@NonNull Session2Command command) { in hasCommand()
103 for (Session2Command command : mCommands) { in hasCommand()
115 public Set<Session2Command> getCommands() { in getCommands()
129 dest.writeParcelableArray(mCommands.toArray(new Session2Command[0]), 0); in writeToParcel()
141 private Set<Session2Command> mCommands;
[all …]
DMediaController2.java26 import static android.media.Session2Command.Result.RESULT_ERROR_UNKNOWN_ERROR;
27 import static android.media.Session2Command.Result.RESULT_INFO_SKIPPED;
208 public Object sendSessionCommand(@NonNull Session2Command command, @Nullable Bundle args) { in sendSessionCommand()
220 command, new Session2Command.Result(resultCode, resultData)); in sendSessionCommand()
317 void onSessionCommand(int seq, Session2Command command, Bundle args, in onSessionCommand()
333 Session2Command.Result result = mCallback.onSessionCommand( in onSessionCommand()
564 public Session2Command.Result onSessionCommand(@NonNull MediaController2 controller, in onSessionCommand()
565 @NonNull Session2Command command, @Nullable Bundle args) { in onSessionCommand()
578 @NonNull Session2Command command, @NonNull Session2Command.Result result) {} in onCommandResult()
DMediaSession2.java26 import static android.media.Session2Command.Result.RESULT_ERROR_UNKNOWN_ERROR;
27 import static android.media.Session2Command.Result.RESULT_INFO_SKIPPED;
184 public void broadcastSessionCommand(@NonNull Session2Command command, @Nullable Bundle args) { in broadcastSessionCommand()
205 @NonNull Session2Command command, @Nullable Bundle args) { in sendSessionCommand()
217 command, new Session2Command.Result(resultCode, resultData)); in sendSessionCommand()
454 final Session2Command command, final Bundle args, in onSessionCommand()
478 Session2Command.Result result = mCallback.onSessionCommand( in onSessionCommand()
787 void sendSessionCommand(Session2Command command, Bundle args, in sendSessionCommand()
908 public Session2Command.Result onSessionCommand(@NonNull MediaSession2 session, in onSessionCommand()
909 @NonNull ControllerInfo controller, @NonNull Session2Command command, in onSessionCommand()
[all …]
DController2Link.java116 public void sendSessionCommand(int seq, Session2Command command, Bundle args, in sendSessionCommand()
154 public void onSessionCommand(int seq, Session2Command command, Bundle args, in onSessionCommand()
196 public void sendSessionCommand(int seq, Session2Command command, Bundle args, in sendSessionCommand()
DSession2Link.java131 final Session2Command command, final Bundle args, ResultReceiver resultReceiver) { in sendSessionCommand()
161 final Session2Command command, final Bundle args, ResultReceiver resultReceiver) { in onSessionCommand()
201 final Session2Command command, final Bundle args, ResultReceiver resultReceiver) { in sendSessionCommand()
/packages/modules/Media/apex/framework/api/
Dcurrent.txt37 …method @NonNull public Object sendSessionCommand(@NonNull android.media.Session2Command, @Nullable…
49 …roller2, @NonNull Object, @NonNull android.media.Session2Command, @NonNull android.media.Session2C…
53 …ic android.media.Session2Command.Result onSessionCommand(@NonNull android.media.MediaController2, …
161 …method public void broadcastSessionCommand(@NonNull android.media.Session2Command, @Nullable andro…
168 …l android.media.MediaSession2.ControllerInfo, @NonNull android.media.Session2Command, @Nullable an…
190 …lerInfo, @NonNull Object, @NonNull android.media.Session2Command, @NonNull android.media.Session2C…
194Session2Command.Result onSessionCommand(@NonNull android.media.MediaSession2, @NonNull android.med…
214 public final class Session2Command implements android.os.Parcelable {
215 ctor public Session2Command(int);
216 ctor public Session2Command(@NonNull String, @Nullable android.os.Bundle);
[all …]
/packages/modules/Media/apex/aidl/private/android/media/
DIMediaController2.aidl21 import android.media.Session2Command;
35 void sendSessionCommand(int seq, in Session2Command command, in Bundle args, in sendSessionCommand()
DIMediaSession2.aidl22 import android.media.Session2Command;
35 void sendSessionCommand(in Controller2Link caller, int seq, in Session2Command sessionCommand, in sendSessionCommand()
DSession2Command.aidl19 parcelable Session2Command;
/packages/modules/Media/apex/framework/
DAndroid.bp83 "java/android/media/Session2Command.java",