Searched refs:assetName (Results 1 – 4 of 4) sorted by relevance
80 public static final String getFileUrl(String assetName) { in getFileUrl() argument81 if (assetName.contains(":") || assetName.startsWith("/")) { in getFileUrl()84 return "file:///android_asset/" + assetName; in getFileUrl()
238 private Collection<Certificate> loadCertificatesFromAsset(String assetName) { in loadCertificatesFromAsset() argument242 InputStream is = am.open(assetName); in loadCertificatesFromAsset()250 private PrivateKey loadPrivateKeyFromAsset(String assetName) { in loadPrivateKeyFromAsset() argument253 InputStream is = am.open(assetName); in loadPrivateKeyFromAsset()
169 private Bitmap loadAsset(@NonNull String assetName, @NonNull Bitmap.Config config) { in loadAsset() argument172 try (InputStream in = assets.open(assetName)) { in loadAsset()
475 String assetName = ASSET_NAMES[i]; in testOutColorSpace() local476 InputStream is1 = obtainInputStream(assetName); in testOutColorSpace()633 private InputStream obtainInputStream(String assetName) throws IOException { in obtainInputStream() argument634 return mRes.getAssets().open(assetName); in obtainInputStream()