/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;
|
/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/core/tests/coretests/src/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/native/include/input/ |
D | RingBuffer.h | 37 class RingBuffer { 53 explicit RingBuffer(size_type capacity) in RingBuffer() function 57 explicit RingBuffer(size_type count, const_reference value) : RingBuffer(count) { in RingBuffer() function 64 RingBuffer(const RingBuffer& other) : RingBuffer(other.capacity()) { in RingBuffer() function 70 RingBuffer(RingBuffer&& other) noexcept { *this = std::move(other); } in RingBuffer() function 72 ~RingBuffer() { in ~RingBuffer() 79 RingBuffer& operator=(const RingBuffer& other) { return *this = RingBuffer(other); } 81 RingBuffer& operator=(RingBuffer&& other) noexcept { 170 void swap(RingBuffer& other) noexcept { in swap() 178 friend void swap(RingBuffer& lhs, RingBuffer& rhs) noexcept { lhs.swap(rhs); } in swap() [all …]
|
D | TfLiteMotionPredictor.h | 88 RingBuffer<float> mInputR; 89 RingBuffer<float> mInputPhi; 90 RingBuffer<float> mInputPressure; 91 RingBuffer<float> mInputTilt; 92 RingBuffer<float> mInputOrientation;
|
/frameworks/av/media/libaaudio/src/binding/aidl/aaudio/ |
D | Endpoint.aidl | 19 import aaudio.RingBuffer; 24 RingBuffer upMessageQueueParcelable; // server to client 25 RingBuffer downMessageQueueParcelable; // to server 26 RingBuffer upDataQueueParcelable; // eg. record, could share same queue 27 RingBuffer downDataQueueParcelable; // eg. playback
|
D | RingBuffer.aidl | 21 parcelable RingBuffer {
|
/frameworks/native/services/surfaceflinger/Utils/ |
D | RingBuffer.h | 25 class RingBuffer { 26 RingBuffer(const RingBuffer&) = delete; 27 void operator=(const RingBuffer&) = delete; 30 RingBuffer() = default; 31 ~RingBuffer() = default;
|
/frameworks/native/libs/input/tests/ |
D | RingBuffer_test.cpp | 36 RingBuffer<int> buffer(/*capacity=*/3); in TEST() 75 RingBuffer<std::unique_ptr<int>> buffer(/*capacity=*/2); in TEST() 85 RingBuffer<int> buffer(/*count=*/3, /*value=*/10); in TEST() 91 RingBuffer<int> a(/*capacity=*/2); in TEST() 95 RingBuffer<int> b(/*capacity=*/3); in TEST() 107 RingBuffer<int> c(b); in TEST() 110 RingBuffer<int> d(std::move(b)); in TEST() 122 RingBuffer<int> buffer(/*capacity=*/2); in TEST() 137 RingBuffer<int> buffer(/*capacity=*/2); in TEST() 151 RingBuffer<int> buffer(/*capacity=*/3); in TEST() [all …]
|
/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/core/java/com/android/internal/util/ |
D | RingBuffer.java | 34 public class RingBuffer<T> { class 48 public RingBuffer(Class<T> c, int capacity) { in RingBuffer() method in RingBuffer 61 public RingBuffer(Supplier<T> newItem, IntFunction<T[]> newBacking, int capacity) { in RingBuffer() method in RingBuffer
|
/frameworks/av/media/libaaudio/src/binding/ |
D | RingBufferParcelable.h | 36 explicit RingBufferParcelable(const RingBuffer& parcelable); 105 RingBuffer parcelable() const;
|
D | RingBufferParcelable.cpp | 32 RingBufferParcelable::RingBufferParcelable(const RingBuffer& parcelable) in RingBufferParcelable() 43 RingBuffer RingBufferParcelable::parcelable() const { in parcelable() 44 RingBuffer result; in parcelable()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/ |
D | AuthSessionCoordinator.java | 46 private final RingBuffer mRingBuffer; 61 mRingBuffer = new RingBuffer(100); in AuthSessionCoordinator() 222 private static class RingBuffer { class in AuthSessionCoordinator 228 RingBuffer(int size) { in RingBuffer() method in AuthSessionCoordinator.RingBuffer
|
/frameworks/base/libs/hwui/ |
D | JankTracker.h | 72 RingBuffer<FrameInfo, 120>& frames() { return mFrames; } in frames() 100 RingBuffer<FrameInfo, 120> mFrames;
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardActiveUnlockModel.kt | 20 import com.android.systemui.common.buffer.RingBuffer 65 private val buffer = RingBuffer(CAPACITY) { KeyguardActiveUnlockModel() } in <lambda>()
|
D | KeyguardFingerprintListenModel.kt | 20 import com.android.systemui.common.buffer.RingBuffer 95 private val buffer = RingBuffer(CAPACITY) { KeyguardFingerprintListenModel() } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | NPVCDownEventState.kt | 18 import com.android.systemui.common.buffer.RingBuffer 72 private val buffer = RingBuffer(capacity) { NPVCDownEventState() } in <lambda>()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | DefaultNetworkMetrics.java | 27 import com.android.internal.util.RingBuffer; 50 private final RingBuffer<DefaultNetworkEvent> mEventsLog = 51 new RingBuffer(DefaultNetworkEvent.class, ROLLING_LOG_SIZE);
|
D | NetdEventListenerService.java | 47 import com.android.internal.util.RingBuffer; 88 private final RingBuffer<NetworkMetricsSnapshot> mNetworkMetricsSnapshots = 89 new RingBuffer<>(NetworkMetricsSnapshot.class, METRICS_SNAPSHOT_BUFFER_SIZE); 98 private final RingBuffer<WakeupEvent> mWakeupEvents = 99 new RingBuffer<>(WakeupEvent.class, WAKEUP_EVENT_BUFFER_LENGTH);
|
/frameworks/base/core/java/android/view/contentprotection/ |
D | ContentProtectionEventProcessor.java | 30 import com.android.internal.util.RingBuffer; 59 @NonNull private final RingBuffer<ContentCaptureEvent> mEventBuffer; 87 @NonNull RingBuffer<ContentCaptureEvent> eventBuffer, in ContentProtectionEventProcessor()
|
/frameworks/av/services/mediaresourcemanager/ |
D | ServiceLog.h | 41 RingBuffer<String8> mLogs;
|
/frameworks/base/packages/SystemUI/log/src/com/android/systemui/log/ |
D | LogBuffer.kt | 21 import com.android.systemui.common.buffer.RingBuffer 79 private val buffer = RingBuffer(maxSize) { LogMessageImpl.create() } in <lambda>()
|