/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 | 64 RingBuffer<SensorEventLog> mRecentEvents;
|
D | SensorDevice.h | 186 SensorServiceUtil::RingBuffer<HidlTransportErrorLog> mHidlTransportErrors;
|
/frameworks/av/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/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 | 37 RingBuffer<String> buffer = new RingBuffer<>(String.class, 100); in testEmptyRingBuffer() 45 RingBuffer<String> buffer = new RingBuffer<>(String.class, -10); in testIncorrectConstructorArguments() 51 RingBuffer<String> buffer = new RingBuffer<>(String.class, 0); in testIncorrectConstructorArguments() 59 RingBuffer<String> buffer = new RingBuffer<>(String.class, 100); in testRingBufferWithNoWrapping() 73 RingBuffer<String> buffer = new RingBuffer<>(String.class, 1); in testRingBufferWithCapacity1() 94 RingBuffer<String> buffer = new RingBuffer<>(String.class, capacity); in testRingBufferWithWrapping() 135 RingBuffer<DummyClass1> buffer = new RingBuffer<>(DummyClass1.class, capacity); in testGetNextSlot() 154 RingBuffer<DummyClass2> buffer2 = new RingBuffer<>(DummyClass2.class, capacity); in testGetNextSlot() 158 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 | 26 import com.android.internal.util.RingBuffer; 57 final RingBuffer<CpuTimes> mOomAdjRunTimesHist = new RingBuffer<>(CpuTimes.class, 10); 59 final RingBuffer<CpuTimes> mSystemServerCpuTimesHist = new RingBuffer<>(CpuTimes.class, 10);
|
/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 | 36 import com.android.internal.util.RingBuffer; 97 private final RingBuffer<ConnectivityMetricsEvent> mEventLog = 98 new RingBuffer(ConnectivityMetricsEvent.class, DEFAULT_LOG_SIZE);
|
/frameworks/av/services/mediaresourcemanager/ |
D | ServiceLog.h | 41 RingBuffer<String8> mLogs;
|
/frameworks/av/services/camera/libcameraservice/utils/ |
D | TagMonitor.h | 116 RingBuffer<MonitorEvent> mMonitoringEvents;
|
/frameworks/native/libs/vr/libvrflinger/ |
D | display_surface.h | 177 RingBuffer<AcquiredBuffer> acquired_buffers_;
|
/frameworks/base/libs/hwui/renderthread/ |
D | CanvasContext.h | 245 RingBuffer<SwapHistory, 3> mSwapHistory;
|
/frameworks/base/services/core/java/com/android/server/display/ |
D | BrightnessTracker.java | 63 import com.android.internal.util.RingBuffer; 138 private RingBuffer<BrightnessChangeEvent> mEvents 139 = new RingBuffer<>(BrightnessChangeEvent.class, MAX_EVENTS); 702 mEvents = new RingBuffer<>(BrightnessChangeEvent.class, MAX_EVENTS); in readEventsLocked()
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyLogger.java | 34 import com.android.internal.util.RingBuffer; 317 private final static class LogBuffer extends RingBuffer<Data> {
|
/frameworks/av/services/camera/libcameraservice/ |
D | CameraService.h | 664 RingBuffer<String8> mEventLog;
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 24285 HSPLcom/android/internal/util/RingBuffer;-><init>(Ljava/lang/Class;I)V 24286 HSPLcom/android/internal/util/RingBuffer;->append(Ljava/lang/Object;)V 24287 HSPLcom/android/internal/util/RingBuffer;->clear()V 24288 HSPLcom/android/internal/util/RingBuffer;->createNewItem()Ljava/lang/Object; 24289 HSPLcom/android/internal/util/RingBuffer;->getNextSlot()Ljava/lang/Object; 24290 HPLcom/android/internal/util/RingBuffer;->isEmpty()Z 24291 HSPLcom/android/internal/util/RingBuffer;->size()I 24292 HPLcom/android/internal/util/RingBuffer;->toArray()[Ljava/lang/Object; 38127 Lcom/android/internal/util/RingBuffer;
|