Home
last modified time | relevance | path

Searched refs:RingBuffer (Results 1 – 24 of 24) sorted by relevance

/frameworks/native/services/sensorservice/
DRingBuffer.h36 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 …]
DRecentEventLogger.h64 RingBuffer<SensorEventLog> mRecentEvents;
DSensorDevice.h186 SensorServiceUtil::RingBuffer<HidlTransportErrorLog> mHidlTransportErrors;
/frameworks/av/include/media/
DRingBuffer.h36 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/
DRingBuffer.h36 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/
DRingBufferTest.java37 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/
Dring_buffer.h19 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/
DRingBuffer.h27 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/
DOomAdjProfiler.java26 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/
DJankTracker.h68 RingBuffer<FrameInfo, 120>& frames() { return mFrames; } in frames()
92 RingBuffer<FrameInfo, 120> mFrames;
DFrameInfoVisualizer.h38 typedef RingBuffer<FrameInfo, 120> FrameInfoSource;
/frameworks/base/core/java/com/android/internal/util/
DRingBuffer.java30 public class RingBuffer<T> { class
38 public RingBuffer(Class<T> c, int capacity) { in RingBuffer() method in RingBuffer
DOWNERS2 per-file MessageUtils*, Protocol*, RingBuffer*, TokenBucket* = jchalard@google.com, lorenzo@google.…
/frameworks/base/services/core/java/com/android/server/connectivity/
DDefaultNetworkMetrics.java25 import com.android.internal.util.RingBuffer;
48 private final RingBuffer<DefaultNetworkEvent> mEventsLog =
49 new RingBuffer(DefaultNetworkEvent.class, ROLLING_LOG_SIZE);
DNetdEventListenerService.java43 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);
DIpConnectivityMetrics.java36 import com.android.internal.util.RingBuffer;
97 private final RingBuffer<ConnectivityMetricsEvent> mEventLog =
98 new RingBuffer(ConnectivityMetricsEvent.class, DEFAULT_LOG_SIZE);
/frameworks/av/services/mediaresourcemanager/
DServiceLog.h41 RingBuffer<String8> mLogs;
/frameworks/av/services/camera/libcameraservice/utils/
DTagMonitor.h116 RingBuffer<MonitorEvent> mMonitoringEvents;
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_surface.h177 RingBuffer<AcquiredBuffer> acquired_buffers_;
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.h245 RingBuffer<SwapHistory, 3> mSwapHistory;
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java63 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/
DNetworkPolicyLogger.java34 import com.android.internal.util.RingBuffer;
317 private final static class LogBuffer extends RingBuffer<Data> {
/frameworks/av/services/camera/libcameraservice/
DCameraService.h664 RingBuffer<String8> mEventLog;
/frameworks/base/config/
Dboot-image-profile.txt24285 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;