Home
last modified time | relevance | path

Searched refs:HardwareBuffer (Results 1 – 25 of 29) sorted by relevance

12

/frameworks/base/core/java/android/hardware/
DHardwareBuffer.java46 public final class HardwareBuffer implements Parcelable, AutoCloseable { class
160 public static HardwareBuffer create( in create()
163 if (!HardwareBuffer.isSupportedFormat(format)) { in create()
184 return new HardwareBuffer(nativeObject); in create()
201 if (!HardwareBuffer.isSupportedFormat(format)) { in isSupported()
227 public static HardwareBuffer createFromGraphicBuffer(@NonNull GraphicBuffer graphicBuffer) { in createFromGraphicBuffer()
229 return new HardwareBuffer(nativeObject); in createFromGraphicBuffer()
237 private HardwareBuffer(long nativeObject) { in HardwareBuffer() method in HardwareBuffer
240 ClassLoader loader = HardwareBuffer.class.getClassLoader(); in HardwareBuffer()
379 public static final @android.annotation.NonNull Parcelable.Creator<HardwareBuffer> CREATOR =
[all …]
DHardwareBuffer.aidl19 parcelable HardwareBuffer;
DSystemSensorManager.java65 long nativeInstance, long size, int channelType, int fd, HardwareBuffer buffer); in nativeCreateDirectChannel()
557 MemoryFile memoryFile, HardwareBuffer hardwareBuffer) { in createDirectChannelImpl()
584 if (hardwareBuffer.getFormat() != HardwareBuffer.BLOB) { in createDirectChannelImpl()
595 if ((hardwareBuffer.getUsage() & HardwareBuffer.USAGE_SENSOR_DIRECT_DATA) == 0) { in createDirectChannelImpl()
DSensorManager.java930 public SensorDirectChannel createDirectChannel(HardwareBuffer mem) { in createDirectChannel()
936 MemoryFile memoryFile, HardwareBuffer hardwareBuffer); in createDirectChannelImpl()
/frameworks/av/media/codec2/vndk/include/
Dtypes.h107 using HardwareBuffer = ::android::hardware::graphics::common::V1_2:: variable
108 HardwareBuffer;
115 bool b2h(sp<GraphicBuffer> const& from, HardwareBuffer* to,
120 bool h2b(HardwareBuffer const& from, sp<GraphicBuffer>* to);
/frameworks/native/libs/gui/include/gui/bufferqueue/2.0/
Dtypes.h106 using HardwareBuffer = ::android::hardware::graphics::common::V1_2:: variable
107 HardwareBuffer;
114 bool b2h(sp<GraphicBuffer> const& from, HardwareBuffer* to,
119 bool h2b(HardwareBuffer const& from, sp<GraphicBuffer>* to);
DB2HGraphicBufferProducer.h47 using ::android::hardware::graphics::common::V1_2::HardwareBuffer;
72 HardwareBuffer const& buffer,
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMyLittleTextureView.java29 import android.hardware.HardwareBuffer;
48 HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE | HardwareBuffer.USAGE_GPU_COLOR_OUTPUT); in onCreate()
/frameworks/base/media/java/android/media/
DImage.java22 import android.hardware.HardwareBuffer;
223 public HardwareBuffer getHardwareBuffer() { in getHardwareBuffer()
DImageReader.java23 import android.hardware.HardwareBuffer;
24 import android.hardware.HardwareBuffer.Usage;
135 format == ImageFormat.PRIVATE ? 0 : HardwareBuffer.USAGE_CPU_READ_OFTEN); in newInstance()
882 public HardwareBuffer getHardwareBuffer() { in getHardwareBuffer()
1031 private synchronized native HardwareBuffer nativeGetHardwareBuffer(); in nativeGetHardwareBuffer()
DImageWriter.java26 import android.hardware.HardwareBuffer;
755 public HardwareBuffer getHardwareBuffer() { in getHardwareBuffer()
883 private synchronized native HardwareBuffer nativeGetHardwareBuffer(); in nativeGetHardwareBuffer()
/frameworks/native/libs/gui/bufferqueue/2.0/
DB2HGraphicBufferProducer.cpp88 HardwareBuffer hBuffer{}; in requestBuffer()
147 HardwareBuffer hBuffer{}; in detachNextBuffer()
160 HardwareBuffer const& hBuffer, in attachBuffer()
Dtypes.cpp260 bool b2h(sp<GraphicBuffer> const& from, HardwareBuffer* to, in b2h()
280 bool h2b(HardwareBuffer const& from, sp<GraphicBuffer>* to) { in h2b()
DH2BGraphicBufferProducer.cpp90 HardwareBuffer const& hBuffer, in requestBuffer()
201 HardwareBuffer const& hBuffer, in detachNextBuffer()
220 HardwareBuffer hBuffer{}; in attachBuffer()
/frameworks/base/core/java/android/app/
DSharedElementCallback.java27 import android.hardware.HardwareBuffer;
249 bitmap = Bitmap.wrapHardwareBuffer(HardwareBuffer.createFromGraphicBuffer(buffer), in onCreateSnapshotView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAsyncSensorManager.java20 import android.hardware.HardwareBuffer;
107 HardwareBuffer hardwareBuffer) { in createDirectChannelImpl()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
DFakeSensorManager.java20 import android.hardware.HardwareBuffer;
145 HardwareBuffer hardwareBuffer) { in createDirectChannelImpl()
/frameworks/av/media/codec2/vndk/
Dtypes.cpp267 bool b2h(sp<GraphicBuffer> const& from, HardwareBuffer* to, in b2h()
287 bool h2b(HardwareBuffer const& from, sp<GraphicBuffer>* to) { in h2b()
/frameworks/base/graphics/java/android/graphics/
DBitmap.java27 import android.hardware.HardwareBuffer;
753 public static Bitmap wrapHardwareBuffer(@NonNull HardwareBuffer hardwareBuffer, in wrapHardwareBuffer()
755 if ((hardwareBuffer.getUsage() & HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE) == 0) { in wrapHardwareBuffer()
772 try (HardwareBuffer hb = HardwareBuffer.createFromGraphicBuffer(graphicBuffer)) { in wrapHardwareBuffer()
2276 private static native Bitmap nativeWrapHardwareBufferBitmap(HardwareBuffer buffer, in nativeWrapHardwareBufferBitmap()
/frameworks/base/core/tests/coretests/src/android/graphics/
DBitmapTest.java19 import android.hardware.HardwareBuffer;
249 Bitmap.wrapHardwareBuffer(HardwareBuffer.createFromGraphicBuffer(buffer), null); in testWrapHardwareBufferWithSrgbColorSpace()
263 HardwareBuffer.createFromGraphicBuffer(buffer), in testWrapHardwareBufferWithDisplayP3ColorSpace()
/frameworks/layoutlib/bridge/src/android/graphics/
DBitmap_Delegate.java33 import android.hardware.HardwareBuffer;
625 /*package*/ static Bitmap nativeWrapHardwareBufferBitmap(HardwareBuffer buffer, in nativeWrapHardwareBufferBitmap()
/frameworks/av/media/codec2/vndk/platform/
DC2BqBuffer.cpp48 using HBuffer = ::android::hardware::graphics::common::V1_2::HardwareBuffer;
/frameworks/base/api/
Dremoved.txt268 public final class HardwareBuffer implements java.lang.AutoCloseable android.os.Parcelable {
/frameworks/base/non-updatable-api/
Dremoved.txt268 public final class HardwareBuffer implements java.lang.AutoCloseable android.os.Parcelable {
/frameworks/base/config/
Dpreloaded-classes1400 android.hardware.HardwareBuffer$1
1401 android.hardware.HardwareBuffer

12