Home
last modified time | relevance | path

Searched refs:buffer2 (Results 1 – 5 of 5) sorted by relevance

/cts/suite/audio_quality/test/
DTaskCaseTest.cpp41 android::sp<Buffer> buffer2(new Buffer(4, 4, true)); in TEST_F() local
50 ASSERT_TRUE(mTaskCase->registerBuffer(BUFFER2, buffer2)); in TEST_F()
64 (list->back().second.get() == buffer2.get())) || in TEST_F()
65 ((list->front().second.get() == buffer2.get()) && in TEST_F()
111 Buffer buffer2(4, 4, true); in TEST_F() local
/cts/tests/tests/media/src/android/media/cts/
DAudioRecordSharedAudioTest.java216 short[] buffer2 = new short[RECORD2_NUM_SAMPLES]; in testCapturesMatch() local
218 samplesRead = record2.read(buffer2, 0, RECORD2_NUM_SAMPLES); in testCapturesMatch()
254 if (buffer2[j] != buffer1[j + offset1]) { in testCapturesMatch()
DMediaSyncTest.java328 ByteBuffer buffer2 = ByteBuffer.allocate(BUFFER_SIZE); in runFlush() local
331 mMediaSync.queueAudio(buffer2, INDEX_AFTER_FLUSH, 0 /* presentationTimeUs */); in runFlush()
/cts/tests/tests/nativehardware/jni/
DAHardwareBufferTest.cpp533 AHardwareBuffer* buffer2 = nullptr; in TEST() local
535 err = AHardwareBuffer_allocate(&desc, &buffer2); in TEST()
537 EXPECT_NE(nullptr, buffer2); in TEST()
538 EXPECT_EQ(0, AHardwareBuffer_getId(buffer2, &id2)); in TEST()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java2148 byte[] buffer2 = new byte[size.width * size.height * bitsPerPixel / 8]; in testPreviewFpsRangeByCamera()
2163 mCamera.addCallbackBuffer(buffer2); in testPreviewFpsRangeByCamera()