/aosp14/frameworks/base/core/tests/coretests/src/android/graphics/ |
H A D | TypefaceEqualsTest.java | 45 Font jaFont = new Font.Builder(masterFont.getBuffer(), new File("fonts/a3em.ttf"), "ja") in testFontEqualWithLocale() 47 Font jaFont2 = new Font.Builder(masterFont.getBuffer(), new File("fonts/a3em.ttf"), "ja") in testFontEqualWithLocale() 49 Font koFont = new Font.Builder(masterFont.getBuffer(), new File("fonts/a3em.ttf"), "ko") in testFontEqualWithLocale()
|
/aosp14/frameworks/base/core/java/android/os/ |
H A D | HidlMemoryUtil.java | 152 ByteBuffer buffer = getBuffer(mem); in hidlMemoryToByteArray() 178 ByteBuffer buffer = getBuffer(mem); in hidlMemoryToByteList() 223 private static ByteBuffer getBuffer(@NonNull HidlMemory mem) { in getBuffer() method in HidlMemoryUtil
|
/aosp14/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | Asset.h | 97 virtual const void* getBuffer(bool aligned) = 0; 277 const void* getBuffer(bool aligned) override; 335 virtual const void* getBuffer(bool aligned);
|
/aosp14/frameworks/base/core/java/android/hardware/camera2/impl/ |
H A D | CameraExtensionJpegProcessor.java | 309 ByteBuffer jpegBuffer = jpegImage.getPlanes()[0].getBuffer(); in onImageAvailable() 347 lumaPlane.getBuffer(), lumaPlane.getPixelStride(), lumaPlane.getRowStride(), in onImageAvailable() 348 crPlane.getBuffer(), crPlane.getPixelStride(), crPlane.getRowStride(), in onImageAvailable() 349 cbPlane.getBuffer(), cbPlane.getPixelStride(), cbPlane.getRowStride(), in onImageAvailable()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/appclips/ |
H A D | AppClipsScreenshotHelperServiceTest.java | 83 when(mScreenshotSync.getBuffer()).thenReturn(null); in bubblesPresent_screenshotFailed_shouldReturnNull() 93 when(mScreenshotSync.getBuffer()).thenReturn(mScreenshotHardwareBuffer); in bubblesPresent_screenshotSuccess_shouldReturnScreenshot()
|
/aosp14/frameworks/base/libs/hwui/ |
H A D | VertexBuffer.h | 95 TYPE* src = (TYPE*)srcBuffer.getBuffer(); in copyInto() 124 const void* getBuffer() const { return mBuffer; } in getBuffer() function
|
/aosp14/frameworks/base/libs/androidfw/tests/ |
H A D | AttributeResolution_bench.cpp | 56 if (xml_tree.setTo(asset->getBuffer(true), asset->getLength(), false /*copyData*/) != NO_ERROR) { in BM_ApplyStyle() 129 if (xml_tree.setTo(asset->getBuffer(true), asset->getLength(), false /*copyData*/) != NO_ERROR) { in BM_ApplyStyleFramework()
|
/aosp14/frameworks/base/graphics/java/android/graphics/fonts/ |
H A D | Font.java | 242 mBuffer = font.getBuffer(); in Builder() 544 public @NonNull ByteBuffer getBuffer() { in getBuffer() method in Font 777 ByteBuffer myBuffer = getBuffer(); in isSameSource() 778 ByteBuffer otherBuffer = other.getBuffer(); in isSameSource() 859 + ", buffer=" + getBuffer() in toString()
|
/aosp14/frameworks/base/core/java/android/window/ |
H A D | ScreenCapture.java | 82 return syncScreenCapture.getBuffer(); in captureDisplay() 142 return syncScreenCapture.getBuffer(); in captureLayers() 764 public ScreenshotHardwareBuffer getBuffer() { in createSyncCaptureListener() method 790 public abstract ScreenshotHardwareBuffer getBuffer(); in getBuffer() method in SynchronousScreenCaptureListener
|
/aosp14/frameworks/base/libs/androidfw/ |
H A D | Asset.cpp | 487 getBuffer(false); in read() 595 const void* _FileAsset::getBuffer(bool aligned) in getBuffer() function in _FileAsset 834 if (getBuffer(false) == NULL) in read() 903 const void* _CompressedAsset::getBuffer(bool) in getBuffer() function in _CompressedAsset 956 return incfs::map_ptr<void>(getBuffer(aligned)); in getIncFsBuffer()
|
H A D | ApkAssets.cpp | 73 StringPiece idmap_data(reinterpret_cast<const char*>(idmap_asset->getBuffer(true /* aligned */)), in LoadOverlay()
|
/aosp14/frameworks/base/core/java/android/hardware/camera2/ |
H A D | DngCreator.java | 444 ByteBuffer buf = planes[0].getBuffer(); in writeImage() 560 ByteBuffer yBuf = yPlane.getBuffer(); in convertToRGB() 561 ByteBuffer uBuf = uPlane.getBuffer(); in convertToRGB() 562 ByteBuffer vBuf = vPlane.getBuffer(); in convertToRGB()
|
/aosp14/frameworks/base/test-base/src/junit/framework/ |
H A D | TestFailure.java | 49 StringBuffer buffer= stringWriter.getBuffer(); in trace()
|
/aosp14/frameworks/base/packages/Shell/src/com/android/shell/ |
H A D | Screenshooter.java | 55 final ScreenshotHardwareBuffer screenshotBuffer = syncScreenCapture.getBuffer(); in takeScreenshot()
|
/aosp14/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | TextShaperTest.java | 42 String psName = FontFileUtil.getPostScriptName(font.getBuffer(), 0); in testFontWithPath()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/appclips/ |
H A D | AppClipsScreenshotHelperService.java | 64 ScreenshotHardwareBuffer screenshotHardwareBuffer = screenshotSync.getBuffer(); in onBind()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/ |
H A D | ImageCaptureImpl.kt | 46 val buffer = syncScreenCapture.getBuffer()
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | ImageUtils.java | 170 srcBuffer = srcPlanes[i].getBuffer(); in imageCopy() 171 dstBuffer = dstPlanes[i].getBuffer(); in imageCopy()
|
H A D | Image.java | 519 public abstract ByteBuffer getBuffer(); in getBuffer() method in Image.Plane
|
/aosp14/frameworks/base/services/core/java/com/android/server/hdmi/ |
H A D | CecMessageBuffer.java | 110 public List<HdmiCecMessage> getBuffer() { in getBuffer() method in CecMessageBuffer
|
/aosp14/frameworks/base/core/tests/coretests/src/android/app/timezonedetector/ |
H A D | ManualTimeZoneSuggestionTest.java | 73 assertTrue(sw.getBuffer().length() > 0); in testPrintCommandLineOpts()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/ |
H A D | WatchdogDiagnosticsTest.java | 151 stringBuffer.getBuffer().setLength(0); in printAnnotatedStack()
|
/aosp14/frameworks/base/cmds/idmap2/tests/ |
H A D | XmlParserTests.cpp | 39 return XmlParser::Create(data->getBuffer(true /* aligned*/), data->getLength(), in CreateTestParser()
|
/aosp14/frameworks/base/native/android/ |
H A D | asset_manager.cpp | 172 return asset->mAsset->getBuffer(false); in AAsset_getBuffer()
|
/aosp14/frameworks/base/startop/view_compiler/ |
H A D | apk_layout_compiler.cc | 118 xml_tree.setTo(asset->getBuffer(/*wordAligned=*/true), asset->getLength(), in CompileApkAssetsLayouts()
|