Searched refs:buffer1 (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/os/src/android/os/cts/ |
D | SharedMemoryFileDescriptorTest.java | 47 try (ByteBufferSession buffer1 = in testCreation() argument 49 buffer1.fillSequentialPattern(); in testCreation() 74 try (ByteBufferSession buffer1 = in testDuplication() argument 76 buffer1.fillSequentialPattern(); in testDuplication() 95 try (ByteBufferSession buffer1 = in testDuplication() argument 98 assertTrue(buffer1.hasCleanMemory()); in testDuplication()
|
/cts/tests/tests/hardware/src/android/hardware/cts/ |
D | HardwareBufferTest.java | 198 HardwareBuffer buffer1 = HardwareBuffer.create(2, 4, HardwareBuffer.RGBA_8888, 1, in testGetId() local 200 assertNotNull(buffer1); in testGetId() 204 assertNotEquals(0, buffer1.getId()); in testGetId() 206 assertNotEquals(buffer1.getId(), buffer2.getId()); in testGetId() 207 buffer1.close(); in testGetId()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioRecordSharedAudioTest.java | 191 short[] buffer1 = new short[RECORD1_NUM_SAMPLES]; in testCapturesMatch() local 194 int samplesRead = record1.read(buffer1, 0, RECORD1_NUM_SAMPLES); in testCapturesMatch() 255 if (buffer2[j] != buffer1[j + offset1]) { in testCapturesMatch()
|
/cts/tests/tests/nativehardware/jni/ |
D | AHardwareBufferTest.cpp | 573 AHardwareBuffer* buffer1 = nullptr; in TEST() local 582 int err = AHardwareBuffer_allocate(&desc, &buffer1); in TEST() 584 EXPECT_NE(nullptr, buffer1); in TEST() 585 EXPECT_EQ(0, AHardwareBuffer_getId(buffer1, &id1)); in TEST()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaSyncTest.java | 328 ByteBuffer buffer1 = ByteBuffer.allocate(BUFFER_SIZE); in runFlush() local 330 mMediaSync.queueAudio(buffer1, INDEX_BEFORE_FLUSH, 0 /* presentationTimeUs */); in runFlush()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/usb/device/ |
D | UsbDeviceTestActivity.java | 946 ByteBuffer buffer1; 948 buffer1 = ByteBuffer.allocateDirect(1); 950 buffer1 = ByteBuffer.allocate(1); 955 isQueued = oneReceived.queue(buffer1);
|
/cts/tests/camera/src/android/hardware/cts/ |
D | CameraTest.java | 2148 byte[] buffer1 = new byte[size.width * size.height * bitsPerPixel / 8]; in testPreviewFpsRangeByCamera() 2163 mCamera.addCallbackBuffer(buffer1); in testPreviewFpsRangeByCamera()
|