Home
last modified time | relevance | path

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

/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DEnqueueJobWorkTest.java74 ArrayList<TestWorkItem> expectedArray = new ArrayList<>(); in compareWork() local
76 expectedArray.add(expected[i]); in compareWork()
83 expectedArray.add(sub[j]); in compareWork()
86 if (i >= expectedArray.size()) { in compareWork()
90 if (!intentEquals(work.getIntent(), expectedArray.get(i).intent)) { in compareWork()
93 if (work.getDeliveryCount() != expectedArray.get(i).deliveryCount) { in compareWork()
96 + expectedArray.get(i).deliveryCount); in compareWork()
/cts/tests/tests/binder_ndk/src/android/binder/cts/
DJavaClientTest.java460 String[] expectedArray = expected.toArray(new String[0]); in testLists() local
462 Assert.assertArrayEquals(expectedArray, out1.toArray(new String[0])); in testLists()
463 Assert.assertArrayEquals(expectedArray, out2.toArray(new String[0])); in testLists()
478 RegularPolygon[] expectedArray = expected.toArray(new RegularPolygon[0]); in testLists() local
480 assertPolygonEquals(expectedArray, out1.toArray(new RegularPolygon[0])); in testLists()
481 assertPolygonEquals(expectedArray, out1.toArray(new RegularPolygon[0])); in testLists()