Searched refs:InterfaceTypeSafeUnion (Results 1 – 3 of 3) sorted by relevance
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/ |
D | HidlTestJava.java | 34 import android.hardware.tests.safeunion.V1_0.ISafeUnion.InterfaceTypeSafeUnion; 359 InterfaceTypeSafeUnion safeUnion = new InterfaceTypeSafeUnion(); in runClientSafeUnionTests() 362 ExpectTrue(safeUnion.getDiscriminator() == InterfaceTypeSafeUnion.hidl_discriminator.f); in runClientSafeUnionTests() 379 InterfaceTypeSafeUnion safeUnion = safeunionInterface.newInterfaceTypeSafeUnion(); in runClientSafeUnionTests() 381 ExpectTrue(safeUnion.getDiscriminator() == InterfaceTypeSafeUnion.hidl_discriminator.b); in runClientSafeUnionTests() 385 ExpectTrue(safeUnion.getDiscriminator() == InterfaceTypeSafeUnion.hidl_discriminator.c); in runClientSafeUnionTests() 391 ExpectTrue(safeUnion.getDiscriminator() == InterfaceTypeSafeUnion.hidl_discriminator.d); in runClientSafeUnionTests() 395 ExpectTrue(safeUnion.getDiscriminator() == InterfaceTypeSafeUnion.hidl_discriminator.e); in runClientSafeUnionTests() 399 ExpectTrue(safeUnion.getDiscriminator() == InterfaceTypeSafeUnion.hidl_discriminator.g); in runClientSafeUnionTests() 1637 public InterfaceTypeSafeUnion newInterfaceTypeSafeUnion() { in newInterfaceTypeSafeUnion() [all …]
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 64 using InterfaceTypeSafeUnion = ISafeUnion::InterfaceTypeSafeUnion; typedef 895 InterfaceTypeSafeUnion safeUnion; in TEST_F() 898 safeUnion, hidl_handle(nullptr), [&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F() 899 EXPECT_EQ(InterfaceTypeSafeUnion::hidl_discriminator::f, in TEST_F() 923 safeunionInterface->newInterfaceTypeSafeUnion([&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F() 924 EXPECT_EQ(InterfaceTypeSafeUnion::hidl_discriminator::noinit, in TEST_F() 928 safeUnion, testArray, [&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F() 929 EXPECT_EQ(InterfaceTypeSafeUnion::hidl_discriminator::b, in TEST_F() 938 safeUnion, testStringA, [&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F() 939 EXPECT_EQ(InterfaceTypeSafeUnion::hidl_discriminator::d, in TEST_F() [all …]
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 151 using InterfaceTypeSafeUnion = ISafeUnion::InterfaceTypeSafeUnion; typedef 2141 testZeroInit<InterfaceTypeSafeUnion>("InterfaceTypeSafeUnion"); in TEST_F() 2149 InterfaceTypeSafeUnion safeUnion; in TEST_F() 2153 InterfaceTypeSafeUnion anotherSafeUnion(std::move(safeUnion)); in TEST_F() 2154 EXPECT_EQ(InterfaceTypeSafeUnion::hidl_discriminator::c, in TEST_F() 2161 InterfaceTypeSafeUnion safeUnion; in TEST_F() 2164 InterfaceTypeSafeUnion anotherSafeUnion; in TEST_F() 2167 EXPECT_EQ(InterfaceTypeSafeUnion::hidl_discriminator::e, anotherSafeUnion.getDiscriminator()); in TEST_F() 2168 EXPECT_EQ(InterfaceTypeSafeUnion::hidl_discriminator::e, safeUnion.getDiscriminator()); in TEST_F() 2178 InterfaceTypeSafeUnion safeUnion; in TEST_F() [all …]
|