Lines Matching refs:Print

126   void Print(text::Printer* printer) {  in Print()  function in aapt::Architectures
128 printer->Print("native-code:"); in Print()
130 printer->Print(StringPrintf(" '%s'", arch.data())); in Print()
132 printer->Print("\n"); in Print()
135 printer->Print("alt-native-code:"); in Print()
137 printer->Print(StringPrintf(" '%s'", arch.data())); in Print()
139 printer->Print("\n"); in Print()
176 void Print(text::Printer* printer) { in Print() function in aapt::Components
179 printer->Print(StringPrintf("provides-component:'%s'\n", component.data())); in Print()
184 printer->Print("main\n"); in Print()
188 printer->Print("other-activities\n"); in Print()
191 printer->Print("other-receivers\n"); in Print()
194 printer->Print("other-services\n"); in Print()
230 virtual void Print(text::Printer* printer) { in Print() function in aapt::ManifestExtractor::Element
633 void Print(text::Printer* printer) override { in Print() function in aapt::Manifest
642 printer->Print(StringPrintf("package: name='%s' ", package.data())); in PrintFull()
643 printer->Print(StringPrintf("versionCode='%s' ", in PrintFull()
645 printer->Print(StringPrintf("versionName='%s'", versionName.data())); in PrintFull()
648 printer->Print(StringPrintf(" split='%s'", split->data())); in PrintFull()
651 printer->Print(StringPrintf(" platformBuildVersionName='%s'", platformVersionName->data())); in PrintFull()
653 printer->Print(StringPrintf(" platformBuildVersionName='%d'", *platformVersionNameInt)); in PrintFull()
656 printer->Print(StringPrintf(" platformBuildVersionCode='%s'", platformVersionCode->data())); in PrintFull()
658 printer->Print(StringPrintf(" platformBuildVersionCode='%d'", *platformVersionCodeInt)); in PrintFull()
661 printer->Print(StringPrintf(" compileSdkVersion='%d'", *compilesdkVersion)); in PrintFull()
664 printer->Print(StringPrintf(" compileSdkVersionCodename='%s'", in PrintFull()
667 printer->Print("\n"); in PrintFull()
672 printer->Print("install-location:'auto'\n"); in PrintFull()
675 printer->Print("install-location:'internalOnly'\n"); in PrintFull()
678 printer->Print("install-location:'preferExternal'\n"); in PrintFull()
739 void Print(text::Printer* printer) override { in Print() function in aapt::Application
743 printer->Print(StringPrintf("application-label:'%s'\n", in Print()
747 printer->Print(StringPrintf("application-label-%s:'%s'\n", p.first.data(), in Print()
755 printer->Print(StringPrintf("application-icon-%d:'%s'\n", p.first, p.second.data())); in Print()
759 printer->Print(StringPrintf("application: label='%s' ", in Print()
761 printer->Print(StringPrintf("icon='%s'", icon.data())); in Print()
763 printer->Print(StringPrintf(" banner='%s'", banner.data())); in Print()
765 printer->Print("\n"); in Print()
768 printer->Print(StringPrintf("testOnly='%d'\n", test_only)); in Print()
771 printer->Print("application-isGame\n"); in Print()
774 printer->Print("application-debuggable\n"); in Print()
836 void Print(text::Printer* printer) override { in Print() function in aapt::UsesSdkBadging
838 printer->Print(StringPrintf("minSdkVersion:'%d'\n", *min_sdk)); in Print()
840 printer->Print(StringPrintf("minSdkVersion:'%s'\n", min_sdk_name->data())); in Print()
843 printer->Print(StringPrintf("maxSdkVersion:'%d'\n", *max_sdk)); in Print()
846 printer->Print(StringPrintf("targetSdkVersion:'%d'\n", *target_sdk)); in Print()
848 printer->Print(StringPrintf("targetSdkVersion:'%s'\n", target_sdk_name->data())); in Print()
893 void Print(text::Printer* printer) override { in Print() function in aapt::UsesConfiguarion
894 printer->Print("uses-configuration:"); in Print()
896 printer->Print(StringPrintf(" reqTouchScreen='%d'", req_touch_screen)); in Print()
899 printer->Print(StringPrintf(" reqKeyboardType='%d'", req_keyboard_type)); in Print()
902 printer->Print(StringPrintf(" reqHardKeyboard='%d'", req_hard_keyboard)); in Print()
905 printer->Print(StringPrintf(" reqNavigation='%d'", req_navigation)); in Print()
908 printer->Print(StringPrintf(" reqFiveWayNav='%d'", req_five_way_nav)); in Print()
910 printer->Print("\n"); in Print()
965 printer->Print("supports-screens:"); in PrintScreens()
967 printer->Print(" 'small'"); in PrintScreens()
970 printer->Print(" 'normal'"); in PrintScreens()
973 printer->Print(" 'large'"); in PrintScreens()
976 printer->Print(" 'xlarge'"); in PrintScreens()
978 printer->Print("\n"); in PrintScreens()
979 printer->Print(StringPrintf("supports-any-density: '%s'\n", in PrintScreens()
982 printer->Print(StringPrintf("requires-smallest-width:'%d'\n", requires_smallest_width_dp)); in PrintScreens()
985 printer->Print(StringPrintf("compatible-width-limit:'%d'\n", compatible_width_limit_dp)); in PrintScreens()
988 printer->Print(StringPrintf("largest-width-limit:'%d'\n", largest_width_limit_dp)); in PrintScreens()
1059 printer->Print(StringPrintf("feature-group: label='%s'\n", label.data())); in PrintGroup()
1061 printer->Print(StringPrintf(" uses-gl-es: '0x%x'\n", open_gles_version)); in PrintGroup()
1065 printer->Print(StringPrintf(" uses-feature%s: name='%s'", in PrintGroup()
1069 printer->Print(StringPrintf(" version='%d'", feature.second.version)); in PrintGroup()
1071 printer->Print("\n"); in PrintGroup()
1156 printer->Print(StringPrintf(" uses-feature%s: name='%s'\n", sdk23, feature.first.data())); in PrintGroup()
1157 printer->Print(StringPrintf(" uses-implied-feature%s: name='%s' reason='", sdk23, in PrintGroup()
1163 printer->Print(reason); in PrintGroup()
1165 printer->Print(", "); in PrintGroup()
1167 printer->Print(", and "); in PrintGroup()
1171 printer->Print("'\n"); in PrintGroup()
1384 void Print(text::Printer* printer) override { in Print() function in aapt::UsesPermission
1386 printer->Print(StringPrintf("uses-permission: name='%s'", name.data())); in Print()
1388 printer->Print(StringPrintf(" maxSdkVersion='%d'", maxSdkVersion)); in Print()
1391 printer->Print(StringPrintf(" usesPermissionFlags='neverForLocation'")); in Print()
1393 printer->Print("\n"); in Print()
1395 printer->Print(StringPrintf(" required-feature='%s'\n", requiredFeature.data())); in Print()
1398 printer->Print(StringPrintf(" required-not-feature='%s'\n", requiredNotFeature.data())); in Print()
1401 printer->Print(StringPrintf("optional-permission: name='%s'", name.data())); in Print()
1403 printer->Print(StringPrintf(" maxSdkVersion='%d'", maxSdkVersion)); in Print()
1406 printer->Print(StringPrintf(" usesPermissionFlags='neverForLocation'")); in Print()
1408 printer->Print("\n"); in Print()
1412 printer->Print(StringPrintf("uses-implied-permission: name='%s'", name.data())); in Print()
1414 printer->Print(StringPrintf(" maxSdkVersion='%d'", maxSdkVersion)); in Print()
1417 printer->Print(StringPrintf(" usesPermissionFlags='neverForLocation'")); in Print()
1419 printer->Print(StringPrintf(" reason='%s'\n", impliedReason.data())); in Print()
1494 void Print(text::Printer* printer) override { in Print() function in aapt::UsesPermissionSdk23
1496 printer->Print(StringPrintf("uses-permission-sdk-23: name='%s'", name->data())); in Print()
1498 printer->Print(StringPrintf(" maxSdkVersion='%d'", *maxSdkVersion)); in Print()
1500 printer->Print("\n"); in Print()
1526 void Print(text::Printer* printer) override { in Print() function in aapt::Permission
1528 printer->Print(StringPrintf("permission: %s\n", name.data())); in Print()
1594 void Print(text::Printer* printer) override { in Print() function in aapt::Activity
1597 printer->Print("launchable-activity:"); in Print()
1599 printer->Print(StringPrintf(" name='%s' ", name.data())); in Print()
1601 printer->Print(StringPrintf(" label='%s' icon='%s'\n", in Print()
1608 printer->Print("leanback-launchable-activity:"); in Print()
1610 printer->Print(StringPrintf(" name='%s' ", name.data())); in Print()
1612 printer->Print(StringPrintf(" label='%s' icon='%s' banner='%s'\n", in Print()
1724 void Print(text::Printer* printer) override { in Print() function in aapt::UsesLibrary
1726 printer->Print(StringPrintf("uses-library%s:'%s'\n", in Print()
1754 void Print(text::Printer* printer) override { in Print() function in aapt::StaticLibrary
1755 printer->Print(StringPrintf( in Print()
1794 void Print(text::Printer* printer) override { in Print() function in aapt::UsesStaticLibrary
1795 printer->Print(StringPrintf( in Print()
1799 printer->Print(StringPrintf(" certDigest='%s'", certDigests[i].data())); in Print()
1801 printer->Print("\n"); in Print()
1827 void Print(text::Printer* printer) override { in Print() function in aapt::SdkLibrary
1828 printer->Print( in Print()
1863 void Print(text::Printer* printer) override { in Print() function in aapt::UsesSdkLibrary
1864 printer->Print( in Print()
1867 printer->Print(StringPrintf(" certDigest='%s'", certDigests[i].data())); in Print()
1869 printer->Print("\n"); in Print()
1894 void Print(text::Printer* printer) override { in Print() function in aapt::UsesNativeLibrary
1896 printer->Print(StringPrintf("uses-native-library%s:'%s'\n", in Print()
1931 void Print(text::Printer* printer) override { in Print() function in aapt::MetaData
1933 printer->Print(StringPrintf("meta-data: name='%s'", name.data())); in Print()
1935 printer->Print(StringPrintf(" value='%s'", value.data())); in Print()
1937 printer->Print(StringPrintf(" value='%d'", *value_int)); in Print()
1940 printer->Print(StringPrintf(" resource='%s'", resource.data())); in Print()
1942 printer->Print(StringPrintf(" resource='%d'", *resource_int)); in Print()
1945 printer->Print("\n"); in Print()
2086 void Print(text::Printer* printer) override { in Print() function in aapt::SupportsInput
2089 printer->Print("supports-input: '"); in Print()
2091 printer->Print(StringPrintf("value='%s' ", inputs[i].data())); in Print()
2093 printer->Print("\n"); in Print()
2138 void Print(text::Printer* printer) override { in Print() function in aapt::InstallConstraints
2140 printer->Print(StringPrintf("install-constraints:\n")); in Print()
2142 printer->Print(StringPrintf(" fingerprint-prefix='%s'\n", prefix.c_str())); in Print()
2158 void Print(text::Printer* printer) override { in Print() function in aapt::OriginalPackage
2160 printer->Print(StringPrintf("original-package:'%s'\n", name->data())); in Print()
2192 void Print(text::Printer* printer) override { in Print() function in aapt::Overlay
2193 printer->Print(StringPrintf("overlay:")); in Print()
2195 printer->Print(StringPrintf(" targetPackage='%s'", target_package->c_str())); in Print()
2197 printer->Print(StringPrintf(" priority='%d'", priority)); in Print()
2198 printer->Print(StringPrintf(" isStatic='%s'", is_static ? "true" : "false")); in Print()
2200 printer->Print(StringPrintf(" requiredPropertyName='%s'", required_property_name->c_str())); in Print()
2203 printer->Print(StringPrintf(" requiredPropertyValue='%s'", required_property_value->c_str())); in Print()
2205 printer->Print("\n"); in Print()
2236 void Print(text::Printer* printer) override { in Print() function in aapt::PackageVerifier
2238 printer->Print(StringPrintf("package-verifier: name='%s' publicKey='%s'\n", in Print()
2280 void Print(text::Printer* printer) override { in Print() function in aapt::UsesPackage
2283 printer->Print(StringPrintf( in Print()
2287 printer->Print(StringPrintf(" certDigest='%s'", certDigests[i].data())); in Print()
2289 printer->Print("\n"); in Print()
2291 printer->Print(StringPrintf("uses-package:'%s'\n", name->data())); in Print()
2359 void Print(text::Printer* printer) override { in Print() function in aapt::CompatibleScreens
2360 printer->Print("compatible-screens:"); in Print()
2368 printer->Print(","); in Print()
2372 printer->Print(StringPrintf("'%d/%d'", *screen->size, *screen->density)); in Print()
2376 printer->Print("\n"); in Print()
2390 void Print(text::Printer* printer) override { in Print() function in aapt::SupportsGlTexture
2392 printer->Print(StringPrintf("supports-gl-texture:'%s'\n", name->data())); in Print()
2421 void Print(text::Printer* printer) override { in Print() function in aapt::Property
2422 printer->Print(StringPrintf("property: name='%s' ", name.data())); in Print()
2424 printer->Print(StringPrintf("value='%s' ", value.data())); in Print()
2426 printer->Print(StringPrintf("value='%d' ", *value_int)); in Print()
2429 printer->Print(StringPrintf("resource='%s' ", resource.data())); in Print()
2431 printer->Print(StringPrintf("resource='%d' ", *resource_int)); in Print()
2434 printer->Print("\n"); in Print()
2457 static void Print(ManifestExtractor::Element* el, text::Printer* printer) { in Print() function
2458 el->Print(printer); in Print()
2460 Print(child.get(), printer); in Print()
2837 Print(root_element_.get(), printer); in Dump()
2843 implied_permission->Print(printer); in Dump()
2848 components_.Print(printer); in Dump()
2852 printer->Print("locales:"); in Dump()
2855 printer->Print(" '--_--'"); in Dump()
2857 printer->Print(StringPrintf(" '%s'", config.first.data())); in Dump()
2860 printer->Print("\n"); in Dump()
2863 printer->Print("densities:"); in Dump()
2865 printer->Print(StringPrintf(" '%d'", config.first)); in Dump()
2867 printer->Print("\n"); in Dump()
2869 architectures_.Print(printer); in Dump()