OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:hardwareBuffer
(Results
1 - 4
of
4
) sorted by null
/cts/tests/sensor/jni/
android_hardware_cts_SensorDirectReportTest.cpp
37
AHardwareBuffer *
hardwareBuffer
= AHardwareBuffer_fromHardwareBuffer(env, hardwareBufferObj);
38
if (
hardwareBuffer
== nullptr) {
39
ALOGE("Cannot get AHardwareBuffer from
HardwareBuffer
");
46
if (AHardwareBuffer_lock(
hardwareBuffer
, AHARDWAREBUFFER_USAGE_CPU_READ_RARELY,
55
AHardwareBuffer_unlock(
hardwareBuffer
, &fence);
61
{ "nativeReadHardwareBuffer", "(Landroid/hardware/
HardwareBuffer
;[BIII)Z",
/frameworks/rs/
rsGrallocConsumer.cpp
148
AHardwareBuffer *
hardwareBuffer
= nullptr;
149
ret = AImage_getHardwareBuffer(img, &
hardwareBuffer
);
150
if (ret != AMEDIA_OK ||
hardwareBuffer
== nullptr) {
160
mAlloc[idx]->mHal.state.nativeBuffer =
hardwareBuffer
;
/frameworks/base/core/jni/
android_hardware_SensorManager.cpp
245
AHardwareBuffer *
hardwareBuffer
=
247
if (
hardwareBuffer
!= nullptr) {
248
nativeHandle = AHardwareBuffer_getNativeHandle(
hardwareBuffer
);
503
"(JJIILandroid/hardware/
HardwareBuffer
;)I",
/cts/tests/sensor/src/android/hardware/cts/
SensorDirectReportTest.java
20
import android.hardware.
HardwareBuffer
;
142
private static native boolean nativeReadHardwareBuffer(
HardwareBuffer
hardwareBuffer
,
149
private
HardwareBuffer
mHardwareBuffer;
150
private
HardwareBuffer
mHardwareBufferSecondary;
201
assertTrue("allocating
HardwareBuffer
returned null: "
[
all
...]
Completed in 80 milliseconds