Home | History | Annotate | Download | only in jni

Lines Matching refs:policyFlags

210             uint32_t policyFlags);
216 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags);
218 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags);
219 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags);
222 const KeyEvent* keyEvent, uint32_t policyFlags);
224 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent);
268 void handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags);
551 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) {
553 ALOGD("notifySwitch - when=%lld, switchValues=0x%08x, switchMask=0x%08x, policyFlags=0x%x",
554 when, switchValues, switchMask, policyFlags);
795 bool NativeInputManager::filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags) {
819 inputEventObj, policyFlags);
828 uint32_t& policyFlags) {
834 policyFlags |= POLICY_FLAG_INTERACTIVE;
836 if ((policyFlags & POLICY_FLAG_TRUSTED)) {
844 keyEventObj, policyFlags);
855 handleInterceptActions(wmActions, when, /*byref*/ policyFlags);
858 policyFlags |= POLICY_FLAG_PASS_TO_USER;
863 void NativeInputManager::interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) {
870 policyFlags |= POLICY_FLAG_INTERACTIVE;
872 if ((policyFlags & POLICY_FLAG_TRUSTED) && !(policyFlags & POLICY_FLAG_INJECTED)) {
873 if (policyFlags & POLICY_FLAG_INTERACTIVE) {
874 policyFlags |= POLICY_FLAG_PASS_TO_USER;
879 when, policyFlags);
885 handleInterceptActions(wmActions, when, /*byref*/ policyFlags);
889 policyFlags |= POLICY_FLAG_PASS_TO_USER;
895 uint32_t& policyFlags) {
897 policyFlags |= POLICY_FLAG_PASS_TO_USER;
907 const KeyEvent* keyEvent, uint32_t policyFlags) {
913 if (policyFlags & POLICY_FLAG_TRUSTED) {
922 inputWindowHandleObj, keyEventObj, policyFlags);
942 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) {
946 if (policyFlags & POLICY_FLAG_TRUSTED) {
955 inputWindowHandleObj, keyEventObj, policyFlags);
1176 jint syncMode, jint timeoutMillis, jint policyFlags) {
1189 uint32_t(policyFlags));
1199 uint32_t(policyFlags));