Home
last modified time | relevance | path

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

/frameworks/base/native/android/
Dasset_manager.cpp49 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/java/android/content/res/
DAssetManager.java547 return mAsset; in getNativeAsset()
551 mAsset = asset; in AssetInputStream()
555 return readAssetChar(mAsset); in read()
561 long len = getAssetRemainingLength(mAsset); in available()
566 if (mAsset != 0) { in close()
567 destroyAsset(mAsset); in close()
568 mAsset = 0; in close()
574 mMarkPos = seekAsset(mAsset, 0, 0); in mark()
577 seekAsset(mAsset, mMarkPos, -1); in reset()
580 return readAsset(mAsset, b, 0, b.length); in read()
[all …]
/frameworks/rs/
DrsFileA3D.cpp39 mAsset = nullptr; in FileA3D()
62 if (mAsset) { in ~FileA3D()
64 delete mAsset; in ~FileA3D()
96 mAsset = asset; in load()
DrsFileA3D.h88 Asset *mAsset; variable