Home
last modified time | relevance | path

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

/frameworks/base/cmds/hid/src/com/android/commands/hid/
DHid.java92 if (Event.COMMAND_DELAY.equals(e.getCommand())) { in process()
94 } else if (Event.COMMAND_REPORT.equals(e.getCommand())) { in process()
96 } else if (Event.COMMAND_SET_GET_REPORT_RESPONSE.equals(e.getCommand())) { in process()
98 } else if (Event.COMMAND_SEND_SET_REPORT_REPLY.equals(e.getCommand())) { in process()
101 if (Event.COMMAND_REGISTER.equals(e.getCommand())) { in process()
104 error("Unknown command \"" + e.getCommand() + "\". Ignoring event."); in process()
107 } else if (Event.COMMAND_REGISTER.equals(e.getCommand())) { in process()
115 if (!Event.COMMAND_REGISTER.equals(e.getCommand())) { in registerDevice()
117 "Tried to send command \"" + e.getCommand() + "\" to an unregistered device!"); in registerDevice()
DEvent.java74 public String getCommand() { in getCommand() method in Event
/frameworks/base/cmds/uinput/tests/src/com/android/commands/uinput/tests/
DEvemuParserTest.java51 assertThat(event.getCommand()).isEqualTo(Event.Command.REGISTER); in getRegistrationEvent()
180 assertThat(parser.getNextEvent().getCommand()).isEqualTo(Event.Command.REGISTER); in testLedAndSwitchStatesIgnored()
181 assertThat(parser.getNextEvent().getCommand()).isEqualTo(Event.Command.DELAY); in testLedAndSwitchStatesIgnored()
182 assertThat(parser.getNextEvent().getCommand()).isEqualTo(Event.Command.INJECT); in testLedAndSwitchStatesIgnored()
192 assertThat(event.getCommand()).isEqualTo(Event.Command.INJECT); in assertInjectEvent()
200 assertThat(event.getCommand()).isEqualTo(Event.Command.DELAY); in assertDelayEvent()
214 assertThat(parser.getNextEvent().getCommand()).isEqualTo(Event.Command.REGISTER); in testEventParsing_OneFrame()
215 assertThat(parser.getNextEvent().getCommand()).isEqualTo(Event.Command.DELAY); in testEventParsing_OneFrame()
234 assertThat(parser.getNextEvent().getCommand()).isEqualTo(Event.Command.REGISTER); in testEventParsing_MultipleFrames()
235 assertThat(parser.getNextEvent().getCommand()).isEqualTo(Event.Command.DELAY); in testEventParsing_MultipleFrames()
[all …]
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DUinput.java125 if (e.getCommand() != Event.Command.REGISTER) { in process()
134 switch (Objects.requireNonNull(e.getCommand())) { in process()
145 if (!Event.Command.REGISTER.equals(e.getCommand())) { in registerDevice()
147 "Tried to send command \"" + e.getCommand() + "\" to an unregistered device!"); in registerDevice()
DEvent.java115 public Command getCommand() { in getCommand() method
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
DMainInteractionSession.java457 Log.i(TAG, "onCommand: command=" + request.getCommand() + " extras=" + extras); in onRequestCommand()
458 mText.setText("Command: " + request.getCommand() + ", " + extras); in onRequestCommand()
/frameworks/base/tools/aapt/
DBundle.h79 Command getCommand(void) const { return mCmd; } in getCommand() function
DMain.cpp257 switch (bundle->getCommand()) { in handleCommand()
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...
Dandroid-22.txt53143 method public abstract java.lang.String getCommand();
/frameworks/base/core/java/android/provider/
DSettings.java3382 <T extends NameValueTable> NameValueCache(Uri uri, String getCommand, in NameValueCache() argument
3385 this(uri, getCommand, setCommand, deleteCommand, null, null, providerHolder, in NameValueCache()
3389 private <T extends NameValueTable> NameValueCache(Uri uri, String getCommand, in NameValueCache() argument
3393 mCallGetCommand = getCommand; in NameValueCache()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHidlComposerHal.cpp962 static_cast<IComposerClient::Command>(mWriter.getCommand(cmdErr.location)); in execute()
/frameworks/base/core/java/android/service/voice/
DVoiceInteractionSession.java852 public String getCommand() { in getCommand() method in VoiceInteractionSession.CommandRequest
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/core/api/
Dcurrent.txt41687 method public String getCommand();
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt28730 Landroid/media/MediaSession2$CommandButton;->getCommand()Landroid/media/SessionCommand2;