Home
last modified time | relevance | path

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

/system/tools/hidl/test/java_test/
Dhidl_test_java_native.cpp213 sp<ISafeUnion> safeunionInterface; member
224 safeunionInterface = ISafeUnion::getService(); in SetUp()
225 CHECK(safeunionInterface != nullptr); in SetUp()
226 CHECK(safeunionInterface->isRemote()); in SetUp()
797 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { 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()
810 safeunionInterface->setD(safeUnion, max, [&](const LargeSafeUnion& safeUnion) { 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/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java305 ISafeUnion safeunionInterface = ISafeUnion.getService(); in runClientSafeUnionTests() local
309 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests()
314 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests()
316 safeUnion = safeunionInterface.setA(safeUnion, (byte) -5); in runClientSafeUnionTests()
320 safeUnion = safeunionInterface.setD(safeUnion, Long.MAX_VALUE); in runClientSafeUnionTests()
329 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests()
330 safeUnion = safeunionInterface.setF(safeUnion, testArray); in runClientSafeUnionTests()
334 safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests()
335 safeUnion = safeunionInterface.setI(safeUnion, testVector); in runClientSafeUnionTests()
343 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests()
[all …]
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp356 sp<ISafeUnion> safeunionInterface; member in HidlEnvironment
426 safeunionInterface = ISafeUnion::getService("safeunion", mode == PASSTHROUGH /* getStub */); in getServices()
427 ASSERT_NE(safeunionInterface, nullptr); in getServices()
428 ASSERT_EQ(safeunionInterface->isRemote(), mode == BINDERIZED); in getServices()
451 sp<ISafeUnion> safeunionInterface; member in HidlTest
467 safeunionInterface = gHidlEnvironment->safeunionInterface; in SetUp()
2033 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { in TEST_F()
2039 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { in TEST_F()
2040 EXPECT_OK(safeunionInterface->setA(safeUnion, -5, [&](const LargeSafeUnion& safeUnion) { in TEST_F()
2046 safeunionInterface->setD(safeUnion, max, [&](const LargeSafeUnion& safeUnion) { in TEST_F()
[all …]