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

Method print

tools/aapt/AaptAssets.cpp:1659–1677  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1657}
1658
1659void AaptGroup::print(const String8& prefix) const
1660{
1661 printf("%s%s\n", prefix.string(), getPath().string());
1662 const size_t N=mFiles.size();
1663 size_t i;
1664 for (i=0; i<N; i++) {
1665 sp<AaptFile> file = mFiles.valueAt(i);
1666 const AaptGroupEntry& e = file->getGroupEntry();
1667 if (file->hasData()) {
1668 printf("%s Gen: (%s) %d bytes\n", prefix.string(), e.toDirName(String8()).string(),
1669 (int)file->getSize());
1670 } else {
1671 printf("%s Src: (%s) %s\n", prefix.string(), e.toDirName(String8()).string(),
1672 file->getPrintableSource().string());
1673 }
1674 //printf("%s File Group Entry: %s\n", prefix.string(),
1675 // file->getGroupEntry().toDirName(String8()).string());
1676 }
1677}
1678
1679String8 AaptGroup::getPrintableSource() const
1680{

Callers

nothing calls this directly

Calls 9

printFunction · 0.85
stringMethod · 0.80
toDirNameMethod · 0.80
getPrintableSourceMethod · 0.80
sizeMethod · 0.65
getSizeMethod · 0.65
appendMethod · 0.65
valueAtMethod · 0.45
hasDataMethod · 0.45

Tested by

no test coverage detected