Home | History | Annotate | Download | only in inputflinger

Lines Matching refs:nsecs_t

68 const nsecs_t DEFAULT_INPUT_DISPATCHING_TIMEOUT = 5000 * 1000000LL; // 5 sec
73 const nsecs_t APP_SWITCH_TIMEOUT = 500 * 1000000LL; // 0.5sec
77 const nsecs_t STALE_EVENT_TIMEOUT = 10000 * 1000000LL; // 10sec
83 const nsecs_t STREAM_AHEAD_EVENT_TIMEOUT = 500 * 1000000LL; // 0.5sec
86 const nsecs_t SLOW_EVENT_PROCESSING_WARNING_TIMEOUT = 2000 * 1000000LL; // 2sec
91 static inline nsecs_t now() {
227 nsecs_t nextWakeupTime = LONG_LONG_MAX;
246 nsecs_t currentTime = now();
251 void InputDispatcher::dispatchOnceInnerLocked(nsecs_t* nextWakeupTime) {
252 nsecs_t currentTime = now();
583 bool InputDispatcher::isStaleEventLocked(nsecs_t currentTime, EventEntry* entry) {
652 InputDispatcher::KeyEntry* InputDispatcher::synthesizeKeyRepeatLocked(nsecs_t currentTime) {
685 nsecs_t currentTime, ConfigurationChangedEntry* entry) {
701 nsecs_t currentTime, DeviceResetEntry* entry) {
713 bool InputDispatcher::dispatchKeyLocked(nsecs_t currentTime, KeyEntry* entry,
714 DropReason* dropReason, nsecs_t* nextWakeupTime) {
824 nsecs_t currentTime, MotionEntry* entry, DropReason* dropReason, nsecs_t* nextWakeupTime) {
913 void InputDispatcher::dispatchEventLocked(nsecs_t currentTime,
940 int32_t InputDispatcher::handleTargetsNotReadyLocked(nsecs_t currentTime,
944 nsecs_t* nextWakeupTime, const char* reason) {
963 nsecs_t timeout;
1009 void InputDispatcher::resumeAfterTargetsNotReadyTimeoutLocked(nsecs_t newTimeout,
1046 nsecs_t InputDispatcher::getTimeSpentWaitingForApplicationLocked(
1047 nsecs_t currentTime) {
1064 int32_t InputDispatcher::findFocusedWindowTargetsLocked(nsecs_t currentTime,
1065 const EventEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) {
1110 nsecs_t timeSpentWaitingForApplication = getTimeSpentWaitingForApplicationLocked(currentTime);
1121 int32_t InputDispatcher::findTouchedWindowTargetsLocked(nsecs_t currentTime,
1122 const MotionEntry* entry, Vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime,
1130 nsecs_t startTime = now();
1565 nsecs_t timeSpentWaitingForApplication = getTimeSpentWaitingForApplicationLocked(currentTime);
1645 String8 InputDispatcher::checkWindowReadyForMoreInputLocked(nsecs_t currentTime,
1784 void InputDispatcher::prepareDispatchCycleLocked(nsecs_t currentTime,
1832 void InputDispatcher::enqueueDispatchEntriesLocked(nsecs_t currentTime,
1943 void InputDispatcher::startDispatchCycleLocked(nsecs_t currentTime,
2059 void InputDispatcher::finishDispatchCycleLocked(nsecs_t currentTime,
2077 void InputDispatcher::abortBrokenDispatchCycleLocked(nsecs_t currentTime,
2138 nsecs_t currentTime = now();
2203 nsecs_t currentTime = now();
2576 nsecs_t endTime = now() + milliseconds_to_nanoseconds(timeoutMillis);
2622 nsecs_t eventTime = motionEvent->getEventTime();
2627 const nsecs_t* sampleEventTimes = motionEvent->getSampleEventTimes();
2696 nsecs_t remainingTimeout = endTime - now();
2716 nsecs_t remainingTimeout = endTime - now();
3200 nsecs_t currentTime = now();
3382 nsecs_t currentTime = now();
3411 nsecs_t currentTime, const sp<Connection>& connection, uint32_t seq, bool handled) {
3421 nsecs_t currentTime, const sp<Connection>& connection) {
3431 nsecs_t currentTime, const sp<InputApplicationHandle>& applicationHandle,
3433 nsecs_t eventTime, nsecs_t waitStartTime, const char* reason) {
3490 nsecs_t newTimeout = mPolicy->notifyANR(
3510 nsecs_t delay = mPolicy->interceptKeyBeforeDispatching(commandEntry->inputWindowHandle,
3529 nsecs_t finishTime = commandEntry->eventTime;
3536 nsecs_t eventDuration = finishTime - dispatchEntry->deliveryTime;
3769 void InputDispatcher::updateDispatchStatisticsLocked(nsecs_t currentTime, const EventEntry* entry,
3770 int32_t injectionResult, nsecs_t timeSpentWaitingForApplication) {
3853 InputDispatcher::EventEntry::EventEntry(int32_t type, nsecs_t eventTime, uint32_t policyFlags) :
3881 InputDispatcher::ConfigurationChangedEntry::ConfigurationChangedEntry(nsecs_t eventTime) :
3896 InputDispatcher::DeviceResetEntry::DeviceResetEntry(nsecs_t eventTime, int32_t deviceId) :
3912 InputDispatcher::KeyEntry::KeyEntry(nsecs_t eventTime,
3915 int32_t repeatCount, nsecs_t downTime) :
3947 InputDispatcher::MotionEntry::MotionEntry(nsecs_t eventTime,
3951 nsecs_t downTime, int32_t displayId, uint32_t pointerCount,
4257 void InputDispatcher::InputState::synthesizeCancelationEvents(nsecs_t currentTime,