Home
last modified time | relevance | path

Searched refs:handleGet (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/graphic/graphic_surface/surface/test/systemtest/
H A Dnative_window_buffer_test.cpp96 sptr<SurfaceTunnelHandle> handleGet = nullptr; in GetData() local
97 handleGet = cSurface->GetTunnelHandle(); in GetData()
98 if ((handleGet == nullptr) || (handleGet->GetHandle()->fd != -1) || in GetData()
99 (handleGet->GetHandle()->reserveInts != 1) || (handleGet->GetHandle()->reserve[0] != 1)) { in GetData()
H A Dsurface_ipc_test.cpp99 sptr<SurfaceTunnelHandle> handleGet = nullptr; in GetData() local
100 handleGet = cSurface->GetTunnelHandle(); in GetData()
101 if ((handleGet == nullptr) || (handleGet->GetHandle()->fd != -1) || in GetData()
102 (handleGet->GetHandle()->reserveInts != 1) || (handleGet->GetHandle()->reserve[0] != 1)) { in GetData()
/ohos5.0/foundation/graphic/graphic_surface/surface/test/unittest/
H A Dconsumer_surface_test.cpp1570 sptr<SurfaceTunnelHandle> handleGet = nullptr; variable
1571 handleGet = cs->GetTunnelHandle();
1572 ASSERT_NE(handleGet, nullptr);
1573 ASSERT_EQ(handle->fd, handleGet->GetHandle()->fd);
1574 ASSERT_EQ(handle->reserveInts, handleGet->GetHandle()->reserveInts);
1575 ASSERT_EQ(handle->reserve[0], handleGet->GetHandle()->reserve[0]);
H A Dproducer_surface_test.cpp1262 sptr<SurfaceTunnelHandle> handleGet = surface_->GetTunnelHandle(); variable
1263 ASSERT_EQ(handleGet, nullptr);