Searched refs:HandleTypeSafeUnion (Results 1 – 3 of 3) sorted by relevance
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 63 using HandleTypeSafeUnion = ISafeUnion::HandleTypeSafeUnion; typedef 987 HandleTypeSafeUnion safeUnion; in TEST_F() 990 safeUnion, hidl_handle(nullptr), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 991 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::a, in TEST_F() 1015 safeunionInterface->newHandleTypeSafeUnion([&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 1017 safeUnion, hidl_handle(h), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 1018 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::a, in TEST_F() 1025 safeUnion, testArray, [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 1026 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::b, in TEST_F() 1035 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 | 33 import android.hardware.tests.safeunion.V1_0.ISafeUnion.HandleTypeSafeUnion; 408 HandleTypeSafeUnion safeUnion = new HandleTypeSafeUnion(); in runClientSafeUnionTests() 411 ExpectTrue(safeUnion.getDiscriminator() == HandleTypeSafeUnion.hidl_discriminator.a); in runClientSafeUnionTests() 424 HandleTypeSafeUnion safeUnion = safeunionInterface.newHandleTypeSafeUnion(); in runClientSafeUnionTests() 426 ExpectTrue(safeUnion.getDiscriminator() == HandleTypeSafeUnion.hidl_discriminator.a); in runClientSafeUnionTests() 430 ExpectTrue(safeUnion.getDiscriminator() == HandleTypeSafeUnion.hidl_discriminator.b); in runClientSafeUnionTests() 438 ExpectTrue(safeUnion.getDiscriminator() == HandleTypeSafeUnion.hidl_discriminator.c); in runClientSafeUnionTests() 466 HandleTypeSafeUnion safeUnion = safeunionInterface.newHandleTypeSafeUnion(); in runClientSafeUnionTests() 1704 public HandleTypeSafeUnion newHandleTypeSafeUnion() { in newHandleTypeSafeUnion() 1706 return new HandleTypeSafeUnion(); in newHandleTypeSafeUnion() [all …]
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 150 using HandleTypeSafeUnion = ISafeUnion::HandleTypeSafeUnion; typedef 2142 testZeroInit<HandleTypeSafeUnion>("HandleTypeSafeUnion"); in TEST_F() 2293 HandleTypeSafeUnion safeUnion; in TEST_F() 2296 safeUnion, hidl_handle(nullptr), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 2297 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::a, in TEST_F() 2321 safeunionInterface->newHandleTypeSafeUnion([&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 2323 safeUnion, hidl_handle(h), [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 2324 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::a, in TEST_F() 2331 safeUnion, testArray, [&](const HandleTypeSafeUnion& safeUnion) { in TEST_F() 2332 EXPECT_EQ(HandleTypeSafeUnion::hidl_discriminator::b, in TEST_F() [all …]
|