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.cpp233 native_handle_t* invalidHandle = nullptr; in TEST_P() local
234 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_P()
239 invalidHandle = native_handle_create(0, 0); in TEST_P()
240 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_P()
244 native_handle_delete(invalidHandle); in TEST_P()
251 native_handle_t* invalidHandle = nullptr; in TEST_P() local
252 Error error = mGralloc->getMapper()->freeBuffer(invalidHandle); in TEST_P()
255 invalidHandle = native_handle_create(0, 0); in TEST_P()
256 error = mGralloc->getMapper()->freeBuffer(invalidHandle); in TEST_P()
259 native_handle_delete(invalidHandle); in TEST_P()
[all …]
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp233 native_handle_t* invalidHandle = nullptr; in TEST_P() local
234 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_P()
239 invalidHandle = native_handle_create(0, 0); in TEST_P()
240 mGralloc->getMapper()->importBuffer(invalidHandle, [&](const auto& tmpError, const auto&) { in TEST_P()
244 native_handle_delete(invalidHandle); in TEST_P()
251 native_handle_t* invalidHandle = nullptr; in TEST_P() local
252 Error error = mGralloc->getMapper()->freeBuffer(invalidHandle); in TEST_P()
255 invalidHandle = native_handle_create(0, 0); in TEST_P()
256 error = mGralloc->getMapper()->freeBuffer(invalidHandle); in TEST_P()
259 native_handle_delete(invalidHandle); in TEST_P()
[all …]
/hardware/interfaces/graphics/mapper/2.1/vts/functional/
DVtsHalGraphicsMapperV2_1TargetTest.cpp77 native_handle_t* invalidHandle = nullptr; in TEST_P() local
78 Error ret = mGralloc->getMapper()->validateBufferSize(invalidHandle, mDummyDescriptorInfo, in TEST_P()
83 invalidHandle = native_handle_create(0, 0); in TEST_P()
84 ret = mGralloc->getMapper()->validateBufferSize(invalidHandle, mDummyDescriptorInfo, in TEST_P()
88 native_handle_delete(invalidHandle); in TEST_P()
163 native_handle_t* invalidHandle = nullptr; in TEST_P() local
165 invalidHandle, [&](const auto& tmpError, const auto&, const auto&) { in TEST_P()
170 invalidHandle = native_handle_create(0, 0); in TEST_P()
172 invalidHandle, [&](const auto& tmpError, const auto&, const auto&) { in TEST_P()
176 native_handle_delete(invalidHandle); in TEST_P()
/hardware/interfaces/sensors/2.0/vts/functional/
DVtsHalSensorsV2_0TargetTest.cpp853 int32_t invalidHandle = getInvalidSensorHandle(); in TEST_P() local
854 ASSERT_EQ(activate(invalidHandle, true), Result::BAD_VALUE); in TEST_P()
855 ASSERT_EQ(activate(invalidHandle, false), Result::BAD_VALUE); in TEST_P()