Searched refs:mAsset (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/native/android/ |
D | asset_manager.cpp | 49 Asset* mAsset; member 51 AAsset(Asset* asset) : mAsset(asset) { } in AAsset() 52 ~AAsset() { delete mAsset; } in ~AAsset() 173 return asset->mAsset->read(buf, (size_t)count); in AAsset_read() 178 return asset->mAsset->seek(offset, whence); in AAsset_seek() 183 return asset->mAsset->seek(offset, whence); in AAsset_seek64() 188 asset->mAsset->close(); in AAsset_close() 194 return asset->mAsset->getBuffer(false); in AAsset_getBuffer() 199 return asset->mAsset->getLength(); in AAsset_getLength() 204 return asset->mAsset->getLength(); in AAsset_getLength64() [all …]
|
/frameworks/base/core/tests/benchmarks/src/android/content/res/ |
D | ResourcesBenchmark.java | 31 private AssetManager mAsset; field in ResourcesBenchmark 41 mAsset = new AssetManager(); in setUp() 42 mAsset.addAssetPath("/system/framework/framework-res.apk"); in setUp() 43 mRes = new Resources(mAsset, null, null); in setUp() 53 mAsset.close(); in tearDown()
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 581 return mAsset; in getNativeAsset() 585 mAsset = asset; in AssetInputStream() 589 return readAssetChar(mAsset); in read() 595 long len = getAssetRemainingLength(mAsset); in available() 600 if (mAsset != 0) { in close() 601 destroyAsset(mAsset); in close() 602 mAsset = 0; in close() 608 mMarkPos = seekAsset(mAsset, 0, 0); in mark() 611 seekAsset(mAsset, mMarkPos, -1); in reset() 614 return readAsset(mAsset, b, 0, b.length); in read() [all …]
|
/frameworks/rs/ |
D | rsFileA3D.cpp | 39 mAsset = nullptr; in FileA3D() 62 if (mAsset) { in ~FileA3D() 64 delete mAsset; in ~FileA3D() 96 mAsset = asset; in load()
|
D | rsFileA3D.h | 88 Asset *mAsset; variable
|