Lines Matching refs:nsecs_t
184 nsecs_t keyRepeatTimeout;
187 nsecs_t keyRepeatDelay;
211 virtual void notifyConfigurationChanged(nsecs_t when) = 0;
215 virtual nsecs_t notifyANR(const sp<InputApplicationHandle>& inputApplicationHandle,
249 virtual void interceptMotionBeforeQueueing(const int32_t displayId, nsecs_t when,
253 virtual nsecs_t interceptKeyBeforeDispatching(const sp<IBinder>& token,
263 virtual void notifySwitch(nsecs_t when,
267 virtual void pokeUserActivity(nsecs_t eventTime, int32_t eventType) = 0;
489 nsecs_t eventTime;
502 EventEntry(uint32_t sequenceNum, int32_t type, nsecs_t eventTime, uint32_t policyFlags);
508 explicit ConfigurationChangedEntry(uint32_t sequenceNum, nsecs_t eventTime);
518 DeviceResetEntry(uint32_t sequenceNum, nsecs_t eventTime, int32_t deviceId);
535 nsecs_t downTime;
546 nsecs_t interceptKeyWakeupTime; // used with INTERCEPT_KEY_RESULT_TRY_AGAIN_LATER
548 KeyEntry(uint32_t sequenceNum, nsecs_t eventTime,
551 int32_t repeatCount, nsecs_t downTime);
560 nsecs_t eventTime;
573 nsecs_t downTime;
578 MotionEntry(uint32_t sequenceNum, nsecs_t eventTime,
583 nsecs_t downTime, uint32_t pointerCount,
603 nsecs_t deliveryTime; // time when the event was actually delivered
656 nsecs_t eventTime;
789 void synthesizeCancelationEvents(nsecs_t currentTime,
822 nsecs_t downTime;
833 nsecs_t downTime;
932 void dispatchOnceInnerLocked(nsecs_t* nextWakeupTime) REQUIRES(mLock);
945 nsecs_t mAppSwitchDueTime GUARDED_BY(mLock);
952 static bool isStaleEvent(nsecs_t currentTime, EventEntry* entry);
1002 nsecs_t nextRepeatTime;
1006 KeyEntry* synthesizeKeyRepeatLocked(nsecs_t currentTime) REQUIRES(mLock);
1120 nsecs_t currentTime, ConfigurationChangedEntry* entry) REQUIRES(mLock);
1122 nsecs_t currentTime, DeviceResetEntry* entry) REQUIRES(mLock);
1124 nsecs_t currentTime, KeyEntry* entry,
1125 DropReason* dropReason, nsecs_t* nextWakeupTime) REQUIRES(mLock);
1127 nsecs_t currentTime, MotionEntry* entry,
1128 DropReason* dropReason, nsecs_t* nextWakeupTime) REQUIRES(mLock);
1129 void dispatchEventLocked(nsecs_t currentTime, EventEntry* entry,
1143 nsecs_t mInputTargetWaitStartTime GUARDED_BY(mLock);
1144 nsecs_t mInputTargetWaitTimeoutTime GUARDED_BY(mLock);
1152 int32_t handleTargetsNotReadyLocked(nsecs_t currentTime, const EventEntry* entry,
1155 nsecs_t* nextWakeupTime, const char* reason) REQUIRES(mLock);
1159 void resumeAfterTargetsNotReadyTimeoutLocked(nsecs_t newTimeout,
1161 nsecs_t getTimeSpentWaitingForApplicationLocked(nsecs_t currentTime) REQUIRES(mLock);
1165 int32_t findFocusedWindowTargetsLocked(nsecs_t currentTime, const EventEntry* entry,
1166 std::vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) REQUIRES(mLock);
1167 int32_t findTouchedWindowTargetsLocked(nsecs_t currentTime, const MotionEntry* entry,
1168 std::vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime,
1192 std::string checkWindowReadyForMoreInputLocked(nsecs_t currentTime,
1200 void prepareDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
1202 void enqueueDispatchEntriesLocked(nsecs_t currentTime, const sp<Connection>& connection,
1207 void startDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection)
1209 void finishDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
1211 void abortBrokenDispatchCycleLocked(nsecs_t currentTime, const sp<Connection>& connection,
1252 nsecs_t currentTime, const sp<Connection>& connection, uint32_t seq, bool handled)
1255 nsecs_t currentTime, const sp<Connection>& connection) REQUIRES(mLock);
1259 nsecs_t currentTime, const sp<InputApplicationHandle>& applicationHandle,
1261 nsecs_t eventTime, nsecs_t waitStartTime, const char* reason) REQUIRES(mLock);
1282 void updateDispatchStatistics(nsecs_t currentTime, const EventEntry* entry,
1283 int32_t injectionResult, nsecs_t timeSpentWaitingForApplication);