/frameworks/base/services/tests/servicestests/src/com/android/server/utils/ |
D | TraceBufferTest.java | 92 final int bufferCapacity = objectSize * 2 + 1; in test_addItemMustOverwriteOne() local 93 mBuffer.setCapacity(bufferCapacity); in test_addItemMustOverwriteOne() 117 assertEquals(String.format("Buffer is full, used space should be %d", bufferCapacity), in test_addItemMustOverwriteOne() 118 mBuffer.getBufferSize(), bufferCapacity - 1); in test_addItemMustOverwriteOne() 128 final int bufferCapacity = objectSize * 2; in test_addItemMustOverwriteMultiple() local 129 mBuffer.setCapacity(bufferCapacity); in test_addItemMustOverwriteMultiple() 158 assertEquals(String.format(" Buffer is full, used space should be %d", bufferCapacity), in test_addItemMustOverwriteMultiple() 159 mBuffer.getBufferSize(), bufferCapacity); in test_addItemMustOverwriteMultiple()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | TraceBuffer.java | 104 public TraceBuffer(int bufferCapacity) { in TraceBuffer() argument 105 this(bufferCapacity, new ProtoOutputStreamProvider(), null); in TraceBuffer() 108 public TraceBuffer(int bufferCapacity, Consumer<T> protoDequeuedCallback) { in TraceBuffer() argument 109 this(bufferCapacity, new ProtoOutputStreamProvider(), protoDequeuedCallback); in TraceBuffer() 112 public TraceBuffer(int bufferCapacity, ProtoProvider protoProvider, in TraceBuffer() argument 114 mBufferCapacity = bufferCapacity; in TraceBuffer()
|
/frameworks/av/media/libaaudio/tests/ |
D | test_open_params.cpp | 49 int32_t bufferCapacity; in testOpenOptions() local 108 bufferCapacity = AAudioStream_getBufferCapacityInFrames(aaudioStream); in testOpenOptions() 110 bufferCapacity, bufferCapacity % framesPerBurst); in testOpenOptions()
|
D | test_various.cpp | 650 int32_t bufferCapacity; in TEST() local 670 bufferCapacity = AAudioStream_getBufferCapacityInFrames(aaudioStream); in TEST() 672 bufferCapacity, bufferCapacity % framesPerBurst); in TEST() 676 EXPECT_LE(actualSize, bufferCapacity); in TEST() 680 EXPECT_LE(actualSize, bufferCapacity); in TEST() 682 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, bufferCapacity - 1); in TEST() 684 EXPECT_LE(actualSize, bufferCapacity); in TEST() 686 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, bufferCapacity); in TEST() 688 EXPECT_LE(actualSize, bufferCapacity); in TEST() 690 actualSize = AAudioStream_setBufferSizeInFrames(aaudioStream, bufferCapacity + 1); in TEST() [all …]
|
D | test_recovery.cpp | 34 int32_t bufferCapacity; in main() local 81 bufferCapacity = AAudioStream_getBufferCapacityInFrames(aaudioStream); in main() 83 bufferCapacity, framesPerBurst); in main()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | WindowTracing.java | 91 int bufferCapacity) { in WindowTracing() argument 92 this(file, service, choreographer, service.mGlobalLock, bufferCapacity); in WindowTracing() 96 WindowManagerGlobalLock globalLock, int bufferCapacity) { in WindowTracing() argument 101 mBuffer = new TraceBuffer(bufferCapacity); in WindowTracing()
|
/frameworks/av/media/libaaudio/src/binding/aidl/aaudio/ |
D | StreamParameters.aidl | 33 int bufferCapacity; // = AAUDIO_UNSPECIFIED;
|
/frameworks/av/media/libaaudio/src/binding/ |
D | AAudioStreamConfiguration.cpp | 61 setBufferCapacity(parcelable.bufferCapacity); in AAudioStreamConfiguration() 115 result.bufferCapacity = getBufferCapacity(); in parcelable()
|
/frameworks/base/services/core/java/com/android/server/connectivity/ |
D | IpConnectivityMetrics.java | 156 public int bufferCapacity() { in bufferCapacity() method in IpConnectivityMetrics 163 mCapacity = bufferCapacity(); in initBuffer()
|
/frameworks/av/media/libaaudio/src/core/ |
D | AudioStream.h | 586 void setBufferCapacity(int32_t bufferCapacity) { in setBufferCapacity() argument 587 mBufferCapacity = bufferCapacity; in setBufferCapacity()
|
/frameworks/base/core/java/com/android/internal/protolog/ |
D | LegacyProtoLogImpl.java | 82 public LegacyProtoLogImpl(File file, String viewerConfigFilename, int bufferCapacity, in LegacyProtoLogImpl() argument 86 mBuffer = new TraceBuffer(bufferCapacity); in LegacyProtoLogImpl()
|
/frameworks/base/services/ |
D | art-wear-profile | 9182 PLcom/android/server/connectivity/IpConnectivityMetrics;->bufferCapacity()I
|