• Home
  • Raw
  • Download

Lines Matching refs:policyFlags

349         if (mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER) {  in dispatchOnceInnerLocked()
362 if (!(mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER)) { in dispatchOnceInnerLocked()
639 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED) in isAppSwitchKeyEvent()
640 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER); in isAppSwitchKeyEvent()
732 uint32_t policyFlags = entry->policyFlags & in synthesizeKeyRepeatLocked() local
737 entry->policyFlags = policyFlags; in synthesizeKeyRepeatLocked()
741 entry->deviceId, entry->source, entry->displayId, policyFlags, in synthesizeKeyRepeatLocked()
796 && (entry->policyFlags & POLICY_FLAG_TRUSTED) in dispatchKeyLocked()
797 && (!(entry->policyFlags & POLICY_FLAG_DISABLE_KEY_REPEAT))) { in dispatchKeyLocked()
843 if (entry->policyFlags & POLICY_FLAG_PASS_TO_USER) { in dispatchKeyLocked()
899 entry->eventTime, entry->deviceId, entry->source, entry->displayId, entry->policyFlags, in logOutboundKeyDetails()
992 entry->eventTime, entry->deviceId, entry->source, entry->displayId, entry->policyFlags, in logOutboundMotionDetails()
2569 originalMotionEntry->policyFlags, in splitMotionEvent()
2651 args->eventTime, args->deviceId, args->source, args->displayId, args->policyFlags, in notifyKey()
2659 uint32_t policyFlags = args->policyFlags; in notifyKey() local
2665 if ((policyFlags & POLICY_FLAG_VIRTUAL) || (flags & AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY)) { in notifyKey()
2666 policyFlags |= POLICY_FLAG_VIRTUAL; in notifyKey()
2669 if (policyFlags & POLICY_FLAG_FUNCTION) { in notifyKey()
2673 policyFlags |= POLICY_FLAG_TRUSTED; in notifyKey()
2684 mPolicy->interceptKeyBeforeQueueing(&event, /*byref*/ policyFlags); in notifyKey()
2697 policyFlags |= POLICY_FLAG_FILTERED; in notifyKey()
2698 if (!mPolicy->filterInputEvent(&event, policyFlags)) { in notifyKey()
2706 args->deviceId, args->source, args->displayId, policyFlags, in notifyKey()
2729 args->eventTime, args->deviceId, args->source, args->displayId, args->policyFlags, in notifyMotion()
2755 uint32_t policyFlags = args->policyFlags; in notifyMotion() local
2756 policyFlags |= POLICY_FLAG_TRUSTED; in notifyMotion()
2759 mPolicy->interceptMotionBeforeQueueing(args->displayId, args->eventTime, /*byref*/ policyFlags); in notifyMotion()
2780 policyFlags |= POLICY_FLAG_FILTERED; in notifyMotion()
2781 if (!mPolicy->filterInputEvent(&event, policyFlags)) { in notifyMotion()
2790 args->deviceId, args->source, args->displayId, policyFlags, in notifyMotion()
2813 args->eventTime, args->policyFlags, args->switchValues, args->switchMask); in notifySwitch()
2816 uint32_t policyFlags = args->policyFlags; in notifySwitch() local
2817 policyFlags |= POLICY_FLAG_TRUSTED; in notifySwitch()
2819 args->switchValues, args->switchMask, policyFlags); in notifySwitch()
2844 uint32_t policyFlags) { in injectInputEvent() argument
2848 event->getType(), injectorPid, injectorUid, syncMode, timeoutMillis, policyFlags); in injectInputEvent()
2853 policyFlags |= POLICY_FLAG_INJECTED; in injectInputEvent()
2855 policyFlags |= POLICY_FLAG_TRUSTED; in injectInputEvent()
2879 policyFlags |= POLICY_FLAG_VIRTUAL; in injectInputEvent()
2882 if (!(policyFlags & POLICY_FLAG_FILTERED)) { in injectInputEvent()
2884 mPolicy->interceptKeyBeforeQueueing(&keyEvent, /*byref*/ policyFlags); in injectInputEvent()
2894 policyFlags, action, flags, in injectInputEvent()
2912 if (!(policyFlags & POLICY_FLAG_FILTERED)) { in injectInputEvent()
2915 mPolicy->interceptMotionBeforeQueueing(displayId, eventTime, /*byref*/ policyFlags); in injectInputEvent()
2927 policyFlags, in injectInputEvent()
2942 motionEvent->getDisplayId(), policyFlags, in injectInputEvent()
3057 && !(entry->policyFlags & POLICY_FLAG_FILTERED)) { in setInjectionResult()
4161 &event, entry->policyFlags); in doInterceptKeyBeforeDispatchingLockedInterruptible()
4266 keyEntry->policyFlags); in afterKeyEventLockedInterruptible()
4275 &event, keyEntry->policyFlags, &event); in afterKeyEventLockedInterruptible()
4302 keyEntry->policyFlags); in afterKeyEventLockedInterruptible()
4312 keyEntry->policyFlags); in afterKeyEventLockedInterruptible()
4320 &event, keyEntry->policyFlags, &event); in afterKeyEventLockedInterruptible()
4511 nsecs_t eventTime, uint32_t policyFlags) : in EventEntry() argument
4513 policyFlags(policyFlags), injectionState(nullptr), dispatchInProgress(false) { in EventEntry()
4548 msg += StringPrintf("ConfigurationChangedEvent(), policyFlags=0x%08x", policyFlags); in appendDescription()
4565 deviceId, policyFlags); in appendDescription()
4572 int32_t deviceId, uint32_t source, int32_t displayId, uint32_t policyFlags, int32_t action, in KeyEntry() argument
4575 EventEntry(sequenceNum, TYPE_KEY, eventTime, policyFlags), in KeyEntry()
4603 uint32_t source, int32_t displayId, uint32_t policyFlags, int32_t action, in MotionEntry() argument
4610 EventEntry(sequenceNum, TYPE_MOTION, eventTime, policyFlags), in MotionEntry()
4878 memento.policyFlags = entry->policyFlags; in addKeyMemento()
4894 memento.policyFlags = entry->policyFlags; in addMotionMemento()
4911 memento.deviceId, memento.source, memento.displayId, memento.policyFlags, in synthesizeCancelationEvents()
4922 memento.deviceId, memento.source, memento.displayId, memento.policyFlags, in synthesizeCancelationEvents()