Lines Matching defs:policyFlags

307         if (mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER) {
320 if (!(mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER)) {
560 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED)
561 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER);
653 uint32_t policyFlags = (entry->policyFlags & POLICY_FLAG_RAW_MASK)
658 entry->policyFlags = policyFlags;
662 entry->deviceId, entry->source, policyFlags,
716 && (entry->policyFlags & POLICY_FLAG_TRUSTED)
717 && (!(entry->policyFlags & POLICY_FLAG_DISABLE_KEY_REPEAT))) {
763 if (entry->policyFlags & POLICY_FLAG_PASS_TO_USER) {
810 ALOGD("%seventTime=%lld, deviceId=%d, source=0x%x, policyFlags=0x%x, "
814 entry->eventTime, entry->deviceId, entry->source, entry->policyFlags,
879 ALOGD("%seventTime=%lld, deviceId=%d, source=0x%x, policyFlags=0x%x, "
884 entry->eventTime, entry->deviceId, entry->source, entry->policyFlags,
1136 // actually enqueued using the policyFlags that appeared in the final EV_SYN
1137 // events upon which no preprocessing took place. So policyFlags was always 0.
1139 // preprocessing so the touches we receive can actually have non-zero policyFlags.
1153 bool screenWasOff = false; // original policy: policyFlags & POLICY_FLAG_BRIGHT_HERE;
2309 originalMotionEntry->policyFlags,
2349 ALOGD("notifyKey - eventTime=%lld, deviceId=%d, source=0x%x, policyFlags=0x%x, action=0x%x, "
2351 args->eventTime, args->deviceId, args->source, args->policyFlags,
2359 uint32_t policyFlags = args->policyFlags;
2362 if ((policyFlags & POLICY_FLAG_VIRTUAL) || (flags & AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY)) {
2363 policyFlags |= POLICY_FLAG_VIRTUAL;
2366 if (policyFlags & POLICY_FLAG_ALT) {
2369 if (policyFlags & POLICY_FLAG_ALT_GR) {
2372 if (policyFlags & POLICY_FLAG_SHIFT) {
2375 if (policyFlags & POLICY_FLAG_CAPS_LOCK) {
2378 if (policyFlags & POLICY_FLAG_FUNCTION) {
2382 policyFlags |= POLICY_FLAG_TRUSTED;
2389 mPolicy->interceptKeyBeforeQueueing(&event, /*byref*/ policyFlags);
2391 if (policyFlags & POLICY_FLAG_WOKE_HERE) {
2402 policyFlags |= POLICY_FLAG_FILTERED;
2403 if (!mPolicy->filterInputEvent(&event, policyFlags)) {
2412 args->deviceId, args->source, policyFlags,
2431 ALOGD("notifyMotion - eventTime=%lld, deviceId=%d, source=0x%x, policyFlags=0x%x, "
2434 args->eventTime, args->deviceId, args->source, args->policyFlags,
2459 uint32_t policyFlags = args->policyFlags;
2460 policyFlags |= POLICY_FLAG_TRUSTED;
2461 mPolicy->interceptMotionBeforeQueueing(args->eventTime, /*byref*/ policyFlags);
2477 policyFlags |= POLICY_FLAG_FILTERED;
2478 if (!mPolicy->filterInputEvent(&event, policyFlags)) {
2487 args->deviceId, args->source, policyFlags,
2509 ALOGD("notifySwitch - eventTime=%lld, policyFlags=0x%x, switchValues=0x%08x, switchMask=0x%08x",
2510 args->eventTime, args->policyFlags,
2514 uint32_t policyFlags = args->policyFlags;
2515 policyFlags |= POLICY_FLAG_TRUSTED;
2517 args->switchValues, args->switchMask, policyFlags);
2541 uint32_t policyFlags) {
2544 "syncMode=%d, timeoutMillis=%d, policyFlags=0x%08x",
2545 event->getType(), injectorPid, injectorUid, syncMode, timeoutMillis, policyFlags);
2550 policyFlags |= POLICY_FLAG_INJECTED;
2552 policyFlags |= POLICY_FLAG_TRUSTED;
2567 policyFlags |= POLICY_FLAG_VIRTUAL;
2570 if (!(policyFlags & POLICY_FLAG_FILTERED)) {
2571 mPolicy->interceptKeyBeforeQueueing(keyEvent, /*byref*/ policyFlags);
2574 if (policyFlags & POLICY_FLAG_WOKE_HERE) {
2581 policyFlags, action, flags,
2598 if (!(policyFlags & POLICY_FLAG_FILTERED)) {
2600 mPolicy->interceptMotionBeforeQueueing(eventTime, /*byref*/ policyFlags);
2607 motionEvent->getDeviceId(), motionEvent->getSource(), policyFlags,
2619 motionEvent->getDeviceId(), motionEvent->getSource(), policyFlags,
2733 && !(entry->policyFlags & POLICY_FLAG_FILTERED)) {
3460 &event, entry->policyFlags);
3546 "keyCode=%d, action=%d, repeatCount=%d, policyFlags=0x%08x",
3548 keyEntry->policyFlags);
3557 &event, keyEntry->policyFlags, &event);
3582 "keyCode=%d, action=%d, repeatCount=%d, policyFlags=0x%08x",
3584 keyEntry->policyFlags);
3592 "keyCode=%d, action=%d, repeatCount=%d, policyFlags=0x%08x",
3594 keyEntry->policyFlags);
3602 &event, keyEntry->policyFlags, &event);
3802 InputDispatcher::EventEntry::EventEntry(int32_t type, nsecs_t eventTime, uint32_t policyFlags) :
3803 refCount(1), type(type), eventTime(eventTime), policyFlags(policyFlags),
3838 msg.append("ConfigurationChangedEvent(), policyFlags=0x%08x",
3839 policyFlags);
3854 msg.appendFormat("DeviceResetEvent(deviceId=%d), policyFlags=0x%08x",
3855 deviceId, policyFlags);
3862 int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action,
3865 EventEntry(TYPE_KEY, eventTime, policyFlags),
3879 "repeatCount=%d), policyFlags=0x%08x",
3881 repeatCount, policyFlags);
3897 int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags,
3902 EventEntry(TYPE_MOTION, eventTime, policyFlags),
3930 msg.appendFormat("]), policyFlags=0x%08x", policyFlags);
4154 memento.policyFlags = entry->policyFlags;
4170 memento.policyFlags = entry->policyFlags;
4187 memento.deviceId, memento.source, memento.policyFlags,
4197 memento.deviceId, memento.source, memento.policyFlags,