Lines Matching refs:policyFlags
314 if (mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER) { in dispatchOnceInnerLocked()
327 if (!(mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER)) { in dispatchOnceInnerLocked()
564 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED) in isAppSwitchKeyEventLocked()
565 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER); in isAppSwitchKeyEventLocked()
657 uint32_t policyFlags = entry->policyFlags & in synthesizeKeyRepeatLocked() local
662 entry->policyFlags = policyFlags; in synthesizeKeyRepeatLocked()
666 entry->deviceId, entry->source, policyFlags, in synthesizeKeyRepeatLocked()
720 && (entry->policyFlags & POLICY_FLAG_TRUSTED) in dispatchKeyLocked()
721 && (!(entry->policyFlags & POLICY_FLAG_DISABLE_KEY_REPEAT))) { in dispatchKeyLocked()
767 if (entry->policyFlags & POLICY_FLAG_PASS_TO_USER) { in dispatchKeyLocked()
818 entry->eventTime, entry->deviceId, entry->source, entry->policyFlags, in logOutboundKeyDetailsLocked()
895 entry->eventTime, entry->deviceId, entry->source, entry->policyFlags, in logOutboundMotionDetailsLocked()
2352 originalMotionEntry->policyFlags, in splitMotionEvent()
2395 args->eventTime, args->deviceId, args->source, args->policyFlags, in notifyKey()
2403 uint32_t policyFlags = args->policyFlags; in notifyKey() local
2406 if ((policyFlags & POLICY_FLAG_VIRTUAL) || (flags & AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY)) { in notifyKey()
2407 policyFlags |= POLICY_FLAG_VIRTUAL; in notifyKey()
2410 if (policyFlags & POLICY_FLAG_FUNCTION) { in notifyKey()
2414 policyFlags |= POLICY_FLAG_TRUSTED; in notifyKey()
2450 mPolicy->interceptKeyBeforeQueueing(&event, /*byref*/ policyFlags); in notifyKey()
2459 policyFlags |= POLICY_FLAG_FILTERED; in notifyKey()
2460 if (!mPolicy->filterInputEvent(&event, policyFlags)) { in notifyKey()
2469 args->deviceId, args->source, policyFlags, in notifyKey()
2491 args->eventTime, args->deviceId, args->source, args->policyFlags, in notifyMotion()
2517 uint32_t policyFlags = args->policyFlags; in notifyMotion() local
2518 policyFlags |= POLICY_FLAG_TRUSTED; in notifyMotion()
2519 mPolicy->interceptMotionBeforeQueueing(args->eventTime, /*byref*/ policyFlags); in notifyMotion()
2535 policyFlags |= POLICY_FLAG_FILTERED; in notifyMotion()
2536 if (!mPolicy->filterInputEvent(&event, policyFlags)) { in notifyMotion()
2545 args->deviceId, args->source, policyFlags, in notifyMotion()
2569 args->eventTime, args->policyFlags, in notifySwitch()
2573 uint32_t policyFlags = args->policyFlags; in notifySwitch() local
2574 policyFlags |= POLICY_FLAG_TRUSTED; in notifySwitch()
2576 args->switchValues, args->switchMask, policyFlags); in notifySwitch()
2600 uint32_t policyFlags) { in injectInputEvent() argument
2604 event->getType(), injectorPid, injectorUid, syncMode, timeoutMillis, policyFlags); in injectInputEvent()
2609 policyFlags |= POLICY_FLAG_INJECTED; in injectInputEvent()
2611 policyFlags |= POLICY_FLAG_TRUSTED; in injectInputEvent()
2626 policyFlags |= POLICY_FLAG_VIRTUAL; in injectInputEvent()
2629 if (!(policyFlags & POLICY_FLAG_FILTERED)) { in injectInputEvent()
2630 mPolicy->interceptKeyBeforeQueueing(keyEvent, /*byref*/ policyFlags); in injectInputEvent()
2636 policyFlags, action, flags, in injectInputEvent()
2653 if (!(policyFlags & POLICY_FLAG_FILTERED)) { in injectInputEvent()
2655 mPolicy->interceptMotionBeforeQueueing(eventTime, /*byref*/ policyFlags); in injectInputEvent()
2662 motionEvent->getDeviceId(), motionEvent->getSource(), policyFlags, in injectInputEvent()
2675 motionEvent->getDeviceId(), motionEvent->getSource(), policyFlags, in injectInputEvent()
2790 && !(entry->policyFlags & POLICY_FLAG_FILTERED)) { in setInjectionResultLocked()
3543 &event, entry->policyFlags); in doInterceptKeyBeforeDispatchingLockedInterruptible()
3631 keyEntry->policyFlags); in afterKeyEventLockedInterruptible()
3640 &event, keyEntry->policyFlags, &event); in afterKeyEventLockedInterruptible()
3667 keyEntry->policyFlags); in afterKeyEventLockedInterruptible()
3677 keyEntry->policyFlags); in afterKeyEventLockedInterruptible()
3685 &event, keyEntry->policyFlags, &event); in afterKeyEventLockedInterruptible()
3873 InputDispatcher::EventEntry::EventEntry(int32_t type, nsecs_t eventTime, uint32_t policyFlags) : in EventEntry() argument
3874 refCount(1), type(type), eventTime(eventTime), policyFlags(policyFlags), in EventEntry()
3910 policyFlags); in appendDescription()
3926 deviceId, policyFlags); in appendDescription()
3933 int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, in KeyEntry() argument
3936 EventEntry(TYPE_KEY, eventTime, policyFlags), in KeyEntry()
3952 repeatCount, policyFlags); in appendDescription()
3968 uint32_t source, uint32_t policyFlags, int32_t action, int32_t actionButton, in MotionEntry() argument
3974 EventEntry(TYPE_MOTION, eventTime, policyFlags), in MotionEntry()
4005 msg.appendFormat("]), policyFlags=0x%08x", policyFlags); in appendDescription()
4250 memento.policyFlags = entry->policyFlags; in addKeyMemento()
4266 memento.policyFlags = entry->policyFlags; in addMotionMemento()
4283 memento.deviceId, memento.source, memento.policyFlags, in synthesizeCancelationEvents()
4293 memento.deviceId, memento.source, memento.policyFlags, in synthesizeCancelationEvents()