Home
last modified time | relevance | path

Searched refs:Parser (Results 1 – 25 of 36) sorted by relevance

12

/aosp14/frameworks/base/core/tests/coretests/src/android/view/
H A DCutoutSpecificationTest.java128 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 Dparser.cpp35 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 Dimport_parser.h30 ImportParser(Parser* parser) : parser_(parser) {} in ImportParser()
37 Parser* parser_;
H A Dinit.h31 Parser CreateParser(ActionManager& action_manager, ServiceList& service_list);
32 Parser CreateApexConfigParser(ActionManager& action_manager, ServiceList& service_list);
H A Dparser.h61 class Parser {
72 Parser();
H A Dapex_init_util.cpp68 Parser parser = in ParseConfigs()
H A Dinit_test.cpp64 Parser parser; in TestInit()
129 Parser parser; in TEST()
534 Parser parser; in GetTestFunctionMapForLazyLoad()
631 Parser parser; in TEST()
H A Dinit.cpp270 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 Dreboot_test.cpp105 Parser parser; in AddTestService()
H A Dhost_init_verifier.cpp315 Parser parser; in main()
H A Dueventd_parser.cpp257 Parser parser; in ParseConfig()
/aosp14/frameworks/base/tools/powermodel/src/com/android/powermodel/
H A DBatteryStatsReader.java39 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 DPowerProfile.java85 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 DAppWidget.java54 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 DCutoutSpecificationBenchmark.java167 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 Dservice_utils.cpp32 Parser parser; in GetOnDeviceServiceInterfacesMap()
/aosp14/frameworks/base/apct-tests/perftests/core/src/android/content/res/
H A DXmlBlockBenchmark.java52 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 DCutoutSpecification.java99 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 DDisplayCutout.java753 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 DContent.java138 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 DXmlBlock.java93 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 DResourcesImpl.java1296 if (set == null || !(set instanceof XmlBlock.Parser)) {
1299 return ((XmlBlock.Parser) set).getSourceResId();
1393 final XmlBlock.Parser parser = (XmlBlock.Parser) set;
H A DAssetManager.java1144 @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 Dinit_parser_fuzzer.cpp122 Parser parser; in InvokeParser()
/aosp14/frameworks/base/core/java/android/text/
H A DHtml.java48 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()

12