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.cpp998 if ((policyFlags & POLICY_FLAG_TRUSTED)) { in interceptKeyBeforeQueueing()
1037 if ((policyFlags & POLICY_FLAG_TRUSTED) && !(policyFlags & POLICY_FLAG_INJECTED)) { in interceptMotionBeforeQueueing()
1079 if (policyFlags & POLICY_FLAG_TRUSTED) { in interceptKeyBeforeDispatching()
1114 if (policyFlags & POLICY_FLAG_TRUSTED) { in dispatchUnhandledKey()
/frameworks/native/include/input/
DInput.h222 POLICY_FLAG_TRUSTED = 0x02000000, enumerator
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.cpp932 (keyEntry.policyFlags & POLICY_FLAG_TRUSTED) && in isAppSwitchKeyEvent()
1019 (POLICY_FLAG_RAW_MASK | POLICY_FLAG_PASS_TO_USER | POLICY_FLAG_TRUSTED); in synthesizeKeyRepeatLocked()
1116 (entry->policyFlags & POLICY_FLAG_TRUSTED) && in dispatchKeyLocked()
3102 policyFlags |= POLICY_FLAG_TRUSTED; in notifyKey()
3186 policyFlags |= POLICY_FLAG_TRUSTED; in notifyMotion()
3250 policyFlags |= POLICY_FLAG_TRUSTED; in notifySwitch()
3287 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.cpp575 args.policyFlags |= POLICY_FLAG_TRUSTED; in TEST_F()
1755 keyArgs.policyFlags |= POLICY_FLAG_TRUSTED; // Otherwise it won't generate repeat event in sendAndConsumeKeyDown()
1778 keyArgs.policyFlags |= POLICY_FLAG_TRUSTED; // Unless it won't generate repeat event in sendAndConsumeKeyUp()