MCPcopy Create free account
hub / github.com/CyanogenMod/android_frameworks_base / isJavaSymbol

Method isJavaSymbol

tools/aapt/AaptAssets.cpp:2614–2622  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2612}
2613
2614bool AaptAssets::isJavaSymbol(const AaptSymbolEntry& sym, bool includePrivate) const {
2615 //printf("isJavaSymbol %s: public=%d, includePrivate=%d, isJavaSymbol=%d\n",
2616 // sym.name.string(), sym.isPublic ? 1 : 0, includePrivate ? 1 : 0,
2617 // sym.isJavaSymbol ? 1 : 0);
2618 if (!mHavePrivateSymbols) return true;
2619 if (sym.isPublic) return true;
2620 if (includePrivate && sym.isJavaSymbol) return true;
2621 return false;
2622}
2623
2624status_t AaptAssets::buildIncludedResources(Bundle* bundle)
2625{

Callers 2

writeSymbolClassFunction · 0.80
writeTextSymbolClassFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected