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

/frameworks/base/native/android/
H A Dasset_manager.cpp51 std::unique_ptr<Asset> mAsset; member in struct:AAsset
53 explicit AAsset(std::unique_ptr<Asset> asset) : mAsset(std::move(asset)) { }
151 return asset->mAsset->read(buf, (size_t)count);
156 return asset->mAsset->seek(offset, whence);
161 return asset->mAsset->seek(offset, whence);
166 asset->mAsset->close();
172 return asset->mAsset->getBuffer(false);
177 return asset->mAsset->getLength();
182 return asset->mAsset->getLength();
187 return asset->mAsset
[all...]
/frameworks/base/core/tests/benchmarks/src/android/content/res/
H A DResourcesBenchmark.java31 private AssetManager mAsset; field in class:ResourcesBenchmark
41 mAsset = new AssetManager();
42 mAsset.addAssetPath("/system/framework/framework-res.apk");
43 mRes = new Resources(mAsset, null, null);
53 mAsset.close();

Completed in 403 milliseconds