Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/audio_util/
DImageTest.java196 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithArt()
210 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithAlbumArt()
224 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithDisplayIcon()
238 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithArtUri()
252 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithAlbumArtUri()
267 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaMetadataWithDisplayIconUri()
292 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaDescriptionWithImage()
305 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromMediaDescriptionWithUri()
330 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromBundleWithArt()
343 assertThat(mTestBitmap.sameAs(artwork.getImage())).isTrue(); in testCreateImageFromBundleWithAlbumArt()
[all …]
DBrowserPlayerWrapperTest.java402 Assert.assertTrue(expectedBitmap.sameAs(song.image.getImage())); in testGetFolderItems()
404 Assert.assertTrue(mTestBitmap.sameAs(song.image.getImage())); in testGetFolderItems()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImageTest.java66 Assert.assertTrue(bitmap.sameAs(image.getImage())); in testParseImage_200by200()
80 Assert.assertTrue(bitmap.sameAs(image.getImage())); in testParseImage_600by600()
90 Assert.assertTrue(bitmap.sameAs(image.getImage())); in testMakeFromImage_200by200()
100 Assert.assertTrue(bitmap.sameAs(image.getImage())); in testMakeFromImage_600by600()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/
DPreviewActivityTest.java162 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentHomeWallpaper())); in testClickSetWallpaper_Success_HomeScreen()
190 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentLockWallpaper())); in testClickSetWallpaper_Success_LockScreen()
220 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentHomeWallpaper())); in testClickSetWallpaper_Success_BothHomeAndLockScreen()
221 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentLockWallpaper())); in testClickSetWallpaper_Success_BothHomeAndLockScreen()
265 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentHomeWallpaper())); in testClickSetWallpaper_Fails_HomeScreen_ShowsErrorDialog()
304 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentLockWallpaper())); in testClickSetWallpaper_Fails_LockScreen_ShowsErrorDialog()
345 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentHomeWallpaper())); in testClickSetWallpaper_Fails_BothHomeAndLock_ShowsErrorDialog()
346 assertTrue(srcBitmap.sameAs(mWallpaperPersister.getCurrentLockWallpaper())); in testClickSetWallpaper_Fails_BothHomeAndLock_ShowsErrorDialog()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DContactsAsyncHelperTest.java149 assertTrue(getExpectedPhoto(SAMPLE_CONTACT_PHOTO_URI).sameAs(capturedPhoto)); in testImageScaling()
171 assertTrue(getExpectedPhoto(SAMPLE_CONTACT_PHOTO_URI_SMALL).sameAs(capturedPhoto)); in testNoScaling()
172 assertTrue(capturedPhoto.sameAs(iconCaptor.getValue())); in testNoScaling()
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/
DFloatingMenuLayerDrawableTest.java55 assertThat(ImageTestUtils.drawableToBitmap(actual1stDrawable).sameAs( in createLayerDrawable_configCorrect()
57 assertThat(ImageTestUtils.drawableToBitmap(actual2ndDrawable).sameAs( in createLayerDrawable_configCorrect()
DAccessibilityButtonPreviewPreferenceControllerTest.java77 assertThat(ImageTestUtils.drawableToBitmap(mController.mPreview.getDrawable()).sameAs( in onChange_a11yBtnModeNavigationBar_getNavigationBarDrawable()
/packages/apps/Car/Radio/src/com/android/car/radio/storage/
DIdentifierEntity.java43 public boolean sameAs(@Nullable ProgramSelector.Identifier id) { in sameAs() method in IdentifierEntity
DFavorite.java45 if (!primaryId.sameAs(selector.getPrimaryId())) { in Favorite()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/matchers/
DDrawableMatcher.java60 return bitmap.sameAs(otherBitmap); in matchesSafely()
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/common/
DCustomizationVerifier.java65 return expected.sameAs((Bitmap) actual); in bitmapEqualTo()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFeatureProviderImplTest.java421 assertThat(preferenceBmp.sameAs(staticIconBmp)).isTrue(); in bindIcon_withStaticIcon_shouldLoadStaticIcon()
456 assertThat(preferenceBmp.sameAs(staticIconBmp)).isFalse(); in bindIcon_withStaticIconAndIconUri_shouldLoadIconFromContentProvider()
463 assertThat(preferenceBmp.sameAs(iconBmpFromUri)).isTrue(); in bindIcon_withStaticIconAndIconUri_shouldLoadIconFromContentProvider()
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/helpers/
DImage.java249 return bmp.sameAs(mImage); in equals()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpCoverArtStorageTest.java92 Assert.assertTrue(expected.sameAs(image)); in assertImageSame()
/packages/apps/Dialer/java/com/android/incallui/
DStatusBarNotifier.java501 largeIconChanged = largeIcon == null || !savedLargeIcon.sameAs(largeIcon); in checkForChangeAndSaveData()