Home
last modified time | relevance | path

Searched refs:asset (Results 1 – 4 of 4) 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.java225 for (MediaAsset asset : assets.getAssets()) { in Decoder()
226 if (mCaps.areSizeAndRateSupported(asset.getWidth(), asset.getHeight(), SWIRL_FPS) in Decoder()
228 mAssets.add(asset); in Decoder()
235 for (MediaAsset asset: mAssets) { in videoDecode()
239 videoDecode(asset, imageFormat, colorFormat, mode, checkSwirl); in videoDecode()
246 MediaAsset asset, int imageFormat, int colorFormat, int mode, boolean checkSwirl) { in videoDecode() argument
247 int video = asset.getResource(); in videoDecode()
248 int width = asset.getWidth(); in videoDecode()
249 int height = asset.getHeight(); in videoDecode()
/cts/tests/app/src/android/app/cts/
DDownloadManagerTest.java400 private Uri getAssetUrl(String asset) { in getAssetUrl() argument
401 return Uri.parse(mWebServer.getAssetUrl(asset)); in getAssetUrl()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebSettingsTest.java1072 private void loadAssetUrl(String asset) throws Exception {
1076 String url = mWebServer.getAssetUrl(asset);