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.java288 ISafeUnion safeunionInterface = ISafeUnion.getService(); in runClientSafeUnionTests() local
292 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests()
297 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests()
299 safeUnion = safeunionInterface.setA(safeUnion, (byte) -5); in runClientSafeUnionTests()
303 safeUnion = safeunionInterface.setD(safeUnion, Long.MAX_VALUE); in runClientSafeUnionTests()
312 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests()
313 safeUnion = safeunionInterface.setF(safeUnion, testArray); in runClientSafeUnionTests()
317 safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests()
318 safeUnion = safeunionInterface.setI(safeUnion, testVector); in runClientSafeUnionTests()
326 LargeSafeUnion safeUnion = safeunionInterface.newLargeSafeUnion(); in runClientSafeUnionTests()
[all …]
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp356 sp<ISafeUnion> safeunionInterface; member in HidlEnvironment
420 safeunionInterface = ISafeUnion::getService("safeunion", mode == PASSTHROUGH /* getStub */); in getServices()
421 ASSERT_NE(safeunionInterface, nullptr); in getServices()
422 ASSERT_EQ(safeunionInterface->isRemote(), mode == BINDERIZED); in getServices()
445 sp<ISafeUnion> safeunionInterface; member in HidlTest
461 safeunionInterface = gHidlEnvironment->safeunionInterface; in SetUp()
2017 EXPECT_OK(safeunionInterface->newLargeSafeUnion([&](const LargeSafeUnion& safeUnion) { 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()
2030 safeunionInterface->setD(safeUnion, max, [&](const LargeSafeUnion& safeUnion) { in TEST_F()
[all …]