Home
last modified time | relevance | path

Searched refs:assets (Results 1 – 25 of 34) 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()
/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/theme/
DAndroid.mk24 LOCAL_JAVA_RESOURCE_DIRS := assets/$(PLATFORM_SDK_VERSION)/
26 LOCAL_JAVA_RESOURCE_DIRS := assets/$(PLATFORM_VERSION_CODENAME)/
/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/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/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/
DAndroid.bp32 asset_dirs: ["assets"],
60 asset_dirs: ["assets"],
88 asset_dirs: ["assets"],
/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/hostsidetests/appsecurity/test-apps/SplitApp/feature/
DAndroid.mk26 LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
61 LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
/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/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/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/angle/
DAndroid.mk20 LOCAL_JAVA_RESOURCE_DIRS := assets/
/cts/hostsidetests/compilation/
DAndroid.mk21 LOCAL_JAVA_RESOURCE_DIRS := assets/
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/
DAndroid.mk29 LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp28/
DAndroid.mk29 LOCAL_ASSET_DIR := $(LOCAL_PATH)/../MediaStorageApp/assets
/cts/hostsidetests/appsecurity/test-apps/MediaStorageAppFull/
DAndroid.mk29 LOCAL_ASSET_DIR := $(LOCAL_PATH)/../MediaStorageApp/assets
/cts/tests/tests/neuralnetworks/benchmark/
DAndroid.mk37 LOCAL_ASSET_DIR := test/mlts/models/assets
/cts/hostsidetests/seccomp/app/
DAndroid.mk43 LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
/cts/hostsidetests/appsecurity/test-apps/SplitApp/
DAndroid.mk36 LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
155 LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
/cts/tests/app/DownloadManagerLegacyTest/
DAndroid.mk44 LOCAL_ASSET_DIR := $(LOCAL_PATH)/../app/assets
/cts/tests/app/DownloadManagerApi28Test/
DAndroid.mk44 LOCAL_ASSET_DIR := $(LOCAL_PATH)/../app/assets

12