Home
last modified time | relevance | path

Searched refs:UinputControlCode (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/cmds/uinput/tests/src/com/android/commands/uinput/tests/
DEvemuParserTest.java32 import com.android.commands.uinput.Event.UinputControlCode;
84 assertThat(event.getConfiguration().get(UinputControlCode.UI_SET_PROPBIT.getValue())) in testPropertyBitmapParsing()
99 assertThat(event.getConfiguration().get(UinputControlCode.UI_SET_EVBIT.getValue())) in testEventBitmapParsing()
101 assertThat(event.getConfiguration().get(UinputControlCode.UI_SET_KEYBIT.getValue())) in testEventBitmapParsing()
103 assertThat(event.getConfiguration().get(UinputControlCode.UI_SET_RELBIT.getValue())) in testEventBitmapParsing()
105 assertThat(event.getConfiguration().contains(UinputControlCode.UI_SET_ABSBIT.getValue())) in testEventBitmapParsing()
116 assertThat(event.getConfiguration().get(UinputControlCode.UI_SET_EVBIT.getValue())) in testEventBitmapParsing_WithForceFeedback()
118 assertThat(event.getConfiguration().get(UinputControlCode.UI_SET_FFBIT.getValue())) in testEventBitmapParsing_WithForceFeedback()
460 assertThat(regEvent.getConfiguration().get(UinputControlCode.UI_SET_PROPBIT.getValue())) in testFreeDesktopEvemuRecording()
463 assertThat(regEvent.getConfiguration().get(UinputControlCode.UI_SET_EVBIT.getValue())) in testFreeDesktopEvemuRecording()
[all …]
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DJsonStyleParser.java192 Event.UinputControlCode controlCode = null;
230 private Event.UinputControlCode readUinputControlCode() throws IOException {
233 return Event.UinputControlCode.valueOf(controlTypeStr).getValue();
238 for (Event.UinputControlCode controlCode : Event.UinputControlCode.values()) {
247 Event.UinputControlCode controlCode) throws IOException {
DEvent.java54 public enum UinputControlCode { enum in Event
68 UinputControlCode(int value) { in UinputControlCode() method in Event.UinputControlCode
80 public static @Nullable UinputControlCode forEventType(int eventType) { in forEventType()
DEvemuParser.java228 config.append(Event.UinputControlCode.UI_SET_PROPBIT.getValue(), parseProperties()); in parseRegistrationEvent()
233 if (config.contains(Event.UinputControlCode.UI_SET_FFBIT.getValue())) { in parseRegistrationEvent()
236 eb.setFfEffectsMax(config.get(Event.UinputControlCode.UI_SET_FFBIT.getValue()).length); in parseRegistrationEvent()
294 final Event.UinputControlCode controlCode = in parseAxisBitmaps()
295 Event.UinputControlCode.forEventType(entry.getKey()); in parseAxisBitmaps()
303 Event.UinputControlCode.UI_SET_EVBIT.getValue(), unboxIntList(eventTypesToSet)); in parseAxisBitmaps()