/frameworks/native/services/sensorservice/ |
D | RingBuffer.h | 36 class RingBuffer final { 42 explicit RingBuffer(size_t length); 174 RingBuffer<T>::RingBuffer(size_t length) : mFrontIdx{0}, mMaxBufferSize{length} {} in RingBuffer() function 177 RingBuffer<T>::iterator::iterator(T* ptr, size_t size, size_t pos, size_t ctr) : in iterator() 181 typename RingBuffer<T>::iterator& RingBuffer<T>::iterator::operator++() { 194 typename RingBuffer<T>::iterator RingBuffer<T>::iterator::operator++(int) { 201 bool RingBuffer<T>::iterator::operator==(const iterator& rhs) { 206 bool RingBuffer<T>::iterator::operator!=(const iterator& rhs) { 211 T& RingBuffer<T>::iterator::operator*() { 216 T* RingBuffer<T>::iterator::operator->() { [all …]
|
D | RecentEventLogger.h | 65 RingBuffer<SensorEventLog> mRecentEvents;
|
D | SensorDevice.h | 197 SensorServiceUtil::RingBuffer<HidlTransportErrorLog> mHidlTransportErrors;
|
/frameworks/av/media/libmedia/include/media/ |
D | RingBuffer.h | 36 class RingBuffer final { 42 explicit RingBuffer(size_t length); 174 RingBuffer<T>::RingBuffer(size_t length) : mFrontIdx{0}, mMaxBufferSize{length} {} in RingBuffer() function 177 RingBuffer<T>::iterator::iterator(T* ptr, size_t size, size_t pos, size_t ctr) : in iterator() 181 typename RingBuffer<T>::iterator& RingBuffer<T>::iterator::operator++() { 194 typename RingBuffer<T>::iterator RingBuffer<T>::iterator::operator++(int) { 201 bool RingBuffer<T>::iterator::operator==(const iterator& rhs) { 206 bool RingBuffer<T>::iterator::operator!=(const iterator& rhs) { 211 T& RingBuffer<T>::iterator::operator*() { 216 T* RingBuffer<T>::iterator::operator->() { [all …]
|
/frameworks/base/tests/net/java/com/android/internal/util/ |
D | RingBufferTest.java | 35 RingBuffer<String> buffer = new RingBuffer<>(String.class, 100); in testEmptyRingBuffer() 43 RingBuffer<String> buffer = new RingBuffer<>(String.class, -10); in testIncorrectConstructorArguments() 49 RingBuffer<String> buffer = new RingBuffer<>(String.class, 0); in testIncorrectConstructorArguments() 57 RingBuffer<String> buffer = new RingBuffer<>(String.class, 100); in testRingBufferWithNoWrapping() 71 RingBuffer<String> buffer = new RingBuffer<>(String.class, 1); in testRingBufferWithCapacity1() 92 RingBuffer<String> buffer = new RingBuffer<>(String.class, capacity); in testRingBufferWithWrapping() 133 RingBuffer<DummyClass1> buffer = new RingBuffer<>(DummyClass1.class, capacity); in testGetNextSlot() 152 RingBuffer<DummyClass2> buffer2 = new RingBuffer<>(DummyClass2.class, capacity); in testGetNextSlot() 156 RingBuffer<DummyClass3> buffer3 = new RingBuffer<>(DummyClass3.class, capacity); in testGetNextSlot()
|
/frameworks/native/libs/vr/libdvrcommon/include/private/dvr/ |
D | ring_buffer.h | 19 class RingBuffer { 21 RingBuffer() { Reset(0); } in RingBuffer() function 23 explicit RingBuffer(size_t capacity) { Reset(capacity); } in RingBuffer() function 25 RingBuffer(const RingBuffer& other) = default; 26 RingBuffer(RingBuffer&& other) noexcept = default; 27 RingBuffer& operator=(const RingBuffer& other) = default; 28 RingBuffer& operator=(RingBuffer&& other) noexcept = default;
|
/frameworks/base/libs/hwui/utils/ |
D | RingBuffer.h | 27 class RingBuffer { 28 PREVENT_COPY_AND_ASSIGN(RingBuffer); 31 RingBuffer() {} in RingBuffer() function 32 ~RingBuffer() {} in ~RingBuffer()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | OomAdjProfiler.java | 27 import com.android.internal.util.RingBuffer; 64 final RingBuffer<CpuTimes> mOomAdjRunTimesHist = new RingBuffer<>(CpuTimes.class, 10); 66 final RingBuffer<CpuTimes> mSystemServerCpuTimesHist = new RingBuffer<>(CpuTimes.class, 10);
|
D | PendingIntentController.java | 49 import com.android.internal.util.RingBuffer; 94 private final SparseArray<RingBuffer<String>> mRecentIntentsPerUid = new SparseArray<>(); 430 RingBuffer<String> recentHistory = null; in incrementUidStatLocked() 432 recentHistory = new RingBuffer(String.class, RECENT_N); in incrementUidStatLocked()
|
/frameworks/base/libs/hwui/ |
D | JankTracker.h | 68 RingBuffer<FrameInfo, 120>& frames() { return mFrames; } in frames() 92 RingBuffer<FrameInfo, 120> mFrames;
|
D | FrameInfoVisualizer.h | 38 typedef RingBuffer<FrameInfo, 120> FrameInfoSource;
|
/frameworks/base/core/java/com/android/internal/util/ |
D | RingBuffer.java | 30 public class RingBuffer<T> { class 38 public RingBuffer(Class<T> c, int capacity) { in RingBuffer() method in RingBuffer
|
D | OWNERS | 2 per-file MessageUtils*, Protocol*, RingBuffer*, TokenBucket* = jchalard@google.com, lorenzo@google.…
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DefaultNetworkMetrics.java | 25 import com.android.internal.util.RingBuffer; 48 private final RingBuffer<DefaultNetworkEvent> mEventsLog = 49 new RingBuffer(DefaultNetworkEvent.class, ROLLING_LOG_SIZE);
|
D | NetdEventListenerService.java | 43 import com.android.internal.util.RingBuffer; 82 private final RingBuffer<NetworkMetricsSnapshot> mNetworkMetricsSnapshots = 83 new RingBuffer<>(NetworkMetricsSnapshot.class, METRICS_SNAPSHOT_BUFFER_SIZE); 92 private final RingBuffer<WakeupEvent> mWakeupEvents = 93 new RingBuffer<>(WakeupEvent.class, WAKEUP_EVENT_BUFFER_LENGTH);
|
D | IpConnectivityMetrics.java | 37 import com.android.internal.util.RingBuffer; 100 private final RingBuffer<ConnectivityMetricsEvent> mEventLog = 101 new RingBuffer(ConnectivityMetricsEvent.class, DEFAULT_LOG_SIZE);
|
/frameworks/av/services/mediaresourcemanager/ |
D | ServiceLog.h | 41 RingBuffer<String8> mLogs;
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.h | 245 RingBuffer<SwapHistory, 5> mSwapHistory; 265 RingBuffer<std::pair<FrameInfo*, int64_t>, 4> mLast4FrameInfos;
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | TagMonitor.h | 118 RingBuffer<MonitorEvent> mMonitoringEvents;
|
/frameworks/native/libs/vr/libvrflinger/ |
D | display_surface.h | 177 RingBuffer<AcquiredBuffer> acquired_buffers_;
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 64 import com.android.internal.util.RingBuffer; 140 private RingBuffer<BrightnessChangeEvent> mEvents 141 = new RingBuffer<>(BrightnessChangeEvent.class, MAX_EVENTS); 713 mEvents = new RingBuffer<>(BrightnessChangeEvent.class, MAX_EVENTS); in readEventsLocked()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyLogger.java | 36 import com.android.internal.util.RingBuffer; 360 private final static class LogBuffer extends RingBuffer<Data> {
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 753 RingBuffer<String8> mEventLog;
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 30071 HSPLcom/android/internal/util/RingBuffer;-><init>(Ljava/lang/Class;I)V 30072 HSPLcom/android/internal/util/RingBuffer;->append(Ljava/lang/Object;)V 30073 HSPLcom/android/internal/util/RingBuffer;->clear()V 30074 HSPLcom/android/internal/util/RingBuffer;->createNewItem()Ljava/lang/Object; 30075 HSPLcom/android/internal/util/RingBuffer;->getNextSlot()Ljava/lang/Object; 30076 HSPLcom/android/internal/util/RingBuffer;->indexOf(J)I 30077 PLcom/android/internal/util/RingBuffer;->isEmpty()Z 30078 HSPLcom/android/internal/util/RingBuffer;->size()I 30079 HPLcom/android/internal/util/RingBuffer;->toArray()[Ljava/lang/Object; 50462 Lcom/android/internal/util/RingBuffer;
|
D | preloaded-classes | 9346 com.android.internal.util.RingBuffer
|