Home
last modified time | relevance | path

Searched refs:LargeSafeUnion (Results 1 – 3 of 3) sorted by relevance

/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java30 import android.hardware.tests.safeunion.V1_0.ISafeUnion.LargeSafeUnion;
235 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests()
236 ExpectTrue(safeUnion.getDiscriminator() == LargeSafeUnion.hidl_discriminator.noinit); in runClientSafeUnionTests()
240 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests()
243 ExpectTrue(safeUnion.getDiscriminator() == LargeSafeUnion.hidl_discriminator.a); in runClientSafeUnionTests()
247 ExpectTrue(safeUnion.getDiscriminator() == LargeSafeUnion.hidl_discriminator.d); in runClientSafeUnionTests()
255 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests()
257 ExpectTrue(safeUnion.getDiscriminator() == LargeSafeUnion.hidl_discriminator.f); in runClientSafeUnionTests()
262 ExpectTrue(safeUnion.getDiscriminator() == LargeSafeUnion.hidl_discriminator.i); in runClientSafeUnionTests()
269 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests()
[all …]
/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp54 using LargeSafeUnion = ISafeUnion::LargeSafeUnion; typedef
636 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { in TEST_F()
637 EXPECT_EQ(LargeSafeUnion::hidl_discriminator::noinit, safeUnion.getDiscriminator()); in TEST_F()
642 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { in TEST_F()
643 EXPECT_OK(safeunionInterface->setA(safeUnion, -5, [&](const LargeSafeUnion& safeUnion) { in TEST_F()
644 EXPECT_EQ(LargeSafeUnion::hidl_discriminator::a, safeUnion.getDiscriminator()); in TEST_F()
649 safeunionInterface->setD(safeUnion, max, [&](const LargeSafeUnion& safeUnion) { in TEST_F()
650 EXPECT_EQ(LargeSafeUnion::hidl_discriminator::d, safeUnion.getDiscriminator()); in TEST_F()
661 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { in TEST_F()
663 safeunionInterface->setF(safeUnion, testArray, [&](const LargeSafeUnion& safeUnion) { in TEST_F()
[all …]
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp159 using LargeSafeUnion = ISafeUnion::LargeSafeUnion; typedef
2005 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { in TEST_F()
2006 EXPECT_EQ(LargeSafeUnion::hidl_discriminator::noinit, safeUnion.getDiscriminator()); in TEST_F()
2011 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { in TEST_F()
2012 EXPECT_OK(safeunionInterface->setA(safeUnion, -5, [&](const LargeSafeUnion& safeUnion) { in TEST_F()
2013 EXPECT_EQ(LargeSafeUnion::hidl_discriminator::a, safeUnion.getDiscriminator()); in TEST_F()
2018 safeunionInterface->setD(safeUnion, max, [&](const LargeSafeUnion& safeUnion) { in TEST_F()
2019 EXPECT_EQ(LargeSafeUnion::hidl_discriminator::d, safeUnion.getDiscriminator()); in TEST_F()
2030 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { in TEST_F()
2032 safeunionInterface->setF(safeUnion, testArray, [&](const LargeSafeUnion& safeUnion) { in TEST_F()
[all …]