Lines Matching refs:test
27 hidl2aidl::test::OnlyIn10 dest; in TEST_F()
28 hidl2aidl::test::V1_0::OnlyIn10 source; in TEST_F()
35 hidl2aidl::test::OnlyIn11 dest; in TEST_F()
36 hidl2aidl::test::V1_1::OnlyIn11 source; in TEST_F()
43 hidl2aidl::test::OverrideMe dest; in TEST_F()
44 hidl2aidl::test::V1_1::OverrideMe source; in TEST_F()
51 hidl2aidl::test::Outer dest; in TEST_F()
52 hidl2aidl::test::V1_1::Outer source; in TEST_F()
61 hidl2aidl::test::OuterInner dest; in TEST_F()
62 hidl2aidl::test::V1_0::Outer::Inner source; in TEST_F()
69 hidl2aidl::test::NameCollision dest; in TEST_F()
70 hidl2aidl::test::V1_2::NameCollision source; in TEST_F()
81 hidl2aidl::test::IFooBigStruct dest; in TEST_F()
82 hidl2aidl::test::V1_1::IFoo::BigStruct source; in TEST_F()
91 hidl2aidl::test::IBarInner dest; in TEST_F()
92 hidl2aidl::test::V1_0::IBar::Inner source; in TEST_F()
99 hidl2aidl::test::IBarInner dest; in TEST_F()
100 hidl2aidl::test::V1_0::IBar::Inner source; in TEST_F()
108 hidl2aidl::test::SafeUnionBar dest; in TEST_F()
109 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
112 EXPECT_EQ(source.a(), dest.get<hidl2aidl::test::SafeUnionBar::a>()); in TEST_F()
116 hidl2aidl::test::SafeUnionBar dest; in TEST_F()
117 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
120 EXPECT_EQ(static_cast<int64_t>(source.b()), dest.get<hidl2aidl::test::SafeUnionBar::b>()); in TEST_F()
124 hidl2aidl::test::SafeUnionBar dest; in TEST_F()
125 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
126 hidl2aidl::test::V1_2::SafeUnionBar::InnerStructBar inner; in TEST_F()
132 dest.get<hidl2aidl::test::SafeUnionBar::innerStructBar>().x); in TEST_F()
134 dest.get<hidl2aidl::test::SafeUnionBar::innerStructBar>().z); in TEST_F()
138 hidl2aidl::test::SafeUnionBar dest; in TEST_F()
139 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
140 hidl2aidl::test::V1_1::OnlyIn11 onlyIn11; in TEST_F()
144 EXPECT_EQ(source.c().str, dest.get<hidl2aidl::test::SafeUnionBar::c>().str); in TEST_F()
148 hidl2aidl::test::SafeUnionBar dest; in TEST_F()
149 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
152 EXPECT_EQ(source.d(), String8(dest.get<hidl2aidl::test::SafeUnionBar::d>()).c_str()); in TEST_F()
156 hidl2aidl::test::SafeUnionBar dest; in TEST_F()
157 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
160 EXPECT_EQ(source.e(), dest.get<hidl2aidl::test::SafeUnionBar::e>()); in TEST_F()
164 hidl2aidl::test::SafeUnionBar dest; in TEST_F()
165 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
168 EXPECT_EQ(source.f(), dest.get<hidl2aidl::test::SafeUnionBar::f>()); in TEST_F()
172 hidl2aidl::test::SafeUnionBar dest; in TEST_F()
173 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
174 ::android::hardware::hidl_bitfield<::hidl2aidl::test::V1_2::FooFlag> bits(0); in TEST_F()
175 bits |= hidl2aidl::test::V1_2::FooFlag::THIRD; in TEST_F()
178 EXPECT_EQ(static_cast<hidl2aidl::test::FooFlag>(source.g()), in TEST_F()
179 dest.get<hidl2aidl::test::SafeUnionBar::g>()); in TEST_F()
183 hidl2aidl::test::SafeUnionBar dest; in TEST_F()
184 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
185 source.h(hidl2aidl::test::V1_1::Value::B); in TEST_F()
187 EXPECT_EQ(static_cast<hidl2aidl::test::Value>(source.h()), in TEST_F()
188 dest.get<hidl2aidl::test::SafeUnionBar::h>()); in TEST_F()
192 hidl2aidl::test::SafeUnionBar dest; in TEST_F()
193 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
196 EXPECT_EQ(source.i(), dest.get<hidl2aidl::test::SafeUnionBar::i>()); in TEST_F()
200 hidl2aidl::test::ArrayFoo dest; in TEST_F()
201 hidl2aidl::test::V1_2::ArrayFoo source; in TEST_F()
213 hidl2aidl::test::ArrayFoo dest; in TEST_F()
214 hidl2aidl::test::V1_2::ArrayFoo source; in TEST_F()
221 hidl2aidl::test::ArrayFoo dest; in TEST_F()
222 hidl2aidl::test::V1_2::ArrayFoo source; in TEST_F()
223 source.c[0] = hidl2aidl::test::V1_1::Value::A; in TEST_F()
224 source.c[1] = hidl2aidl::test::V1_1::Value::B; in TEST_F()
226 EXPECT_EQ(static_cast<hidl2aidl::test::Value>(source.c[0]), dest.c[0]); in TEST_F()
227 EXPECT_EQ(static_cast<hidl2aidl::test::Value>(source.c[1]), dest.c[1]); in TEST_F()
231 hidl2aidl::test::ArrayFoo dest; in TEST_F()
232 hidl2aidl::test::V1_2::ArrayFoo source; in TEST_F()
241 hidl2aidl::test::VectorFoo dest; in TEST_F()
242 hidl2aidl::test::V1_2::VectorFoo source; in TEST_F()
250 hidl2aidl::test::VectorFoo dest; in TEST_F()
251 hidl2aidl::test::V1_2::VectorFoo source; in TEST_F()
257 hidl2aidl::test::VectorFoo dest; in TEST_F()
258 hidl2aidl::test::V1_2::VectorFoo source; in TEST_F()
265 hidl2aidl::test::VectorFoo dest; in TEST_F()
266 hidl2aidl::test::V1_2::VectorFoo source; in TEST_F()
267 source.c = {hidl2aidl::test::V1_1::Value::A, hidl2aidl::test::V1_1::Value::B}; in TEST_F()
269 EXPECT_EQ(static_cast<hidl2aidl::test::Value>(source.c[0]), dest.c[0]); in TEST_F()
270 EXPECT_EQ(static_cast<hidl2aidl::test::Value>(source.c[1]), dest.c[1]); in TEST_F()
274 hidl2aidl::test::VectorFoo dest; in TEST_F()
275 hidl2aidl::test::V1_2::VectorFoo source; in TEST_F()
283 hidl2aidl::test::extension::ArrayFoo dest; in TEST_F()
284 hidl2aidl::test::extension::V1_2::ArrayFoo source; in TEST_F()