Home
last modified time | relevance | path

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

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DRgba16fTests.java46 AssetManager assets = getActivity().getResources().getAssets(); in testTransferFunctions()
47 try (InputStream in = assets.open("linear-rgba16f.png")) { in testTransferFunctions()
67 AssetManager assets = getActivity().getResources().getAssets(); in testAlpha()
68 try (InputStream in = assets.open("linear-rgba16f.png")) { in testAlpha()
91 AssetManager assets = getActivity().getResources().getAssets(); in testMasked()
92 try (InputStream in = assets.open("linear-rgba16f.png")) { in testMasked()
125 AssetManager assets = getActivity().getResources().getAssets(); in testTransferFunctionsShader()
126 try (InputStream in = assets.open("linear-rgba16f.png")) { in testTransferFunctionsShader()
146 AssetManager assets = getActivity().getResources().getAssets(); in testMirroredTransferFunctions()
149 try (InputStream in = assets.open("prophoto-rgba16f.png")) { in testMirroredTransferFunctions()
DColorSpaceTests.java171 AssetManager assets = getActivity().getResources().getAssets(); in loadAsset() local
172 try (InputStream in = assets.open(assetName)) { in loadAsset()
/cts/hostsidetests/theme/
DAndroid.mk24 LOCAL_JAVA_RESOURCE_DIRS := assets/$(PLATFORM_SDK_VERSION)/
26 LOCAL_JAVA_RESOURCE_DIRS := assets/$(PLATFORM_VERSION_CODENAME)/
DREADME54 install the resulting reference images in assets/<platform>/<dpi>.zip,
81 install the resulting reference images in assets/<platform>/<dpi>.zip,
/cts/tests/tests/graphics/src/android/graphics/cts/
DMediaVulkanGpuTest.java37 AssetManager assets = InstrumentationRegistry.getContext().getAssets(); in getFramePixels() local
38 Bitmap bitmap = BitmapFactory.decodeStream(assets.open("test_video_frame.png")); in getFramePixels()
DBitmapFactory_OptionsTest.java65 AssetManager assets = resources.getAssets(); in testExtractMetaData() local
66 try (InputStream in = assets.open("prophoto-rgba16f.png")) { in testExtractMetaData()
DTypefaceTest.java410 final AssetManager assets = mContext.getAssets(); in testTypefaceBuilder_fallback() local
417 assertNull(new Typeface.Builder(assets, "invalid path").build()); in testTypefaceBuilder_fallback()
419 assertNull(new Typeface.Builder(assets, "samplefont.ttf") in testTypefaceBuilder_fallback()
469 new Typeface.Builder(assets, "samplefont.ttf").setFallback("sans-serif") in testTypefaceBuilder_fallback()
472 new Typeface.Builder(assets, "samplefont.ttf").setFallback("serif") in testTypefaceBuilder_fallback()
475 new Typeface.Builder(assets, "samplefont.ttf").setFallback("sans-serif") in testTypefaceBuilder_fallback()
478 new Typeface.Builder(assets, "samplefont.ttf").setFallback("serif") in testTypefaceBuilder_fallback()
481 new Typeface.Builder(assets, "samplefont.ttf").setFallback("sans-serif") in testTypefaceBuilder_fallback()
484 new Typeface.Builder(assets, "samplefont.ttf").setFallback("serif") in testTypefaceBuilder_fallback()
DImageDecoderTest.java2063 AssetManager assets = mRes.getAssets();
2065 ImageDecoder.Source src = ImageDecoder.createSource(assets, record.name);
2087 AssetManager assets = mRes.getAssets();
2089 ImageDecoder.Source src = ImageDecoder.createSource(assets, record.name);
2207 AssetManager assets = mRes.getAssets(); in testReuse() local
2209 ImageDecoder.Source src = ImageDecoder.createSource(assets, record.name); in testReuse()
/cts/tests/tests/content/src/android/content/res/cts/
DAssetManagerTest.java149 final AssetManager assets = new AssetManager(); in testClose() local
150 assets.close(); in testClose()
153 assets.close(); in testClose()
156 assets.openXmlResourceParser("AndroidManifest.xml"); in testClose()
/cts/apps/EmptyDeviceOwner/
DREADME15 This package is used to generate CtsEmptyDeviceOwner.apk that is used in assets of CtsVerifier.
20 cts/apps/CtsVerifier/assets/apk/CtsEmptyDeviceOwner.apk
/cts/apps/EmptyDeviceAdmin/
DREADME15 This package is used to generate CtsEmptyDeviceAdmin.apk that is used in assets of CtsVerifier.
20 cts/apps/CtsVerifier/assets/apk/CtsEmptyDeviceAdmin.apk
/cts/hostsidetests/compilation/
DAndroid.mk21 LOCAL_JAVA_RESOURCE_DIRS := assets/
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java139 public MediaAssets(String mime, MediaAsset... assets) { in MediaAssets() argument
141 mAssets = assets; in MediaAssets()
219 Decoder(String name, MediaAssets assets, CodecCapabilities caps) { in Decoder() argument
221 mMime = assets.getMime(); in Decoder()
225 for (MediaAsset asset : assets.getAssets()) { in Decoder()
317 private Decoder[] decoders(MediaAssets assets, boolean goog) { in decoders() argument
318 String mime = assets.getMime(); in decoders()
333 result.add(new Decoder(info.getName(), assets, caps)); in decoders()
338 private Decoder[] goog(MediaAssets assets) { in goog() argument
339 return decoders(assets, true /* goog */); in goog()
[all …]
/cts/hostsidetests/seccomp/app/
DAndroid.mk43 LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/latest/
DAndroid.mk45 LOCAL_ASSET_DIR := $(LOCAL_PATH)/../assets
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/api25/
DAndroid.mk45 LOCAL_ASSET_DIR := $(LOCAL_PATH)/../assets
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/api23/
DAndroid.mk45 LOCAL_ASSET_DIR := $(LOCAL_PATH)/../assets
/cts/tests/tests/os/src/android/os/cts/
DBuildVersionTest.java105 final AssetManager assets = in getExpectedReleases() local
109 new BufferedReader(new InputStreamReader(assets.open(PLATFORM_VERSIONS_FILE)))) { in getExpectedReleases()
DSeccompTest.java408 private static boolean installTestFilter(final AssetManager assets) { in installTestFilter() argument
422 assets.openFd("minijail/isolated-" + arch + ".policy"), in installTestFilter()
423 assets.openFd("minijail/isolated-common.policy"), in installTestFilter()
424 … arch.equals("i386") ? null : assets.openFd("minijail/isolated-common-not-i386.policy"), in installTestFilter()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature/
DAndroid.mk25 LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyWideGamutViewProducerActivity.java128 AssetManager assets = context.getResources().getAssets(); in WideGamutBitmapView() local
129 try (InputStream in = assets.open("prophoto.png")) { in WideGamutBitmapView()
/cts/tests/openglperf2/
DREADME13 All the assets in this project are under the above license and were made using Gimp and/or Blender.
/cts/tests/tests/os/
DAndroid.mk74 cts_platform_version_path := cts/tests/tests/os/assets/platform_versions.txt
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
DAndroid.mk35 LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java1962 AssetManager assets = getActivity().getAssets();
1963 Bitmap bitmap = BitmapFactory.decodeStream(assets.open(TestHtmlConstants.LARGE_IMG_URL));