Searched refs:hardwareBuffer (Results 1 – 3 of 3) sorted by relevance
37 AHardwareBuffer *hardwareBuffer = AHardwareBuffer_fromHardwareBuffer(env, hardwareBufferObj); in readHardwareBuffer() local38 if (hardwareBuffer == nullptr) { in readHardwareBuffer()46 if (AHardwareBuffer_lock(hardwareBuffer, AHARDWAREBUFFER_USAGE_CPU_READ_RARELY, in readHardwareBuffer()55 AHardwareBuffer_unlock(hardwareBuffer, &fence); in readHardwareBuffer()
142 private static native boolean nativeReadHardwareBuffer(HardwareBuffer hardwareBuffer, in nativeReadHardwareBuffer() argument1098 HardwareBuffer hardwareBuffer; in allocateHardwareBuffer() local1100 hardwareBuffer = HardwareBuffer.create( in allocateHardwareBuffer()1104 return hardwareBuffer; in allocateHardwareBuffer()1120 HardwareBuffer hardwareBuffer in prepareDirectChannel() local1123 hardwareBuffer != null); in prepareDirectChannel()1124 channel = mSensorManager.createDirectChannel(hardwareBuffer); in prepareDirectChannel()
222 val buffer = image.hardwareBuffer in testBasicDrawGpuConsumer()