/cts/tests/app/NotificationProvider/src/com/android/test/notificationprovider/ |
D | AssetFileProvider.kt | 30 val assets = context?.assets in openAssetFile() constant 32 if (mode == "r" && assets != null && filename != null) { in openAssetFile() 33 return assets.openFd(filename) in openAssetFile()
|
/cts/tests/app/app/src/android/app/stubs/ |
D | AssetFileProvider.kt | 28 val assets = context?.assets in onCreate() constant 30 if (mode == "r" && assets != null && filename != null) { in onCreate() 31 return assets.openFd(filename) in onCreate()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | Rgba16fTests.java | 47 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/tests/resourcesloader/resources/ |
D | Android.bp | 24 asset_dirs: ["provider1/assets"], 32 asset_dirs: ["provider2/assets"], 40 asset_dirs: ["provider3/assets"], 48 asset_dirs: ["provider4/assets"], 92 asset_dirs: ["provider1/assets"], 100 asset_dirs: ["provider2/assets"], 108 asset_dirs: ["provider3/assets"], 116 asset_dirs: ["provider4/assets"],
|
/cts/tests/tests/content/HelloWorldApp/src_res_hardening_lib/com/example/helloworld/lib/ |
D | TestUtils.java | 119 final AssetManager assets = res.getAssets(); in checkOpenXmlResourceParser() 120 try (XmlResourceParser p = assets.openXmlResourceParser(RES_XML_PATH)) { in checkOpenXmlResourceParser() 154 final AssetManager assets = res.getAssets(); in checkXmlAttributes() 155 try (XmlResourceParser p = assets.openXmlResourceParser(RES_XML_ATTRS_PATH)) { in checkXmlAttributes() 176 final AssetManager assets = res.getAssets(); in checkOpenMissingFile() 177 try (InputStream is = assets.openNonAsset(RES_DRAWABLE_HDPI_PATH)) { in checkOpenMissingFile() 189 final AssetManager assets = res.getAssets(); in checkOpenMissingFdFile() 190 try (AssetFileDescriptor is = assets.openNonAssetFd(RES_DRAWABLE_HDPI_PATH)) { in checkOpenMissingFdFile() 205 final AssetManager assets = res.getAssets(); in checkOpen() 206 try (InputStream is = assets.openNonAsset(RES_DRAWABLE_MDPI_PATH)) { in checkOpen() [all …]
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | AImageDecoderTest.java | 318 AssetManager assets = getAssetManager(); in testDecode() local 319 ImageDecoder.Source src = ImageDecoder.createSource(assets, record.name); in testDecode() 322 long asset = nOpenAsset(assets, record.name); in testDecode() 383 AssetManager assets = getAssetManager(); 384 ImageDecoder.Source src = ImageDecoder.createSource(assets, record.name); 391 long asset = nOpenAsset(assets, record.name); 420 AssetManager assets = getAssetManager(); 421 ImageDecoder.Source src = ImageDecoder.createSource(assets, name); 428 long asset = nOpenAsset(assets, name); 457 AssetManager assets = getAssetManager(); [all …]
|
D | MediaVulkanGpuTest.java | 38 AssetManager assets = InstrumentationRegistry.getContext().getAssets(); in getFramePixels() local 39 Bitmap bitmap = BitmapFactory.decodeStream(assets.open("test_video_frame.png")); in getFramePixels()
|
D | BitmapFactory_OptionsTest.java | 68 AssetManager assets = resources.getAssets(); in testExtractMetaData() local 69 try (InputStream in = assets.open("blue-16bit-srgb.png")) { in testExtractMetaData()
|
/cts/tests/tests/resourcesloader/src/android/content/res/loader/cts/ |
D | ResourcesLoaderFallthroughTest.kt | 40 res.assets.open("one_and_three_only.txt").reader().readText() in <lambda>() 43 res.assets.openFd("one_and_three_only.txt").readText() in <lambda>() 95 res.assets.openXmlResourceParser(getCookie(), "res/layout/layout.xml") in <lambda>() 99 res.assets.openNonAsset(getCookie(), "assets/asset.txt").reader().readText() in <lambda>() 102 res.assets.openNonAssetFd(getCookie(), "assets/asset.txt").readText() in <lambda>()
|
/cts/hostsidetests/theme/ |
D | Android.mk | 25 LOCAL_JAVA_RESOURCE_DIRS := assets/$(PLATFORM_SDK_VERSION)/ 27 LOCAL_JAVA_RESOURCE_DIRS := assets/$(PLATFORM_VERSION_CODENAME)/
|
/cts/tests/tests/os/ |
D | Android.mk | 30 cts_platform_version_path := cts/tests/tests/os/assets/platform_versions.txt 32 cts_platform_release_path := cts/tests/tests/os/assets/platform_releases.txt
|
/cts/tests/tests/neuralnetworks/java_test/src/android/neuralnetworks/cts/ |
D | ModelAssetTest.java | 46 AssetManager assets = InstrumentationRegistry.getContext().getAssets(); in testCompileModelFromAsset() local 47 nativeTestCompileFromAssetFile(assets, mDeviceName); in testCompileModelFromAsset()
|
/cts/tests/framework/base/windowmanager/src/android/server/wm/intent/ |
D | IntentTests.java | 124 AssetManager assets = TARGET_CONTEXT.getAssets(); in readAllFromAssets() local 127 for (String dir : assets.list("")) { in readAllFromAssets() 128 for (String file : assets.list(dir)) { in readAllFromAssets() 137 new BufferedInputStream(assets.open(testFile))))) { in readAllFromAssets()
|
/cts/tests/tests/resourcesloader/ |
D | Android.bp | 72 cmd: "mkdir -p $(genDir)/assets/ && cp $(in) $(genDir)/assets/ && " + 74 "-L 0 -C $(genDir) -D $(genDir)/assets/"
|
/cts/hostsidetests/appsecurity/test-apps/MediaStorageApp/ |
D | Android.bp | 30 asset_dirs: ["assets"], 48 asset_dirs: ["assets"], 67 asset_dirs: ["assets"],
|
/cts/tests/tests/resourcesloader/assets/ |
D | asset.txt | 1 In assets directory
|
/cts/tests/tests/content/src/android/content/res/cts/ |
D | AssetManagerTest.java | 148 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/ |
D | Android.bp | 41 asset_dirs: ["assets"], 75 asset_dirs: ["assets"], 108 asset_dirs: ["assets"], 145 asset_dirs: ["assets"],
|
/cts/apps/EmptyDeviceOwner/ |
D | README | 15 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/ |
D | README | 15 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/media/src/android/media/cts/ |
D | ImageReaderDecoderTest.java | 146 public MediaAssets(String mime, MediaAsset... assets) { in MediaAssets() argument 148 mAssets = assets; in MediaAssets() 236 Decoder(String name, MediaAssets assets, CodecCapabilities caps) { in Decoder() argument 238 mMime = assets.getMime(); in Decoder() 242 for (MediaAsset asset : assets.getAssets()) { in Decoder() 334 private Decoder[] decoders(MediaAssets assets, boolean goog) { in decoders() argument 335 String mime = assets.getMime(); in decoders() 350 result.add(new Decoder(info.getName(), assets, caps)); in decoders() 355 private Decoder[] goog(MediaAssets assets) { in goog() argument 356 return decoders(assets, true /* goog */); in goog() [all …]
|
/cts/tests/tests/neuralnetworks/benchmark/ |
D | Android.mk | 39 LOCAL_ASSET_DIR := test/mlts/models/assets
|
/cts/tests/tests/os/src/android/os/cts/ |
D | SeccompTest.java | 408 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_warm/ |
D | Android.bp | 25 asset_dirs: ["assets"], 79 asset_dirs: ["revision_a/assets"],
|
/cts/tests/tests/view/src/android/view/cts/ |
D | PixelCopyWideGamutViewProducerActivity.java | 127 AssetManager assets = context.getResources().getAssets(); in WideGamutBitmapView() local 128 try (InputStream in = assets.open("prophoto.png")) { in WideGamutBitmapView()
|