Home
last modified time | relevance | path

Searched refs:mRecentEvents (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/sensorservice/
DRecentEventLogger.cpp37 mRecentEvents(logSizeBySensorType(sensorType)), mMaskData(false), in RecentEventLogger()
44 mRecentEvents.emplace(event); in addEvent()
49 return mRecentEvents.size() == 0; in isEmpty()
63 buffer.appendFormat("last %zu events\n", mRecentEvents.size()); in dump()
65 for (int i = mRecentEvents.size() - 1; i >= 0; --i) { in dump()
66 const auto& ev = mRecentEvents[i]; in dump()
100 proto->write(RecentEventsLog::RECENT_EVENTS_COUNT, int(mRecentEvents.size())); in dump()
101 for (int i = mRecentEvents.size() - 1; i >= 0; --i) { in dump()
102 const auto& ev = mRecentEvents[i]; in dump()
134 if (mIsLastEventCurrent && mRecentEvents.size()) { in populateLastEventIfCurrent()
[all …]
DRecentEventLogger.h65 RingBuffer<SensorEventLog> mRecentEvents; variable
/frameworks/base/services/people/java/com/android/server/people/data/
DEventHistoryImpl.java66 private final EventList mRecentEvents = new EventList(); field in EventHistoryImpl
132 mRecentEvents.addAll(diskEvents.getAllEvents()); in loadFromDisk()
151 mEventsProtoDiskReadWriter.saveEventsImmediately(mRecentEvents); in saveToDisk()
179 return mRecentEvents.queryEvents(eventTypes, startTime, endTime); in queryEvents()
185 mEventsProtoDiskReadWriter.scheduleEventsSave(mRecentEvents); in addEvent()
191 mRecentEvents.clear(); in onDestroy()
201 mRecentEvents.removeOldEvents(currentTime - MAX_EVENTS_AGE); in pruneOldEvents()
213 mRecentEvents.add(event); in addEventInMemory()
/frameworks/base/core/java/android/view/
DInputEventConsistencyVerifier.java67 private InputEvent[] mRecentEvents; field in InputEventConsistencyVerifier
681 if (RECENT_EVENTS_TO_LOG != 0 && mRecentEvents != null) { in finishEvent()
686 final InputEvent event = mRecentEvents[index]; in finishEvent()
705 if (mRecentEvents == null) { in finishEvent()
706 mRecentEvents = new InputEvent[RECENT_EVENTS_TO_LOG]; in finishEvent()
711 if (mRecentEvents[index] != null) { in finishEvent()
712 mRecentEvents[index].recycle(); in finishEvent()
714 mRecentEvents[index] = mCurrentEvent.copy(); in finishEvent()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt63617 Landroid/view/InputEventConsistencyVerifier;->mRecentEvents:[Landroid/view/InputEvent;