Lines Matching refs:Print
129 virtual void Print(text::Printer* printer) { } in Print() function in aapt::ManifestExtractor::Element
451 void Print(text::Printer* printer) override { in Print() function in aapt::Manifest
452 printer->Print(StringPrintf("package: name='%s' ", package.data())); in Print()
453 printer->Print(StringPrintf("versionCode='%s' ", in Print()
455 printer->Print(StringPrintf("versionName='%s'", versionName.data())); in Print()
458 printer->Print(StringPrintf(" split='%s'", split->data())); in Print()
461 printer->Print(StringPrintf(" platformBuildVersionName='%s'", platformVersionName->data())); in Print()
464 printer->Print(StringPrintf(" platformBuildVersionCode='%s'", platformVersionCode->data())); in Print()
467 printer->Print(StringPrintf(" compileSdkVersion='%d'", *compilesdkVersion)); in Print()
470 printer->Print(StringPrintf(" compileSdkVersionCodename='%s'", in Print()
473 printer->Print("\n"); in Print()
478 printer->Print("install-location:'auto'\n"); in Print()
481 printer->Print("install-location:'internalOnly'\n"); in Print()
484 printer->Print("install-location:'preferExternal'\n"); in Print()
545 void Print(text::Printer* printer) override { in Print() function in aapt::Application
549 printer->Print(StringPrintf("application-label:'%s'\n", in Print()
553 printer->Print(StringPrintf("application-label-%s:'%s'\n", p.first.data(), in Print()
561 printer->Print(StringPrintf("application-icon-%d:'%s'\n", p.first, p.second.data())); in Print()
565 printer->Print(StringPrintf("application: label='%s' ", in Print()
567 printer->Print(StringPrintf("icon='%s'", icon.data())); in Print()
569 printer->Print(StringPrintf(" banner='%s'", banner.data())); in Print()
571 printer->Print("\n"); in Print()
574 printer->Print(StringPrintf("testOnly='%d'\n", test_only)); in Print()
577 printer->Print("application-isGame\n"); in Print()
580 printer->Print("application-debuggable\n"); in Print()
615 void Print(text::Printer* printer) override { in Print() function in aapt::UsesSdkBadging
617 printer->Print(StringPrintf("sdkVersion:'%d'\n", *min_sdk)); in Print()
619 printer->Print(StringPrintf("sdkVersion:'%s'\n", min_sdk_name->data())); in Print()
622 printer->Print(StringPrintf("maxSdkVersion:'%d'\n", *max_sdk)); in Print()
625 printer->Print(StringPrintf("targetSdkVersion:'%d'\n", *target_sdk)); in Print()
627 printer->Print(StringPrintf("targetSdkVersion:'%s'\n", target_sdk_name->data())); in Print()
655 void Print(text::Printer* printer) override { in Print() function in aapt::UsesConfiguarion
656 printer->Print("uses-configuration:"); in Print()
658 printer->Print(StringPrintf(" reqTouchScreen='%d'", req_touch_screen)); in Print()
661 printer->Print(StringPrintf(" reqKeyboardType='%d'", req_keyboard_type)); in Print()
664 printer->Print(StringPrintf(" reqHardKeyboard='%d'", req_hard_keyboard)); in Print()
667 printer->Print(StringPrintf(" reqNavigation='%d'", req_navigation)); in Print()
670 printer->Print(StringPrintf(" reqFiveWayNav='%d'", req_five_way_nav)); in Print()
672 printer->Print("\n"); in Print()
746 printer->Print("supports-screens:"); in PrintScreens()
748 printer->Print(" 'small'"); in PrintScreens()
751 printer->Print(" 'normal'"); in PrintScreens()
754 printer->Print(" 'large'"); in PrintScreens()
757 printer->Print(" 'xlarge'"); in PrintScreens()
759 printer->Print("\n"); in PrintScreens()
760 printer->Print(StringPrintf("supports-any-density: '%s'\n", in PrintScreens()
763 printer->Print(StringPrintf("requires-smallest-width:'%d'\n", requires_smallest_width_dp)); in PrintScreens()
766 printer->Print(StringPrintf("compatible-width-limit:'%d'\n", compatible_width_limit_dp)); in PrintScreens()
769 printer->Print(StringPrintf("largest-width-limit:'%d'\n", largest_width_limit_dp)); in PrintScreens()
786 printer->Print(StringPrintf("feature-group: label='%s'\n", label.data())); in PrintGroup()
788 printer->Print(StringPrintf(" uses-gl-es: '0x%x'\n", open_gles_version)); in PrintGroup()
792 printer->Print(StringPrintf(" uses-feature%s: name='%s'", in PrintGroup()
796 printer->Print(StringPrintf(" version='%d'", feature.second.version)); in PrintGroup()
798 printer->Print("\n"); in PrintGroup()
871 printer->Print(StringPrintf(" uses-feature%s: name='%s'\n", sdk23, feature.first.data())); in PrintGroup()
872 printer->Print(StringPrintf(" uses-implied-feature%s: name='%s' reason='", sdk23, in PrintGroup()
878 printer->Print(reason); in PrintGroup()
880 printer->Print(", "); in PrintGroup()
882 printer->Print(", and "); in PrintGroup()
886 printer->Print("'\n"); in PrintGroup()
1071 void Print(text::Printer* printer) override { in Print() function in aapt::UsesPermission
1073 printer->Print(StringPrintf("uses-permission: name='%s'", name.data())); in Print()
1075 printer->Print(StringPrintf(" maxSdkVersion='%d'", maxSdkVersion)); in Print()
1078 printer->Print(StringPrintf(" requiredFeature='%s'", requiredFeature.data())); in Print()
1081 printer->Print(StringPrintf(" requiredNotFeature='%s'", requiredNotFeature.data())); in Print()
1083 printer->Print("\n"); in Print()
1085 printer->Print(StringPrintf("optional-permission: name='%s'", name.data())); in Print()
1087 printer->Print(StringPrintf(" maxSdkVersion='%d'", maxSdkVersion)); in Print()
1089 printer->Print("\n"); in Print()
1095 printer->Print(StringPrintf("uses-implied-permission: name='%s'", name.data())); in PrintImplied()
1097 printer->Print(StringPrintf(" maxSdkVersion='%d'", maxSdkVersion)); in PrintImplied()
1099 printer->Print(StringPrintf(" reason='%s'\n", reason.data())); in PrintImplied()
1120 void Print(text::Printer* printer) override { in Print() function in aapt::UsesPermissionSdk23
1122 printer->Print(StringPrintf("uses-permission-sdk-23: name='%s'", name->data())); in Print()
1124 printer->Print(StringPrintf(" maxSdkVersion='%d'", *maxSdkVersion)); in Print()
1126 printer->Print("\n"); in Print()
1141 void Print(text::Printer* printer) override { in Print() function in aapt::Permission
1143 printer->Print(StringPrintf("permission: %s\n", name.data())); in Print()
1203 void Print(text::Printer* printer) override { in Print() function in aapt::Activity
1206 printer->Print("launchable-activity:"); in Print()
1208 printer->Print(StringPrintf(" name='%s' ", name.data())); in Print()
1210 printer->Print(StringPrintf(" label='%s' icon='%s'\n", in Print()
1217 printer->Print("leanback-launchable-activity:"); in Print()
1219 printer->Print(StringPrintf(" name='%s' ", name.data())); in Print()
1221 printer->Print(StringPrintf(" label='%s' icon='%s' banner='%s'\n", in Print()
1320 void Print(text::Printer* printer) override { in Print() function in aapt::UsesLibrary
1322 printer->Print(StringPrintf("uses-library%s:'%s'\n", in Print()
1345 void Print(text::Printer* printer) override { in Print() function in aapt::StaticLibrary
1346 printer->Print(StringPrintf( in Print()
1381 void Print(text::Printer* printer) override { in Print() function in aapt::UsesStaticLibrary
1382 printer->Print(StringPrintf( in Print()
1386 printer->Print(StringPrintf(" certDigest='%s'", certDigests[i].data())); in Print()
1388 printer->Print("\n"); in Print()
1413 void Print(text::Printer* printer) override { in Print() function in aapt::MetaData
1415 printer->Print(StringPrintf("meta-data: name='%s' ", name.data())); in Print()
1417 printer->Print(StringPrintf("value='%s' ", value.data())); in Print()
1419 printer->Print(StringPrintf("value='%d' ", *value_int)); in Print()
1422 printer->Print(StringPrintf("resource='%s' ", resource.data())); in Print()
1424 printer->Print(StringPrintf("resource='%d' ", *resource_int)); in Print()
1427 printer->Print("\n"); in Print()
1549 void Print(text::Printer* printer) override { in Print() function in aapt::SupportsInput
1552 printer->Print("supports-input: '"); in Print()
1554 printer->Print(StringPrintf("value='%s' ", inputs[i].data())); in Print()
1556 printer->Print("\n"); in Print()
1587 void Print(text::Printer* printer) override { in Print() function in aapt::OriginalPackage
1589 printer->Print(StringPrintf("original-package:'%s'\n", name->data())); in Print()
1615 void Print(text::Printer* printer) override { in Print() function in aapt::Overlay
1616 printer->Print(StringPrintf("overlay:")); in Print()
1618 printer->Print(StringPrintf(" targetPackage='%s'", target_package->c_str())); in Print()
1620 printer->Print(StringPrintf(" priority='%d'", priority)); in Print()
1621 printer->Print(StringPrintf(" isStatic='%s'", is_static ? "true" : "false")); in Print()
1623 printer->Print(StringPrintf(" requiredPropertyName='%s'", required_property_name->c_str())); in Print()
1626 printer->Print(StringPrintf(" requiredPropertyValue='%s'", required_property_value->c_str())); in Print()
1628 printer->Print("\n"); in Print()
1644 void Print(text::Printer* printer) override { in Print() function in aapt::PackageVerifier
1646 printer->Print(StringPrintf("package-verifier: name='%s' publicKey='%s'\n", in Print()
1683 void Print(text::Printer* printer) override { in Print() function in aapt::UsesPackage
1686 printer->Print(StringPrintf( in Print()
1690 printer->Print(StringPrintf(" certDigest='%s'", certDigests[i].data())); in Print()
1692 printer->Print("\n"); in Print()
1694 printer->Print(StringPrintf("uses-package:'%s'\n", name->data())); in Print()
1739 void Print(text::Printer* printer) override { in Print() function in aapt::CompatibleScreens
1740 printer->Print("compatible-screens:"); in Print()
1748 printer->Print(","); in Print()
1752 printer->Print(StringPrintf("'%d/%d'", *screen->size, *screen->density)); in Print()
1756 printer->Print("\n"); in Print()
1770 void Print(text::Printer* printer) override { in Print() function in aapt::SupportsGlTexture
1772 printer->Print(StringPrintf("supports-gl-texture:'%s'\n", name->data())); in Print()
1778 static void Print(ManifestExtractor::Element* el, text::Printer* printer) { in Print() function
1779 el->Print(printer); in Print()
1781 Print(child.get(), printer); in Print()
1814 printer->Print(StringPrintf("package: %s\n", manifest->package.data())); in Dump()
1816 el->Print(printer); in Dump()
1858 Print(root.get(), printer); in Dump()
1876 permission->Print(printer); in Dump()
2031 printer->Print(StringPrintf("provides-component:'%s'\n", component.data())); in Dump()
2052 printer->Print("main\n"); in Dump()
2059 printer->Print("other-activities\n"); in Dump()
2069 printer->Print("other-receivers\n"); in Dump()
2079 printer->Print("other-services\n"); in Dump()
2101 printer->Print("locales:"); in Dump()
2104 printer->Print(" '--_--'"); in Dump()
2106 printer->Print(StringPrintf(" '%s'", config.first.data())); in Dump()
2109 printer->Print("\n"); in Dump()
2112 printer->Print("densities:"); in Dump()
2114 printer->Print(StringPrintf(" '%d'", config.first)); in Dump()
2116 printer->Print("\n"); in Dump()
2170 printer->Print(StringPrintf("native-code: '%s'\n", arch->data())); in Dump()
2178 printer->Print("alt-"); in Dump()
2180 printer->Print("native-code:"); in Dump()
2182 printer->Print(StringPrintf(" '%s'", arch.data())); in Dump()
2184 printer->Print("\n"); in Dump()