Lines Matching refs:eventTime
75 // Amount of time to allow for an event to be dispatched (measured since its eventTime)
427 mAppSwitchDueTime = keyEntry->eventTime + APP_SWITCH_TIMEOUT;
585 return currentTime - entry->eventTime >= STALE_EVENT_TIMEOUT;
661 entry->eventTime = currentTime;
688 ALOGD("dispatchConfigurationChanged - eventTime=%lld", entry->eventTime);
697 commandEntry->eventTime = entry->eventTime;
704 ALOGD("dispatchDeviceReset - eventTime=%lld, deviceId=%d", entry->eventTime, entry->deviceId);
734 mKeyRepeatState.nextRepeatTime = entry->eventTime + mConfig.keyRepeatTimeout;
818 entry->eventTime, entry->deviceId, entry->source, entry->policyFlags,
895 entry->eventTime, entry->deviceId, entry->source, entry->policyFlags,
1004 entry->eventTime, mInputTargetWaitStartTime, reason);
1790 commandEntry->eventTime = eventEntry->eventTime;
1981 keyEntry->eventTime);
2026 motionEntry->downTime, motionEntry->eventTime,
2341 originalMotionEntry->eventTime,
2367 ALOGD("notifyConfigurationChanged - eventTime=%lld", args->eventTime);
2374 ConfigurationChangedEntry* newEntry = new ConfigurationChangedEntry(args->eventTime);
2385 ALOGD("notifyKey - eventTime=%lld, deviceId=%d, source=0x%x, policyFlags=0x%x, action=0x%x, "
2387 args->eventTime, args->deviceId, args->source, args->policyFlags,
2440 args->downTime, args->eventTime);
2460 KeyEntry* newEntry = new KeyEntry(args->eventTime,
2480 ALOGD("notifyMotion - eventTime=%lld, deviceId=%d, source=0x%x, policyFlags=0x%x, "
2483 args->eventTime, args->deviceId, args->source, args->policyFlags,
2511 mPolicy->interceptMotionBeforeQueueing(args->eventTime, /*byref*/ policyFlags);
2524 args->downTime, args->eventTime,
2536 MotionEntry* newEntry = new MotionEntry(args->eventTime,
2560 ALOGD("notifySwitch - eventTime=%lld, policyFlags=0x%x, switchValues=0x%08x, switchMask=0x%08x",
2561 args->eventTime, args->policyFlags,
2567 mPolicy->notifySwitch(args->eventTime,
2573 ALOGD("notifyDeviceReset - eventTime=%lld, deviceId=%d",
2574 args->eventTime, args->deviceId);
2581 DeviceResetEntry* newEntry = new DeviceResetEntry(args->eventTime, args->deviceId);
2646 nsecs_t eventTime = motionEvent->getEventTime();
2647 mPolicy->interceptMotionBeforeQueueing(eventTime, /*byref*/ policyFlags);
3233 (currentTime - entry->eventTime) * 0.000001f);
3245 (currentTime - mPendingEvent->eventTime) * 0.000001f);
3257 (currentTime - entry->eventTime) * 0.000001f);
3294 (currentTime - entry->eventEntry->eventTime) * 0.000001f);
3310 (currentTime - entry->eventEntry->eventTime) * 0.000001f,
3439 commandEntry->eventTime = currentTime;
3457 nsecs_t eventTime, nsecs_t waitStartTime, const char* reason) {
3458 float dispatchLatency = (currentTime - eventTime) * 0.000001f;
3492 mPolicy->notifyConfigurationChanged(commandEntry->eventTime);
3553 nsecs_t finishTime = commandEntry->eventTime;
3747 keyEntry->eventTime = event.getEventTime();
3782 mPolicy->pokeUserActivity(commandEntry->eventTime, commandEntry->userActivityEventType);
3790 entry->downTime, entry->eventTime);
3865 InputDispatcher::EventEntry::EventEntry(int32_t type, nsecs_t eventTime, uint32_t policyFlags) :
3866 refCount(1), type(type), eventTime(eventTime), policyFlags(policyFlags),
3893 InputDispatcher::ConfigurationChangedEntry::ConfigurationChangedEntry(nsecs_t eventTime) :
3894 EventEntry(TYPE_CONFIGURATION_CHANGED, eventTime, 0) {
3908 InputDispatcher::DeviceResetEntry::DeviceResetEntry(nsecs_t eventTime, int32_t deviceId) :
3909 EventEntry(TYPE_DEVICE_RESET, eventTime, 0),
3924 InputDispatcher::KeyEntry::KeyEntry(nsecs_t eventTime,
3928 EventEntry(TYPE_KEY, eventTime, policyFlags),
3959 InputDispatcher::MotionEntry::MotionEntry(nsecs_t eventTime, int32_t deviceId,
3966 EventEntry(TYPE_MOTION, eventTime, policyFlags),
3967 eventTime(eventTime),
4433 command(command), eventTime(0), keyEntry(NULL), userActivityEventType(0),