Lines Matching refs:policyFlags

379         if (mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER) {  in dispatchOnceInnerLocked()
392 if (!(mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER)) { in dispatchOnceInnerLocked()
669 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED) in isAppSwitchKeyEvent()
670 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER); in isAppSwitchKeyEvent()
762 uint32_t policyFlags = entry->policyFlags & in synthesizeKeyRepeatLocked() local
767 entry->policyFlags = policyFlags; in synthesizeKeyRepeatLocked()
771 entry->deviceId, entry->source, entry->displayId, policyFlags, in synthesizeKeyRepeatLocked()
826 && (entry->policyFlags & POLICY_FLAG_TRUSTED) in dispatchKeyLocked()
827 && (!(entry->policyFlags & POLICY_FLAG_DISABLE_KEY_REPEAT))) { in dispatchKeyLocked()
873 if (entry->policyFlags & POLICY_FLAG_PASS_TO_USER) { in dispatchKeyLocked()
929 entry->eventTime, entry->deviceId, entry->source, entry->displayId, entry->policyFlags, in logOutboundKeyDetails()
1022 entry->eventTime, entry->deviceId, entry->source, entry->displayId, entry->policyFlags, in logOutboundMotionDetails()
2599 originalMotionEntry->policyFlags, in splitMotionEvent()
2681 args->eventTime, args->deviceId, args->source, args->displayId, args->policyFlags, in notifyKey()
2689 uint32_t policyFlags = args->policyFlags; in notifyKey() local
2695 if ((policyFlags & POLICY_FLAG_VIRTUAL) || (flags & AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY)) { in notifyKey()
2696 policyFlags |= POLICY_FLAG_VIRTUAL; in notifyKey()
2699 if (policyFlags & POLICY_FLAG_FUNCTION) { in notifyKey()
2703 policyFlags |= POLICY_FLAG_TRUSTED; in notifyKey()
2714 mPolicy->interceptKeyBeforeQueueing(&event, /*byref*/ policyFlags); in notifyKey()
2727 policyFlags |= POLICY_FLAG_FILTERED; in notifyKey()
2728 if (!mPolicy->filterInputEvent(&event, policyFlags)) { in notifyKey()
2736 args->deviceId, args->source, args->displayId, policyFlags, in notifyKey()
2759 args->eventTime, args->deviceId, args->source, args->displayId, args->policyFlags, in notifyMotion()
2785 uint32_t policyFlags = args->policyFlags; in notifyMotion() local
2786 policyFlags |= POLICY_FLAG_TRUSTED; in notifyMotion()
2789 mPolicy->interceptMotionBeforeQueueing(args->displayId, args->eventTime, /*byref*/ policyFlags); in notifyMotion()
2810 policyFlags |= POLICY_FLAG_FILTERED; in notifyMotion()
2811 if (!mPolicy->filterInputEvent(&event, policyFlags)) { in notifyMotion()
2820 args->deviceId, args->source, args->displayId, policyFlags, in notifyMotion()
2843 args->eventTime, args->policyFlags, args->switchValues, args->switchMask); in notifySwitch()
2846 uint32_t policyFlags = args->policyFlags; in notifySwitch() local
2847 policyFlags |= POLICY_FLAG_TRUSTED; in notifySwitch()
2849 args->switchValues, args->switchMask, policyFlags); in notifySwitch()
2874 uint32_t policyFlags) { in injectInputEvent() argument
2878 event->getType(), injectorPid, injectorUid, syncMode, timeoutMillis, policyFlags); in injectInputEvent()
2883 policyFlags |= POLICY_FLAG_INJECTED; in injectInputEvent()
2885 policyFlags |= POLICY_FLAG_TRUSTED; in injectInputEvent()
2909 policyFlags |= POLICY_FLAG_VIRTUAL; in injectInputEvent()
2912 if (!(policyFlags & POLICY_FLAG_FILTERED)) { in injectInputEvent()
2914 mPolicy->interceptKeyBeforeQueueing(&keyEvent, /*byref*/ policyFlags); in injectInputEvent()
2924 policyFlags, action, flags, in injectInputEvent()
2942 if (!(policyFlags & POLICY_FLAG_FILTERED)) { in injectInputEvent()
2945 mPolicy->interceptMotionBeforeQueueing(displayId, eventTime, /*byref*/ policyFlags); in injectInputEvent()
2957 policyFlags, in injectInputEvent()
2972 motionEvent->getDisplayId(), policyFlags, in injectInputEvent()
3087 && !(entry->policyFlags & POLICY_FLAG_FILTERED)) { in setInjectionResult()
4191 &event, entry->policyFlags); in doInterceptKeyBeforeDispatchingLockedInterruptible()
4296 keyEntry->policyFlags); in afterKeyEventLockedInterruptible()
4305 &event, keyEntry->policyFlags, &event); in afterKeyEventLockedInterruptible()
4332 keyEntry->policyFlags); in afterKeyEventLockedInterruptible()
4342 keyEntry->policyFlags); in afterKeyEventLockedInterruptible()
4350 &event, keyEntry->policyFlags, &event); in afterKeyEventLockedInterruptible()
4541 nsecs_t eventTime, uint32_t policyFlags) : in EventEntry() argument
4543 policyFlags(policyFlags), injectionState(nullptr), dispatchInProgress(false) { in EventEntry()
4578 msg += StringPrintf("ConfigurationChangedEvent(), policyFlags=0x%08x", policyFlags); in appendDescription()
4595 deviceId, policyFlags); in appendDescription()
4602 int32_t deviceId, uint32_t source, int32_t displayId, uint32_t policyFlags, int32_t action, in KeyEntry() argument
4605 EventEntry(sequenceNum, TYPE_KEY, eventTime, policyFlags), in KeyEntry()
4621 scanCode, metaState, repeatCount, policyFlags); in appendDescription()
4637 uint32_t source, int32_t displayId, uint32_t policyFlags, int32_t action, in MotionEntry() argument
4644 EventEntry(sequenceNum, TYPE_MOTION, eventTime, policyFlags), in MotionEntry()
4678 msg += StringPrintf("]), policyFlags=0x%08x", policyFlags); in appendDescription()
4926 memento.policyFlags = entry->policyFlags; in addKeyMemento()
4942 memento.policyFlags = entry->policyFlags; in addMotionMemento()
4959 memento.deviceId, memento.source, memento.displayId, memento.policyFlags, in synthesizeCancelationEvents()
4970 memento.deviceId, memento.source, memento.displayId, memento.policyFlags, in synthesizeCancelationEvents()