Home | History | Annotate | Download | only in inputflinger

Lines Matching defs:policyFlags

310         if (mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER) {
323 if (!(mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER)) {
557 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED)
558 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER);
650 uint32_t policyFlags = entry->policyFlags &
655 entry->policyFlags = policyFlags;
659 entry->deviceId, entry->source, policyFlags,
713 && (entry->policyFlags & POLICY_FLAG_TRUSTED)
714 && (!(entry->policyFlags & POLICY_FLAG_DISABLE_KEY_REPEAT))) {
760 if (entry->policyFlags & POLICY_FLAG_PASS_TO_USER) {
807 ALOGD("%seventTime=%lld, deviceId=%d, source=0x%x, policyFlags=0x%x, "
811 entry->eventTime, entry->deviceId, entry->source, entry->policyFlags,
876 ALOGD("%seventTime=%lld, deviceId=%d, source=0x%x, policyFlags=0x%x, "
881 entry->eventTime, entry->deviceId, entry->source, entry->policyFlags,
2299 originalMotionEntry->policyFlags,
2339 ALOGD("notifyKey - eventTime=%lld, deviceId=%d, source=0x%x, policyFlags=0x%x, action=0x%x, "
2341 args->eventTime, args->deviceId, args->source, args->policyFlags,
2349 uint32_t policyFlags = args->policyFlags;
2352 if ((policyFlags & POLICY_FLAG_VIRTUAL) || (flags & AKEY_EVENT_FLAG_VIRTUAL_HARD_KEY)) {
2353 policyFlags |= POLICY_FLAG_VIRTUAL;
2356 if (policyFlags & POLICY_FLAG_FUNCTION) {
2360 policyFlags |= POLICY_FLAG_TRUSTED;
2396 mPolicy->interceptKeyBeforeQueueing(&event, /*byref*/ policyFlags);
2405 policyFlags |= POLICY_FLAG_FILTERED;
2406 if (!mPolicy->filterInputEvent(&event, policyFlags)) {
2415 args->deviceId, args->source, policyFlags,
2434 ALOGD("notifyMotion - eventTime=%lld, deviceId=%d, source=0x%x, policyFlags=0x%x, "
2437 args->eventTime, args->deviceId, args->source, args->policyFlags,
2462 uint32_t policyFlags = args->policyFlags;
2463 policyFlags |= POLICY_FLAG_TRUSTED;
2464 mPolicy->interceptMotionBeforeQueueing(args->eventTime, /*byref*/ policyFlags);
2480 policyFlags |= POLICY_FLAG_FILTERED;
2481 if (!mPolicy->filterInputEvent(&event, policyFlags)) {
2490 args->deviceId, args->source, policyFlags,
2512 ALOGD("notifySwitch - eventTime=%lld, policyFlags=0x%x, switchValues=0x%08x, switchMask=0x%08x",
2513 args->eventTime, args->policyFlags,
2517 uint32_t policyFlags = args->policyFlags;
2518 policyFlags |= POLICY_FLAG_TRUSTED;
2520 args->switchValues, args->switchMask, policyFlags);
2544 uint32_t policyFlags) {
2547 "syncMode=%d, timeoutMillis=%d, policyFlags=0x%08x",
2548 event->getType(), injectorPid, injectorUid, syncMode, timeoutMillis, policyFlags);
2553 policyFlags |= POLICY_FLAG_INJECTED;
2555 policyFlags |= POLICY_FLAG_TRUSTED;
2570 policyFlags |= POLICY_FLAG_VIRTUAL;
2573 if (!(policyFlags & POLICY_FLAG_FILTERED)) {
2574 mPolicy->interceptKeyBeforeQueueing(keyEvent, /*byref*/ policyFlags);
2580 policyFlags, action, flags,
2596 if (!(policyFlags & POLICY_FLAG_FILTERED)) {
2598 mPolicy->interceptMotionBeforeQueueing(eventTime, /*byref*/ policyFlags);
2605 motionEvent->getDeviceId(), motionEvent->getSource(), policyFlags,
2618 motionEvent->getDeviceId(), motionEvent->getSource(), policyFlags,
2733 && !(entry->policyFlags & POLICY_FLAG_FILTERED)) {
3486 &event, entry->policyFlags);
3572 "keyCode=%d, action=%d, repeatCount=%d, policyFlags=0x%08x",
3574 keyEntry->policyFlags);
3583 &event, keyEntry->policyFlags, &event);
3608 "keyCode=%d, action=%d, repeatCount=%d, policyFlags=0x%08x",
3610 keyEntry->policyFlags);
3618 "keyCode=%d, action=%d, repeatCount=%d, policyFlags=0x%08x",
3620 keyEntry->policyFlags);
3628 &event, keyEntry->policyFlags, &event);
3828 InputDispatcher::EventEntry::EventEntry(int32_t type, nsecs_t eventTime, uint32_t policyFlags) :
3829 refCount(1), type(type), eventTime(eventTime), policyFlags(policyFlags),
3864 msg.append("ConfigurationChangedEvent(), policyFlags=0x%08x",
3865 policyFlags);
3880 msg.appendFormat("DeviceResetEvent(deviceId=%d), policyFlags=0x%08x",
3881 deviceId, policyFlags);
3888 int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action,
3891 EventEntry(TYPE_KEY, eventTime, policyFlags),
3905 "repeatCount=%d), policyFlags=0x%08x",
3907 repeatCount, policyFlags);
3923 int32_t deviceId, uint32_t source, uint32_t policyFlags, int32_t action, int32_t flags,
3929 EventEntry(TYPE_MOTION, eventTime, policyFlags),
3960 msg.appendFormat("]), policyFlags=0x%08x", policyFlags);
4205 memento.policyFlags = entry->policyFlags;
4221 memento.policyFlags = entry->policyFlags;
4238 memento.deviceId, memento.source, memento.policyFlags,
4248 memento.deviceId, memento.source, memento.policyFlags,