Lines Matching refs:asset
31 #include <androidfw/Asset.h>
857 Asset* asset = reinterpret_cast<Asset*>(native_asset);
859 jint id = (jint)rsaFileA3DCreateFromMemory(con, asset->getBuffer(false), asset->getLength());
872 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER);
873 if (asset == NULL) {
877 jint id = (jint)rsaFileA3DCreateFromAsset(con, asset);
940 Asset* asset = reinterpret_cast<Asset*>(native_asset);
946 asset->getBuffer(false), asset->getLength());
960 Asset* asset = mgr->open(str.c_str(), Asset::ACCESS_BUFFER);
961 if (asset == NULL) {
968 asset->getBuffer(false), asset->getLength());
969 delete asset;