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.java81 public static final String getFileUrl(String assetName) { in getFileUrl() argument
82 if (assetName.contains(":") || assetName.startsWith("/")) { in getFileUrl()
85 return "file:///android_asset/" + assetName; in getFileUrl()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DColorSpaceTests.java170 private Bitmap loadAsset(@NonNull String assetName, @NonNull Bitmap.Config config) { in loadAsset() argument
173 try (InputStream in = assets.open(assetName)) { in loadAsset()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java167 private List<Certificate> loadCertificateChain(String assetName) throws Exception { in loadCertificateChain() argument
168 final Collection<Certificate> certs = loadCertificatesFromAsset(assetName); in loadCertificateChain()
735 private Collection<Certificate> loadCertificatesFromAsset(String assetName) { in loadCertificatesFromAsset() argument
739 InputStream is = am.open(assetName); in loadCertificatesFromAsset()
747 private PrivateKey loadPrivateKeyFromAsset(String assetName) { in loadPrivateKeyFromAsset() argument
750 InputStream is = am.open(assetName); in loadPrivateKeyFromAsset()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java480 String assetName = ASSET_NAMES[i]; in testOutColorSpace() local
481 InputStream is1 = obtainInputStream(assetName); in testOutColorSpace()
707 private InputStream obtainInputStream(String assetName) throws IOException { in obtainInputStream() argument
708 return mRes.getAssets().open(assetName); in obtainInputStream()