Home
last modified time | relevance | path

Searched refs:hardwareBuffer (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/native/android/
Dhardware_buffer_jni.cpp29 jobject AHardwareBuffer_toHardwareBuffer(JNIEnv* env, AHardwareBuffer* hardwareBuffer) { in AHardwareBuffer_toHardwareBuffer() argument
30 return android_hardware_HardwareBuffer_createFromAHardwareBuffer(env, hardwareBuffer); in AHardwareBuffer_toHardwareBuffer()
/frameworks/rs/
DrsGrallocConsumer.cpp148 AHardwareBuffer *hardwareBuffer = nullptr; in lockNextBuffer() local
149 ret = AImage_getHardwareBuffer(img, &hardwareBuffer); in lockNextBuffer()
150 if (ret != AMEDIA_OK || hardwareBuffer == nullptr) { in lockNextBuffer()
160 mAlloc[idx]->mHal.state.nativeBuffer = hardwareBuffer; in lockNextBuffer()
/frameworks/base/core/java/android/hardware/
DSystemSensorManager.java554 MemoryFile memoryFile, HardwareBuffer hardwareBuffer) { in createDirectChannelImpl() argument
580 } else if (hardwareBuffer != null) { in createDirectChannelImpl()
581 if (hardwareBuffer.getFormat() != HardwareBuffer.BLOB) { in createDirectChannelImpl()
584 if (hardwareBuffer.getHeight() != 1) { in createDirectChannelImpl()
587 if (hardwareBuffer.getWidth() < MIN_DIRECT_CHANNEL_BUFFER_SIZE) { in createDirectChannelImpl()
592 if ((hardwareBuffer.getUsage() & HardwareBuffer.USAGE_SENSOR_DIRECT_DATA) == 0) { in createDirectChannelImpl()
596 size = hardwareBuffer.getWidth(); in createDirectChannelImpl()
599 -1, hardwareBuffer); in createDirectChannelImpl()
DSensorManager.java932 MemoryFile memoryFile, HardwareBuffer hardwareBuffer); in createDirectChannelImpl() argument
/frameworks/native/include/android/
Dhardware_buffer_jni.h46 AHardwareBuffer* hardwareBuffer);
/frameworks/base/core/jni/include/android_runtime/
Dandroid_hardware_HardwareBuffer.h32 JNIEnv* env, AHardwareBuffer* hardwareBuffer);
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp191 JNIEnv* env, AHardwareBuffer* hardwareBuffer) { in android_hardware_HardwareBuffer_createFromAHardwareBuffer() argument
192 GraphicBuffer* buffer = AHardwareBuffer_to_GraphicBuffer(hardwareBuffer); in android_hardware_HardwareBuffer_createFromAHardwareBuffer()
Dandroid_hardware_SensorManager.cpp245 AHardwareBuffer *hardwareBuffer = in nativeCreateDirectChannel() local
247 if (hardwareBuffer != nullptr) { in nativeCreateDirectChannel()
248 nativeHandle = AHardwareBuffer_getNativeHandle(hardwareBuffer); in nativeCreateDirectChannel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DAsyncSensorManager.java87 HardwareBuffer hardwareBuffer) { in createDirectChannelImpl() argument
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/
DFakeSensorManager.java135 HardwareBuffer hardwareBuffer) { in createDirectChannelImpl() argument