Searched refs:AllocateBufferHandle (Results 1 - 10 of 10) sorted by relevance
/foundation/graphic/graphic_surface/buffer_handle/test/unittest/ |
H A D | buffer_handle_test.cpp | 42 * 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 D | buffer_handle_utils.h | 32 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 D | buffer_handle_utils.h | 32 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 D | buffer_manager.cpp | 98 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 D | buffer_manager.h | 89 BufferHandle* AllocateBufferHandle(SurfaceBufferImpl& buffer) const;
|
/foundation/graphic/graphic_surface/buffer_handle/src/ |
H A D | buffer_handle.cpp | 37 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 D | rs_property_drawable_background_test.cpp | 312 BufferHandle* handle = AllocateBufferHandle(1025, 1025); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/test/render/render_base/unittest/draw/ |
H A D | rs_property_draw_background_test.cpp | 312 BufferHandle* handle = AllocateBufferHandle(1025, 1025); in HWTEST_F()
|
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/post_processor/ |
H A D | photo_post_processor.cpp | 203 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 D | rs_round_corner_display_test.cpp | 1005 BufferHandle* bufferHandle = AllocateBufferHandle(64, 128); in HWTEST_F()
|
Completed in 7 milliseconds