Lines Matching refs:test
27 aidl::hidl2aidl::test::OnlyIn10 dest; in TEST_F()
28 hidl2aidl::test::V1_0::OnlyIn10 source; in TEST_F()
35 aidl::hidl2aidl::test::OnlyIn11 dest; in TEST_F()
36 hidl2aidl::test::V1_1::OnlyIn11 source; in TEST_F()
43 aidl::hidl2aidl::test::OverrideMe dest; in TEST_F()
44 hidl2aidl::test::V1_1::OverrideMe source; in TEST_F()
51 aidl::hidl2aidl::test::Outer dest; in TEST_F()
52 hidl2aidl::test::V1_1::Outer source; in TEST_F()
61 aidl::hidl2aidl::test::OuterInner dest; in TEST_F()
62 hidl2aidl::test::V1_0::Outer::Inner source; in TEST_F()
69 aidl::hidl2aidl::test::NameCollision dest; in TEST_F()
70 hidl2aidl::test::V1_2::NameCollision source; in TEST_F()
81 aidl::hidl2aidl::test::IFooBigStruct dest; in TEST_F()
82 hidl2aidl::test::V1_1::IFoo::BigStruct source; in TEST_F()
91 aidl::hidl2aidl::test::IBarInner dest; in TEST_F()
92 hidl2aidl::test::V1_0::IBar::Inner source; in TEST_F()
99 aidl::hidl2aidl::test::IBarInner dest; in TEST_F()
100 hidl2aidl::test::V1_0::IBar::Inner source; in TEST_F()
108 aidl::hidl2aidl::test::SafeUnionBar dest; in TEST_F()
109 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
112 EXPECT_EQ(source.a(), dest.get<aidl::hidl2aidl::test::SafeUnionBar::a>()); in TEST_F()
116 aidl::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<aidl::hidl2aidl::test::SafeUnionBar::b>()); in TEST_F()
124 aidl::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<aidl::hidl2aidl::test::SafeUnionBar::innerStructBar>().x); in TEST_F()
134 dest.get<aidl::hidl2aidl::test::SafeUnionBar::innerStructBar>().z); in TEST_F()
138 aidl::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<aidl::hidl2aidl::test::SafeUnionBar::c>().str); in TEST_F()
148 aidl::hidl2aidl::test::SafeUnionBar dest; in TEST_F()
149 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
152 EXPECT_EQ(source.d(), dest.get<aidl::hidl2aidl::test::SafeUnionBar::d>()); in TEST_F()
156 aidl::hidl2aidl::test::SafeUnionBar dest; in TEST_F()
157 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
160 EXPECT_EQ(source.e(), dest.get<aidl::hidl2aidl::test::SafeUnionBar::e>()); in TEST_F()
164 aidl::hidl2aidl::test::SafeUnionBar dest; in TEST_F()
165 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
168 EXPECT_EQ(source.f(), dest.get<aidl::hidl2aidl::test::SafeUnionBar::f>()); in TEST_F()
172 aidl::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<aidl::hidl2aidl::test::FooFlag>(source.g()), in TEST_F()
179 dest.get<aidl::hidl2aidl::test::SafeUnionBar::g>()); in TEST_F()
183 aidl::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<aidl::hidl2aidl::test::Value>(source.h()), in TEST_F()
188 dest.get<aidl::hidl2aidl::test::SafeUnionBar::h>()); in TEST_F()
192 aidl::hidl2aidl::test::SafeUnionBar dest; in TEST_F()
193 hidl2aidl::test::V1_2::SafeUnionBar source; in TEST_F()
196 EXPECT_EQ(source.i(), dest.get<aidl::hidl2aidl::test::SafeUnionBar::i>()); in TEST_F()
200 aidl::hidl2aidl::test::ArrayFoo dest; in TEST_F()
201 hidl2aidl::test::V1_2::ArrayFoo source; in TEST_F()
213 aidl::hidl2aidl::test::ArrayFoo dest; in TEST_F()
214 hidl2aidl::test::V1_2::ArrayFoo source; in TEST_F()
221 aidl::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<aidl::hidl2aidl::test::Value>(source.c[0]), dest.c[0]); in TEST_F()
227 EXPECT_EQ(static_cast<aidl::hidl2aidl::test::Value>(source.c[1]), dest.c[1]); in TEST_F()
231 aidl::hidl2aidl::test::ArrayFoo dest; in TEST_F()
232 hidl2aidl::test::V1_2::ArrayFoo source; in TEST_F()
241 aidl::hidl2aidl::test::VectorFoo dest; in TEST_F()
242 hidl2aidl::test::V1_2::VectorFoo source; in TEST_F()
250 aidl::hidl2aidl::test::VectorFoo dest; in TEST_F()
251 hidl2aidl::test::V1_2::VectorFoo source; in TEST_F()
257 aidl::hidl2aidl::test::VectorFoo dest; in TEST_F()
258 hidl2aidl::test::V1_2::VectorFoo source; in TEST_F()
265 aidl::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<aidl::hidl2aidl::test::Value>(source.c[0]), dest.c[0]); in TEST_F()
270 EXPECT_EQ(static_cast<aidl::hidl2aidl::test::Value>(source.c[1]), dest.c[1]); in TEST_F()
274 aidl::hidl2aidl::test::VectorFoo dest; in TEST_F()
275 hidl2aidl::test::V1_2::VectorFoo source; in TEST_F()
283 aidl::hidl2aidl::test::extension::ArrayFoo dest; in TEST_F()
284 hidl2aidl::test::extension::V1_2::ArrayFoo source; in TEST_F()