Home
last modified time | relevance | path

Searched refs:AggregatedLogRecord (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/vibrator/
DGroupedAggregatedLogRecords.java35 private final SparseArray<ArrayDeque<AggregatedLogRecord<T>>> mGroupedRecords;
59 final synchronized AggregatedLogRecord<T> add(T record) { in add()
64 ArrayDeque<AggregatedLogRecord<T>> records = mGroupedRecords.get(groupKey); in add()
66 AggregatedLogRecord<T> lastAggregatedRecord = records.getLast(); in add()
72 AggregatedLogRecord<T> removedRecord = null; in add()
76 records.addLast(new AggregatedLogRecord<>(record)); in add()
84 for (AggregatedLogRecord<T> records : mGroupedRecords.valueAt(i)) { in dump()
95 for (AggregatedLogRecord<T> records : mGroupedRecords.valueAt(i)) { in dump()
109 static final class AggregatedLogRecord<T extends SingleLogRecord> { class in GroupedAggregatedLogRecords
114 AggregatedLogRecord(T record) { in AggregatedLogRecord() method in GroupedAggregatedLogRecords.AggregatedLogRecord
DVibratorManagerService.java1769 GroupedAggregatedLogRecords.AggregatedLogRecord<VibrationRecord> droppedRecord = in record()
/frameworks/base/services/tests/vibrator/src/com/android/server/vibrator/
DGroupedAggregatedLogRecordsTest.java25 import com.android.server.vibrator.GroupedAggregatedLogRecords.AggregatedLogRecord;
77 AggregatedLogRecord<TestSingleLogRecord> droppedRecord = in record_sizeLimit_dropsOldestEntriesForNewOnes()
135 AggregatedLogRecord<TestSingleLogRecord> droppedRecord = in record_sameGroupDifferentAggregationKeys_recordsNotAggregated()
155 AggregatedLogRecord<TestSingleLogRecord> droppedRecord = in record_sameGroupAndAggregationKeysDistantTimes_recordsNotAggregated()