Home
last modified time | relevance | path

Searched refs:swi (Results 1 – 2 of 2) sorted by relevance

/system/tools/hidl/test/java_test/src/com/android/commands/hidl_test_java/
DHidlTestJava.java1216 IBaz.StructWithInterface swi = new IBaz.StructWithInterface(); in client() local
1217 swi.iface = IServiceManager.getService(); in client()
1218 swi.number = 12345678; in client()
1219 IBaz.StructWithInterface swi_back = baz.haveSomeStructWithInterface(swi); in client()
1222 ExpectTrue(HidlSupport.interfacesEqual(swi.iface, swi_back.iface)); in client()
1523 public StructWithInterface haveSomeStructWithInterface(StructWithInterface swi) { in haveSomeStructWithInterface() argument
1524 return swi; in haveSomeStructWithInterface()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp1634 IBaz::StructWithInterface swi; in TEST_F() local
1635 swi.number = 42; in TEST_F()
1636 swi.array = testArray; in TEST_F()
1637 swi.oneString = testString; in TEST_F()
1638 swi.vectorOfStrings = testStrings; in TEST_F()
1639 swi.iface = baz; in TEST_F()
1641 EXPECT_OK(baz->haveSomeStructWithInterface(swi, [&](const IBaz::StructWithInterface& swiBack) { in TEST_F()
1650 EXPECT_TRUE(interfacesEqual(swi.iface, swiBack.iface)); in TEST_F()