/cts/tests/autofillservice/src/android/autofillservice/cts/testcore/ |
D | InstrumentedAutoFillService.java | 130 public static List<Event> getFillEvents(int expectedSize) throws Exception { in getFillEvents() argument 131 final List<Event> events = getFillEventHistory(expectedSize).getEvents(); in getFillEvents() 133 if (expectedSize > 0 && events == null || events.size() != expectedSize) { in getFillEvents() 134 throw new IllegalStateException("INTERNAL ERROR: events should have " + expectedSize in getFillEvents() 143 public static FillEventHistory getFillEventHistory(int expectedSize) throws Exception { in getFillEventHistory() argument 146 if (expectedSize == 0) { in getFillEventHistory() 155 return FILL_EVENTS_TIMEOUT.run("getFillEvents(" + expectedSize + ")", () -> { in getFillEventHistory() 162 if (events.size() != expectedSize) { in getFillEventHistory() 163 Log.v(TAG, "Didn't get " + expectedSize + " events yet: " + events); in getFillEventHistory() 167 Log.v(TAG, "Events is still null (expecting " + expectedSize + ")"); in getFillEventHistory()
|
D | CtsAugmentedAutofillService.java | 177 public FillEventHistory getFillEventHistory(int expectedSize) throws Exception { in getFillEventHistory() argument 178 return FILL_EVENTS_TIMEOUT.run("getFillEvents(" + expectedSize + ")", () -> { in getFillEventHistory() 185 assertWithMessage("Didn't get " + expectedSize + " events yet: " + events).that( in getFillEventHistory() 186 events.size()).isEqualTo(expectedSize); in getFillEventHistory() 188 assertWithMessage("Events is null (expecting " + expectedSize + ")").that( in getFillEventHistory() 189 expectedSize).isEqualTo(0); in getFillEventHistory()
|
/cts/tests/tests/dpi/src/android/dpi/cts/ |
D | ConfigurationScreenLayoutTest.java | 61 int expectedSize = expectedScreenLayout & Configuration.SCREENLAYOUT_SIZE_MASK; in testScreenLayout() local 76 assertEquals("Expected screen size value of " + expectedSize + " but got " + actualSize in testScreenLayout() 77 + " for orientation " + ORIENTATIONS[i], expectedSize, actualSize); in testScreenLayout()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DisplaySizeTest.java | 145 final Point expectedSize = new Point(newLength, newLength); in testSizeRangesAfterSettingDisplaySize() local 149 assertEquals("Smallest size must be changed.", expectedSize, smallestSize); in testSizeRangesAfterSettingDisplaySize() 150 assertEquals("Largest size must be changed.", expectedSize, largestSize); in testSizeRangesAfterSettingDisplaySize()
|
/cts/hostsidetests/statsdatom/src/android/cts/statsdatom/appexit/ |
D | AppExitHostTest.java | 117 private void performLogStatsdTest(String testMethod, String targetPackage, int expectedSize, in performLogStatsdTest() argument 132 assertThat(data.size()).isEqualTo(expectedSize); in performLogStatsdTest()
|
/cts/tests/app/src/android/app/cts/ |
D | WallpaperManagerTest.java | 415 private void assertDesiredDimension(Point suggestedSize, Point expectedSize) { in assertDesiredDimension() argument 420 if ((actualSize.x != expectedSize.x || actualSize.y != expectedSize.y)) { in assertDesiredDimension() 421 throw new AssertionError("Expected x: " + expectedSize.x + " y: " in assertDesiredDimension() 422 + expectedSize.y + ", got x: " + actualSize.x + in assertDesiredDimension()
|
D | DownloadManagerTest.java | 712 final int expectedSize = getTotalBytes( in testDownload_mediaScanned() local 714 assertEquals(expectedSize, Integer.parseInt(getMediaStoreColumnValue( in testDownload_mediaScanned()
|
/cts/tests/camera/utils/src/android/hardware/camera2/cts/ |
D | CameraTestUtils.java | 2407 int expectedSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in validateYuvData() local 2408 assertEquals("Yuv data doesn't match", expectedSize, yuvData.length); in validateYuvData() 2425 int expectedSize = width * height * bytesPerPixelRounded; in validateP010Data() local 2426 assertEquals("P010 data doesn't match", expectedSize, p010Data.length); in validateP010Data() 2437 int expectedSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in validateRaw16Data() local 2438 assertEquals("Raw data doesn't match", expectedSize, rawData.length); in validateRaw16Data() 2454 int expectedSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in validateY8Data() local 2455 assertEquals("Y8 data doesn't match", expectedSize, rawData.length); in validateY8Data() 2492 int expectedSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in validateDepth16Data() local 2493 assertEquals("Depth data doesn't match", expectedSize, depthData.length); in validateDepth16Data() [all …]
|
/cts/tests/fragment/src/android/fragment/cts/ |
D | FragmentTransactionTest.java | 444 private void getFragmentsUntilSize(int expectedSize) { in getFragmentsUntilSize() argument 449 } while (mActivity.getFragmentManager().getFragments().size() != expectedSize); in getFragmentsUntilSize()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | MultiResolutionReprocessCaptureTest.java | 830 public ImageResultSizeHolder(Image image, TotalCaptureResult result, Size expectedSize) { in ImageResultSizeHolder() argument 833 mExpectedSize = expectedSize; in ImageResultSizeHolder()
|
/cts/tests/tests/media/src/android/media/cts/ |
D | ImageReaderDecoderTest.java | 729 int expectedSize = width * height * ImageFormat.getBitsPerPixel(format) / 8; in validateYuvData() local 730 assertEquals("Yuv data doesn't match", expectedSize, yuvData.length); in validateYuvData()
|