/cts/tests/tests/uidmigration/src/android/uidmigration/cts/ |
D | SharedUserMigrationTest.kt | 59 assertTrue(pkgs.sameAs(Const.INSTALL_TEST_PKG, Const.INSTALL_TEST_PKG2)) in reset() 75 assertTrue(pkgs.sameAs(Const.INSTALL_TEST_PKG, Const.INSTALL_TEST_PKG2)) in testNewInstallOnly() 87 assertTrue(pkgs.sameAs(Const.INSTALL_TEST_PKG2)) in testNewInstallOnly() 104 assertTrue(pkgs.sameAs(Const.INSTALL_TEST_PKG, Const.INSTALL_TEST_PKG2)) in testBestEffort() 114 assertTrue(pkgs.sameAs(Const.INSTALL_TEST_PKG)) in testBestEffort() 125 assertTrue(pkgs.sameAs(Const.INSTALL_TEST_PKG)) in testBestEffort() 136 assertTrue(pkgs.sameAs(Const.INSTALL_TEST_PKG, Const.INSTALL_TEST_PKG2)) in <lambda>()
|
D | AppIdMigrationTest.kt | 73 assertTrue(pkgs.sameAs(Const.INSTALL_TEST_PKG, Const.INSTALL_TEST_PKG + "2")) in <lambda>() 81 assertTrue(pkgs.sameAs(Const.INSTALL_TEST_PKG + "2")) in <lambda>()
|
D | Common.kt | 53 fun <T> Array<T>.sameAs(vararg items: T) = in assertEquals() method
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | CanvasDrawGlyphsTest.java | 94 assertThat(glyphBmp.sameAs(textBmp)).isTrue(); in drawGlyphs_SameToDrawText() 150 assertThat(glyphBmp.sameAs(glyphBmp2)).isTrue(); in drawGlyphs_glyphOffset() 151 assertThat(glyphBmp.sameAs(expectedBmp)).isTrue(); in drawGlyphs_glyphOffset() 209 assertThat(glyphBmp.sameAs(glyphBmp2)).isTrue(); in drawGlyphs_positionOffset() 210 assertThat(glyphBmp.sameAs(expectedBmp)).isTrue(); in drawGlyphs_positionOffset() 250 assertThat(firstThreeBmp.sameAs(firstTwoBmp)).isFalse(); in drawGlyphs_glyphCount() 294 assertThat(bmp.sameAs(differentGlyphPositionBmp)).isFalse(); in drawGlyphs_positionDifference() 335 assertThat(bmp.sameAs(twiceTextSizeBmp)).isFalse(); in drawGlyphs_paintEffect()
|
D | BitmapTest.java | 1854 assertTrue(mBitmap.sameAs(Bitmap.CREATOR.createFromParcel(p))); in testWriteToParcel() 1896 assertTrue(expectedBitmap.sameAs(Bitmap.CREATOR.createFromParcel(p))); in testWriteHwBitmapToParcel() 1986 assertTrue(bitmap1.sameAs(bitmap2)); in testSameAs_simpleSuccess() 1987 assertTrue(bitmap2.sameAs(bitmap1)); in testSameAs_simpleSuccess() 1997 assertFalse(bitmap1.sameAs(bitmap2)); in testSameAs_simpleFail() 1998 assertFalse(bitmap2.sameAs(bitmap1)); in testSameAs_simpleFail() 2008 assertTrue(bitmap1.sameAs(bitmap2)); in testSameAs_reconfigure() 2009 assertTrue(bitmap2.sameAs(bitmap1)); in testSameAs_reconfigure() 2022 assertFalse(bitmap1.sameAs(bitmap2)); in testSameAs_config() 2023 assertFalse(bitmap2.sameAs(bitmap1)); in testSameAs_config() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/text/cts/ |
D | MeasuredTextTest.java | 419 assertFalse(blankBitmap.sameAs(ssbBitmap)); in testCanvasDrawTextRun_sameOutputTestForLatinText() 421 assertTrue(ssbBitmap.sameAs(makeBitmapFromMtWithSamePaint(text, paint, false))); in testCanvasDrawTextRun_sameOutputTestForLatinText() 422 assertTrue(ssbBitmap.sameAs(makeBitmapFromMtWithDifferentPaint(text, paint, false))); in testCanvasDrawTextRun_sameOutputTestForLatinText() 423 assertTrue(ssbBitmap.sameAs(makeBitmapFromPct(text, paint, false))); in testCanvasDrawTextRun_sameOutputTestForLatinText() 435 assertFalse(blankBitmap.sameAs(ssbBitmap)); in testCanvasDrawTextRun_sameOutputTestForCJKText() 437 assertTrue(ssbBitmap.sameAs(makeBitmapFromMtWithSamePaint(text, paint, false))); in testCanvasDrawTextRun_sameOutputTestForCJKText() 438 assertTrue(ssbBitmap.sameAs(makeBitmapFromMtWithDifferentPaint(text, paint, false))); in testCanvasDrawTextRun_sameOutputTestForCJKText() 439 assertTrue(ssbBitmap.sameAs(makeBitmapFromPct(text, paint, false))); in testCanvasDrawTextRun_sameOutputTestForCJKText() 451 assertFalse(blankBitmap.sameAs(ssbBitmap)); in testCanvasDrawTextRun_sameOutputTestForRTLText() 453 assertTrue(ssbBitmap.sameAs(makeBitmapFromMtWithSamePaint(text, paint, true))); in testCanvasDrawTextRun_sameOutputTestForRTLText() [all …]
|
D | TextRunShaperTest.java | 329 assertThat(glyphsResult.sameAs(layoutResult)).isTrue(); in assertSameDrawResult()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | NinePatchTests.kt | 87 assertFalse(filtered.sameAs(unfiltered)) in <lambda>() 88 assertTrue(unfiltered.sameAs(noPaint)) in <lambda>()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | ControlCharacterGlyphTest.java | 43 assertThat(bmp.sameAs(emptyBitmap)).isTrue(); in testLineBreakDrawsNothing()
|
D | EmojiTest.java | 138 assertFalse(baseMessage + bmpDiffMessage, bitmapA.sameAs(bitmapB)); in testEmojiGlyph() 147 assertFalse(baseMessage + bmpDiffMessage, bitmapA.sameAs(bitmapB)); in testEmojiGlyph() 155 assertFalse(baseMessage + bmpDiffMessage, bitmapA.sameAs(bitmapB)); in testEmojiGlyph() 181 assertFalse(baseMessage + bmpDiffMessage, bitmapA.sameAs(bitmapB)); in testEmojiGlyphWebView()
|
D | FontVariationSettingsTest.kt | 62 assertThat(actual.sameAs(expect)).isFalse() in testFontVariationSettingsEffective()
|
D | MyanmarTest.java | 209 return !bitmapCorrect.sameAs(bitmapWrong); in isUnicodeRendersCorrectly() 218 return bitmapCorrect.sameAs(bitmapWrong); in isZawgyiRendersCorrectly()
|
D | StaticLayoutMultilineBidiTest.kt | 90 assertThat(actualBitmap.sameAs(expectBitmap)).isTrue() in testConsistentBidiDraw()
|
D | TextShaperTest.java | 162 assertThat(glyphsResult.sameAs(layoutResult)).isTrue(); in assertSameDrawResult()
|
/cts/tests/wallpapereffectsgeneration/src/android/wallpapereffectsgeneration/cts/ |
D | CinematicEffectRequestTest.java | 60 assertThat(copy.getBitmap().sameAs(bmp)).isTrue(); in testCreateCinematicEffectRequest()
|
D | TexturedMeshTest.java | 71 assertThat(copy.getBitmap().sameAs(bmp)).isTrue(); in testCreateTexturedMeshRequest()
|
D | CinematicEffectResponseTest.java | 162 assertThat(meshCopy.getBitmap().sameAs(bmp)).isTrue(); in testCreateCinematicEffectResponse()
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/ |
D | ImageCompare.java | 54 if (bitmap1.sameAs(bitmap2)) { in psnr()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebHistoryItemTest.java | 150 assertTrue(icon.sameAs(item.getFavicon())); in testWebHistoryItem()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | LauncherAppsTest.java | 427 assertTrue(iconFromPackageManager.sameAs(iconFromArchiveActivityInfo)); in testGetActivityList_targetArchivedApp() 485 assertTrue(iconFromPackageManager.sameAs(iconFromArchiveActivityInfo)); in testGetActivityList_allArchivedApps() 529 assertTrue(iconFromPackageManager.sameAs(iconFromArchiveActivityInfo)); in resolveActivity_archivedApp_componentNameMatches()
|
D | InstallSessionParamsUnitTest.java | 285 assertThat(appIcon.get().sameAs(info.getAppIcon())).isTrue(); in checkSessionParams()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TextViewSearchResultHighlightTest.java | 101 assertThat(eBmp.sameAs(aBmp)).isTrue(); in assertPathEquals()
|
D | TextViewHighlightTest.java | 102 assertThat(eBmp.sameAs(aBmp)).isTrue(); in assertPathEquals()
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationTemplateTest.kt | 294 it.extras.getParcelable<Bitmap>(Notification.EXTRA_PICTURE)!!.sameAs(bitmap) in <lambda>() 309 it.extras.getParcelable<Bitmap>(Notification.EXTRA_PICTURE)!!.sameAs(bitmap) in <lambda>() 460 )!!.sameAs(picture) in <lambda>()
|
/cts/tests/tests/media/bettertogether/src/android/media/bettertogether/cts/ |
D | MediaRouterTest.java | 235 assertThat(getBitmap(mTestIconDrawable).sameAs(getBitmap(userRoute.getIconDrawable()))) in testUserRouteInfo() 323 assertThat(getBitmap(mTestIconDrawable).sameAs(getBitmap(routeGroup.getIconDrawable()))) in testRouteGroup()
|