/frameworks/native/services/inputflinger/reader/mapper/ |
D | TouchInputMapper.h | 153 void cancelTouch(nsecs_t when, nsecs_t readTime) override; 301 nsecs_t readTime; member 314 readTime = other.readTime; in copyFrom() 323 readTime = 0; in clear() 729 void sync(nsecs_t when, nsecs_t readTime); 731 bool consumeRawTouches(nsecs_t when, nsecs_t readTime, uint32_t policyFlags); 733 void cookAndDispatch(nsecs_t when, nsecs_t readTime); 734 void dispatchVirtualKey(nsecs_t when, nsecs_t readTime, uint32_t policyFlags, 737 void dispatchTouches(nsecs_t when, nsecs_t readTime, uint32_t policyFlags); 738 void dispatchHoverExit(nsecs_t when, nsecs_t readTime, uint32_t policyFlags); [all …]
|
D | TouchCursorInputMapperCommon.h | 106 nsecs_t readTime, int32_t deviceId, uint32_t source, in synthesizeButtonKey() argument 113 NotifyKeyArgs args(context->getNextId(), when, readTime, deviceId, source, displayId, in synthesizeButtonKey() 120 nsecs_t readTime, int32_t deviceId, uint32_t source, in synthesizeButtonKeys() argument 123 synthesizeButtonKey(context, action, when, readTime, deviceId, source, displayId, policyFlags, in synthesizeButtonKeys() 126 synthesizeButtonKey(context, action, when, readTime, deviceId, source, displayId, policyFlags, in synthesizeButtonKeys()
|
D | TouchInputMapper.cpp | 1040 const nsecs_t readTime = when; // synthetic event in configureSurface() local 1041 abortPointerUsage(when, readTime, 0 /*policyFlags*/); in configureSurface() 1431 sync(rawEvent->when, rawEvent->readTime); in process() 1435 void TouchInputMapper::sync(nsecs_t when, nsecs_t readTime) { in sync() argument 1442 next.readTime = readTime; in sync() 1487 cancelTouch(mCurrentRawState.when, mCurrentRawState.readTime); in processRawTouches() 1513 mCurrentRawState.readTime = mLastRawState.readTime; in processRawTouches() 1515 cookAndDispatch(mCurrentRawState.when, mCurrentRawState.readTime); in processRawTouches() 1529 const nsecs_t readTime = when; // consider this synthetic event to be zero latency in processRawTouches() local 1530 cookAndDispatch(when, readTime); in processRawTouches() [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 | 290 sync(rawEvent->when, rawEvent->readTime); in process() 294 void CursorInputMapper::sync(nsecs_t when, nsecs_t readTime) { in sync() argument 398 synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_DOWN, when, readTime, getDeviceId(), in sync() 419 NotifyMotionArgs releaseArgs(getContext()->getNextId(), when, readTime, in sync() 431 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), mSource, in sync() 444 NotifyMotionArgs pressArgs(getContext()->getNextId(), when, readTime, getDeviceId(), in sync() 460 NotifyMotionArgs hoverArgs(getContext()->getNextId(), when, readTime, getDeviceId(), in sync() 475 NotifyMotionArgs scrollArgs(getContext()->getNextId(), when, readTime, getDeviceId(), in sync() 487 synthesizeButtonKeys(getContext(), AKEY_EVENT_ACTION_UP, when, readTime, getDeviceId(), mSource, in sync()
|
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 | RotaryEncoderInputMapper.h | 45 void sync(nsecs_t when, nsecs_t readTime);
|
D | JoystickInputMapper.cpp | 302 sync(rawEvent->when, rawEvent->readTime, false /*force*/); in process() 309 void JoystickInputMapper::sync(nsecs_t when, nsecs_t readTime, bool force) { in sync() argument 340 NotifyMotionArgs args(getContext()->getNextId(), when, readTime, getDeviceId(), in sync()
|
D | CursorInputMapper.h | 119 void sync(nsecs_t when, nsecs_t readTime);
|
D | JoystickInputMapper.h | 95 void sync(nsecs_t when, nsecs_t readTime, bool force);
|
D | InputMapper.cpp | 71 void InputMapper::cancelTouch(nsecs_t when, nsecs_t readTime) {} in cancelTouch() argument
|
D | KeyboardInputMapper.h | 89 void processKey(nsecs_t when, nsecs_t readTime, bool down, int32_t scanCode, int32_t usageCode);
|
D | InputMapper.h | 70 virtual void cancelTouch(nsecs_t when, nsecs_t readTime);
|
/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 | 70 nsecs_t readTime) { in trackListener() argument 84 mTimelines.emplace(inputEventId, InputEventTimeline(isDown, eventTime, readTime)); in trackListener()
|
D | LatencyTracker.h | 47 void trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, nsecs_t readTime);
|
/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/native/services/inputflinger/tests/ |
D | LatencyTracker_test.cpp | 153 mTracker->trackListener(inputEventId, expected.isDown, expected.eventTime, expected.readTime); in TEST_F() 193 timeline1.readTime); in TEST_F() 196 timeline2.readTime); in TEST_F() 221 timeline.readTime); in TEST_F() 223 InputEventTimeline{timeline.isDown, timeline.eventTime, timeline.readTime}); in TEST_F() 248 mTracker->trackListener(inputEventId, expected.isDown, expected.eventTime, expected.readTime); in TEST_F() 250 InputEventTimeline{expected.isDown, expected.eventTime, expected.readTime}); in TEST_F()
|
/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 | 76 nsecs_t readTime; member 80 NotifyKeyArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId, 125 nsecs_t readTime; member 130 NotifyMotionArgs(int32_t id, nsecs_t eventTime, nsecs_t readTime, int32_t deviceId,
|
/frameworks/native/services/inputflinger/reader/include/ |
D | InputDevice.h | 93 void cancelTouch(nsecs_t when, nsecs_t readTime); 386 inline void cancelTouch(nsecs_t when, nsecs_t readTime) { mDevice.cancelTouch(when, readTime); } in cancelTouch() argument
|