Lines Matching defs:policyFlags

192             uint32_t policyFlags);
198 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags);
201 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags);
202 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags);
205 const KeyEvent* keyEvent, uint32_t policyFlags);
207 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent);
249 void handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags);
533 uint32_t switchValues, uint32_t switchMask, uint32_t policyFlags) {
535 ALOGD("notifySwitch - when=%lld, switchValues=0x%08x, switchMask=0x%08x, policyFlags=0x%x",
536 when, switchValues, switchMask, policyFlags);
744 bool NativeInputManager::filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags) {
768 inputEventObj, policyFlags);
777 uint32_t& policyFlags) {
782 if ((policyFlags & POLICY_FLAG_TRUSTED)) {
793 keyEventObj, policyFlags, isScreenOn);
804 if (!(policyFlags & POLICY_FLAG_INJECTED)) {
806 policyFlags |= POLICY_FLAG_WOKE_HERE;
810 policyFlags |= POLICY_FLAG_BRIGHT_HERE;
814 handleInterceptActions(wmActions, when, /*byref*/ policyFlags);
816 policyFlags |= POLICY_FLAG_PASS_TO_USER;
820 void NativeInputManager::interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) {
826 if ((policyFlags & POLICY_FLAG_TRUSTED) && !(policyFlags & POLICY_FLAG_INJECTED)) {
828 policyFlags |= POLICY_FLAG_PASS_TO_USER;
831 policyFlags |= POLICY_FLAG_BRIGHT_HERE;
837 policyFlags);
843 policyFlags |= POLICY_FLAG_WOKE_HERE | POLICY_FLAG_BRIGHT_HERE;
844 handleInterceptActions(wmActions, when, /*byref*/ policyFlags);
847 policyFlags |= POLICY_FLAG_PASS_TO_USER;
852 uint32_t& policyFlags) {
868 policyFlags |= POLICY_FLAG_PASS_TO_USER;
878 const KeyEvent* keyEvent, uint32_t policyFlags) {
884 if (policyFlags & POLICY_FLAG_TRUSTED) {
893 inputWindowHandleObj, keyEventObj, policyFlags);
913 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) {
917 if (policyFlags & POLICY_FLAG_TRUSTED) {
926 inputWindowHandleObj, keyEventObj, policyFlags);
1143 jint syncMode, jint timeoutMillis, jint policyFlags) {
1156 uint32_t(policyFlags));
1166 uint32_t(policyFlags));