Searched refs:policyFlags (Results 1 - 11 of 11) sorted by relevance

/frameworks/base/libs/ui/tests/
H A DInputDispatcher_test.cpp59 uint32_t& policyFlags) {
62 virtual void interceptGenericBeforeQueueing(nsecs_t when, uint32_t& policyFlags) { argument
66 const KeyEvent* keyEvent, uint32_t policyFlags) {
71 int32_t switchCode, int32_t switchValue, uint32_t policyFlags) {
57 interceptKeyBeforeQueueing(nsecs_t when, int32_t deviceId, int32_t action, int32_t& flags, int32_t keyCode, int32_t scanCode, uint32_t& policyFlags) argument
65 interceptKeyBeforeDispatching(const sp<InputChannel>& inputChannel, const KeyEvent* keyEvent, uint32_t policyFlags) argument
70 notifySwitch(nsecs_t when, int32_t switchCode, int32_t switchValue, uint32_t policyFlags) argument
H A DInputReader_test.cpp172 uint32_t policyFlags; member in struct:android::FakeInputDispatcher::NotifyKeyArgs
185 uint32_t policyFlags; member in struct:android::FakeInputDispatcher::NotifyMotionArgs
202 uint32_t policyFlags; member in struct:android::FakeInputDispatcher::NotifySwitchArgs
272 uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode,
278 args.policyFlags = policyFlags;
289 uint32_t policyFlags, int32_t action, int32_t flags,
297 args.policyFlags = policyFlags;
314 int32_t switchCode, int32_t switchValue, uint32_t policyFlags) {
271 notifyKey(nsecs_t eventTime, int32_t deviceId, int32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, nsecs_t downTime) argument
288 notifyMotion(nsecs_t eventTime, int32_t deviceId, int32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t edgeFlags, uint32_t pointerCount, const int32_t* pointerIds, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument
313 notifySwitch(nsecs_t when, int32_t switchCode, int32_t switchValue, uint32_t policyFlags) argument
[all...]
/frameworks/base/services/jni/
H A Dcom_android_server_InputManager.cpp197 uint32_t policyFlags);
207 uint32_t& policyFlags);
208 virtual void interceptGenericBeforeQueueing(nsecs_t when, uint32_t& policyFlags);
210 const KeyEvent* keyEvent, uint32_t policyFlags);
575 int32_t switchValue, uint32_t policyFlags) {
577 LOGD("notifySwitch - when=%lld, switchCode=%d, switchValue=%d, policyFlags=0x%x",
578 when, switchCode, switchValue, policyFlags);
854 int32_t keyCode, int32_t scanCode, uint32_t& policyFlags) {
857 "keyCode=%d, scanCode=%d, policyFlags=0x%x",
858 when, deviceId, action, flags, keyCode, scanCode, policyFlags);
574 notifySwitch(nsecs_t when, int32_t switchCode, int32_t switchValue, uint32_t policyFlags) argument
852 interceptKeyBeforeQueueing(nsecs_t when, int32_t deviceId, int32_t action, int32_t &flags, int32_t keyCode, int32_t scanCode, uint32_t& policyFlags) argument
913 interceptGenericBeforeQueueing(nsecs_t when, uint32_t& policyFlags) argument
936 interceptKeyBeforeDispatching(const sp<InputChannel>& inputChannel, const KeyEvent* keyEvent, uint32_t policyFlags) argument
[all...]
/frameworks/base/include/ui/
H A DInputDispatcher.h292 uint32_t& policyFlags) = 0;
301 virtual void interceptGenericBeforeQueueing(nsecs_t when, uint32_t& policyFlags) = 0;
305 const KeyEvent* keyEvent, uint32_t policyFlags) = 0;
310 int32_t switchCode, int32_t switchValue, uint32_t policyFlags) = 0;
352 uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode,
355 uint32_t policyFlags, int32_t action, int32_t flags,
360 int32_t switchCode, int32_t switchValue, uint32_t policyFlags) = 0;
429 uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode,
432 uint32_t policyFlags, int32_t action, int32_t flags,
437 int32_t switchCode, int32_t switchValue, uint32_t policyFlags) ;
477 uint32_t policyFlags; member in struct:android::InputDispatcher::EventEntry
[all...]
H A DInputReader.h447 uint32_t policyFlags);
824 TouchResult consumeOffScreenTouches(nsecs_t when, uint32_t policyFlags);
825 void dispatchTouches(nsecs_t when, uint32_t policyFlags);
826 void dispatchTouch(nsecs_t when, uint32_t policyFlags, TouchData* touch,
/frameworks/base/core/java/android/view/
H A DWindowManagerPolicy.java551 * @param policyFlags The policy flags associated with the key.
558 int keyCode, int scanCode, int policyFlags, boolean isScreenOn);
579 * @param policyFlags The policy flags associated with the key.
584 int keyCode, int scanCode, int metaState, int repeatCount, int policyFlags);
557 interceptKeyBeforeQueueing(long whenNanos, int action, int flags, int keyCode, int scanCode, int policyFlags, boolean isScreenOn) argument
583 interceptKeyBeforeDispatching(WindowState win, int action, int flags, int keyCode, int scanCode, int metaState, int repeatCount, int policyFlags) argument
/frameworks/base/libs/ui/
H A DInputDispatcher.cpp301 && (entry->policyFlags & POLICY_FLAG_PASS_TO_USER)
352 if (mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER) {
361 if (!(mPendingEvent->policyFlags & POLICY_FLAG_PASS_TO_USER)) {
491 && (keyEntry->policyFlags & POLICY_FLAG_TRUSTED)
492 && (keyEntry->policyFlags & POLICY_FLAG_PASS_TO_USER);
571 uint32_t policyFlags = (entry->policyFlags & POLICY_FLAG_RAW_MASK) local
576 entry->policyFlags = policyFlags;
580 entry->deviceId, entry->source, policyFlags,
2084 notifyKey(nsecs_t eventTime, int32_t deviceId, int32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, nsecs_t downTime) argument
2118 notifyMotion(nsecs_t eventTime, int32_t deviceId, int32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t edgeFlags, uint32_t pointerCount, const int32_t* pointerIds, const PointerCoords* pointerCoords, float xPrecision, float yPrecision, nsecs_t downTime) argument
2270 notifySwitch(nsecs_t when, int32_t switchCode, int32_t switchValue, uint32_t policyFlags) argument
2291 uint32_t policyFlags = POLICY_FLAG_INJECTED; local
3005 initializeEventEntry(EventEntry* entry, int32_t type, nsecs_t eventTime, uint32_t policyFlags) argument
3029 obtainKeyEntry(nsecs_t eventTime, int32_t deviceId, int32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t keyCode, int32_t scanCode, int32_t metaState, int32_t repeatCount, nsecs_t downTime) argument
3050 obtainMotionEntry(nsecs_t eventTime, int32_t deviceId, int32_t source, uint32_t policyFlags, int32_t action, int32_t flags, int32_t metaState, int32_t edgeFlags, float xPrecision, float yPrecision, nsecs_t downTime, uint32_t pointerCount, const int32_t* pointerIds, const PointerCoords* pointerCoords) argument
[all...]
H A DInputReader.cpp931 int32_t scanCode, uint32_t policyFlags) {
958 if ((policyFlags & POLICY_FLAG_VIRTUAL)
1000 getDispatcher()->notifyKey(when, getDeviceId(), AINPUT_SOURCE_KEYBOARD, policyFlags,
2052 uint32_t policyFlags = 0; local
2085 TouchResult touchResult = consumeOffScreenTouches(when, policyFlags);
2088 dispatchTouches(when, policyFlags);
2101 nsecs_t when, uint32_t policyFlags) {
2209 policyFlags |= POLICY_FLAG_VIRTUAL;
2210 getDispatcher()->notifyKey(when, getDeviceId(), AINPUT_SOURCE_KEYBOARD, policyFlags,
2235 void TouchInputMapper::dispatchTouches(nsecs_t when, uint32_t policyFlags) { argument
930 processKey(nsecs_t when, bool down, int32_t keyCode, int32_t scanCode, uint32_t policyFlags) argument
2100 consumeOffScreenTouches( nsecs_t when, uint32_t policyFlags) argument
2328 dispatchTouch(nsecs_t when, uint32_t policyFlags, TouchData* touch, BitSet32 idBits, uint32_t changedId, uint32_t pointerCount, int32_t motionEventAction) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DInputManager.java383 int keyCode, int scanCode, int policyFlags, boolean isScreenOn) {
385 whenNanos, action, flags, keyCode, scanCode, policyFlags, isScreenOn);
391 int policyFlags) {
393 action, flags, keyCode, scanCode, metaState, repeatCount, policyFlags);
382 interceptKeyBeforeQueueing(long whenNanos, int action, int flags, int keyCode, int scanCode, int policyFlags, boolean isScreenOn) argument
389 interceptKeyBeforeDispatching(InputChannel focus, int action, int flags, int keyCode, int scanCode, int metaState, int repeatCount, int policyFlags) argument
H A DWindowManagerService.java5254 int keyCode, int scanCode, int policyFlags, boolean isScreenOn) {
5256 keyCode, scanCode, policyFlags, isScreenOn);
5263 int policyFlags) {
5266 keyCode, scanCode, metaState, repeatCount, policyFlags);
5253 interceptKeyBeforeQueueing(long whenNanos, int action, int flags, int keyCode, int scanCode, int policyFlags, boolean isScreenOn) argument
5261 interceptKeyBeforeDispatching(InputChannel focus, int action, int flags, int keyCode, int scanCode, int metaState, int repeatCount, int policyFlags) argument
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneWindowManager.java1094 int keyCode, int scanCode, int metaState, int repeatCount, int policyFlags) {
1738 int keyCode, int scanCode, int policyFlags, boolean isScreenOn) {
1742 final boolean isInjected = (policyFlags & WindowManagerPolicy.FLAG_INJECTED) != 0;
1757 if (down && (policyFlags & WindowManagerPolicy.FLAG_VIRTUAL) != 0) {
1778 final boolean isWakeKey = (policyFlags
1093 interceptKeyBeforeDispatching(WindowState win, int action, int flags, int keyCode, int scanCode, int metaState, int repeatCount, int policyFlags) argument
1737 interceptKeyBeforeQueueing(long whenNanos, int action, int flags, int keyCode, int scanCode, int policyFlags, boolean isScreenOn) argument

Completed in 330 milliseconds