Class ShadowInputManager

    • Constructor Detail

      • ShadowInputManager

        public ShadowInputManager()
    • Method Detail

      • injectInputEvent

        @Implementation
        protected boolean injectInputEvent​(InputEvent event,
                                           int mode)
      • deviceHasKeys

        @Implementation(minSdk=19)
        protected boolean[] deviceHasKeys​(int id,
                                          int[] keyCodes)
      • verifyInputEvent

        @Implementation(minSdk=30)
        protected Object verifyInputEvent​(Object inputEvent)
        Provides a local java implementation, since the real implementation is in system server + native code.
      • reset

        @Resetter
        public static void reset()