blob: d40e126039d01e6356bf5d9f7dc418acf561701d [file] [log] [blame]
#pragma once
#include <binder/IBinder.h>
#include <binder/IInterface.h>
#include <binder/Status.h>
#include <utils/StrongPointer.h>
namespace android {
namespace os {
class IInputConstants : public ::android::IInterface {
public:
DECLARE_META_INTERFACE(InputConstants)
enum : int32_t {
UNMULTIPLIED_DEFAULT_DISPATCHING_TIMEOUT_MILLIS = 5000,
INVALID_BATTERY_CAPACITY = -1,
INVALID_INPUT_EVENT_ID = 0,
POLICY_FLAG_INJECTED_FROM_ACCESSIBILITY = 131072,
INPUT_EVENT_FLAG_IS_ACCESSIBILITY_EVENT = 2048,
};
enum : int64_t {
BLOCK_FLAG_SLIPPERY = 157929241L,
};
}; // class IInputConstants
class IInputConstantsDefault : public IInputConstants {
public:
::android::IBinder* onAsBinder() override {
return nullptr;
}
}; // class IInputConstantsDefault
} // namespace os
} // namespace android