/cts/hostsidetests/devicepolicy/app/CustomizationApp/src/com/android/cts/customizationapp/ |
D | CustomizationTest.java | 25 import com.android.compatibility.common.util.BitmapUtils; 39 final Bitmap originalWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testSetWallpaper_disallowed() 40 final Bitmap referenceWallpaper = BitmapUtils.generateRandomBitmap(97, 73); in testSetWallpaper_disallowed() 48 Bitmap newWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testSetWallpaper_disallowed() 49 assertTrue(BitmapUtils.compareBitmaps(newWallpaper, originalWallpaper)); in testSetWallpaper_disallowed() 52 wallpaperManager.setStream(BitmapUtils.bitmapToInputStream(referenceWallpaper)); in testSetWallpaper_disallowed() 54 newWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testSetWallpaper_disallowed() 55 assertTrue(BitmapUtils.compareBitmaps(newWallpaper, originalWallpaper)); in testSetWallpaper_disallowed() 60 newWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testSetWallpaper_disallowed() 61 assertTrue(BitmapUtils.compareBitmaps(newWallpaper, originalWallpaper)); in testSetWallpaper_disallowed()
|
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
D | CustomizationRestrictionsTest.java | 27 import com.android.compatibility.common.util.BitmapUtils; 104 final Bitmap originalWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testDisallowSetWallpaper_allowed() 119 wallpaperManager.setBitmap(BitmapUtils.generateRandomBitmap(97, 73)); in testDisallowSetWallpaper_allowed() 121 Bitmap newWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testDisallowSetWallpaper_allowed() 122 assertFalse(BitmapUtils.compareBitmaps(newWallpaper, oldWallpaper)); in testDisallowSetWallpaper_allowed() 126 final Bitmap wallpaperForStream = BitmapUtils.generateRandomBitmap(83, 69); in testDisallowSetWallpaper_allowed() 127 wallpaperManager.setStream(BitmapUtils.bitmapToInputStream(wallpaperForStream)); in testDisallowSetWallpaper_allowed() 129 newWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testDisallowSetWallpaper_allowed() 130 assertFalse(BitmapUtils.compareBitmaps(newWallpaper, oldWallpaper)); in testDisallowSetWallpaper_allowed() 136 newWallpaper = BitmapUtils.getWallpaperBitmap(mContext); in testDisallowSetWallpaper_allowed() [all …]
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | PreferenceActivityLegacyFlowTest.java | 27 import com.android.compatibility.common.util.BitmapUtils; 97 assertTrue("Screenshots do not match!", BitmapUtils.compareBitmaps(before, after)); in assertScreenshotsAreEqual()
|
D | PreferenceActivityFlowTest.java | 38 import com.android.compatibility.common.util.BitmapUtils; 485 if (!BitmapUtils.compareBitmaps(before, after, 0.99)) { in assertScreenshotsAreEqual() 504 BitmapUtils.saveBitmap(bitmap, file.getParent(), file.getName()); in dumpBitmap()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/ |
D | DumpOnFailure.java | 22 import com.android.compatibility.common.util.BitmapUtils; 97 BitmapUtils.saveBitmap(entry.getValue(), root.toString(), fileName);
|
D | LocationOnScreenTests.java | 55 import com.android.compatibility.common.util.BitmapUtils; 175 BitmapUtils.saveBitmap(screenshot, path, file); in findTestColorsInScreenshot()
|
/cts/tests/tests/uirendering27/src/android/uirendering/cts/util/ |
D | BitmapDumper.java | 23 import com.android.compatibility.common.util.BitmapUtils; 102 BitmapUtils.saveBitmap(bitmap, CAPTURE_SUB_DIRECTORY + className, in saveFile()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/util/ |
D | BitmapDumper.java | 23 import com.android.compatibility.common.util.BitmapUtils; 102 BitmapUtils.saveBitmap(bitmap, CAPTURE_SUB_DIRECTORY + className, in saveFile()
|
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 33 public class BitmapUtils { class 36 private BitmapUtils() {} in BitmapUtils() method in BitmapUtils
|
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
D | BitmapUtils.java | 33 public class BitmapUtils { class 36 private BitmapUtils() {} in BitmapUtils() method in BitmapUtils
|
/cts/tests/camera/src/android/hardware/camera2/cts/rs/ |
D | BitmapUtils.java | 28 public class BitmapUtils { class
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | AnimatedImageDrawableTest.java | 50 import com.android.compatibility.common.util.BitmapUtils; 525 BitmapUtils.compareBitmaps(expected, actual); in testPostProcess() 604 BitmapUtils.compareBitmaps(expected, test); in drawAndCompare()
|
/cts/tests/camera/src/android/hardware/camera2/cts/ |
D | DngCreatorTest.java | 34 import android.hardware.camera2.cts.rs.BitmapUtils; 604 double difference = BitmapUtils.calcDifferenceMetric(jpegPatch, rawPatch); in validateRawJpegImagePair()
|
D | MultiViewTest.java | 32 import android.hardware.camera2.cts.rs.BitmapUtils; 954 BitmapUtils.BitmapCompareResult result = in testTextureImageWriterReaderOperation() 955 BitmapUtils.compareBitmap(bitmap0, bitmap1); in testTextureImageWriterReaderOperation()
|
D | ImageReaderTest.java | 37 import android.hardware.camera2.cts.rs.BitmapUtils; 630 double difference = BitmapUtils.calcDifferenceMetric(yuvBmap, jpegBmap); in testAllOutputYUVResolutions()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | ImageDecoderTest.java | 56 import com.android.compatibility.common.util.BitmapUtils; 413 BitmapUtils.compareBitmaps(bm, reference); in testSetAllocatorDecodeBitmap() 1931 BitmapUtils.compareBitmaps(bm, reference); 2370 BitmapUtils.compareBitmaps(bm1, bm2); in testReuse()
|
/cts/tests/autofillservice/src/android/autofillservice/cts/ |
D | Helper.java | 65 import com.android.compatibility.common.util.BitmapUtils; 1348 BitmapUtils.saveBitmap(bitmap, file.getParent(), file.getName()); in dumpBitmap()
|