Lines Matching defs:policyFlags

199             uint32_t policyFlags);
204 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags);
207 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags);
208 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags);
211 const KeyEvent* keyEvent, uint32_t policyFlags);
213 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent);
256 void handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags);
503 int32_t switchValue, uint32_t policyFlags) {
505 LOGD("notifySwitch - when=%lld, switchCode=%d, switchValue=%d, policyFlags=0x%x",
506 when, switchCode, switchValue, policyFlags);
721 bool NativeInputManager::filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags) {
745 inputEventObj, policyFlags);
754 uint32_t& policyFlags) {
759 if ((policyFlags & POLICY_FLAG_TRUSTED)) {
770 keyEventObj, policyFlags, isScreenOn);
781 if (!(policyFlags & POLICY_FLAG_INJECTED)) {
783 policyFlags |= POLICY_FLAG_WOKE_HERE;
787 policyFlags |= POLICY_FLAG_BRIGHT_HERE;
791 handleInterceptActions(wmActions, when, /*byref*/ policyFlags);
793 policyFlags |= POLICY_FLAG_PASS_TO_USER;
797 void NativeInputManager::interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) {
803 if ((policyFlags & POLICY_FLAG_TRUSTED) && !(policyFlags & POLICY_FLAG_INJECTED)) {
805 policyFlags |= POLICY_FLAG_PASS_TO_USER;
808 policyFlags |= POLICY_FLAG_BRIGHT_HERE;
814 policyFlags);
820 policyFlags |= POLICY_FLAG_WOKE_HERE | POLICY_FLAG_BRIGHT_HERE;
821 handleInterceptActions(wmActions, when, /*byref*/ policyFlags);
824 policyFlags |= POLICY_FLAG_PASS_TO_USER;
829 uint32_t& policyFlags) {
845 policyFlags |= POLICY_FLAG_PASS_TO_USER;
855 const KeyEvent* keyEvent, uint32_t policyFlags) {
861 if (policyFlags & POLICY_FLAG_TRUSTED) {
870 inputWindowHandleObj, keyEventObj, policyFlags);
890 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) {
894 if (policyFlags & POLICY_FLAG_TRUSTED) {
903 inputWindowHandleObj, keyEventObj, policyFlags);
1144 jint syncMode, jint timeoutMillis, jint policyFlags) {
1159 uint32_t(policyFlags));
1169 uint32_t(policyFlags));