Home
last modified time | relevance | path

Searched refs:assetName (Results 1 – 6 of 6) 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/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DKeyManagementTest.java162 private List<Certificate> loadCertificateChain(String assetName) throws Exception { in loadCertificateChain() argument
163 final Collection<Certificate> certs = loadCertificatesFromAsset(assetName); in loadCertificateChain()
763 private Collection<Certificate> loadCertificatesFromAsset(String assetName) { in loadCertificatesFromAsset() argument
767 InputStream is = am.open(assetName); in loadCertificatesFromAsset()
775 private PrivateKey loadPrivateKeyFromAsset(String assetName) { in loadPrivateKeyFromAsset() argument
778 InputStream is = am.open(assetName); in loadPrivateKeyFromAsset()
/cts/tests/tests/security/src/android/security/cts/
DFileIntegrityManagerTest.java150 private X509Certificate readAssetAsX509Certificate(String assetName) in readAssetAsX509Certificate() argument
152 InputStream is = mContext.getAssets().open(assetName); in readAssetAsX509Certificate()
/cts/tests/app/DownloadManagerApi28Test/src/android/app/cts/
DDownloadManagerApi28Test.java232 final String assetName = "noiseandchirps.mp3"; in testAddCompletedDownload_mediaStoreEntry() local
247 try (InputStream in = mContext.getAssets().open(assetName); in testAddCompletedDownload_mediaStoreEntry()
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DColorSpaceTests.java339 private Bitmap loadAsset(@NonNull String assetName, @NonNull Bitmap.Config config) { in loadAsset() argument
342 try (InputStream in = assets.open(assetName)) { in loadAsset()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapRegionDecoderTest.java478 String assetName = ASSET_NAMES[i]; in testOutColorSpace() local
479 InputStream is1 = obtainInputStream(assetName); in testOutColorSpace()
850 private InputStream obtainInputStream(String assetName) throws IOException { in obtainInputStream() argument
851 return mRes.getAssets().open(assetName); in obtainInputStream()