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 | 33 import android.hardware.tests.safeunion.V1_0.ISafeUnion.InterfaceTypeSafeUnion; 358 InterfaceTypeSafeUnion safeUnion = new InterfaceTypeSafeUnion(); in runClientSafeUnionTests() 361 ExpectTrue(safeUnion.getDiscriminator() == InterfaceTypeSafeUnion.hidl_discriminator.f); in runClientSafeUnionTests() 376 InterfaceTypeSafeUnion safeUnion = safeunionInterface.newInterfaceTypeSafeUnion(); in runClientSafeUnionTests() 378 ExpectTrue(safeUnion.getDiscriminator() == InterfaceTypeSafeUnion.hidl_discriminator.b); in runClientSafeUnionTests() 383 ExpectTrue(safeUnion.getDiscriminator() == InterfaceTypeSafeUnion.hidl_discriminator.c); in runClientSafeUnionTests() 387 ExpectTrue(safeUnion.getDiscriminator() == InterfaceTypeSafeUnion.hidl_discriminator.d); in runClientSafeUnionTests() 391 ExpectTrue(safeUnion.getDiscriminator() == InterfaceTypeSafeUnion.hidl_discriminator.e); in runClientSafeUnionTests() 395 ExpectTrue(safeUnion.getDiscriminator() == InterfaceTypeSafeUnion.hidl_discriminator.g); in runClientSafeUnionTests() 1648 public InterfaceTypeSafeUnion newInterfaceTypeSafeUnion() { in newInterfaceTypeSafeUnion() [all …]
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 63 using InterfaceTypeSafeUnion = ISafeUnion::InterfaceTypeSafeUnion; typedef 887 InterfaceTypeSafeUnion safeUnion; in TEST_F() 890 safeUnion, hidl_handle(nullptr), [&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F() 891 EXPECT_EQ(InterfaceTypeSafeUnion::hidl_discriminator::f, in TEST_F() 915 safeunionInterface->newInterfaceTypeSafeUnion([&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F() 916 EXPECT_EQ(InterfaceTypeSafeUnion::hidl_discriminator::noinit, in TEST_F() 920 safeUnion, testArray, [&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F() 921 EXPECT_EQ(InterfaceTypeSafeUnion::hidl_discriminator::b, in TEST_F() 930 safeUnion, testStringA, [&](const InterfaceTypeSafeUnion& safeUnion) { in TEST_F() 931 EXPECT_EQ(InterfaceTypeSafeUnion::hidl_discriminator::d, in TEST_F() [all …]
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 149 using InterfaceTypeSafeUnion = ISafeUnion::InterfaceTypeSafeUnion; typedef 2127 testZeroInit<InterfaceTypeSafeUnion>("InterfaceTypeSafeUnion"); in TEST_F() 2135 InterfaceTypeSafeUnion safeUnion; in TEST_F() 2139 InterfaceTypeSafeUnion anotherSafeUnion(std::move(safeUnion)); in TEST_F() 2140 EXPECT_EQ(InterfaceTypeSafeUnion::hidl_discriminator::c, in TEST_F() 2147 InterfaceTypeSafeUnion safeUnion; in TEST_F() 2150 InterfaceTypeSafeUnion anotherSafeUnion; in TEST_F() 2153 EXPECT_EQ(InterfaceTypeSafeUnion::hidl_discriminator::e, anotherSafeUnion.getDiscriminator()); in TEST_F() 2154 EXPECT_EQ(InterfaceTypeSafeUnion::hidl_discriminator::e, safeUnion.getDiscriminator()); in TEST_F() 2164 InterfaceTypeSafeUnion safeUnion; in TEST_F() [all …]
|