Home | History | Annotate | Download | only in jni

Lines Matching refs:policyFlags

229             uint32_t policyFlags);
235 virtual bool filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags);
237 virtual void interceptKeyBeforeQueueing(const KeyEvent* keyEvent, uint32_t& policyFlags);
238 virtual void interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags);
241 const KeyEvent* keyEvent, uint32_t policyFlags);
243 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent);
296 void handleInterceptActions(jint wmActions, nsecs_t when, uint32_t& policyFlags);
622 uint32_t switchValues, uint32_t switchMask, uint32_t /* policyFlags */) {
624 ALOGD("notifySwitch - when=%lld, switchValues=0x%08x, switchMask=0x%08x, policyFlags=0x%x",
625 when, switchValues, switchMask, policyFlags);
906 bool NativeInputManager::filterInputEvent(const InputEvent* inputEvent, uint32_t policyFlags) {
930 inputEventObj, policyFlags);
939 uint32_t& policyFlags) {
946 policyFlags |= POLICY_FLAG_INTERACTIVE;
948 if ((policyFlags & POLICY_FLAG_TRUSTED)) {
956 keyEventObj, policyFlags);
967 handleInterceptActions(wmActions, when, /*byref*/ policyFlags);
970 policyFlags |= POLICY_FLAG_PASS_TO_USER;
975 void NativeInputManager::interceptMotionBeforeQueueing(nsecs_t when, uint32_t& policyFlags) {
983 policyFlags |= POLICY_FLAG_INTERACTIVE;
985 if ((policyFlags & POLICY_FLAG_TRUSTED) && !(policyFlags & POLICY_FLAG_INJECTED)) {
986 if (policyFlags & POLICY_FLAG_INTERACTIVE) {
987 policyFlags |= POLICY_FLAG_PASS_TO_USER;
992 when, policyFlags);
998 handleInterceptActions(wmActions, when, /*byref*/ policyFlags);
1002 policyFlags |= POLICY_FLAG_PASS_TO_USER;
1008 uint32_t& policyFlags) {
1010 policyFlags |= POLICY_FLAG_PASS_TO_USER;
1020 const KeyEvent* keyEvent, uint32_t policyFlags) {
1026 if (policyFlags & POLICY_FLAG_TRUSTED) {
1035 inputWindowHandleObj, keyEventObj, policyFlags);
1055 const KeyEvent* keyEvent, uint32_t policyFlags, KeyEvent* outFallbackKeyEvent) {
1059 if (policyFlags & POLICY_FLAG_TRUSTED) {
1068 inputWindowHandleObj, keyEventObj, policyFlags);
1352 jint syncMode, jint timeoutMillis, jint policyFlags) {
1365 uint32_t(policyFlags));
1375 uint32_t(policyFlags));