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() 1712 public HandleTypeSafeUnion newHandleTypeSafeUnion() { in newHandleTypeSafeUnion() 1714 return new HandleTypeSafeUnion(); in newHandleTypeSafeUnion() [all …]
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 148 using HandleTypeSafeUnion = ISafeUnion::HandleTypeSafeUnion; typedef 2132 testZeroInit<HandleTypeSafeUnion>("HandleTypeSafeUnion"); in TEST_F() 2277 HandleTypeSafeUnion safeUnion; in TEST_F() 2280 safeUnion, hidl_handle(nullptr), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 2281 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::a, in TEST_F() 2305 safeunionInterface->newHandleTypeSafeUnion([&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 2307 safeUnion, hidl_handle(h), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 2308 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::a, in TEST_F() 2315 safeUnion, testArray, [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 2316 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::b, in TEST_F() [all …]
|