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.java144 mAssets = assets; in MediaAssets()
152 return mAssets; in getAssets()
156 private final MediaAsset[] mAssets; field in ImageReaderDecoderTest.MediaAssets
211 final private ArrayList<MediaAsset> mAssets; field in ImageReaderDecoderTest.Decoder
226 mAssets = new ArrayList<MediaAsset>(); in Decoder()
231 mAssets.add(asset); in Decoder()
238 for (MediaAsset asset: mAssets) { in videoDecode()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java140 private AssetManager mAssets; field in CtsTestServer
202 mAssets = mContext.getAssets(); in CtsTestServer()
636 in = mAssets.open(path); in getResponse()