Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/
DHardwareBuffer.java41 public final class HardwareBuffer implements Parcelable, AutoCloseable { class
127 public static HardwareBuffer create(int width, int height, @Format int format, int layers, in create()
129 if (!HardwareBuffer.isSupportedFormat(format)) { in create()
150 return new HardwareBuffer(nativeObject); in create()
157 private HardwareBuffer(long nativeObject) { in HardwareBuffer() method in HardwareBuffer
160 ClassLoader loader = HardwareBuffer.class.getClassLoader(); in HardwareBuffer()
300 public static final Parcelable.Creator<HardwareBuffer> CREATOR =
301 new Parcelable.Creator<HardwareBuffer>() {
302 public HardwareBuffer createFromParcel(Parcel in) {
305 return new HardwareBuffer(nativeObject);
[all …]
DHardwareBuffer.aidl19 parcelable HardwareBuffer;
DSystemSensorManager.java64 long nativeInstance, long size, int channelType, int fd, HardwareBuffer buffer); in nativeCreateDirectChannel()
554 MemoryFile memoryFile, HardwareBuffer hardwareBuffer) { in createDirectChannelImpl()
581 if (hardwareBuffer.getFormat() != HardwareBuffer.BLOB) { in createDirectChannelImpl()
592 if ((hardwareBuffer.getUsage() & HardwareBuffer.USAGE_SENSOR_DIRECT_DATA) == 0) { in createDirectChannelImpl()
DSensorManager.java925 public SensorDirectChannel createDirectChannel(HardwareBuffer mem) { in createDirectChannel()
931 MemoryFile memoryFile, HardwareBuffer hardwareBuffer); in createDirectChannelImpl()
/frameworks/base/media/java/android/media/
DImageReader.java21 import android.hardware.HardwareBuffer;
733 boolean isAllowed = (usage == HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE); in isFormatUsageCombinationAllowed()
734 isAllowed = isAllowed || (usage == HardwareBuffer.USAGE_VIDEO_ENCODE); in isFormatUsageCombinationAllowed()
736 (HardwareBuffer.USAGE_VIDEO_ENCODE | HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE)); in isFormatUsageCombinationAllowed()
740 return ((usage == HardwareBuffer.USAGE_CPU_READ_RARELY) || in isFormatUsageCombinationAllowed()
741 (usage == HardwareBuffer.USAGE_CPU_READ_OFTEN)); in isFormatUsageCombinationAllowed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
DFakeSensorManager.java20 import android.hardware.HardwareBuffer;
113 HardwareBuffer hardwareBuffer) { in createDirectChannelImpl()
/frameworks/base/api/
Dremoved.txt195 public final class HardwareBuffer implements java.lang.AutoCloseable android.os.Parcelable {
Dsystem-removed.txt193 public final class HardwareBuffer implements java.lang.AutoCloseable android.os.Parcelable {
Dtest-removed.txt195 public final class HardwareBuffer implements java.lang.AutoCloseable android.os.Parcelable {
Dcurrent.txt14708 public final class HardwareBuffer implements java.lang.AutoCloseable android.os.Parcelable {
14710 method public static android.hardware.HardwareBuffer create(int, int, int, int, long);
14720 … field public static final android.os.Parcelable.Creator<android.hardware.HardwareBuffer> CREATOR;
14880 …d public android.hardware.SensorDirectChannel createDirectChannel(android.hardware.HardwareBuffer);
Dsystem-current.txt15488 public final class HardwareBuffer implements java.lang.AutoCloseable android.os.Parcelable {
15490 method public static android.hardware.HardwareBuffer create(int, int, int, int, long);
15500 … field public static final android.os.Parcelable.Creator<android.hardware.HardwareBuffer> CREATOR;
15666 …d public android.hardware.SensorDirectChannel createDirectChannel(android.hardware.HardwareBuffer);
/frameworks/base/
Dpreloaded-classes1136 android.hardware.HardwareBuffer
1137 android.hardware.HardwareBuffer$1
Dcompiled-classes-phone1482 android.hardware.HardwareBuffer
1483 android.hardware.HardwareBuffer$1
/frameworks/base/services/
Dprofile-classes968 Landroid/hardware/HardwareBuffer;
969 Landroid/hardware/HardwareBuffer$1;