Home
last modified time | relevance | path

Searched defs:commandCode (Results 1 – 14 of 14) sorted by relevance

/frameworks/support/media/src/main/java/androidx/media/
DSessionCommandGroup2.java88 public void addCommand(int commandCode) { in addCommand()
148 public void removeCommand(int commandCode) { in removeCommand()
173 public boolean hasCommand(int commandCode) { in hasCommand()
DMediaSession2Stub.java188 final int commandCode = extras.getInt(ARGUMENT_COMMAND_CODE); in onCommand() local
195 onCommand2(caller.asBinder(), commandCode, new Session2Runnable() { in onCommand() local
435 private boolean isAllowedCommand(ControllerInfo controller, int commandCode) { in isAllowedCommand()
443 private void onCommand2(@NonNull IBinder caller, final int commandCode, in onCommand2()
454 @Nullable final SessionCommand2 sessionCommand, final int commandCode, in onCommand2Internal()
DMediaSessionLegacyStub.java221 private boolean isAllowedCommand(ControllerInfo controller, int commandCode) { in isAllowedCommand()
229 private void onCommand2(@NonNull IBinder caller, final int commandCode, in onCommand2()
240 @Nullable final SessionCommand2 sessionCommand, final int commandCode, in onCommand2Internal()
DSessionCommand2.java339 public SessionCommand2(int commandCode) { in SessionCommand2()
DMediaController2ImplBase.java912 private void sendCommand(int commandCode) { in sendCommand()
916 private void sendCommand(int commandCode, Bundle args) { in sendCommand()
/frameworks/base/media/java/android/media/
DSessionCommandGroup2.java55 public void addCommand(int commandCode) { in addCommand()
67 public void removeCommand(int commandCode) { in removeCommand()
DSessionCommand2.java276 public SessionCommand2(int commandCode) { in SessionCommand2()
/frameworks/av/packages/MediaComponents/src/com/android/media/
DMediaSession2Stub.java145 private ControllerInfo getControllerIfAble(IMediaController2 caller, int commandCode) { in getControllerIfAble()
212 int commandCode) { in getControllerBinderIfAble()
229 private void onCommand(@NonNull IMediaController2 caller, int commandCode, in onCommand()
275 private void notifyAll(int commandCode, @NonNull NotifyRunnable runnable) { in notifyAll()
279 getControllerBinderIfAble(controllers.get(i), commandCode), runnable); in notifyAll() local
295 private void notify(@NonNull ControllerInfo controller, int commandCode, in notify()
487 int commandCode, Bundle args) throws RuntimeException { in sendTransportControlCommand()
DMediaController2Impl.java280 IMediaSession2 getSessionBinderIfAble(int commandCode) { in getSessionBinderIfAble()
386 private void sendTransportControlCommand(int commandCode) { in sendTransportControlCommand()
390 private void sendTransportControlCommand(int commandCode, Bundle args) { in sendTransportControlCommand()
DIMediaSession2.aidl50 int commandCode, in Bundle args); in sendTransportControlCommand()
DMediaSession2Impl.java989 public CommandImpl(SessionCommand2 instance, int commandCode) { in CommandImpl()
/frameworks/support/media/src/androidTest/java/androidx/media/
DMediaSession2_PermissionTest.java121 private SessionCommandGroup2 createCommandGroupWith(int commandCode) { in createCommandGroupWith()
127 private SessionCommandGroup2 createCommandGroupWithout(int commandCode) { in createCommandGroupWithout()
134 private void testOnCommandRequest(int commandCode, PermissionTestRunnable runnable) in testOnCommandRequest()
/frameworks/base/media/java/android/media/update/
DStaticProvider.java73 int commandCode, String action, Bundle extra); in createMediaSession2Command()
/frameworks/av/packages/MediaComponents/src/com/android/media/update/
DApiFactory.java108 SessionCommand2 instance, int commandCode, String action, Bundle extra) { in createMediaSession2Command()