/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.h | 153 void cancelTouch(nsecs_t when, nsecs_t readTime) override; 319 nsecs_t readTime; member 334 readTime = other.readTime; in copyFrom() 343 readTime = 0; in clear() 752 void sync(nsecs_t when, nsecs_t readTime); 754 bool consumeRawTouches(nsecs_t when, nsecs_t readTime, uint32_t policyFlags); 756 void cookAndDispatch(nsecs_t when, nsecs_t readTime); 757 void dispatchVirtualKey(nsecs_t when, nsecs_t readTime, uint32_t policyFlags, 760 void dispatchTouches(nsecs_t when, nsecs_t readTime, uint32_t policyFlags); 761 void dispatchHoverExit(nsecs_t when, nsecs_t readTime, uint32_t policyFlags); [all …]
|
D | TouchCursorInputMapperCommon.h | 76 nsecs_t readTime, int32_t deviceId, uint32_t source, in synthesizeButtonKey() argument 83 NotifyKeyArgs args(context->getNextId(), when, readTime, deviceId, source, displayId, in synthesizeButtonKey() 90 nsecs_t readTime, int32_t deviceId, uint32_t source, in synthesizeButtonKeys() argument 93 synthesizeButtonKey(context, action, when, readTime, deviceId, source, displayId, policyFlags, in synthesizeButtonKeys() 96 synthesizeButtonKey(context, action, when, readTime, deviceId, source, displayId, policyFlags, in synthesizeButtonKeys()
|
D | TouchInputMapper.cpp | 1466 sync(rawEvent->when, rawEvent->readTime); in process() 1470 void TouchInputMapper::sync(nsecs_t when, nsecs_t readTime) { in sync() argument 1481 next.readTime = readTime; in sync() 1526 cancelTouch(mCurrentRawState.when, mCurrentRawState.readTime); in processRawTouches() 1552 mCurrentRawState.readTime = mLastRawState.readTime; in processRawTouches() 1554 cookAndDispatch(mCurrentRawState.when, mCurrentRawState.readTime); in processRawTouches() 1568 const nsecs_t readTime = when; // consider this synthetic event to be zero latency in processRawTouches() local 1569 cookAndDispatch(when, readTime); in processRawTouches() 1577 void TouchInputMapper::cookAndDispatch(nsecs_t when, nsecs_t readTime) { in cookAndDispatch() argument 1603 if (consumeRawTouches(when, readTime, policyFlags)) { in cookAndDispatch() [all …]
|
D | RotaryEncoderInputMapper.cpp | 90 sync(rawEvent->when, rawEvent->readTime); in process() 94 void RotaryEncoderInputMapper::sync(nsecs_t when, nsecs_t readTime) { in sync() argument 124 NotifyMotionArgs scrollArgs(getContext()->getNextId(), when, readTime, getDeviceId(), in sync()
|
D | CursorInputMapper.cpp | 293 sync(rawEvent->when, rawEvent->readTime); in process() 297 void CursorInputMapper::sync(nsecs_t when, nsecs_t readTime) { in sync() argument 391 synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_DOWN, when, readTime, getDeviceId(), in sync() 412 NotifyMotionArgs releaseArgs(getContext()->getNextId(), when, readTime, in sync() 424 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), mSource, in sync() 437 NotifyMotionArgs pressArgs(getContext()->getNextId(), when, readTime, getDeviceId(), in sync() 453 NotifyMotionArgs hoverArgs(getContext()->getNextId(), when, readTime, getDeviceId(), in sync() 468 NotifyMotionArgs scrollArgs(getContext()->getNextId(), when, readTime, getDeviceId(), in sync() 480 synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_UP, when, readTime, getDeviceId(), mSource, in sync()
|
D | RotaryEncoderInputMapper.h | 45 void sync(nsecs_t when, nsecs_t readTime);
|
D | KeyboardInputMapper.cpp | 217 processKey(rawEvent->when, rawEvent->readTime, rawEvent->value != 0, scanCode, in process() 271 void KeyboardInputMapper::processKey(nsecs_t when, nsecs_t readTime, bool down, int32_t scanCode, in processKey() argument 302 getDeviceContext().cancelTouch(when, readTime); in processKey() 353 NotifyKeyArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), mSource, in processKey()
|
D | JoystickInputMapper.cpp | 301 sync(rawEvent->when, rawEvent->readTime, false /*force*/); in process() 308 void JoystickInputMapper::sync(nsecs_t when, nsecs_t readTime, bool force) { in sync() argument 343 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), in sync()
|
D | CursorInputMapper.h | 128 void sync(nsecs_t when, nsecs_t readTime);
|
D | JoystickInputMapper.h | 95 void sync(nsecs_t when, nsecs_t readTime, bool force);
|
D | KeyboardInputMapper.h | 90 void processKey(nsecs_t when, nsecs_t readTime, bool down, int32_t scanCode, int32_t usageCode);
|
D | InputMapper.cpp | 75 void InputMapper::cancelTouch(nsecs_t when, nsecs_t readTime) {} in cancelTouch() argument
|
/frameworks/native/services/inputflinger/dispatcher/ |
D | InputEventTimeline.cpp | 67 InputEventTimeline::InputEventTimeline(bool isDown, nsecs_t eventTime, nsecs_t readTime) in InputEventTimeline() argument 68 : isDown(isDown), eventTime(eventTime), readTime(readTime) {} in InputEventTimeline() 83 return isDown == rhs.isDown && eventTime == rhs.eventTime && readTime == rhs.readTime; in operator ==()
|
D | InputEventTimeline.h | 77 InputEventTimeline(bool isDown, nsecs_t eventTime, nsecs_t readTime); 80 const nsecs_t readTime; member
|
D | LatencyAggregator.cpp | 139 const nsecs_t eventToRead = timeline.readTime - timeline.eventTime; in processStatistics() 147 const nsecs_t readToDeliver = connectionTimeline.deliveryTime - timeline.readTime; in processStatistics() 232 const nsecs_t eventToRead = timeline.readTime - timeline.eventTime; in processSlowEvent() 233 const nsecs_t readToDeliver = connectionTimeline.deliveryTime - timeline.readTime; in processSlowEvent() 255 mLastSlowEventTime = timeline.readTime; in processSlowEvent()
|
D | LatencyTracker.cpp | 69 nsecs_t readTime) { in trackListener() argument 81 mTimelines.emplace(inputEventId, InputEventTimeline(isDown, eventTime, readTime)); in trackListener()
|
D | LatencyTracker.h | 53 void trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, nsecs_t readTime);
|
/frameworks/native/services/inputflinger/tests/ |
D | LatencyTracker_test.cpp | 172 mTracker->trackListener(inputEventId, expected.isDown, expected.eventTime, expected.readTime); in TEST_F() 187 constexpr nsecs_t readTime = 3; // does not matter for this test in TEST_F() local 192 mTracker->trackListener(inputEventId, isDown, 1 /*eventTime*/, readTime); in TEST_F() 193 mTracker->trackListener(inputEventId, isDown, 2 /*eventTime*/, readTime); in TEST_F() 233 timeline1.readTime); in TEST_F() 236 timeline2.readTime); in TEST_F() 262 timeline.readTime); in TEST_F() 264 InputEventTimeline{timeline.isDown, timeline.eventTime, timeline.readTime}); in TEST_F() 290 mTracker->trackListener(inputEventId, expected.isDown, expected.eventTime, expected.readTime); in TEST_F() 293 InputEventTimeline{expected.isDown, expected.eventTime, expected.readTime}); in TEST_F()
|
/frameworks/base/apct-tests/perftests/core/src/android/mtp_perf/ |
D | AppFusePerfTest.java | 48 final double[] readTime = new double[samples]; in testReadWriteFile() local 58 readTime[i] = (System.nanoTime() - startTime) / 1000.0 / 1000.0; in testReadWriteFile() 79 readAverage += readTime[i]; in testReadWriteFile() 81 readSquaredAverage += readTime[i] * readTime[i]; in testReadWriteFile()
|
/frameworks/native/services/inputflinger/ |
D | InputListener.cpp | 53 NotifyKeyArgs::NotifyKeyArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, in NotifyKeyArgs() argument 68 readTime(readTime) {} in NotifyKeyArgs() 82 readTime(other.readTime) {} in NotifyKeyArgs() 85 return id == rhs.id && eventTime == rhs.eventTime && readTime == rhs.readTime && in operator ==() 99 int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, uint32_t source, in NotifyMotionArgs() argument 124 readTime(readTime), in NotifyMotionArgs() 151 readTime(other.readTime), in NotifyMotionArgs() 164 bool equal = id == rhs.id && eventTime == rhs.eventTime && readTime == rhs.readTime && in operator ==()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | KernelMemoryBandwidthStats.java | 57 final long readTime = SystemClock.uptimeMillis() - startTime; in updateStats() local 58 if (DEBUG || readTime > 100) { in updateStats() 59 Slog.w(TAG, "Reading memory bandwidth file took " + readTime + "ms"); in updateStats()
|
D | KernelWakelockReader.java | 128 final long readTime = SystemClock.uptimeMillis() - startTime; in readKernelWakelockStats() local 129 if (readTime > 100) { in readKernelWakelockStats() 130 Slog.w(TAG, "Reading wakelock stats took " + readTime + "ms"); in readKernelWakelockStats()
|
/frameworks/native/services/inputflinger/include/ |
D | InputListener.h | 75 nsecs_t readTime; member 79 NotifyKeyArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, 124 nsecs_t readTime; member 129 NotifyMotionArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId,
|
/frameworks/native/services/inputflinger/tests/fuzzers/ |
D | LatencyTrackerFuzzer.cpp | 67 nsecs_t readTime = fdp.ConsumeIntegral<nsecs_t>(); in LLVMFuzzerTestOneInput() local 68 tracker.trackListener(inputEventId, isDown, eventTime, readTime); in LLVMFuzzerTestOneInput()
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 97 void cancelTouch(nsecs_t when, nsecs_t readTime); 398 inline void cancelTouch(nsecs_t when, nsecs_t readTime) { mDevice.cancelTouch(when, readTime); } in cancelTouch() argument
|