Searched defs:mAsset (Results 1 - 4 of 4) sorted by relevance

/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();
/frameworks/rs/
H A DrsFileA3D.h88 Asset *mAsset; member in class:android::renderscript::FileA3D
/frameworks/base/native/android/
H A Dasset_manager.cpp49 Asset* mAsset; member in struct:AAsset
51 AAsset(Asset* asset) : mAsset(asset) { }
52 ~AAsset() { delete mAsset; }
173 return asset->mAsset->read(buf, (size_t)count);
178 return asset->mAsset->seek(offset, whence);
183 return asset->mAsset->seek(offset, whence);
188 asset->mAsset->close();
194 return asset->mAsset->getBuffer(false);
199 return asset->mAsset->getLength();
204 return asset->mAsset
[all...]
/frameworks/base/core/java/android/content/res/
H A DAssetManager.java581 return mAsset;
585 mAsset = asset;
589 return readAssetChar(mAsset);
595 long len = getAssetRemainingLength(mAsset);
600 if (mAsset != 0) {
601 destroyAsset(mAsset);
602 mAsset = 0;
608 mMarkPos = seekAsset(mAsset, 0, 0);
611 seekAsset(mAsset, mMarkPos, -1);
614 return readAsset(mAsset,
635 private long mAsset; field in class:AssetManager.AssetInputStream
[all...]

Completed in 155 milliseconds