/aosp12/frameworks/native/services/inputflinger/reader/mapper/ |
H A D | TouchInputMapper.h | 153 void cancelTouch(nsecs_t when, nsecs_t readTime) override; 310 nsecs_t readTime; member 323 readTime = other.readTime; in copyFrom() 332 readTime = 0; in clear() 738 void sync(nsecs_t when, nsecs_t readTime); 740 bool consumeRawTouches(nsecs_t when, nsecs_t readTime, uint32_t policyFlags); 742 void cookAndDispatch(nsecs_t when, nsecs_t readTime); 743 void dispatchVirtualKey(nsecs_t when, nsecs_t readTime, uint32_t policyFlags, 746 void dispatchTouches(nsecs_t when, nsecs_t readTime, uint32_t policyFlags); 747 void dispatchHoverExit(nsecs_t when, nsecs_t readTime, uint32_t policyFlags); [all …]
|
H A D | TouchCursorInputMapperCommon.h | 104 nsecs_t readTime, int32_t deviceId, uint32_t source, in synthesizeButtonKey() argument 111 NotifyKeyArgs args(context->getNextId(), when, readTime, deviceId, source, displayId, in synthesizeButtonKey() 118 nsecs_t readTime, int32_t deviceId, uint32_t source, in synthesizeButtonKeys() argument 121 synthesizeButtonKey(context, action, when, readTime, deviceId, source, displayId, policyFlags, in synthesizeButtonKeys() 124 synthesizeButtonKey(context, action, when, readTime, deviceId, source, displayId, policyFlags, in synthesizeButtonKeys()
|
H A D | TouchInputMapper.cpp | 1460 sync(rawEvent->when, rawEvent->readTime); in process() 1471 next.readTime = readTime; in sync() 1542 mCurrentRawState.readTime = mLastRawState.readTime; in processRawTouches() 1559 cookAndDispatch(when, readTime); in processRawTouches() 1593 if (consumeRawTouches(when, readTime, policyFlags)) { in cookAndDispatch() 1657 dispatchTouches(when, readTime, policyFlags); in cookAndDispatch() 1781 const nsecs_t readTime = when; in timeoutExpired() local 2379 abortPointerUsage(when, readTime, policyFlags); in dispatchPointerUsage() 3437 abortPointerSimple(when, readTime, policyFlags); in abortPointerStylus() 3490 abortPointerSimple(when, readTime, policyFlags); in abortPointerMouse() [all …]
|
H A 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()
|
H A 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()
|
H A 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()
|
H A D | RotaryEncoderInputMapper.h | 45 void sync(nsecs_t when, nsecs_t readTime);
|
H A 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()
|
H A D | CursorInputMapper.h | 119 void sync(nsecs_t when, nsecs_t readTime);
|
H A D | JoystickInputMapper.h | 95 void sync(nsecs_t when, nsecs_t readTime, bool force);
|
H A D | InputMapper.cpp | 71 void InputMapper::cancelTouch(nsecs_t when, nsecs_t readTime) {} in cancelTouch() argument
|
/aosp12/frameworks/native/services/inputflinger/dispatcher/ |
H A 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 ==()
|
H A 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()
|
H A D | InputEventTimeline.h | 77 InputEventTimeline(bool isDown, nsecs_t eventTime, nsecs_t readTime); 80 const nsecs_t readTime; member
|
H A D | LatencyTracker.cpp | 70 nsecs_t readTime) { in trackListener() argument 84 mTimelines.emplace(inputEventId, InputEventTimeline(isDown, eventTime, readTime)); in trackListener()
|
H A D | LatencyTracker.h | 47 void trackListener(int32_t inputEventId, bool isDown, nsecs_t eventTime, nsecs_t readTime);
|
/aosp12/frameworks/native/services/inputflinger/ |
H A 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 ==()
|
/aosp12/packages/services/Mtp/perf_tests/src/com/android/mtp/ |
H A 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()
|
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/mtp_perf/ |
H A 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()
|
/aosp12/frameworks/native/services/inputflinger/tests/ |
H A 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()
|
/aosp12/frameworks/base/core/java/com/android/internal/os/ |
H A 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()
|
H A 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()
|
/aosp12/frameworks/native/services/inputflinger/include/ |
H A 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,
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/ |
H A D | WifiConfigStore.java | 665 long readTime = mClock.getElapsedSinceBootMillis() - readStartTime; in read() local 667 mWifiMetrics.noteWifiConfigStoreReadDuration(toIntExact(readTime)); in read() 671 Log.d(TAG, "Reading from all stores completed in " + readTime + " ms."); in read() 697 long readTime = mClock.getElapsedSinceBootMillis() - readStartTime; in switchUserStoresAndRead() local 698 mWifiMetrics.noteWifiConfigStoreReadDuration(toIntExact(readTime)); in switchUserStoresAndRead() 699 Log.d(TAG, "Reading from user stores completed in " + readTime + " ms."); in switchUserStoresAndRead()
|
/aosp12/frameworks/native/services/inputflinger/reader/include/ |
H A 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
|