Lines Matching refs:mLock
919 std::mutex mLock; variable
925 EventEntry* mPendingEvent GUARDED_BY(mLock);
926 Queue<EventEntry> mInboundQueue GUARDED_BY(mLock);
927 Queue<EventEntry> mRecentQueue GUARDED_BY(mLock);
928 Queue<CommandEntry> mCommandQueue GUARDED_BY(mLock);
930 DropReason mLastDropReason GUARDED_BY(mLock);
932 void dispatchOnceInnerLocked(nsecs_t* nextWakeupTime) REQUIRES(mLock);
935 bool enqueueInboundEventLocked(EventEntry* entry) REQUIRES(mLock);
938 void dropInboundEventLocked(EventEntry* entry, DropReason dropReason) REQUIRES(mLock);
941 void addRecentEventLocked(EventEntry* entry) REQUIRES(mLock);
944 bool mAppSwitchSawKeyDown GUARDED_BY(mLock);
945 nsecs_t mAppSwitchDueTime GUARDED_BY(mLock);
948 bool isAppSwitchPendingLocked() REQUIRES(mLock);
949 void resetPendingAppSwitchLocked(bool handled) REQUIRES(mLock);
956 EventEntry* mNextUnblockedEvent GUARDED_BY(mLock);
959 bool addOutsideTargets = false, bool addPortalWindows = false) REQUIRES(mLock);
962 KeyedVector<int, sp<Connection> > mConnectionsByFd GUARDED_BY(mLock);
970 GUARDED_BY(mLock);
974 REQUIRES(mLock);
976 ssize_t getConnectionIndexLocked(const sp<InputChannel>& inputChannel) REQUIRES(mLock);
980 GUARDED_BY(mLock);
987 GUARDED_BY(mLock);
1003 } mKeyRepeatState GUARDED_BY(mLock);
1005 void resetKeyRepeatLocked() REQUIRES(mLock);
1006 KeyEntry* synthesizeKeyRepeatLocked(nsecs_t currentTime) REQUIRES(mLock);
1020 KeyedVector<KeyReplacement, int32_t> mReplacedKeys GUARDED_BY(mLock);
1026 bool haveCommandsLocked() const REQUIRES(mLock);
1027 bool runCommandsLockedInterruptible() REQUIRES(mLock);
1028 CommandEntry* postCommandLocked(Command command) REQUIRES(mLock);
1031 bool shouldSendKeyToInputFilterLocked(const NotifyKeyArgs* args) REQUIRES(mLock);
1032 bool shouldSendMotionToInputFilterLocked(const NotifyMotionArgs* args) REQUIRES(mLock);
1035 void drainInboundQueueLocked() REQUIRES(mLock);
1036 void releasePendingEventLocked() REQUIRES(mLock);
1037 void releaseInboundEventLocked(EventEntry* entry) REQUIRES(mLock);
1040 bool mDispatchEnabled GUARDED_BY(mLock);
1041 bool mDispatchFrozen GUARDED_BY(mLock);
1042 bool mInputFilterEnabled GUARDED_BY(mLock);
1045 GUARDED_BY(mLock);
1048 REQUIRES(mLock);
1050 REQUIRES(mLock);
1051 sp<InputChannel> getInputChannelLocked(const sp<IBinder>& windowToken) const REQUIRES(mLock);
1052 bool hasWindowHandleLocked(const sp<InputWindowHandle>& windowHandle) const REQUIRES(mLock);
1056 GUARDED_BY(mLock);
1105 KeyedVector<int32_t, TouchState> mTouchStatesByDisplay GUARDED_BY(mLock);
1106 TouchState mTempTouchState GUARDED_BY(mLock);
1110 GUARDED_BY(mLock);
1113 int32_t mFocusedDisplayId GUARDED_BY(mLock);
1116 std::string mLastANRState GUARDED_BY(mLock);
1120 nsecs_t currentTime, ConfigurationChangedEntry* entry) REQUIRES(mLock);
1122 nsecs_t currentTime, DeviceResetEntry* entry) REQUIRES(mLock);
1125 DropReason* dropReason, nsecs_t* nextWakeupTime) REQUIRES(mLock);
1128 DropReason* dropReason, nsecs_t* nextWakeupTime) REQUIRES(mLock);
1130 const std::vector<InputTarget>& inputTargets) REQUIRES(mLock);
1142 InputTargetWaitCause mInputTargetWaitCause GUARDED_BY(mLock);
1143 nsecs_t mInputTargetWaitStartTime GUARDED_BY(mLock);
1144 nsecs_t mInputTargetWaitTimeoutTime GUARDED_BY(mLock);
1145 bool mInputTargetWaitTimeoutExpired GUARDED_BY(mLock);
1146 sp<IBinder> mInputTargetWaitApplicationToken GUARDED_BY(mLock);
1149 sp<InputWindowHandle> mLastHoverWindowHandle GUARDED_BY(mLock);
1155 nsecs_t* nextWakeupTime, const char* reason) REQUIRES(mLock);
1157 void removeWindowByTokenLocked(const sp<IBinder>& token) REQUIRES(mLock);
1160 const sp<InputChannel>& inputChannel) REQUIRES(mLock);
1161 nsecs_t getTimeSpentWaitingForApplicationLocked(nsecs_t currentTime) REQUIRES(mLock);
1162 void resetANRTimeoutsLocked() REQUIRES(mLock);
1166 std::vector<InputTarget>& inputTargets, nsecs_t* nextWakeupTime) REQUIRES(mLock);
1169 bool* outConflictingPointerActions) REQUIRES(mLock);
1171 const std::vector<sp<InputWindowHandle>>& portalWindows) REQUIRES(mLock);
1177 REQUIRES(mLock);
1179 std::vector<InputTarget>& inputTargets) REQUIRES(mLock);
1181 int32_t displayId, float xOffset = 0, float yOffset = 0) REQUIRES(mLock);
1183 void pokeUserActivityLocked(const EventEntry* eventEntry) REQUIRES(mLock);
1187 int32_t x, int32_t y) const REQUIRES(mLock);
1188 bool isWindowObscuredLocked(const sp<InputWindowHandle>& windowHandle) const REQUIRES(mLock);
1194 const char* targetType) REQUIRES(mLock);
1201 EventEntry* eventEntry, const InputTarget* inputTarget) REQUIRES(mLock);
1203 EventEntry* eventEntry, const InputTarget* inputTarget) REQUIRES(mLock);
1206 REQUIRES(mLock);
1208 REQUIRES(mLock);
1210 uint32_t seq, bool handled) REQUIRES(mLock);
1212 bool notify) REQUIRES(mLock);
1218 const sp<IBinder>& newToken) REQUIRES(mLock);
1221 const CancelationOptions& options) REQUIRES(mLock);
1223 const CancelationOptions& options) REQUIRES(mLock);
1225 std::unordered_map<int32_t, std::vector<Monitor>>& monitorsByDisplay) REQUIRES(mLock);
1227 const CancelationOptions& options) REQUIRES(mLock);
1229 const CancelationOptions& options) REQUIRES(mLock);
1235 void resetAndDropEverythingLocked(const char* reason) REQUIRES(mLock);
1238 void dumpDispatchStateLocked(std::string& dump) REQUIRES(mLock);
1240 void logDispatchStateLocked() REQUIRES(mLock);
1243 void removeMonitorChannelLocked(const sp<InputChannel>& inputChannel) REQUIRES(mLock);
1246 REQUIRES(mLock);
1248 REQUIRES(mLock);
1253 REQUIRES(mLock);
1255 nsecs_t currentTime, const sp<Connection>& connection) REQUIRES(mLock);
1257 const sp<InputWindowHandle>& newFocus) REQUIRES(mLock);
1261 nsecs_t eventTime, nsecs_t waitStartTime, const char* reason) REQUIRES(mLock);
1265 REQUIRES(mLock);
1266 void doNotifyInputChannelBrokenLockedInterruptible(CommandEntry* commandEntry) REQUIRES(mLock);
1267 void doNotifyFocusChangedLockedInterruptible(CommandEntry* commandEntry) REQUIRES(mLock);
1268 void doNotifyANRLockedInterruptible(CommandEntry* commandEntry) REQUIRES(mLock);
1270 REQUIRES(mLock);
1271 void doDispatchCycleFinishedLockedInterruptible(CommandEntry* commandEntry) REQUIRES(mLock);
1273 DispatchEntry* dispatchEntry, KeyEntry* keyEntry, bool handled) REQUIRES(mLock);
1275 DispatchEntry* dispatchEntry, MotionEntry* motionEntry, bool handled) REQUIRES(mLock);
1276 void doPokeUserActivityLockedInterruptible(CommandEntry* commandEntry) REQUIRES(mLock);
1279 REQUIRES(mLock);
1284 void traceInboundQueueLengthLocked() REQUIRES(mLock);