/frameworks/base/native/android/ |
D | hardware_buffer_jni.cpp | 29 jobject AHardwareBuffer_toHardwareBuffer(JNIEnv* env, AHardwareBuffer* hardwareBuffer) { in AHardwareBuffer_toHardwareBuffer() argument 30 return android_hardware_HardwareBuffer_createFromAHardwareBuffer(env, hardwareBuffer); in AHardwareBuffer_toHardwareBuffer()
|
/frameworks/av/media/ndk/tests/ |
D | AImageReaderWindowHandleTest.cpp | 89 AHardwareBuffer *hardwareBuffer = nullptr; in HandleImageAvailable() local 90 ret = AImage_getHardwareBuffer(img.get(), &hardwareBuffer); in HandleImageAvailable() 92 ASSERT_NE(hardwareBuffer, nullptr); in HandleImageAvailable() 93 const native_handle_t *nh = AHardwareBuffer_getNativeHandle(hardwareBuffer); in HandleImageAvailable()
|
/frameworks/rs/ |
D | rsGrallocConsumer.cpp | 151 AHardwareBuffer *hardwareBuffer = nullptr; in lockNextBuffer() local 152 ret = AImage_getHardwareBuffer(img, &hardwareBuffer); in lockNextBuffer() 153 if (ret != AMEDIA_OK || hardwareBuffer == nullptr) { in lockNextBuffer() 163 mAlloc[idx]->mHal.state.nativeBuffer = hardwareBuffer; in lockNextBuffer()
|
/frameworks/base/core/java/android/hardware/ |
D | SystemSensorManager.java | 557 MemoryFile memoryFile, HardwareBuffer hardwareBuffer) { in createDirectChannelImpl() argument 583 } else if (hardwareBuffer != null) { in createDirectChannelImpl() 584 if (hardwareBuffer.getFormat() != HardwareBuffer.BLOB) { in createDirectChannelImpl() 587 if (hardwareBuffer.getHeight() != 1) { in createDirectChannelImpl() 590 if (hardwareBuffer.getWidth() < MIN_DIRECT_CHANNEL_BUFFER_SIZE) { in createDirectChannelImpl() 595 if ((hardwareBuffer.getUsage() & HardwareBuffer.USAGE_SENSOR_DIRECT_DATA) == 0) { in createDirectChannelImpl() 599 size = hardwareBuffer.getWidth(); in createDirectChannelImpl() 602 -1, hardwareBuffer); in createDirectChannelImpl()
|
D | SensorManager.java | 936 MemoryFile memoryFile, HardwareBuffer hardwareBuffer); in createDirectChannelImpl() argument
|
/frameworks/native/include/android/ |
D | hardware_buffer_jni.h | 58 AHardwareBuffer* hardwareBuffer) __INTRODUCED_IN(26);
|
/frameworks/base/core/jni/include/android_runtime/ |
D | android_hardware_HardwareBuffer.h | 32 JNIEnv* env, AHardwareBuffer* hardwareBuffer);
|
/frameworks/base/core/jni/ |
D | android_hardware_HardwareBuffer.cpp | 213 JNIEnv* env, AHardwareBuffer* hardwareBuffer) { in android_hardware_HardwareBuffer_createFromAHardwareBuffer() argument 214 GraphicBuffer* buffer = AHardwareBuffer_to_GraphicBuffer(hardwareBuffer); in android_hardware_HardwareBuffer_createFromAHardwareBuffer()
|
D | android_hardware_SensorManager.cpp | 245 AHardwareBuffer *hardwareBuffer = in nativeCreateDirectChannel() local 247 if (hardwareBuffer != nullptr) { in nativeCreateDirectChannel() 248 nativeHandle = AHardwareBuffer_getNativeHandle(hardwareBuffer); in nativeCreateDirectChannel()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 753 public static Bitmap wrapHardwareBuffer(@NonNull HardwareBuffer hardwareBuffer, in wrapHardwareBuffer() argument 755 if ((hardwareBuffer.getUsage() & HardwareBuffer.USAGE_GPU_SAMPLED_IMAGE) == 0) { in wrapHardwareBuffer() 758 int format = hardwareBuffer.getFormat(); in wrapHardwareBuffer() 762 return nativeWrapHardwareBufferBitmap(hardwareBuffer, colorSpace.getNativeInstance()); in wrapHardwareBuffer()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | AsyncSensorManager.java | 107 HardwareBuffer hardwareBuffer) { in createDirectChannelImpl() argument
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/hardware/ |
D | FakeSensorManager.java | 145 HardwareBuffer hardwareBuffer) { in createDirectChannelImpl() argument
|
/frameworks/ml/nn/common/ |
D | CpuExecutor.cpp | 277 AHardwareBuffer* hardwareBuffer, uint32_t size); 305 AHardwareBuffer* hardwareBuffer, in RunTimePoolInfoImpl() argument 310 mAHardwareBuffer(hardwareBuffer), in RunTimePoolInfoImpl() 359 AHardwareBuffer* hardwareBuffer = nullptr; in createFromHidlMemory() local 401 &desc, handle, AHARDWAREBUFFER_CREATE_FROM_HANDLE_METHOD_CLONE, &hardwareBuffer); in createFromHidlMemory() 408 status = AHardwareBuffer_lock(hardwareBuffer, usage, -1, nullptr, &gBuffer); in createFromHidlMemory() 420 hidlMemory, buffer, memory, hardwareBuffer, hidlMemory.size()); in createFromHidlMemory()
|
/frameworks/base/core/jni/android/graphics/ |
D | Bitmap.cpp | 1115 static jobject Bitmap_wrapHardwareBufferBitmap(JNIEnv* env, jobject, jobject hardwareBuffer, in Bitmap_wrapHardwareBufferBitmap() argument 1118 hardwareBuffer); in Bitmap_wrapHardwareBufferBitmap()
|