Home
last modified time | relevance | path

Searched refs:POLICY_FLAG_TRUSTED (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/jni/
Dcom_android_server_input_InputManagerService.cpp1210 if ((policyFlags & POLICY_FLAG_TRUSTED)) { in interceptKeyBeforeQueueing()
1249 if ((policyFlags & POLICY_FLAG_TRUSTED) && !(policyFlags & POLICY_FLAG_INJECTED)) { in interceptMotionBeforeQueueing()
1291 if (policyFlags & POLICY_FLAG_TRUSTED) { in interceptKeyBeforeDispatching()
1326 if (policyFlags & POLICY_FLAG_TRUSTED) { in dispatchUnhandledKey()
/frameworks/native/include/input/
DInput.h258 POLICY_FLAG_TRUSTED = 0x02000000, enumerator
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp1137 (keyEntry.policyFlags & POLICY_FLAG_TRUSTED) && in isAppSwitchKeyEvent()
1221 (POLICY_FLAG_RAW_MASK | POLICY_FLAG_PASS_TO_USER | POLICY_FLAG_TRUSTED); in synthesizeKeyRepeatLocked()
1367 (entry->policyFlags & POLICY_FLAG_TRUSTED) && in dispatchKeyLocked()
2951 (motionEntry.policyFlags & POLICY_FLAG_TRUSTED)) { in enqueueDispatchEntryLocked()
3766 policyFlags |= POLICY_FLAG_TRUSTED; in notifyKey()
3851 policyFlags |= POLICY_FLAG_TRUSTED; in notifyMotion()
3954 policyFlags |= POLICY_FLAG_TRUSTED; in notifySwitch()
4009 policyFlags |= POLICY_FLAG_TRUSTED; in injectInputEvent()
/frameworks/native/services/inputflinger/
DInputClassifierConverter.cpp129 static_assert(static_cast<common::V1_0::PolicyFlag>(POLICY_FLAG_TRUSTED) == in getPolicyFlags()
/frameworks/native/services/inputflinger/tests/
DInputDispatcher_test.cpp672 args.policyFlags |= POLICY_FLAG_TRUSTED; in TEST_F()
2805 keyArgs.policyFlags |= POLICY_FLAG_TRUSTED; // Otherwise it won't generate repeat event in sendAndConsumeKeyDown()
2829 keyArgs.policyFlags |= POLICY_FLAG_TRUSTED; // Unless it won't generate repeat event in sendAndConsumeKeyUp()