Home
last modified time | relevance | path

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

/cts/tests/tests/binder_ndk/src/android/binder/cts/
DJavaClientTest.java258 RegularPolygon polygon = new RegularPolygon(); in testRepeatPolygon() local
259 polygon.name = "hexagon"; in testRepeatPolygon()
260 polygon.numSides = 6; in testRepeatPolygon()
261 polygon.sideLength = 1.0f; in testRepeatPolygon()
263 RegularPolygon result = mInterface.RepeatPolygon(polygon); in testRepeatPolygon()
265 assertPolygonEquals(polygon, result); in testRepeatPolygon()
270 RegularPolygon polygon = new RegularPolygon(); in testInsAndOuts() local
271 mInterface.RenamePolygon(polygon, "Jerry"); in testInsAndOuts()
272 assertEquals("Jerry", polygon.name); in testInsAndOuts()
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_native_aidl_client.cpp315 RegularPolygon polygon; in TEST_P() local
317 EXPECT_EQ("square", polygon.name); in TEST_P()
318 EXPECT_EQ(4, polygon.numSides); in TEST_P()
319 EXPECT_EQ(1.0f, polygon.sideLength); in TEST_P()