Searched refs:HandleTypeSafeUnion (Results 1 – 3 of 3) sorted by relevance
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 62 using HandleTypeSafeUnion = ISafeUnion::HandleTypeSafeUnion; typedef 976 HandleTypeSafeUnion safeUnion; in TEST_F() 979 safeUnion, hidl_handle(nullptr), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 980 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::a, in TEST_F() 1004 safeunionInterface->newHandleTypeSafeUnion([&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 1006 safeUnion, hidl_handle(h), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 1007 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::a, in TEST_F() 1014 safeUnion, testArray, [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 1015 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::b, in TEST_F() 1024 safeUnion, testVector, [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() [all …]
|
/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/ |
D | HidlTestJava.java | 32 import android.hardware.tests.safeunion.V1_0.ISafeUnion.HandleTypeSafeUnion; 404 HandleTypeSafeUnion safeUnion = new HandleTypeSafeUnion(); in runClientSafeUnionTests() 407 ExpectTrue(safeUnion.getDiscriminator() == HandleTypeSafeUnion.hidl_discriminator.a); in runClientSafeUnionTests() 420 HandleTypeSafeUnion safeUnion = safeunionInterface.newHandleTypeSafeUnion(); in runClientSafeUnionTests() 422 ExpectTrue(safeUnion.getDiscriminator() == HandleTypeSafeUnion.hidl_discriminator.a); in runClientSafeUnionTests() 426 ExpectTrue(safeUnion.getDiscriminator() == HandleTypeSafeUnion.hidl_discriminator.b); in runClientSafeUnionTests() 434 ExpectTrue(safeUnion.getDiscriminator() == HandleTypeSafeUnion.hidl_discriminator.c); in runClientSafeUnionTests() 462 HandleTypeSafeUnion safeUnion = safeunionInterface.newHandleTypeSafeUnion(); in runClientSafeUnionTests() 1715 public HandleTypeSafeUnion newHandleTypeSafeUnion() { in newHandleTypeSafeUnion() 1717 return new HandleTypeSafeUnion(); in newHandleTypeSafeUnion() [all …]
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 148 using HandleTypeSafeUnion = ISafeUnion::HandleTypeSafeUnion; typedef 2128 testZeroInit<HandleTypeSafeUnion>("HandleTypeSafeUnion"); in TEST_F() 2273 HandleTypeSafeUnion safeUnion; in TEST_F() 2276 safeUnion, hidl_handle(nullptr), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 2277 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::a, in TEST_F() 2301 safeunionInterface->newHandleTypeSafeUnion([&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 2303 safeUnion, hidl_handle(h), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 2304 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::a, in TEST_F() 2311 safeUnion, testArray, [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 2312 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::b, in TEST_F() [all …]
|