Lines Matching refs:asset
4 // Android Asset Packaging Tool main entry point.
30 printf("Android Asset Packaging Tool, v0.2\n");
209 Asset* manifestAsset = assets.openNonAsset("AndroidManifest.xml",
210 Asset::ACCESS_BUFFER);
433 Asset* aidAsset = assets.openNonAsset(xmlPath, Asset::ACCESS_BUFFER);
492 Asset* asset = NULL;
556 asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER);
557 if (asset == NULL) {
562 if (tree.setTo(asset->getBuffer(true),
563 asset->getLength()) != NO_ERROR) {
570 delete asset;
571 asset = NULL;
583 asset = assets.openNonAsset(resname, Asset::ACCESS_BUFFER);
584 if (asset == NULL) {
589 if (tree.setTo(asset->getBuffer(true),
590 asset->getLength()) != NO_ERROR) {
595 delete asset;
596 asset = NULL;
601 asset = assets.openNonAsset("AndroidManifest.xml",
602 Asset::ACCESS_BUFFER);
603 if (asset == NULL) {
608 if (tree.setTo(asset->getBuffer(true),
609 asset->getLength()) != NO_ERROR) {
1742 if (asset) {
1743 delete asset;
1875 * Package up an asset directory and associated application files.