Lines Matching refs:policyFlags

332         if (mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER) {  in dispatchOnceInnerLocked()
345 if (!(mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER)) { in dispatchOnceInnerLocked()
621 (keyEntry->policyFlags & POLICY_FLAG_TRUSTED) && in isAppSwitchKeyEvent()
622 (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER); in isAppSwitchKeyEvent()
714 uint32_t policyFlags = entry->policyFlags & in synthesizeKeyRepeatLocked() local
719 entry->policyFlags = policyFlags; in synthesizeKeyRepeatLocked()
724 entry->source, entry->displayId, policyFlags, entry->action, in synthesizeKeyRepeatLocked()
776 (entry->policyFlags & POLICY_FLAG_TRUSTED) && in dispatchKeyLocked()
777 (!(entry->policyFlags & POLICY_FLAG_DISABLE_KEY_REPEAT))) { in dispatchKeyLocked()
823 if (entry->policyFlags & POLICY_FLAG_PASS_TO_USER) { in dispatchKeyLocked()
879 entry->policyFlags, entry->action, entry->flags, entry->keyCode, entry->scanCode, in logOutboundKeyDetails()
972 entry->policyFlags, entry->action, entry->actionButton, entry->flags, entry->metaState, in logOutboundMotionDetails()
2571 originalMotionEntry->displayId, originalMotionEntry->policyFlags, in splitMotionEvent()
2648 args->eventTime, args->deviceId, args->source, args->displayId, args->policyFlags, in notifyKey()
2656 uint32_t policyFlags = args->policyFlags; in notifyKey() local
2662 if ((policyFlags & POLICY_FLAG_VIRTUAL) || (flags & AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY)) { in notifyKey()
2663 policyFlags |= POLICY_FLAG_VIRTUAL; in notifyKey()
2666 if (policyFlags & POLICY_FLAG_FUNCTION) { in notifyKey()
2670 policyFlags |= POLICY_FLAG_TRUSTED; in notifyKey()
2680 mPolicy->interceptKeyBeforeQueueing(&event, /*byref*/ policyFlags); in notifyKey()
2693 policyFlags |= POLICY_FLAG_FILTERED; in notifyKey()
2694 if (!mPolicy->filterInputEvent(&event, policyFlags)) { in notifyKey()
2703 args->displayId, policyFlags, args->action, flags, keyCode, in notifyKey()
2725 args->eventTime, args->deviceId, args->source, args->displayId, args->policyFlags, in notifyMotion()
2750 uint32_t policyFlags = args->policyFlags; in notifyMotion() local
2751 policyFlags |= POLICY_FLAG_TRUSTED; in notifyMotion()
2754 mPolicy->interceptMotionBeforeQueueing(args->displayId, args->eventTime, /*byref*/ policyFlags); in notifyMotion()
2774 policyFlags |= POLICY_FLAG_FILTERED; in notifyMotion()
2775 if (!mPolicy->filterInputEvent(&event, policyFlags)) { in notifyMotion()
2785 args->displayId, policyFlags, args->action, args->actionButton, in notifyMotion()
2808 args->eventTime, args->policyFlags, args->switchValues, args->switchMask); in notifySwitch()
2811 uint32_t policyFlags = args->policyFlags; in notifySwitch() local
2812 policyFlags |= POLICY_FLAG_TRUSTED; in notifySwitch()
2813 mPolicy->notifySwitch(args->eventTime, args->switchValues, args->switchMask, policyFlags); in notifySwitch()
2838 int32_t timeoutMillis, uint32_t policyFlags) { in injectInputEvent() argument
2842 event->getType(), injectorPid, injectorUid, syncMode, timeoutMillis, policyFlags); in injectInputEvent()
2847 policyFlags |= POLICY_FLAG_INJECTED; in injectInputEvent()
2849 policyFlags |= POLICY_FLAG_TRUSTED; in injectInputEvent()
2874 policyFlags |= POLICY_FLAG_VIRTUAL; in injectInputEvent()
2877 if (!(policyFlags & POLICY_FLAG_FILTERED)) { in injectInputEvent()
2879 mPolicy->interceptKeyBeforeQueueing(&keyEvent, /*byref*/ policyFlags); in injectInputEvent()
2890 policyFlags, action, flags, keyEvent.getKeyCode(), in injectInputEvent()
2908 if (!(policyFlags & POLICY_FLAG_FILTERED)) { in injectInputEvent()
2911 mPolicy->interceptMotionBeforeQueueing(displayId, eventTime, /*byref*/ policyFlags); in injectInputEvent()
2924 motionEvent->getDisplayId(), policyFlags, action, actionButton, in injectInputEvent()
2938 motionEvent->getDisplayId(), policyFlags, action, in injectInputEvent()
3053 if (injectionState->injectionIsAsync && !(entry->policyFlags & POLICY_FLAG_FILTERED)) { in setInjectionResult()
4152 nsecs_t delay = mPolicy->interceptKeyBeforeDispatching(token, &event, entry->policyFlags); in doInterceptKeyBeforeDispatchingLockedInterruptible()
4257 keyEntry->policyFlags); in afterKeyEventLockedInterruptible()
4266 keyEntry->policyFlags, &event); in afterKeyEventLockedInterruptible()
4291 originalKeyCode, keyEntry->action, keyEntry->repeatCount, keyEntry->policyFlags); in afterKeyEventLockedInterruptible()
4300 keyEntry->keyCode, keyEntry->action, keyEntry->repeatCount, keyEntry->policyFlags); in afterKeyEventLockedInterruptible()
4308 keyEntry->policyFlags, &event); in afterKeyEventLockedInterruptible()