Home
last modified time | relevance | path

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

/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCbGeoUtilsTest.java70 CbGeoUtils.Polygon polygon = new CbGeoUtils.Polygon((vertices)); in testPolygon() local
71 assertEquals(vertices, polygon.getVertices()); in testPolygon()
73 assertTrue(polygon.contains(p1)); in testPolygon()
74 assertTrue(polygon.contains(p2)); in testPolygon()
75 assertTrue(polygon.contains(p3)); in testPolygon()
/cts/tests/tests/binder_ndk/src/android/binder/cts/
DJavaClientTest.java289 RegularPolygon polygon = new RegularPolygon(); in testRepeatPolygon() local
290 polygon.name = "hexagon"; in testRepeatPolygon()
291 polygon.numSides = 6; in testRepeatPolygon()
292 polygon.sideLength = 1.0f; in testRepeatPolygon()
294 RegularPolygon result = mInterface.RepeatPolygon(polygon); in testRepeatPolygon()
296 assertPolygonEquals(polygon, result); in testRepeatPolygon()
319 RegularPolygon polygon = new RegularPolygon(); in testRepeatPresentNullablePolygon() local
320 polygon.name = "septagon"; in testRepeatPresentNullablePolygon()
321 polygon.numSides = 7; in testRepeatPresentNullablePolygon()
322 polygon.sideLength = 9.0f; in testRepeatPresentNullablePolygon()
[all …]
/cts/tests/tests/binder_ndk/libbinder_ndk_test/
Dtest_native_aidl_client.cpp394 RegularPolygon polygon; in TEST_P() local
396 EXPECT_EQ("square", polygon.name); in TEST_P()
397 EXPECT_EQ(4, polygon.numSides); in TEST_P()
398 EXPECT_EQ(1.0f, polygon.sideLength); in TEST_P()