Home
last modified time | relevance | path

Searched refs:assetName (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/webkit/src/android/webkit/cts/
DTestHtmlConstants.java80 public static final String getFileUrl(String assetName) { in getFileUrl() argument
81 if (assetName.contains(":") || assetName.startsWith("/")) { in getFileUrl()
84 return "file:///android_asset/" + assetName; in getFileUrl()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DKeyManagementTest.java238 private Collection<Certificate> loadCertificatesFromAsset(String assetName) { in loadCertificatesFromAsset() argument
242 InputStream is = am.open(assetName); in loadCertificatesFromAsset()
250 private PrivateKey loadPrivateKeyFromAsset(String assetName) { in loadPrivateKeyFromAsset() argument
253 InputStream is = am.open(assetName); in loadPrivateKeyFromAsset()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DColorSpaceTests.java169 private Bitmap loadAsset(@NonNull String assetName, @NonNull Bitmap.Config config) { in loadAsset() argument
172 try (InputStream in = assets.open(assetName)) { in loadAsset()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java475 String assetName = ASSET_NAMES[i]; in testOutColorSpace() local
476 InputStream is1 = obtainInputStream(assetName); in testOutColorSpace()
633 private InputStream obtainInputStream(String assetName) throws IOException { in obtainInputStream() argument
634 return mRes.getAssets().open(assetName); in obtainInputStream()