Home
last modified time | relevance | path

Searched refs:AllocateBufferHandle (Results 1 - 10 of 10) sorted by relevance

/foundation/graphic/graphic_surface/buffer_handle/test/unittest/
H A Dbuffer_handle_test.cpp42 * CaseDescription: AllocateBufferHandle
44 HWTEST_F(BufferHandleTest, AllocateBufferHandle, Function | SmallTest | Level2) in HWTEST_F()
48 ASSERT_EQ(nullptr, AllocateBufferHandle(fds, ints)); in HWTEST_F()
49 ASSERT_EQ(nullptr, AllocateBufferHandle(fds, buffer_handle_reserve_max_size)); in HWTEST_F()
50 ASSERT_EQ(nullptr, AllocateBufferHandle(buffer_handle_reserve_max_size, ints)); in HWTEST_F()
51 BufferHandle *handle = AllocateBufferHandle(buffer_handle_reserve_max_size, buffer_handle_reserve_max_size); in HWTEST_F()
61 * CaseDescription: AllocateBufferHandle
67 auto test1 = AllocateBufferHandle(fds, ints); in HWTEST_F()
70 auto test2 = AllocateBufferHandle(fds, testsize); in HWTEST_F()
73 auto test3 = AllocateBufferHandle(testsiz in HWTEST_F()
[all...]
/foundation/graphic/graphic_surface/interfaces/inner_api/buffer_handle/
H A Dbuffer_handle_utils.h32 BufferHandle *AllocateBufferHandle(uint32_t reserveInts, uint32_t reserveFds);
35 * @Description: Free buffer handle allocated by AllocateBufferHandle, and close the fd at the same time.
/foundation/graphic/graphic_surface/interfaces/inner_api/utils/
H A Dbuffer_handle_utils.h32 BufferHandle *AllocateBufferHandle(uint32_t reserveInts, uint32_t reserveFds);
35 * @Description: Free buffer handle allocated by AllocateBufferHandle, and close the fd at the same time.
/foundation/graphic/surface_lite/frameworks/
H A Dbuffer_manager.cpp98 BufferHandle* BufferManager::AllocateBufferHandle(SurfaceBufferImpl& buffer) const in AllocateBufferHandle() function in OHOS::BufferManager
221 BufferHandle* bufferHandle = AllocateBufferHandle(buffer); in MapBuffer()
254 BufferHandle* bufferHandle = AllocateBufferHandle(buffer); in UnmapBuffer()
267 BufferHandle* bufferHandle = AllocateBufferHandle(buffer); in FlushCache()
H A Dbuffer_manager.h89 BufferHandle* AllocateBufferHandle(SurfaceBufferImpl& buffer) const;
/foundation/graphic/graphic_surface/buffer_handle/src/
H A Dbuffer_handle.cpp37 BufferHandle *AllocateBufferHandle(uint32_t reserveFds, uint32_t reserveInts) in AllocateBufferHandle() function
40 UTILS_LOGE("AllocateBufferHandle reserveFds or reserveInts too lager"); in AllocateBufferHandle()
59 UTILS_LOGE("AllocateBufferHandle malloc %{public}zu failed", handleSize); in AllocateBufferHandle()
129 BufferHandle *handle = AllocateBufferHandle(reserveFds, reserveInts); in ReadBufferHandle()
131 UTILS_LOGE("%{public}s AllocateBufferHandle failed", __func__); in ReadBufferHandle()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/drawable/
H A Drs_property_drawable_background_test.cpp312 BufferHandle* handle = AllocateBufferHandle(1025, 1025); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/test/render/render_base/unittest/draw/
H A Drs_property_draw_background_test.cpp312 BufferHandle* handle = AllocateBufferHandle(1025, 1025); in HWTEST_F()
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/post_processor/
H A Dphoto_post_processor.cpp203 BufferHandle *newHandle = AllocateBufferHandle(handle->reserveFds, handle->reserveInts); in CloneBufferHandle()
205 DP_ERR_LOG("%{public}s AllocateBufferHandle failed, newHandle is nullptr", __func__); in CloneBufferHandle()
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/
H A Drs_round_corner_display_test.cpp1005 BufferHandle* bufferHandle = AllocateBufferHandle(64, 128); in HWTEST_F()

Completed in 7 milliseconds