Home
last modified time | relevance | path

Searched refs:sameAs (Results 1 – 25 of 42) sorted by relevance

12

/cts/tests/tests/uidmigration/src/android/uidmigration/cts/
DSharedUserMigrationTest.kt59 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>()
DAppIdMigrationTest.kt73 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>()
DCommon.kt53 fun <T> Array<T>.sameAs(vararg items: T) = in assertEquals() method
/cts/tests/tests/graphics/src/android/graphics/cts/
DCanvasDrawGlyphsTest.java94 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()
DBitmapTest.java1854 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/
DMeasuredTextTest.java419 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 …]
DTextRunShaperTest.java329 assertThat(glyphsResult.sameAs(layoutResult)).isTrue(); in assertSameDrawResult()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DNinePatchTests.kt87 assertFalse(filtered.sameAs(unfiltered)) in <lambda>()
88 assertTrue(unfiltered.sameAs(noPaint)) in <lambda>()
/cts/tests/tests/text/src/android/text/cts/
DControlCharacterGlyphTest.java43 assertThat(bmp.sameAs(emptyBitmap)).isTrue(); in testLineBreakDrawsNothing()
DEmojiTest.java138 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()
DFontVariationSettingsTest.kt62 assertThat(actual.sameAs(expect)).isFalse() in testFontVariationSettingsEffective()
DMyanmarTest.java209 return !bitmapCorrect.sameAs(bitmapWrong); in isUnicodeRendersCorrectly()
218 return bitmapCorrect.sameAs(bitmapWrong); in isZawgyiRendersCorrectly()
DStaticLayoutMultilineBidiTest.kt90 assertThat(actualBitmap.sameAs(expectBitmap)).isTrue() in testConsistentBidiDraw()
DTextShaperTest.java162 assertThat(glyphsResult.sameAs(layoutResult)).isTrue(); in assertSameDrawResult()
/cts/tests/wallpapereffectsgeneration/src/android/wallpapereffectsgeneration/cts/
DCinematicEffectRequestTest.java60 assertThat(copy.getBitmap().sameAs(bmp)).isTrue(); in testCreateCinematicEffectRequest()
DTexturedMeshTest.java71 assertThat(copy.getBitmap().sameAs(bmp)).isTrue(); in testCreateTexturedMeshRequest()
DCinematicEffectResponseTest.java162 assertThat(meshCopy.getBitmap().sameAs(bmp)).isTrue(); in testCreateCinematicEffectResponse()
/cts/tests/tests/renderscript/src/android/renderscript/cts/refocus/
DImageCompare.java54 if (bitmap1.sameAs(bitmap2)) { in psnr()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebHistoryItemTest.java150 assertTrue(icon.sameAs(item.getFavicon())); in testWebHistoryItem()
/cts/tests/tests/content/src/android/content/pm/cts/
DLauncherAppsTest.java427 assertTrue(iconFromPackageManager.sameAs(iconFromArchiveActivityInfo)); in testGetActivityList_targetArchivedApp()
485 assertTrue(iconFromPackageManager.sameAs(iconFromArchiveActivityInfo)); in testGetActivityList_allArchivedApps()
529 assertTrue(iconFromPackageManager.sameAs(iconFromArchiveActivityInfo)); in resolveActivity_archivedApp_componentNameMatches()
DInstallSessionParamsUnitTest.java285 assertThat(appIcon.get().sameAs(info.getAppIcon())).isTrue(); in checkSessionParams()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewSearchResultHighlightTest.java101 assertThat(eBmp.sameAs(aBmp)).isTrue(); in assertPathEquals()
DTextViewHighlightTest.java102 assertThat(eBmp.sameAs(aBmp)).isTrue(); in assertPathEquals()
/cts/tests/tests/notification/src/android/app/notification/current/cts/
DNotificationTemplateTest.kt294 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/
DMediaRouterTest.java235 assertThat(getBitmap(mTestIconDrawable).sameAs(getBitmap(userRoute.getIconDrawable()))) in testUserRouteInfo()
323 assertThat(getBitmap(mTestIconDrawable).sameAs(getBitmap(routeGroup.getIconDrawable()))) in testRouteGroup()

12