Home
last modified time | relevance | path

Searched refs:AHardwareBuffer_allocate (Results 1 – 21 of 21) sorted by relevance

/frameworks/native/libs/nativewindow/tests/benchmark/
Dbuffer_benchmarks.cc29 int status = AHardwareBuffer_allocate(&k720pDesc, &buffer); in BM_BufferAllocationDeallocation()
41 int status = AHardwareBuffer_allocate(&k720pDesc, &buffer); in BM_AHardwareBuffer_Id()
60 int status = AHardwareBuffer_allocate(&k720pDesc, &buffer); in BM_AHardwareBuffer_Desc()
/frameworks/base/libs/hwui/utils/
DNdkUtils.cpp24 if (AHardwareBuffer_allocate(&desc, &buffer) != 0) { in allocateAHardwareBuffer()
/frameworks/native/libs/nativewindow/tests/
DAHardwareBufferTest.cpp127 EXPECT_EQ(0, AHardwareBuffer_allocate(&desc, &buffer)); in TEST()
154 int res = AHardwareBuffer_allocate(&desc, &ahb1); in TEST()
248 ASSERT_EQ(0, AHardwareBuffer_allocate(&desc, &buffer)); in TEST()
/frameworks/libs/native_bridge_support/android_api/libnativewindow/
Dstubs_arm64.cc21 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_allocate);
94 INIT_INTERCEPTABLE_STUB_FUNCTION("libnativewindow.so", AHardwareBuffer_allocate); in init_stub_library()
Dstubs_riscv64.cc21 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_allocate);
94 INIT_INTERCEPTABLE_STUB_FUNCTION("libnativewindow.so", AHardwareBuffer_allocate); in init_stub_library()
Dstubs_arm.cc21 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_allocate);
94 INIT_INTERCEPTABLE_STUB_FUNCTION("libnativewindow.so", AHardwareBuffer_allocate); in init_stub_library()
/frameworks/base/libs/hwui/tests/unit/
DAutoBackendTextureReleaseTests.cpp35 int status = AHardwareBuffer_allocate(&desc, &buffer); in allocHardwareBuffer()
/frameworks/native/libs/nativewindow/rust/src/
Dlib.rs97 let status = unsafe { ffi::AHardwareBuffer_allocate(&buffer_desc, &mut ptr) }; in new()
316 let status = unsafe { ffi::AHardwareBuffer_allocate(&buffer_desc, &mut raw_buffer_ptr) }; in from_raw_allows_getters()
/frameworks/native/libs/nativewindow/
Dlibnativewindow.map.txt4 AHardwareBuffer_allocate;
DAHardwareBuffer.cpp136 int AHardwareBuffer_allocate(const AHardwareBuffer_Desc* desc, AHardwareBuffer** outBuffer) { in AHardwareBuffer_allocate() function
494 int result = AHardwareBuffer_allocate(&trialDesc, &trialBuffer); in AHardwareBuffer_isSupported()
/frameworks/native/services/sensorservice/tests/
Dsensorservicetest.cpp79 AHardwareBuffer_allocate(&desc, &hardwareBuffer); in testInvalidSharedMem_NoCrash()
/frameworks/native/libs/nativewindow/include/android/
Dhardware_buffer.h414 int AHardwareBuffer_allocate(const AHardwareBuffer_Desc* _Nonnull desc,
/frameworks/av/services/camera/virtualcamera/tests/
DJpegUtilTest.cc60 int status = AHardwareBuffer_allocate(&desc, &hwBufferPtr); in createHardwareBufferForTest()
/frameworks/base/libs/hwui/renderthread/
DReliableSurface.cpp163 int result = AHardwareBuffer_allocate(&desc, &newBuffer); in acquireFallbackBuffer()
/frameworks/libs/native_bridge_support/android_api/libandroid/
Dstubs_arm64.cc122 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_allocate);
489 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_allocate); in init_stub_library()
Dstubs_riscv64.cc122 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_allocate);
489 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_allocate); in init_stub_library()
Dstubs_arm.cc122 DEFINE_INTERCEPTABLE_STUB_FUNCTION(AHardwareBuffer_allocate);
489 INIT_INTERCEPTABLE_STUB_FUNCTION("libandroid.so", AHardwareBuffer_allocate); in init_stub_library()
/frameworks/base/native/android/
Dlibandroid.map.txt179 AHardwareBuffer_allocate; # introduced=26
/frameworks/av/services/camera/virtualcamera/
DVirtualCameraRenderThread.cc226 int status = AHardwareBuffer_allocate(&desc, &hwBufferPtr); in allocateTemporaryFramebuffer()
/frameworks/av/media/codec2/sfplugin/utils/
DCodec2BufferUtils.cpp451 int ret = AHardwareBuffer_allocate(&desc, &buffer); in GetYuv420FlexibleLayout()
/frameworks/av/media/codec2/hal/client/
DGraphicsTracker.cpp641 int ret = AHardwareBuffer_allocate(&desc, &buf); in _allocate()