Home
last modified time | relevance | path

Searched refs:getConfig (Results 1 – 25 of 35) sorted by relevance

12

/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRGBAF16Test.java62 assertEquals(Config.RGBA_F16, mOpaqueBitmap.getConfig()); in testDecode()
66 assertEquals(Config.RGBA_F16, mTransparentBitmap.getConfig()); in testDecode()
75 assertEquals(Config.RGBA_F16, scaled.getConfig()); in testScaling()
81 assertEquals(Config.RGBA_F16, scaled.getConfig()); in testScaling()
89 assertEquals(Config.RGBA_F16, copy.getConfig()); in testCopy()
94 assertEquals(Config.RGBA_F16, copy.getConfig()); in testCopy()
102 assertEquals(Config.RGBA_F16, b.getConfig()); in testCreate()
107 assertEquals(Config.RGBA_F16, b.getConfig()); in testCreate()
DBitmapFactoryTest.java231 assertEquals(bPng.getConfig(), COLOR_CONFIGS[k]); in testDecodeStream4()
266 assertEquals(bPng.getConfig(), COLOR_CONFIGS_RGBA[k]); in testDecodeStream5()
274 assertEquals(bWebP1.getConfig(), COLOR_CONFIGS_RGBA[k]); in testDecodeStream5()
286 assertEquals(bWebP2.getConfig(), COLOR_CONFIGS_RGBA[k]); in testDecodeStream5()
600 assertEquals(premul.getConfig(), Bitmap.Config.ARGB_8888); in testDecodePremultipliedData()
601 assertEquals(unpremul.getConfig(), Bitmap.Config.ARGB_8888); in testDecodePremultipliedData()
770 assertEquals(Config.HARDWARE, hardwareBitmap.getConfig()); in testDecodeHardwareBitmap()
908 assertEquals(Config.ARGB_8888, reference.getConfig()); in decodeConfigs()
916 assertEquals(Config.ARGB_8888, argb4444.getConfig()); in decodeConfigs()
925 assertEquals(Config.RGB_565, rgb565.getConfig()); in decodeConfigs()
[all …]
DBitmapTest.java215 mBitmap.getConfig()); in testCopyPixelsToBuffer()
241 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap1()
326 assertEquals(Config.HARDWARE, hardwareBitmap.getConfig()); in testCreateBitmapFromHardwareBitmap()
329 assertEquals(Config.HARDWARE, ret.getConfig()); in testCreateBitmapFromHardwareBitmap()
340 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap4()
435 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap6()
716 if (mBitmap.getConfig() != Config.RGBA_F16) { in testGetColor()
725 ColorUtils.verifyColor("Bitmap(Config: " + mBitmap.getConfig() in testGetColor()
894 assertEquals(Bitmap.Config.ALPHA_8, bm0.getConfig()); in testGetConfig()
895 assertEquals(Bitmap.Config.ARGB_8888, bm1.getConfig()); in testGetConfig()
[all …]
DImageDecoderTest.java317 assertEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testDecodeBitmap()
407 assertNotEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testSetAllocatorDecodeBitmap()
419 Bitmap.Config.HARDWARE, bm.getConfig()); in testSetAllocatorDecodeBitmap()
537 assertNotEquals(Bitmap.Config.HARDWARE, bitmap.getConfig()); in testPostProcessor()
546 assertEquals(bitmap.getConfig(), Bitmap.Config.HARDWARE); in testPostProcessor()
1113 assertNotEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testMutable()
1614 assertNotEquals(Bitmap.Config.ALPHA_8, bm.getConfig()); in testAlphaMaskNonGray()
1631 assertEquals(Bitmap.Config.ALPHA_8, bm.getConfig()); in testAlphaPlusSetTargetColorSpace()
1728 assertEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testAlphaMask()
1743 assertEquals(Bitmap.Config.ALPHA_8, bm.getConfig()); in testAlphaMask()
[all …]
DBitmapRegionDecoderTest.java415 assertEquals(reuseResult.getConfig(), config); in testInBitmapReuse()
446 assertEquals(Config.HARDWARE, hardwareBitmap.getConfig()); in testDecodeHardwareBitmap()
465 assertSame(opts.outConfig, region.getConfig()); in testOutColorType()
593 assertEquals(expected, result.getConfig()); in testF16WithInBitmap()
696 wholeImage.getConfig()); in cropBitmap()
DBitmapColorSpaceTest.java201 assertSame(Bitmap.Config.ARGB_8888, rotated.getConfig()); in createFromSourceWithColorSpace()
205 assertSame(Bitmap.Config.ARGB_8888, rotated.getConfig()); in createFromSourceWithColorSpace()
970 assertSame(Bitmap.Config.HARDWARE, b.getConfig()); in copyHardwareToAlpha8()
1049 assertEquals(Bitmap.Config.RGBA_F16, b.getConfig()); in testEncodeP3()
1085 assertEquals(Bitmap.Config.HARDWARE, b.getConfig()); in testEncodeP3hardware()
1121 assertEquals(Bitmap.Config.HARDWARE, b.getConfig()); in test16bitHardware()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareBitmapTests.java101 assertEquals(Bitmap.Config.HARDWARE, hardwareBitmap.getConfig()); in testCreateFromPicture()
111 assertEquals(Bitmap.Config.HARDWARE, hardwareBitmap.getConfig()); in testReadbackThroughPicture()
131 assertEquals(Bitmap.Config.HARDWARE, hardwareBitmap.getConfig()); in testReadbackThroughPictureNoEndRecording()
162 assertEquals(Bitmap.Config.HARDWARE, scaled.getConfig()); in testCreateScaledBitmapFromPicture()
247 assertEquals(Bitmap.Config.HARDWARE, scaled.getConfig()); in testCreateScaledBitmap()
261 assertEquals(Bitmap.Config.HARDWARE, cropped.getConfig()); in testCreateSubsetBitmap()
275 assertEquals(Bitmap.Config.HARDWARE, transformed.getConfig()); in testCreateTransformedBitmap()
307 assertEquals(Bitmap.Config.ALPHA_8, alphaBitmap.getConfig()); in testHardwareExtractAlpha()
317 assertEquals(from, bitmap.getConfig()); in testBitmapCopy()
326 assertEquals(to, copy.getConfig()); in testBitmapCopy()
DBitmapTests.java240 assertEquals(Bitmap.Config.ARGB_8888, bitmap.getConfig()); in testCreateFromPicture()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java191 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testGlProducerFullsize()
247 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testGlProducerScaling()
262 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testReuseBitmap()
270 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testReuseBitmap()
299 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testWindowProducer()
358 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testWindowProducerScaling()
378 assertEquals(Config.RGBA_F16, bitmap.getConfig()); in testWindowProducerCopyToRGBA16F()
420 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testWideGamutWindowProducerCopyToRGBA8888()
476 assertEquals(Config.RGBA_F16, bitmap.getConfig()); in testWideGamutWindowProducerCopyToRGBA16F()
521 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testDialogProducer()
[all …]
DTextureViewTest.java387 Bitmap.Config getConfig(); in getConfig() method
399 public Bitmap.Config getConfig() { in getConfig() method in TextureViewTest.FP16Compare
435 public Bitmap.Config getConfig() { in getConfig() method in TextureViewTest.SRGBCompare
480 final Bitmap bitmap = activity.getContents(compareFunction.getConfig(), in testGetBitmap()
DTextureViewCtsActivity.java425 int[] configSpec = getConfig(); in chooseEglConfig()
435 private int[] getConfig() { in getConfig() method in TextureViewCtsActivity
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCarrierConfigManagerTest.java138 PersistableBundle config = mConfigManager.getConfig(); in testGetConfig()
153 config = mConfigManager.getConfig(); in testRevokePermission()
162 config = mConfigManager.getConfig(); in testRevokePermission()
/cts/tests/tests/text/src/android/text/cts/
DEmojiTest.java85 if (bmp.getConfig() == Bitmap.Config.ALPHA_8) { in describeBitmap()
87 } else if (bmp.getConfig() == Bitmap.Config.RGB_565) { in describeBitmap()
89 } else if (bmp.getConfig() == Bitmap.Config.ARGB_4444) { in describeBitmap()
91 } else if (bmp.getConfig() == Bitmap.Config.ARGB_8888) { in describeBitmap()
/cts/tests/tests/drm/src/android/drm/cts/
DConfigFactory.java33 public static Config getConfig(String plugInName) { in getConfig() method in ConfigFactory
/cts/hostsidetests/statsd/src/android/cts/statsd/validation/
DProcStatsValidationTests.java60 StatsdConfig config = createValidationUtil().getConfig(fileName); in testProcessStateTopDuration()
125 StatsdConfig config = createValidationUtil().getConfig(fileName);
190 StatsdConfig config = createValidationUtil().getConfig(fileName);
280 StatsdConfig config = createValidationUtil().getConfig(fileName);
385 StatsdConfig config = createValidationUtil().getConfig(fileName); in testProcStatsPkgProcStats()
DBatteryStatsValidationTests.java60 StatsdConfig config = createValidationUtil().getConfig(fileName); in testConnectivityStateChange()
185 StatsdConfig config = createValidationUtil().getConfig(fileName); in testServiceStartCount()
229 StatsdConfig config = createValidationUtil().getConfig(fileName); in testServiceLaunchCount()
DValidationTestUtil.java35 public StatsdConfig getConfig(String fileName) throws IOException { in getConfig() method in ValidationTestUtil
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DWidgetTestUtils.java70 || b1.getConfig() != b2.getConfig()) { in assertEquals()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DWidgetTestUtils.java70 || b1.getConfig() != b2.getConfig()) { in assertEquals()
/cts/tests/tests/widget/src/android/widget/cts/
DImageSwitcherTest.java140 currViewBitmap.getBitmap().getConfig()); in testSetImageURI()
149 currViewBitmap.getBitmap().getConfig()); in testSetImageURI()
DSimpleCursorTreeAdapterTest.java184 android.widget.cts.R.raw.testimage, actualBitmap.getConfig()); in testSetViewImage()
/cts/tests/tests/opengl/src/android/opengl/cts/
DFramebufferTest.java202 EGLConfig config = getConfig(flags, 3); in EglCore()
221 EGLConfig config = getConfig(flags, 2); in EglCore()
250 private EGLConfig getConfig(int flags, int version) { in getConfig() method in FramebufferTest.EglCore
/cts/tests/tests/transition/src/android/transition/cts/
DSharedElementCallbackTest.java74 assertSame(Bitmap.Config.HARDWARE, finalBitmap.getConfig()); in testSnapshot()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCustomizationRestrictionsTest.java106 originalWallpaper.copy(originalWallpaper.getConfig(), false); in testDisallowSetWallpaper_allowed()
/cts/tests/tests/telecom/src/android/telecom/cts/
DSimCallManagerTest.java101 PersistableBundle configBundle = configManager.getConfig(); in testGetSimCallManager()

12