Home
last modified time | relevance | path

Searched defs:buffer (Results 1 – 25 of 134) sorted by relevance

123456

/cts/tests/tests/proto/src/android/util/proto/cts/
DEncodedBufferTest.java48 EncodedBuffer buffer; in testWriteRawByteWrapsChunks() local
103 final EncodedBuffer buffer = new EncodedBuffer(chunkSize); in testWriteRawBuffer() local
130 final EncodedBuffer buffer = new EncodedBuffer(chunkSize); in testWriteRawByte() local
165 final EncodedBuffer buffer = new EncodedBuffer(chunkSize); in testWriteRawVarint32() local
224 final EncodedBuffer buffer = new EncodedBuffer(1); in testStartEditingChunkSize1() local
256 final EncodedBuffer buffer = new EncodedBuffer(100); in testStartEditingChunkSize100() local
319 final EncodedBuffer buffer = new EncodedBuffer(chunkSize); in testWriteFromThisBuffer() local
/cts/tests/tests/hardware/src/android/hardware/cts/
DHardwareBufferTest.java47 HardwareBuffer buffer = HardwareBuffer.create(2, 4, HardwareBuffer.RGBA_8888, 1, in testCreate() local
72 HardwareBuffer buffer = null; in testCreateFailsWithInvalidArguments() local
104 HardwareBuffer buffer = nativeCreateHardwareBuffer(2, 4, HardwareBuffer.RGBA_8888, 1, in testCreateFromNativeObject() local
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferTest.cpp120 AHardwareBuffer_Desc GetDescription(AHardwareBuffer* buffer) { in GetDescription()
153 AHardwareBuffer* buffer; in TEST() local
168 AHardwareBuffer* buffer; in TEST() local
189 AHardwareBuffer* buffer = NULL; in TEST() local
216 AHardwareBuffer* buffer = NULL; in TEST() local
232 AHardwareBuffer* buffer = NULL; in TEST() local
260 AHardwareBuffer* buffer; member
274 AHardwareBuffer* buffer = NULL; in TEST() local
322 AHardwareBuffer* buffer = nullptr; in TEST() local
364 AHardwareBuffer* buffer = NULL; in TEST() local
[all …]
/cts/suite/audio_quality/test/
DAudioSignalFactoryTest.cpp25 void testSignalBasic(android::sp<Buffer>& buffer, int maxPositive, in testSignalBasic()
44 android::sp<Buffer> buffer = AudioSignalFactory::generateSineWave(AudioHardware::E2BPS, in TEST_F() local
53 android::sp<Buffer> buffer = AudioSignalFactory::generateWhiteNoise(AudioHardware::E2BPS, in TEST_F() local
DBufferTest.cpp41 std::unique_ptr<Buffer> buffer(new Buffer(BUFFER_SIZE, BUFFER_SIZE, true)); in TEST_F() local
66 std::unique_ptr<Buffer> buffer(new Buffer(BUFFER_SIZE, BUFFER_SIZE, true)); in TEST_F() local
/cts/tests/tests/os/src/android/os/cts/
DSharedMemoryTest.java114 ByteBuffer buffer = sharedMemory.mapReadWrite(); in testReadWrite() local
135 ByteBuffer buffer = sharedMemory.mapReadWrite(); in testReadOnly() local
161 ByteBuffer buffer; in testUseAfterClose() local
183 ByteBuffer buffer = sharedMemory.mapReadWrite(); in testUseAfterUnmap() local
201 ByteBuffer buffer = sharedMemory.mapReadWrite(); in testNdkInterop() local
252 ByteBuffer buffer = null; in testWriteToReadOnly() local
/cts/suite/audio_quality/lib/src/audio/
DAudioSignalFactory.cpp28 android::sp<Buffer> buffer(new Buffer(bufferSize)); in generateSineWave() local
49 android::sp<Buffer> buffer(new Buffer(bufferSize, bufferSize)); in generateWhiteNoise() local
74 android::sp<Buffer> buffer(new Buffer(bufferSize, bufferSize)); in generateZeroSound() local
DAudioRemote.cpp45 bool AudioRemotePlayback::startPlaybackOrRecord(android::sp<Buffer>& buffer, int numberRepetition) in startPlaybackOrRecord()
72 bool AudioRemoteRecording::startPlaybackOrRecord(android::sp<Buffer>& buffer, in startPlaybackOrRecord()
/cts/tests/tests/hardware/jni/
Dandroid_hardware_cts_HardwareBufferTest.cpp28 AHardwareBuffer* buffer = NULL; in android_hardware_HardwareBuffer_nativeCreateHardwareBuffer() local
48 AHardwareBuffer* buffer = AHardwareBuffer_fromHardwareBuffer(env, hardwareBufferObj); in android_hardware_HardwareBuffer_nativeReleaseHardwareBuffer() local
/cts/apps/CtsVerifier/jni/audio_loopback/audio_utils/
Dfifo.c29 void *buffer) in audio_utils_fifo_init()
83 ssize_t audio_utils_fifo_write(struct audio_utils_fifo *fifo, const void *buffer, size_t count) in audio_utils_fifo_write()
110 ssize_t audio_utils_fifo_read(struct audio_utils_fifo *fifo, void *buffer, size_t count) in audio_utils_fifo_read()
/cts/tests/tests/opengl/src/android/opengl/cts/
DParamsTest.java45 IntBuffer buffer = IntBuffer.allocate(1); in testBufferParam() local
DByteBufferTest.java53 int[] buffer = new int[1]; in testMapBufferRange() local
/cts/tests/signature/lib/common/src/android/signature/cts/
DDexApiDocumentParser.java82 public Stream<DexMember> parseAsStream(ByteBuffer buffer) { in parseAsStream()
85 public Stream<DexMember> parseAsStream(ByteBuffer buffer, int lineLengthEstimate) { in parseAsStream()
/cts/apps/CtsVerifier/jni/audio_loopback/
Dsles.cpp92 char *buffer = pSles->rxBuffers[pSles->rxFront]; in recorderCallback() local
164 char *buffer = pSles->txBuffers[pSles->txFront]; in playerCallback() local
418 char *buffer = pSles->freeBuffers[pSles->freeFront]; in slesCreateServer() local
506 char *buffer = pSles->freeBuffers[pSles->freeFront]; in slesCreateServer() local
557 short buffer[pSles->bufSizeInFrames * pSles->channels]; in slesProcessNext() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DSignalGenerator.java32 static public void fillFloatSine(float[] buffer) { in fillFloatSine()
DAudioFiller.java36 public int fill(float[] buffer, int numFrames, int numChans); in fill()
/cts/tests/tests/nativehardware/src/android/hardware/nativehardware/cts/
DHardwareBufferVrTest.java46 HardwareBuffer buffer = HardwareBuffer.create(2, 4, format, 2, flags); in testLayeredBuffersForVr() local
/cts/suite/audio_quality/lib/src/task/
DTaskDownload.cpp46 android::sp<Buffer> buffer = getTestCase()->findBuffer(id); in run() local
/cts/tests/camera/libctscamera2jni/
Ddynamic-depth-validate-jni.cpp28 jbyte* buffer = env->GetByteArrayElements(dynamicDepthBuffer, NULL); in Java_android_hardware_camera2_cts_ImageReaderTest_validateDynamicDepthNative() local
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-2412/
Dpoc.cpp32 char buffer[16] = {0}; in writeParcelableHead() local
48 char buffer[100]; in writeRegion() local
/cts/hostsidetests/securitybulletin/securityPatch/includes/
DomxUtils.cpp154 android::IOMX::buffer_id *buffer) { in omxUtilsUseBuffer()
162 status_t omxUtilsEmptyBuffer(android::IOMX::buffer_id buffer, in omxUtilsEmptyBuffer()
167 status_t omxUtilsFillBuffer(android::IOMX::buffer_id buffer, in omxUtilsFillBuffer()
172 android::IOMX::buffer_id buffer) { in omxUtilsFreeBuffer()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/wavelib/
DPipeShort.java44 public int write(short[] buffer, int offset, int count) in write()
86 public int read(short[] buffer, int offset, int count) in read()
/cts/tests/tests/drm/jni/
Dandroid_drm_cts_NativeCodeTest.cpp38 char buffer[128]; in android_drm_cts_InstallDrmEngineTest() local
/cts/tools/release-parser/src/com/android/cts/releaseparser/
DOatParser.java94 private void praseOat(byte[] buffer) throws IllegalArgumentException { in praseOat()
227 private Map<String, String> getKeyValuePairMap(byte[] buffer, int start, int size) { in getKeyValuePairMap()
242 private String getString(byte[] buffer, int start, int end) { in getString()
/cts/tests/tests/nativemedia/aaudio/jni/
Dtest_session_id.cpp35 float *buffer = new float[kNumFrames * kChannelCount]; in checkSessionIdNone() local
82 float *buffer = new float[kNumFrames * kChannelCount]; in checkSessionIdAllocate() local

123456