Home
last modified time | relevance | path

Searched refs:asset (Results 1 – 5 of 5) sorted by relevance

/cts/tests/openglperf2/jni/graphics/
DGLUtils.cpp42 AAsset* asset = loadAsset(path); in openTextFile() local
43 if (asset == NULL) { in openTextFile()
47 off_t length = AAsset_getLength(asset); in openTextFile()
49 int num = AAsset_read(asset, buffer, length); in openTextFile()
50 AAsset_close(asset); in openTextFile()
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java228 for (MediaAsset asset : assets.getAssets()) { in Decoder()
229 if (mCaps.areSizeAndRateSupported(asset.getWidth(), asset.getHeight(), SWIRL_FPS) in Decoder()
231 mAssets.add(asset); in Decoder()
238 for (MediaAsset asset: mAssets) { in videoDecode()
242 videoDecode(asset, imageFormat, colorFormat, mode, checkSwirl); in videoDecode()
249 MediaAsset asset, int imageFormat, int colorFormat, int mode, boolean checkSwirl) { in videoDecode() argument
250 int video = asset.getResource(); in videoDecode()
251 int width = asset.getWidth(); in videoDecode()
252 int height = asset.getHeight(); in videoDecode()
/cts/tests/tests/graphics/src/android/graphics/cts/
DBitmapColorSpaceTest.java317 for (Asset asset : assets) { in reconfigure()
322 try (InputStream in = mResources.getAssets().open(asset.name)) { in reconfigure()
330 assertSame(asset.colorSpace, cs); in reconfigure()
335 assertSame(asset.colorSpace, cs); in reconfigure()
340 assertSame(asset.colorSpace, cs); in reconfigure()
824 final String asset = "blue-16bit-prophoto.png"; in inColorSpaceWith16BitWithDecreasedGamut() local
827 try (InputStream in = mResources.getAssets().open(asset)) { in inColorSpaceWith16BitWithDecreasedGamut()
839 try (InputStream in = mResources.getAssets().open(asset)) { in inColorSpaceWith16BitWithDecreasedGamut()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java336 protected Uri getAssetUrl(String asset) { in getAssetUrl() argument
337 return Uri.parse(mWebServer.getAssetUrl(asset)); in getAssetUrl()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebSettingsTest.java1268 private void loadAssetUrl(String asset) throws Exception { in loadAssetUrl() argument
1272 String url = mWebServer.getAssetUrl(asset); in loadAssetUrl()