Home
last modified time | relevance | path

Searched refs:mAsset (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/native/android/
Dasset_manager.cpp51 std::unique_ptr<Asset> mAsset; member
53 explicit AAsset(std::unique_ptr<Asset> asset) : mAsset(std::move(asset)) { } in AAsset()
151 return asset->mAsset->read(buf, (size_t)count); in AAsset_read()
156 return asset->mAsset->seek(offset, whence); in AAsset_seek()
161 return asset->mAsset->seek(offset, whence); in AAsset_seek64()
166 asset->mAsset->close(); in AAsset_close()
172 return asset->mAsset->getBuffer(false); in AAsset_getBuffer()
177 return asset->mAsset->getLength(); in AAsset_getLength()
182 return asset->mAsset->getLength(); in AAsset_getLength64()
187 return asset->mAsset->getRemainingLength(); in AAsset_getRemainingLength()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/app/
DResourcesPerfTest.java46 private AssetManager mAsset; field in ResourcesPerfTest
56 mAsset = new AssetManager(); in setUp()
57 mAsset.addAssetPath("/system/framework/framework-res.apk"); in setUp()
58 mRes = new Resources(mAsset, null, null); in setUp()
68 mAsset.close(); in tearDown()