Searched refs:mAsset (Results 1 – 2 of 2) sorted by relevance
51 std::unique_ptr<Asset> mAsset; member53 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 …]
46 private AssetManager mAsset; field in ResourcesPerfTest56 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()