Searched refs:LargeSafeUnion (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.LargeSafeUnion; 292 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests() 293 ExpectTrue(safeUnion.getDiscriminator() == LargeSafeUnion.hidl_discriminator.noinit); in runClientSafeUnionTests() 297 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests() 300 ExpectTrue(safeUnion.getDiscriminator() == LargeSafeUnion.hidl_discriminator.a); in runClientSafeUnionTests() 304 ExpectTrue(safeUnion.getDiscriminator() == LargeSafeUnion.hidl_discriminator.d); in runClientSafeUnionTests() 312 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests() 314 ExpectTrue(safeUnion.getDiscriminator() == LargeSafeUnion.hidl_discriminator.f); in runClientSafeUnionTests() 319 ExpectTrue(safeUnion.getDiscriminator() == LargeSafeUnion.hidl_discriminator.i); in runClientSafeUnionTests() 326 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests() [all …]
|
/system/tools/hidl/test/java_test/ |
D | hidl_test_java_native.cpp | 64 using LargeSafeUnion = ISafeUnion::LargeSafeUnion; typedef 797 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { in TEST_F() 798 EXPECT_EQ(LargeSafeUnion::hidl_discriminator::noinit, safeUnion.getDiscriminator()); in TEST_F() 803 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { in TEST_F() 804 EXPECT_OK(safeunionInterface->setA(safeUnion, -5, [&](const LargeSafeUnion& safeUnion) { in TEST_F() 805 EXPECT_EQ(LargeSafeUnion::hidl_discriminator::a, safeUnion.getDiscriminator()); in TEST_F() 810 safeunionInterface->setD(safeUnion, max, [&](const LargeSafeUnion& safeUnion) { in TEST_F() 811 EXPECT_EQ(LargeSafeUnion::hidl_discriminator::d, safeUnion.getDiscriminator()); in TEST_F() 822 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { in TEST_F() 824 safeunionInterface->setF(safeUnion, testArray, [&](const LargeSafeUnion& safeUnion) { in TEST_F() [all …]
|
/system/tools/hidl/test/hidl_test/ |
D | hidl_test_client.cpp | 150 using LargeSafeUnion = ISafeUnion::LargeSafeUnion; typedef 2017 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { in TEST_F() 2018 EXPECT_EQ(LargeSafeUnion::hidl_discriminator::noinit, safeUnion.getDiscriminator()); in TEST_F() 2023 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { in TEST_F() 2024 EXPECT_OK(safeunionInterface->setA(safeUnion, -5, [&](const LargeSafeUnion& safeUnion) { in TEST_F() 2025 EXPECT_EQ(LargeSafeUnion::hidl_discriminator::a, safeUnion.getDiscriminator()); in TEST_F() 2030 safeunionInterface->setD(safeUnion, max, [&](const LargeSafeUnion& safeUnion) { in TEST_F() 2031 EXPECT_EQ(LargeSafeUnion::hidl_discriminator::d, safeUnion.getDiscriminator()); in TEST_F() 2042 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { in TEST_F() 2044 safeunionInterface->setF(safeUnion, testArray, [&](const LargeSafeUnion& safeUnion) { in TEST_F() [all …]
|