code: public static Map.Entry<String, Map<String, ?>> longPressKeyCodeCommand(int key,
                                                                              Integer metastate) {
          String[] parameters = new String[]{"keycode", "metastate"};
          Object[] values = new Object[]{key, metastate};
          return new AbstractMap.SimpleEntry<>(
                  LONG_PRESS_KEY_CODE, prepareArguments(parameters, values));
      }
docs: This method forms a {@link java.util.Map} of parameters for the
  long key event invocation.
  
  @param key       code for the long key pressed on the Android device.
  @param metastate metastate for the long key press.
  @return a key-value pair. The key is the command name. The value is a
  {@link java.util.Map} command arguments.