Home
last modified time | relevance | path

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

/hardware/interfaces/graphics/mapper/2.0/vts/functional/
DVtsHalGraphicsMapperV2_0TargetTest.cpp249 native_handle_t* invalidHandle = nullptr; in TEST_F() local
250 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_F()
255 invalidHandle = native_handle_create(0, 0); in TEST_F()
256 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_F()
260 native_handle_delete(invalidHandle); in TEST_F()
267 native_handle_t* invalidHandle = nullptr; in TEST_F() local
268 Error error = mGralloc->getMapper()->freeBuffer(invalidHandle); in TEST_F()
271 invalidHandle = native_handle_create(0, 0); in TEST_F()
272 error = mGralloc->getMapper()->freeBuffer(invalidHandle); in TEST_F()
275 native_handle_delete(invalidHandle); in TEST_F()
[all …]
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp249 native_handle_t* invalidHandle = nullptr; in TEST_F() local
250 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_F()
255 invalidHandle = native_handle_create(0, 0); in TEST_F()
256 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_F()
260 native_handle_delete(invalidHandle); in TEST_F()
267 native_handle_t* invalidHandle = nullptr; in TEST_F() local
268 Error error = mGralloc->getMapper()->freeBuffer(invalidHandle); in TEST_F()
271 invalidHandle = native_handle_create(0, 0); in TEST_F()
272 error = mGralloc->getMapper()->freeBuffer(invalidHandle); in TEST_F()
275 native_handle_delete(invalidHandle); in TEST_F()
[all …]
/hardware/interfaces/graphics/mapper/2.1/vts/functional/
DVtsHalGraphicsMapperV2_1TargetTest.cpp91 native_handle_t* invalidHandle = nullptr; in TEST_F() local
92 Error ret = mGralloc->getMapper()->validateBufferSize(invalidHandle, mDummyDescriptorInfo, in TEST_F()
97 invalidHandle = native_handle_create(0, 0); in TEST_F()
98 ret = mGralloc->getMapper()->validateBufferSize(invalidHandle, mDummyDescriptorInfo, in TEST_F()
102 native_handle_delete(invalidHandle); in TEST_F()
177 native_handle_t* invalidHandle = nullptr; in TEST_F() local
179 invalidHandle, [&](const auto& tmpError, const auto&, const auto&) { in TEST_F()
184 invalidHandle = native_handle_create(0, 0); in TEST_F()
186 invalidHandle, [&](const auto& tmpError, const auto&, const auto&) { in TEST_F()
190 native_handle_delete(invalidHandle); in TEST_F()
[all …]
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp804 int32_t invalidHandle = getInvalidSensorHandle(); in TEST_F() local
805 ASSERT_EQ(activate(invalidHandle, true), Result::BAD_VALUE); in TEST_F()
806 ASSERT_EQ(activate(invalidHandle, false), Result::BAD_VALUE); in TEST_F()