Searched refs:buffer2 (Results 1 – 6 of 6) sorted by relevance
/cts/tests/tests/os/src/android/os/cts/ |
D | SharedMemoryFileDescriptorTest.java | 62 try (ByteBufferSession buffer2 = in testCreation() argument 64 assertTrue(buffer2.checkSequentialPattern()); in testCreation() 90 try (ByteBufferSession buffer2 = in testDuplication() argument 92 assertTrue(buffer2.checkSequentialPattern()); in testDuplication() 93 buffer2.clearMemory(); in testDuplication()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | HardwareBufferTest.java | 201 HardwareBuffer buffer2 = HardwareBuffer.create(2, 4, HardwareBuffer.RGBA_8888, 1, in testGetId() local 203 assertNotNull(buffer2); in testGetId() 205 assertNotEquals(0, buffer2.getId()); in testGetId() 206 assertNotEquals(buffer1.getId(), buffer2.getId()); in testGetId() 208 buffer2.close(); in testGetId()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioRecordSharedAudioTest.java | 217 short[] buffer2 = new short[RECORD2_NUM_SAMPLES]; in testCapturesMatch() local 219 samplesRead = record2.read(buffer2, 0, RECORD2_NUM_SAMPLES); in testCapturesMatch() 255 if (buffer2[j] != buffer1[j + offset1]) { in testCapturesMatch()
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferTest.cpp | 588 AHardwareBuffer* buffer2 = nullptr; in TEST() local 590 err = AHardwareBuffer_allocate(&desc, &buffer2); in TEST() 592 EXPECT_NE(nullptr, buffer2); in TEST() 593 EXPECT_EQ(0, AHardwareBuffer_getId(buffer2, &id2)); in TEST()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaSyncTest.java | 329 ByteBuffer buffer2 = ByteBuffer.allocate(BUFFER_SIZE); in runFlush() local 332 mMediaSync.queueAudio(buffer2, INDEX_AFTER_FLUSH, 0 /* presentationTimeUs */); in runFlush()
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 2149 byte[] buffer2 = new byte[size.width * size.height * bitsPerPixel / 8]; in testPreviewFpsRangeByCamera() 2164 mCamera.addCallbackBuffer(buffer2); in testPreviewFpsRangeByCamera()
|