Home
last modified time | relevance | path

Searched refs:getConfig (Results 1 – 25 of 44) 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()
DGainmapTest.java118 if (bitmap.getConfig() == Bitmap.Config.HARDWARE) { in checkGainmap()
121 assertEquals(Bitmap.Config.ARGB_8888, bitmap.getConfig()); in checkGainmap()
128 if (bitmap.getConfig() == Bitmap.Config.HARDWARE) { in checkGainmap()
131 assertEquals(Bitmap.Config.ARGB_8888, gainmapData.getConfig()); in checkGainmap()
147 if (bitmap.getConfig() == Bitmap.Config.HARDWARE) { in checkFountainGainmap()
150 assertEquals(Bitmap.Config.ARGB_8888, bitmap.getConfig()); in checkFountainGainmap()
157 if (bitmap.getConfig() == Bitmap.Config.HARDWARE) { in checkFountainGainmap()
163 assertEquals(Bitmap.Config.ALPHA_8, gainmapData.getConfig()); in checkFountainGainmap()
445 assertEquals(gainmapData.getConfig(), unparceledGainmapData.getConfig()); in testWriteToParcel()
472 assertEquals(Bitmap.Config.ARGB_8888, gainmapImage.getConfig()); in testCompress8888()
[all …]
DBitmapFactoryTest.java272 assertEquals(bPng.getConfig(), config); in testWebpStreamDecode()
284 assertEquals(bPng.getConfig(), config); in testWebpStreamEncode()
306 assertEquals(bPng.getConfig(), Config.ARGB_8888); in testDecodeStream5()
314 assertEquals(bWebP1.getConfig(), Config.ARGB_8888); in testDecodeStream5()
326 assertEquals(bWebP2.getConfig(), Config.ARGB_8888); in testDecodeStream5()
639 assertEquals(premul.getConfig(), Bitmap.Config.ARGB_8888); in testDecodePremultipliedData()
640 assertEquals(unpremul.getConfig(), Bitmap.Config.ARGB_8888); in testDecodePremultipliedData()
809 assertEquals(Config.HARDWARE, hardwareBitmap.getConfig()); in testDecodeHardwareBitmap()
950 assertEquals(Config.ARGB_8888, reference.getConfig()); in decodeConfigs()
958 assertEquals(Config.ARGB_8888, argb4444.getConfig()); in decodeConfigs()
[all …]
DBitmapTest.java322 mBitmap.getConfig()); in testCopyPixelsToBuffer()
348 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap1()
433 assertEquals(Config.HARDWARE, hardwareBitmap.getConfig()); in testCreateBitmapFromHardwareBitmap()
436 assertEquals(Config.HARDWARE, ret.getConfig()); in testCreateBitmapFromHardwareBitmap()
447 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap4()
542 assertEquals(Config.RGB_565, ret.getConfig()); in testCreateBitmap6()
981 if (mBitmap.getConfig() != Config.RGBA_F16) { in testGetColor()
990 ColorUtils.verifyColor("Bitmap(Config: " + mBitmap.getConfig() in testGetColor()
1159 assertEquals(Bitmap.Config.ALPHA_8, bm0.getConfig()); in testGetConfig()
1160 assertEquals(Bitmap.Config.ARGB_8888, bm1.getConfig()); in testGetConfig()
[all …]
DImageDecoderTest.java274 assertEquals(expectedConfig, bm.getConfig()); in testDecode10BitHeif()
294 assertEquals(Bitmap.Config.RGBA_1010102, bm.getConfig()); in testDecode10BitAvif()
334 assertEquals(Bitmap.Config.RGB_565, bm.getConfig()); in testDecode10BitHeifWithLowRam()
358 assertEquals(Bitmap.Config.RGB_565, bm.getConfig()); in testDecode10BitAvifWithLowRam()
449 assertEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testDecodeBitmap()
554 assertNotEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testSetAllocatorDecodeBitmap()
569 Bitmap.Config.HARDWARE, bm.getConfig()); in testSetAllocatorDecodeBitmap()
681 assertNotEquals(Bitmap.Config.HARDWARE, bitmap.getConfig()); in testPostProcessor()
690 assertEquals(bitmap.getConfig(), Bitmap.Config.HARDWARE); in testPostProcessor()
1256 assertNotEquals(Bitmap.Config.HARDWARE, bm.getConfig()); in testMutable()
[all …]
DBitmapColorSpaceTest.java205 assertSame(Bitmap.Config.ARGB_8888, rotated.getConfig()); in createFromSourceWithColorSpace()
209 assertSame(Bitmap.Config.ARGB_8888, rotated.getConfig()); in createFromSourceWithColorSpace()
974 assertSame(Bitmap.Config.HARDWARE, b.getConfig()); in copyHardwareToAlpha8()
1061 assertEquals(Bitmap.Config.RGBA_F16, b.getConfig()); in testEncodeColorSpace()
1090 assertEquals(Bitmap.Config.RGBA_F16, b2.getConfig()); in testEncodeColorSpace()
1095 assertEquals(Bitmap.Config.ARGB_8888, b2.getConfig()); in testEncodeColorSpace()
1122 assertEquals(Bitmap.Config.HARDWARE, b.getConfig()); in testEncodeP3hardware()
1154 assertEquals(Bitmap.Config.HARDWARE, b.getConfig()); in test16bitHardware()
DBitmapRegionDecoderTest.java412 assertEquals(reuseResult.getConfig(), config); in testInBitmapReuse()
444 assertEquals(Config.HARDWARE, hardwareBitmap.getConfig()); in testDecodeHardwareBitmap()
463 assertSame(opts.outConfig, region.getConfig()); in testOutColorType()
618 assertEquals(expected, result.getConfig()); in testF16WithInBitmap()
839 wholeImage.getConfig()); in cropBitmap()
/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()
241 assertEquals(Bitmap.Config.HARDWARE, scaled.getConfig()); in testCreateScaledBitmap()
255 assertEquals(Bitmap.Config.HARDWARE, cropped.getConfig()); in testCreateSubsetBitmap()
269 assertEquals(Bitmap.Config.HARDWARE, transformed.getConfig()); in testCreateTransformedBitmap()
301 assertEquals(Bitmap.Config.ALPHA_8, alphaBitmap.getConfig()); in testHardwareExtractAlpha()
311 assertEquals(from, bitmap.getConfig()); in testBitmapCopy()
320 assertEquals(to, copy.getConfig()); in testBitmapCopy()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DBitmapUtils.java62 if (bmp1.getConfig() != bmp2.getConfig()) { in compareBasicBitmapsInfo()
64 + "bmp1=(" + bmp1.getConfig() + "), " in compareBasicBitmapsInfo()
65 + "bmp2=(" + bmp2.getConfig() + ")"); in compareBasicBitmapsInfo()
/cts/tests/tests/drm/src/android/drm/cts/
DConfigFactory.java33 public static Config getConfig(String plugInName) { in getConfig() method in ConfigFactory
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCarrierConfigManagerTest.java368 PersistableBundle config = mConfigManager.getConfig(); in testGetConfig()
375 mConfigManager.getConfig(null); in testGetConfig_withNullKeys()
381 mConfigManager.getConfig(CarrierConfigManager.KEY_CARRIER_CONFIG_VERSION_STRING, null); in testGetConfig_withNullKeys()
389 PersistableBundle allConfigs = mConfigManager.getConfig(); in testGetConfig_withValidKeys()
394 PersistableBundle configSubset = mConfigManager.getConfig(key); in testGetConfig_withValidKeys()
404 PersistableBundle configSubset = mConfigManager.getConfig(keyWithoutDefaultValue); in testGetConfig_keyWithoutDefaultValue()
408 configSubset = mConfigManager.getConfig(keyWithDefaultValue, keyWithoutDefaultValue); in testGetConfig_keyWithoutDefaultValue()
425 config = mConfigManager.getConfig(); in testRevokePermission()
434 config = mConfigManager.getConfig(); in testRevokePermission()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DBitmapUtils.java62 if (bmp1.getConfig() != bmp2.getConfig()) { in compareBasicBitmapsInfo()
64 + "bmp1=(" + bmp1.getConfig() + "), " in compareBasicBitmapsInfo()
65 + "bmp2=(" + bmp2.getConfig() + ")"); in compareBasicBitmapsInfo()
DWidgetTestUtils.java70 || b1.getConfig() != b2.getConfig()) { in assertEquals()
/cts/tests/tests/text/src/android/text/cts/
DEmojiTest.java94 if (bmp.getConfig() == Bitmap.Config.ALPHA_8) { in describeBitmap()
96 } else if (bmp.getConfig() == Bitmap.Config.RGB_565) { in describeBitmap()
98 } else if (bmp.getConfig() == Bitmap.Config.ARGB_4444) { in describeBitmap()
100 } else if (bmp.getConfig() == Bitmap.Config.ARGB_8888) { in describeBitmap()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyTest.java245 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testGlProducerFullsize()
258 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testGlProducerAutoSize()
314 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testGlProducerScaling()
330 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testReuseBitmap()
340 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testReuseBitmap()
372 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testViewProducer()
388 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testWindowProducerAutoSize()
407 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testViewProducerAutoSizeWithSrc()
467 assertEquals(Config.ARGB_8888, bitmap.getConfig()); in testWindowProducerScaling()
484 assertEquals(Config.RGBA_F16, bitmap.getConfig()); in testWindowProducerCopyToRGBA16F()
[all …]
DTextureViewCtsActivity.java427 int[] configSpec = getConfig(); in chooseEglConfig()
437 private int[] getConfig() { in getConfig() method in TextureViewCtsActivity
DTextureViewTest.java704 Bitmap.Config getConfig(); in getConfig() method
716 public Bitmap.Config getConfig() { in getConfig() method in TextureViewTest.FP16Compare
752 public Bitmap.Config getConfig() { in getConfig() method in TextureViewTest.SRGBCompare
797 final Bitmap bitmap = activity.getContents(compareFunction.getConfig(), in testGetBitmap()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DTestAcsClient.java73 public byte[] getConfig() { in getConfig() method in TestAcsClient
DTestImsService.java399 public ImsConfigImplBase getConfig(int slotId) { in getConfig() method in TestImsService.ImsServiceUT_compat
731 public ImsConfigImplBase getConfig() { in getConfig() method in TestImsService
/cts/tests/tests/transition/src/android/transition/cts/
DSharedElementCallbackTest.java74 assertSame(Bitmap.Config.HARDWARE, finalBitmap.getConfig()); in testSnapshot()
/cts/tests/tests/widget/src/android/widget/cts/
DImageSwitcherTest.java148 currViewBitmap.getBitmap().getConfig()); in testSetImageURI()
157 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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DCustomizationRestrictionsTest.java111 originalWallpaper.copy(originalWallpaper.getConfig(), false); in testDisallowSetWallpaper_allowed()
/cts/tests/tests/telecom/src/android/telecom/cts/
DSimCallManagerTest.java102 PersistableBundle configBundle = configManager.getConfig(); in testGetSimCallManager()

12