Lines Matching refs:element
36 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_F() local
37 EXPECT_NE(Element(0), element); in TEST_F()
48 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_F() local
49 ASSERT_NE(Element(0), element); in TEST_F()
52 Type type = context->typeCreate(element, 1, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
76 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_F() local
77 ASSERT_NE(Element(0), element); in TEST_F()
80 Type type = context->typeCreate(element, 128, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
84 context->elementGetNativeMetadata(element, [&](const hidl_vec<uint32_t>& _metadata){ in TEST_F()
100 EXPECT_EQ(element, (Element)typeMetadata[5]); in TEST_F()
112 Element element = context->elementCreate(DataType::FLOAT_32, DataKind::USER, false, 1); in TEST_F() local
113 ASSERT_NE(Element(0), element); in TEST_F()
116 Type type = context->typeCreate(element, 128, 0, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
150 Element element = context->elementCreate(DataType::UNSIGNED_8, DataKind::USER, false, 4); in TEST_F() local
151 ASSERT_NE(Element(0), element); in TEST_F()
154 Type type = context->typeCreate(element, 512, 512, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
203 Element element = context->elementCreate(DataType::UNSIGNED_8, DataKind::USER, false, 4); in TEST_F() local
204 ASSERT_NE(Element(0), element); in TEST_F()
207 Type type = context->typeCreate(element, 512, 512, 0, false, false, YuvFormat::YUV_NONE); in TEST_F()
306 Element element = context->elementCreate(DataType::UNSIGNED_8, DataKind::USER, false, 1); in TEST_F() local
307 ASSERT_NE(Element(0), element); in TEST_F()
313 context->assignName(element, _nameIn); in TEST_F()
315 context->getName(element, [&](const hidl_string& _name){ nameOut = _name.c_str(); }); in TEST_F()
318 context->objDestroy(element); in TEST_F()