Home
last modified time | relevance | path

Searched refs:mAssets (Results 1 – 4 of 4) sorted by relevance

/cts/tests/tests/content/src/android/content/res/cts/
DAssetManagerTest.java50 private AssetManager mAssets; field in AssetManagerTest
60 mAssets = mContext.getAssets(); in setUp()
73 InputStream inputStream = mAssets.open(fileName); in testAssetOperations()
77 inputStream = mAssets.open(fileName, AssetManager.ACCESS_BUFFER); in testAssetOperations()
81 AssetFileDescriptor assetFileDes = mAssets.openFd(fileName); in testAssetOperations()
85 assetFileDes = mAssets.openNonAssetFd(value.string.toString()); in testAssetOperations()
89 assetFileDes = mAssets.openNonAssetFd(value.assetCookie, value.string.toString()); in testAssetOperations()
93 XmlResourceParser parser = mAssets.openXmlResourceParser("AndroidManifest.xml"); in testAssetOperations()
96 parser = mAssets.openXmlResourceParser(0, "AndroidManifest.xml"); in testAssetOperations()
100 String[] files = mAssets.list(""); in testAssetOperations()
[all …]
/cts/tests/tests/os/src/android/os/cts/
DRecoverySystemTest.java36 private AssetManager mAssets; field in RecoverySystemTest
42 mAssets = mContext.getAssets(); in setUp()
48 InputStream is = mAssets.open(name); in getAsset()
/cts/tests/tests/media/src/android/media/cts/
DImageReaderDecoderTest.java148 mAssets = assets; in MediaAssets()
156 return mAssets; in getAssets()
160 private final MediaAsset[] mAssets; field in ImageReaderDecoderTest.MediaAssets
225 final private ArrayList<MediaAsset> mAssets; field in ImageReaderDecoderTest.Decoder
240 mAssets = new ArrayList<MediaAsset>(); in Decoder()
245 mAssets.add(asset); in Decoder()
252 for (MediaAsset asset: mAssets) { in videoDecode()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java147 private AssetManager mAssets; field in CtsTestServer
236 mAssets = mContext.getAssets(); in CtsTestServer()
694 in = mAssets.open(path); in getResponse()