/aosp14/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | CutoutSpecificationTest.java | 128 private CutoutSpecification.Parser mParser; 135 mParser = new CutoutSpecification.Parser(3.5f, 1080, 1920); in setUp() 193 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldHaveLeftBound() 200 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldHaveTopBound() 207 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldHaveRightBound() 214 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldHaveBottomBound() 221 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldMatchExpectedSafeInset() 323 new CutoutSpecification.Parser(2f, 200, 400) in getSafeInset_shortEdgeIsTopBottom_shouldMatchExpectedInset() 333 new CutoutSpecification.Parser(2f, 400, 200) in getSafeInset_shortEdgeIsLeftRight_shouldMatchExpectedInset() 343 new CutoutSpecification.Parser(2f, 400, 200) in parse_bottomLeftSpec_withBindLeftMarker_shouldBeLeftBound() [all …]
|
/aosp14/system/core/init/ |
H A D | parser.cpp | 35 Parser::Parser() {} in Parser() function in android::init::Parser 37 void Parser::AddSectionParser(const std::string& name, std::unique_ptr<SectionParser> parser) { in AddSectionParser() 41 void Parser::AddSingleLineParser(const std::string& prefix, LineCallback callback) { in AddSingleLineParser() 45 void Parser::ParseData(const std::string& filename, std::string* data) { in ParseData() 134 bool Parser::ParseConfigFileInsecure(const std::string& path, bool follow_symlinks = false) { in ParseConfigFileInsecure() 144 Result<void> Parser::ParseConfigFile(const std::string& path) { in ParseConfigFile() 159 bool Parser::ParseConfigDir(const std::string& path) { in ParseConfigDir() 186 bool Parser::ParseConfig(const std::string& path) { in ParseConfig()
|
H A D | import_parser.h | 30 ImportParser(Parser* parser) : parser_(parser) {} in ImportParser() 37 Parser* parser_;
|
H A D | init.h | 31 Parser CreateParser(ActionManager& action_manager, ServiceList& service_list); 32 Parser CreateApexConfigParser(ActionManager& action_manager, ServiceList& service_list);
|
H A D | parser.h | 61 class Parser { 72 Parser();
|
H A D | apex_init_util.cpp | 68 Parser parser = in ParseConfigs()
|
H A D | init_test.cpp | 64 Parser parser; in TestInit() 129 Parser parser; in TEST() 534 Parser parser; in GetTestFunctionMapForLazyLoad() 631 Parser parser; in TEST()
|
H A D | init.cpp | 270 Parser CreateParser(ActionManager& action_manager, ServiceList& service_list) { in CreateParser() 271 Parser parser; in CreateParser() 307 Parser CreateApexConfigParser(ActionManager& action_manager, ServiceList& service_list) { in CreateApexConfigParser() 308 Parser parser; in CreateApexConfigParser() 338 Parser parser = CreateParser(action_manager, service_list); in LoadBootScripts()
|
H A D | reboot_test.cpp | 105 Parser parser; in AddTestService()
|
H A D | host_init_verifier.cpp | 315 Parser parser; in main()
|
H A D | ueventd_parser.cpp | 257 Parser parser; in ParseConfig()
|
/aosp14/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
H A D | BatteryStatsReader.java | 39 final Parser parser = new Parser(stream); in parse() 46 private static class Parser { class in BatteryStatsReader 54 Parser(InputStream stream) { in Parser() method in BatteryStatsReader.Parser
|
H A D | PowerProfile.java | 85 private static class Parser { class in PowerProfile 104 Parser(InputStream stream) { in Parser() method in PowerProfile.Parser 123 Parser.this.onItem(locator, name, value); in parse() 129 Parser.this.onArray(locator, name, value); in parse() 517 return (new Parser(stream)).parse(); in parse()
|
/aosp14/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/ |
H A D | AppWidget.java | 54 private static class Parser { class in AppWidget 64 public Parser(String[] args) { in Parser() method in AppWidget.Parser 161 Parser parser = new Parser(args); in main()
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/view/ |
H A D | CutoutSpecificationBenchmark.java | 167 new CutoutSpecification.Parser(DISPLAY_DENSITY, DISPLAY_WIDTH, DISPLAY_HEIGHT) in parseByNewMethodForDoubleCutout() 198 new CutoutSpecification.Parser(DISPLAY_DENSITY, DISPLAY_WIDTH, DISPLAY_HEIGHT) in parseLongEdgeCutout() 220 new CutoutSpecification.Parser(DISPLAY_DENSITY, DISPLAY_WIDTH, DISPLAY_HEIGHT) in parseShortEdgeCutout()
|
/aosp14/system/core/init/test_utils/ |
H A D | service_utils.cpp | 32 Parser parser; in GetOnDeviceServiceInterfacesMap()
|
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/content/res/ |
H A D | XmlBlockBenchmark.java | 52 private XmlBlock.Parser mParser; 65 private XmlBlock.Parser getNewParser() { in getNewParser() 70 return (XmlBlock.Parser) resources.getXml(R.layout.linear_layout_for_xmlblock_benchmark); in getNewParser()
|
/aosp14/frameworks/base/core/java/android/view/ |
H A D | CutoutSpecification.java | 99 private CutoutSpecification(@NonNull Parser parser) { in CutoutSpecification() 203 public static class Parser { class in CutoutSpecification 241 public Parser(float stableDensity, int physicalDisplayWidth, in Parser() method in CutoutSpecification.Parser 253 Parser(float stableDensity, int physicalDisplayWidth, int physicalDisplayHeight, in Parser() method in CutoutSpecification.Parser
|
H A D | DisplayCutout.java | 753 final CutoutSpecification cutoutSpec = new CutoutSpecification.Parser( in getCutoutPath() 1117 CutoutSpecification cutoutSpec = new CutoutSpecification.Parser(density, in pathAndDisplayCutoutFromSpec()
|
/aosp14/frameworks/base/cmds/content/src/com/android/commands/content/ |
H A D | Content.java | 138 private static class Parser { class in Content 168 public Parser(String[] args) { in Parser() method in Content.Parser 732 Parser parser = new Parser(args); in main()
|
/aosp14/frameworks/base/core/java/android/content/res/ |
H A D | XmlBlock.java | 93 return new Parser(nativeCreateParseState(mNative, resId), this); in newParser() 110 public final class Parser implements XmlResourceParser { class in XmlBlock 111 Parser(long parseState, XmlBlock block) { in Parser() method in XmlBlock.Parser
|
H A D | ResourcesImpl.java | 1296 if (set == null || !(set instanceof XmlBlock.Parser)) { 1299 return ((XmlBlock.Parser) set).getSourceResId(); 1393 final XmlBlock.Parser parser = (XmlBlock.Parser) set;
|
H A D | AssetManager.java | 1144 @Nullable XmlBlock.Parser parser, @NonNull int[] inAttrs, long outValuesAddress, in applyStyle() 1183 boolean retrieveAttributes(@NonNull XmlBlock.Parser parser, @NonNull int[] inAttrs, in retrieveAttributes()
|
/aosp14/system/core/init/fuzzer/ |
H A D | init_parser_fuzzer.cpp | 122 Parser parser; in InvokeParser()
|
/aosp14/frameworks/base/core/java/android/text/ |
H A D | Html.java | 48 import org.ccil.cowan.tagsoup.Parser; 233 Parser parser = new Parser(); in fromHtml() 235 parser.setProperty(Parser.schemaProperty, HtmlParser.schema); in fromHtml() 738 Html.TagHandler tagHandler, Parser parser, int flags) { in HtmlToSpannedConverter()
|