Home
last modified time | relevance | path

Searched refs:RingBuffer (Results 1 – 25 of 25) 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.h65 RingBuffer<SensorEventLog> mRecentEvents;
DSensorDevice.h197 SensorServiceUtil::RingBuffer<HidlTransportErrorLog> mHidlTransportErrors;
/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.java35 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/
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.java27 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);
DPendingIntentController.java49 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/
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.java37 import com.android.internal.util.RingBuffer;
100 private final RingBuffer<ConnectivityMetricsEvent> mEventLog =
101 new RingBuffer(ConnectivityMetricsEvent.class, DEFAULT_LOG_SIZE);
/frameworks/av/services/mediaresourcemanager/
DServiceLog.h41 RingBuffer<String8> mLogs;
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.h245 RingBuffer<SwapHistory, 5> mSwapHistory;
265 RingBuffer<std::pair<FrameInfo*, int64_t>, 4> mLast4FrameInfos;
/frameworks/av/services/camera/libcameraservice/utils/
DTagMonitor.h118 RingBuffer<MonitorEvent> mMonitoringEvents;
/frameworks/native/libs/vr/libvrflinger/
Ddisplay_surface.h177 RingBuffer<AcquiredBuffer> acquired_buffers_;
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessTracker.java64 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/
DNetworkPolicyLogger.java36 import com.android.internal.util.RingBuffer;
360 private final static class LogBuffer extends RingBuffer<Data> {
/frameworks/av/services/camera/libcameraservice/
DCameraService.h753 RingBuffer<String8> mEventLog;
/frameworks/base/config/
Dboot-image-profile.txt30071 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;
Dpreloaded-classes9346 com.android.internal.util.RingBuffer