Home
last modified time | relevance | path

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

12

/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DRgba16fTests.java47 AssetManager assets = getActivity().getResources().getAssets(); in testTransferFunctions()
48 try (InputStream in = assets.open("linear-rgba16f.png")) { in testTransferFunctions()
68 AssetManager assets = getActivity().getResources().getAssets(); in testAlpha()
69 try (InputStream in = assets.open("linear-rgba16f.png")) { in testAlpha()
92 AssetManager assets = getActivity().getResources().getAssets(); in testMasked()
93 try (InputStream in = assets.open("linear-rgba16f.png")) { in testMasked()
126 AssetManager assets = getActivity().getResources().getAssets(); in testTransferFunctionsShader()
127 try (InputStream in = assets.open("linear-rgba16f.png")) { in testTransferFunctionsShader()
DColorSpaceTests.java172 AssetManager assets = getActivity().getResources().getAssets(); in loadAsset() local
173 try (InputStream in = assets.open(assetName)) { in loadAsset()
DWideColorGamutTests.java204 AssetManager assets = getActivity().getResources().getAssets(); in testProPhoto()
205 try (InputStream in = assets.open("blue-16bit-prophoto.png")) { in testProPhoto()
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/
DIntentTests.java120 AssetManager assets = TARGET_CONTEXT.getAssets(); in readAllFromAssets() local
123 for (String dir : assets.list("")) { in readAllFromAssets()
124 for (String file : assets.list(dir)) { in readAllFromAssets()
133 new BufferedInputStream(assets.open(testFile))))) { in readAllFromAssets()
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/
DAndroid.bp26 asset_dirs: ["assets"],
45 asset_dirs: ["assets"],
65 asset_dirs: ["assets"],
/cts/hostsidetests/theme/
DAndroid.mk25 LOCAL_JAVA_RESOURCE_DIRS := assets/$(PLATFORM_SDK_VERSION)/
27 LOCAL_JAVA_RESOURCE_DIRS := assets/$(PLATFORM_VERSION_CODENAME)/
/cts/tests/tests/content/src/android/content/res/cts/
DAssetManagerTest.java148 final AssetManager assets = new AssetManager(); in testClose() local
149 assets.close(); in testClose()
152 assets.close(); in testClose()
155 assets.openXmlResourceParser("AndroidManifest.xml"); in testClose()
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java142 public MediaAssets(String mime, MediaAsset... assets) { in MediaAssets() argument
144 mAssets = assets; in MediaAssets()
222 Decoder(String name, MediaAssets assets, CodecCapabilities caps) { in Decoder() argument
224 mMime = assets.getMime(); in Decoder()
228 for (MediaAsset asset : assets.getAssets()) { in Decoder()
320 private Decoder[] decoders(MediaAssets assets, boolean goog) { in decoders() argument
321 String mime = assets.getMime(); in decoders()
336 result.add(new Decoder(info.getName(), assets, caps)); in decoders()
341 private Decoder[] goog(MediaAssets assets) { in goog() argument
342 return decoders(assets, true /* goog */); in goog()
[all …]
/cts/tests/tests/graphics/src/android/graphics/cts/
DMediaVulkanGpuTest.java38 AssetManager assets = InstrumentationRegistry.getContext().getAssets(); in getFramePixels() local
39 Bitmap bitmap = BitmapFactory.decodeStream(assets.open("test_video_frame.png")); in getFramePixels()
DTypefaceTest.java428 final AssetManager assets = mContext.getAssets(); in testTypefaceBuilder_fallback() local
435 assertNull(new Typeface.Builder(assets, "invalid path").build()); in testTypefaceBuilder_fallback()
437 assertNull(new Typeface.Builder(assets, "fonts/others/samplefont.ttf") in testTypefaceBuilder_fallback()
487 new Typeface.Builder(assets, "fonts/others/samplefont.ttf") in testTypefaceBuilder_fallback()
491 new Typeface.Builder(assets, "fonts/others/samplefont.ttf") in testTypefaceBuilder_fallback()
495 new Typeface.Builder(assets, "fonts/others/samplefont.ttf") in testTypefaceBuilder_fallback()
499 new Typeface.Builder(assets, "fonts/others/samplefont.ttf") in testTypefaceBuilder_fallback()
503 new Typeface.Builder(assets, "fonts/others/samplefont.ttf") in testTypefaceBuilder_fallback()
507 new Typeface.Builder(assets, "fonts/others/samplefont.ttf") in testTypefaceBuilder_fallback()
DBitmapFactory_OptionsTest.java68 AssetManager assets = resources.getAssets(); in testExtractMetaData() local
69 try (InputStream in = assets.open("blue-16bit-srgb.png")) { in testExtractMetaData()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/
DAndroid.bp32 asset_dirs: ["assets"],
60 asset_dirs: ["assets"],
89 asset_dirs: ["assets"],
/cts/hostsidetests/appsecurity/test-apps/SplitApp/feature/
DAndroid.mk26 LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
61 LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
/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/tests/tests/os/src/android/os/cts/
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()
DBuildVersionTest.java129 final AssetManager assets = in getExpectedReleases() local
133 new BufferedReader(new InputStreamReader(assets.open(PLATFORM_VERSIONS_FILE)))) { in getExpectedReleases()
/cts/tests/tests/view/src/android/view/cts/
DPixelCopyWideGamutViewProducerActivity.java130 AssetManager assets = context.getResources().getAssets(); in WideGamutBitmapView() local
131 try (InputStream in = assets.open("prophoto.png")) { in WideGamutBitmapView()
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
DAndroid.mk36 LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
155 LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
/cts/tests/app/
DAndroid.bp68 asset_dirs: ["app/assets"],
103 asset_dirs: ["app/assets"],
/cts/tests/tests/os/
DAndroid.mk26 cts_platform_version_path := cts/tests/tests/os/assets/platform_versions.txt
/cts/tests/tests/neuralnetworks/benchmark/
DAndroid.mk37 LOCAL_ASSET_DIR := test/mlts/models/assets
/cts/tests/openglperf2/
DREADME13 All the assets in this project are under the above license and were made using Gimp and/or Blender.
/cts/hostsidetests/angle/
DAndroid.bp19 java_resource_dirs: ["assets/"],
/cts/tools/release-parser/tests/
DAndroid.bp29 // Holds golden sample files in assets for validation

12