/cts/tests/tests/mediatranscoding/src/android/media/mediatranscoding/cts/ |
D | ApplicationMediaCapabilitiesTest.java | 112 InputStream xmlIs = mContext.getAssets().open("MediaCapabilities.xml"); in testReadFromCorrectXmlWithInputStreamInAssets() 135 InputStream xmlIs = mContext.getAssets().open("SupportAllHdr.xml"); in testReadMediaCapabilitiesXmlWithSupportAllHdr() 163 InputStream xmlIs = mContext.getAssets().open("WrongMediaCapabilityTag.xml"); in testReadFromWrongMediaCapabilityXml() 179 InputStream xmlIs = mContext.getAssets().open("WrongMediaCapabilityTag2.xml"); in testReadFromWrongMediaCapabilityXml2() 194 InputStream xmlIs = mContext.getAssets().open("WrongBooleanValue.xml"); in testReadFromXmlWithWrongBoolean() 209 InputStream xmlIs = mContext.getAssets().open("SupportHdrWithoutHevc.xml"); in testReadXmlSupportHdrWithoutSupportHevc() 225 InputStream xmlIs = mContext.getAssets().open("ConflictSupportedValue.xml"); in testReadXmlConflictSupportedValue() 240 InputStream xmlIs = mContext.getAssets().open("EmptyFormat.xml"); in testReadXmlWithEmptyFormat() 255 InputStream xmlIs = mContext.getAssets().open("FormatWithoutSupported.xml"); in testReadXmlFormatWithoutSupported() 270 InputStream xmlIs = mContext.getAssets().open("SupportedWithoutFormat.xml"); in testReadXmlSupportedWithoutFormat() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | TypefaceCustomFallbackBuilderTest.java | 50 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in createFullFamilyTypeface() 69 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testSingleFont_path() 84 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testSingleFont_ttc() 100 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testSingleFont_vf() 135 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testFamily_selectStyleByBuilder() 160 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testFamily_closestDefault() 179 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testUserFallback() 201 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testMaxCustomFallback() 214 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testMaxCustomFallback_exceed_limits() 236 final AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testUserFallbackOverLocaleFallback() [all …]
|
D | TypefaceTest.java | 161 final AssetManager assets = res.getAssets(); in testGetSystemFontFamilyName() 162 Typeface typefaceFromAsset = Typeface.createFromAsset(mContext.getAssets(), in testGetSystemFontFamilyName() 223 Typeface.createFromAsset(mContext.getAssets(), null); in testCreateFromAssetNullPath() 229 Typeface.createFromAsset(mContext.getAssets(), "invalid path"); in testCreateFromAssetInvalidPath() 234 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testCreateFromAsset() 285 InputStream is = mContext.getAssets().open("fonts/others/samplefont.ttf"); in obtainPath() 299 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testInvalidCmapFont() 310 Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), in testInvalidCmapFont2() 330 final Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), file); in testInvalidCmapFont_tooLargeCodePoints() 344 final Typeface typeface = Typeface.createFromAsset(mContext.getAssets(), file); in testInvalidCmapFont_unsortedEntries() [all …]
|
D | BitmapColorSpaceTest.java | 240 try (InputStream in = mResources.getAssets().open("green-p3.png")) { in p3() 262 try (InputStream in = mResources.getAssets().open("blue-16bit-srgb.png")) { in extendedSRGB() 285 try (InputStream in = mResources.getAssets().open(assetInLinearSRGB)) { in linearSRGB() 294 try (InputStream in = mResources.getAssets().open(assetInLinearSRGB)) { in linearSRGB() 326 try (InputStream in = mResources.getAssets().open(asset.name)) { in reconfigure() 358 try (InputStream in = mResources.getAssets().open("green-srgb.png")) { in reuse() 367 try (InputStream in = mResources.getAssets().open("green-p3.png")) { in reuse() 387 try (InputStream in = mResources.getAssets().open(fileName)) { in verifyGetPixel() 433 try (InputStream in = mResources.getAssets().open(fileName)) { in verifyGetPixels() 476 try (InputStream in = mResources.getAssets().open(fileName)) { in verifySetPixel() [all …]
|
D | BasicVulkanGpuTest.java | 58 verifyBasicBufferImport(InstrumentationRegistry.getContext().getAssets(), mFormat, false); in testBasicBufferImportAndRenderingExplicitFormat() 63 verifyBasicBufferImport(InstrumentationRegistry.getContext().getAssets(), mFormat, true); in testBasicBufferImportAndRenderingExternalFormat()
|
D | MediaVulkanGpuTest.java | 38 AssetManager assets = InstrumentationRegistry.getContext().getAssets(); in getFramePixels() 48 loadMediaAndVerifyFrameImport(InstrumentationRegistry.getContext().getAssets(), in testMediaImportAndRendering()
|
D | CameraVulkanGpuTest.java | 77 loadCameraAndVerifyFrameImport(InstrumentationRegistry.getContext().getAssets()); in testCameraImportAndRendering() 78 …ndVerifyFrameImportWithAIMAGE_FORMAT_YUV_420_888(InstrumentationRegistry.getContext().getAssets()); in testCameraImportAndRendering()
|
D | ComputeAhbTest.java | 38 verifyComputeShaderWrite(InstrumentationRegistry.getContext().getAssets()); in testAhbComputeShaderWrite()
|
D | VulkanPreTransformCtsActivity.java | 89 nCreateNativeTest(getAssets(), mSurface, setPreTransform); in testVulkanPreTransform()
|
/cts/tests/tests/graphics/src/android/graphics/fonts/ |
D | FontFamilyTest.java | 43 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_SingleFont() 53 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont() 68 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_overrideWeight() 83 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_overrideItalic() 98 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_SameStyle() 108 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_SameStyle_overrideWeight() 118 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_MultipleFont_SameStyle_overrideItalic()
|
D | FontTest.java | 153 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_buffer() 174 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_buffer_ttc() 196 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_buffer_vf() 220 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_buffer_override() 269 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_file() 295 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_file_ttc() 322 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_file_vf() 351 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_file_override() 409 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_fd() 438 AssetManager am = InstrumentationRegistry.getTargetContext().getAssets(); in testBuilder_fd_ttc() [all …]
|
/cts/hostsidetests/media/app/MediaExtractorTest/src/android/media/cts/ |
D | MediaExtractorDeviceSideTest.java | 49 mAssetManager = InstrumentationRegistry.getInstrumentation().getContext().getAssets(); in setUp() 56 InstrumentationRegistry.getInstrumentation().getContext().getAssets(); in testEntryPointSdk() 97 InstrumentationRegistry.getInstrumentation().getContext().getAssets(); in assertMediaExtractorAcceptsLogSessionId()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | Rgba16fTests.java | 47 AssetManager assets = getActivity().getResources().getAssets(); in testTransferFunctions() 68 AssetManager assets = getActivity().getResources().getAssets(); in testAlpha() 92 AssetManager assets = getActivity().getResources().getAssets(); in testMasked() 126 AssetManager assets = getActivity().getResources().getAssets(); in testTransferFunctionsShader()
|
D | AnimatedImageDrawableTest.kt | 46 private fun getAssets(): AssetManager { in <lambda>() method 47 return InstrumentationRegistry.getTargetContext().getAssets() in <lambda>() 53 val source = ImageDecoder.createSource(getAssets(), in <lambda>() 84 val source = ImageDecoder.createSource(getAssets(), TEST_FILE) in <lambda>()
|
/cts/tests/tests/content/HelloWorldApp/src_res_hardening_lib/com/example/helloworld/lib/ |
D | TestUtils.java | 119 final AssetManager assets = res.getAssets(); in checkOpenXmlResourceParser() 154 final AssetManager assets = res.getAssets(); in checkXmlAttributes() 176 final AssetManager assets = res.getAssets(); in checkOpenMissingFile() 189 final AssetManager assets = res.getAssets(); in checkOpenMissingFdFile() 205 final AssetManager assets = res.getAssets(); in checkOpen() 222 final AssetManager assets = res.getAssets(); in checkOpenFd()
|
/cts/tests/tests/neuralnetworks/benchmark/src/com/android/nn/benchmark/cts/ |
D | NNAccuracyApplication.java | 30 TestModelsListLoader.parseFromAssets(getAssets()); in onCreate()
|
/cts/hostsidetests/appsecurity/test-apps/rro/OverlayApp/src/com/android/cts/overlay/app/ |
D | OverlayableTest.java | 77 for (String path : context.getAssets().getApkPaths()) { in assertOverlayEnabled() 158 assertTrue(InstrumentationRegistry.getTargetContext().getAssets().getOverlayablesToString( in testFrameworkDoesNotDefineOverlayable() 165 AssetFileDescriptor d = context.getAssets().openNonAssetFd("assets/asset.txt"); in testCannotOverlayAssets()
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | Resources_RegisterResourcePathsTest.java | 104 ApkAssets[] loadedAssets = resources.getAssets().getApkAssets(); in testExistingResourcesAfterRegistration() 136 ApkAssets[] loadedAssets = resources.getAssets().getApkAssets(); in testNewResourcesAfterRegistration() 174 ApkAssets[] loadedAssets = resources.getAssets().getApkAssets(); in testExistingResourcesCreatedByConstructorAfterResourcePathsRegistration() 215 ApkAssets[] loadedAssets = resources.getAssets().getApkAssets(); in testNewResourcesWithOutdatedImplAfterResourcePathsRegistration()
|
/cts/tests/tests/neuralnetworks/java_test/src/android/neuralnetworks/cts/ |
D | ModelAssetTest.java | 46 AssetManager assets = InstrumentationRegistry.getContext().getAssets(); in testCompileModelFromAsset()
|
/cts/tests/tests/text/src/android/text/cts/ |
D | BoringLayoutFallbackLineSpacingTest.java | 54 InstrumentationRegistry.getInstrumentation().getTargetContext().getAssets(); in testFallbackSpacing_Metrics() 88 InstrumentationRegistry.getInstrumentation().getTargetContext().getAssets(); in testFallbackSpacing_Layout()
|
D | StaticLayoutBidiTouchTest.java | 44 AssetManager am = InstrumentationRegistry.getInstrumentation().getContext().getAssets(); in touchOffsetTest()
|
/cts/hostsidetests/theme/app/src/android/theme/app/ |
D | AssetBucketVerifier.java | 65 context.getAssets().openNonAssetFd(1, in verifyAssetBucket()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CustomClassLoaderTest.java | 52 InputStream is = mContext.getAssets().open("dex1.bytes"); in setUp()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/security/ |
D | CaCertInstallViaIntentTest.java | 62 InputStream is = getAssets().open(CERT_ASSET_NAME); in onClick()
|
D | CANotifyOnBootActivity.java | 56 if (!CACertWriter.extractCertToDownloads(getApplicationContext(), getAssets())) { in onClick()
|