Home
last modified time | relevance | path

Searched refs:getBuffer (Results 1 – 25 of 59) sorted by relevance

123

/cts/tests/tests/graphics/src/android/graphics/fonts/
DFontTest.java167 assertNotNull(font.getBuffer()); in testBuilder_buffer()
189 assertNotNull(font.getBuffer()); in testBuilder_buffer_ttc()
212 assertNotNull(font.getBuffer()); in testBuilder_buffer_vf()
234 assertNotNull(font.getBuffer()); in testBuilder_buffer_override()
250 assertNotNull(font.getBuffer()); in testBuilder_buffer_override()
285 assertNotNull(font.getBuffer()); in testBuilder_file()
312 assertNotNull(font.getBuffer()); in testBuilder_file_ttc()
340 assertNotNull(font.getBuffer()); in testBuilder_file_vf()
367 assertNotNull(font.getBuffer()); in testBuilder_file_override()
387 assertNotNull(font.getBuffer()); in testBuilder_file_override()
[all …]
/cts/tests/surfacecontrol/surfacevalidator/src/android/view/cts/surfacevalidator/
DPixelChecker.java43 ByteBuffer buffer = plane.getBuffer(); in getNumMatchingPixels()
61 ByteBuffer buffer = plane.getBuffer(); in isEmpty()
DRectChecker.java64 ByteBuffer buffer = plane.getBuffer(); in validatePlaneForTarget()
/cts/tests/tests/media/common/src/android/media/cts/
DCodecImage.java206 public abstract ByteBuffer getBuffer(); in getBuffer() method in CodecImage.Plane
DCodecUtils.java108 public ByteBuffer getBuffer() { in getBuffer() method in CodecUtils.ImageWrapper.PlaneWrapper
109 return mPlane.getBuffer(); in getBuffer()
DYUVImage.java130 public ByteBuffer getBuffer() { in getBuffer() method in YUVImage.YUVPlane
/cts/tests/tests/virtualdevice/camera/src/android/virtualdevice/cts/camera/
DVirtualCameraUtils.java174 int y = toUnsignedInt(planes[0].getBuffer().get( in yuv420ImageHasColor()
176 int u = toUnsignedInt(planes[1].getBuffer().get( in yuv420ImageHasColor()
178 int v = toUnsignedInt(planes[2].getBuffer().get( in yuv420ImageHasColor()
191 ImageDecoder.createSource(image.getPlanes()[0].getBuffer())).copy( in jpegImageHasColor()
324 ImageDecoder.createSource(image.getPlanes()[0].getBuffer())).copy( in jpegImageToBitmap()
/cts/tests/media/common/src/android/mediav2/common/cts/
DCodecDecoderBlockModelTestBase.java56 public ByteBuffer getBuffer() { in getBuffer() method in CodecDecoderBlockModelTestBase.LinearBlockWrapper
155 mExtractor.readSampleData(mLinearInputBlock.getBuffer(), mLinearInputBlock.getOffset()); in enqueueInput()
DCodecDecoderBlockModelDrmTestBase.java111 mExtractor.readSampleData(mLinearInputBlock.getBuffer(), mLinearInputBlock.getOffset()); in enqueueInput()
DCodecEncoderBlockModelTestBase.java114 mLinearInputBlock.getBuffer().put(mInputData, mInputBufferReadOffset, size); in enqueueInput()
DCodecDecoderBlockModelMultiAccessUnitDrmTestBase.java130 mExtractor.readSampleData(mLinearInputBlock.getBuffer(), in enqueueInput()
/cts/tests/sensor/jni/
DSensorTest.h111 char * getBuffer() const;
DSensorTestCases.cpp162 ASSERT_NE(mem->getBuffer(), nullptr); in testDirectReport()
172 char* buffer = mem->getBuffer(); in testDirectReport()
DSensorTest.cpp106 char * TestSharedMemory::getBuffer() const { in getBuffer() function in android::SensorTest::TestSharedMemory
/cts/tests/media/src/android/mediav2/cts/
DAudioEncoderTest.java172 cdtb.decodeToMemory(mOutputBuff.getBuffer(), mInfoList, mOutFormat, listOfDecoders.get(0)); in encodeAndValidate()
180 ByteBuffer out = cdtb.getOutputManager().getBuffer(); in encodeAndValidate()
DDecoderPushBlankBufferOnStopTest.java103 ByteBuffer buffer = plane.getBuffer(); in isBlankFrame()
/cts/tests/tests/media/common/jni/
DNdkMediaCodec-jni.cpp246 uint8_t *(*getBuffer)(AMediaCodec*, size_t, size_t*)) { in AMediaCodecGetBuffer()
249 uint8_t *buf = getBuffer( in AMediaCodecGetBuffer()
/cts/tests/tests/graphics/jni/
Dandroid_graphics_cts_FrameRateCtsActivity.cpp113 AHardwareBuffer* getBuffer() const { return mBuffer; } in getBuffer() function in __anonb7bd83a40111::Buffer
276 ASurfaceTransaction_setBuffer(transaction, surfaceControl, buffer.getBuffer(), -1); in surfaceControlPostBuffer()
/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DSsimHelper.java145 ByteBuffer lumaByteBuffer = lumaPlane.getBuffer(); in extractLumaChannelBuffer()
/cts/tests/tests/graphics/src/android/graphics/text/cts/
DTextRunShaperTest.java202 assertThat(font.getBuffer()).isEqualTo(originalFont.getBuffer()); in shapeText_FontCreateFromNative()
/cts/tests/input/src/android/input/cts/
DVirtualDisplayActivityScenarioRule.kt187 val buffer = image.planes[0].getBuffer() in getScreenshot()
/cts/tests/videocodec/src/android/videocodec/cts/
DVideoDecodeEditEncodeTest.java385 public ByteBuffer getBuffer() { in getBuffer() method in VideoDecodeEditEncodeTest.VideoChunks
722 muxOutput(tmpPathA, muxerFormat, outputData[0].getMediaFormat(), outputData[0].getBuffer(), in testVideoEdit()
724 muxOutput(tmpPathB, muxerFormat, outputData[1].getMediaFormat(), outputData[1].getBuffer(), in testVideoEdit()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/bokeh/
DCameraBokehActivity.java504 ByteBuffer yBuffer = img.getPlanes()[0].getBuffer(); in onImageAvailable()
505 ByteBuffer uBuffer = img.getPlanes()[1].getBuffer(); in onImageAvailable()
506 ByteBuffer vBuffer = img.getPlanes()[2].getBuffer(); in onImageAvailable()
546 ByteBuffer jpegBuffer = img.getPlanes()[0].getBuffer(); in onImageAvailable()
/cts/tests/tests/media/projection/src/android/media/projection/cts/
DMediaProjectionMirroringTest.java482 final ByteBuffer buffer = plane.getBuffer(); in onImageAvailable()
487 bitmap.copyPixelsFromBuffer(plane.getBuffer()); in onImageAvailable()
/cts/tests/camera/src/android/hardware/camera2/cts/
DFastBasicsTest.java132 ByteBuffer jpegBuffer = img.getPlanes()[0].getBuffer(); in camera2TestByCamera()

123