Home
last modified time | relevance | path

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

/cts/tests/sensor/jni/
Dandroid_hardware_cts_SensorDirectReportTest.cpp37 AHardwareBuffer *hardwareBuffer = AHardwareBuffer_fromHardwareBuffer(env, hardwareBufferObj); in readHardwareBuffer() local
38 if (hardwareBuffer == nullptr) { in readHardwareBuffer()
46 if (AHardwareBuffer_lock(hardwareBuffer, AHARDWAREBUFFER_USAGE_CPU_READ_RARELY, in readHardwareBuffer()
55 AHardwareBuffer_unlock(hardwareBuffer, &fence); in readHardwareBuffer()
/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java142 private static native boolean nativeReadHardwareBuffer(HardwareBuffer hardwareBuffer, in nativeReadHardwareBuffer() argument
1098 HardwareBuffer hardwareBuffer; in allocateHardwareBuffer() local
1100 hardwareBuffer = HardwareBuffer.create( in allocateHardwareBuffer()
1104 return hardwareBuffer; in allocateHardwareBuffer()
1120 HardwareBuffer hardwareBuffer in prepareDirectChannel() local
1123 hardwareBuffer != null); in prepareDirectChannel()
1124 channel = mSensorManager.createDirectChannel(hardwareBuffer); in prepareDirectChannel()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareRendererTests.kt222 val buffer = image.hardwareBuffer in testBasicDrawGpuConsumer()