/aosp14/frameworks/base/cmds/idmap2/tests/ |
H A D | CommandLineOptionsTests.cpp | 46 auto success = opts.Parse({"--foo", "--bar"}); in TEST() 52 success = opts.Parse({"--foo"}); in TEST() 69 success = opts.Parse({"--foo"}); in TEST() 102 success = opts.Parse({"--foo", "BAZ"}); in TEST() 106 success = opts.Parse({"--foo"}); in TEST() 109 success = opts.Parse({"--foo", "--bar", "BAR"}); in TEST() 112 success = opts.Parse({"--foo", "FOO", "--bar"}); in TEST() 131 success = opts.Parse({"--foo", "BAZ"}); in TEST() 150 success = opts.Parse({"--foo"}); in TEST() 172 auto success = opts.Parse({"--unexpected"}); in TEST() [all …]
|
/aosp14/frameworks/base/cmds/incident_helper/src/ |
H A D | TextParserBase.h | 36 virtual status_t Parse(const int in, const int out) const = 0; 47 virtual status_t Parse(const int in, const int out) const; 58 virtual status_t Parse(const int /** in */, const int /** out */) const { while (true); }; in Parse() function 69 virtual status_t Parse(const int in, const int out) const;
|
H A D | TextParserBase.cpp | 26 status_t NoopParser::Parse(const int in, const int out) const in Parse() function in NoopParser 41 status_t ReverseParser::Parse(const int in, const int out) const in Parse() function in ReverseParser
|
H A D | main.cpp | 105 status_t err = parser->Parse(STDIN_FILENO, STDOUT_FILENO); in main()
|
/aosp14/system/core/fs_mgr/libsnapshot/libsnapshot_cow/ |
H A D | cow_api_test.cpp | 79 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_F() 127 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_F() 205 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_F() 281 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_F() 334 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_P() 407 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_P() 466 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_F() 526 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_F() 569 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_P() 640 ASSERT_TRUE(reader.Parse(cow_->fd)); in TEST_F() [all …]
|
/aosp14/frameworks/base/cmds/incident_helper/tests/ |
H A D | KernelWakesParser_test.cpp | 71 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F() 109 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
|
H A D | ProcrankParser_test.cpp | 99 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F() 137 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
|
H A D | BatteryTypeParser_test.cpp | 63 ASSERT_EQ(NO_ERROR, parser.Parse(fd, STDOUT_FILENO)); in TEST_F()
|
/aosp14/system/core/fs_mgr/libsnapshot/include/libsnapshot/ |
H A D | cow_reader.h | 123 bool Parse(android::base::unique_fd&& fd, std::optional<uint64_t> label = {}); 124 bool Parse(android::base::borrowed_fd fd, std::optional<uint64_t> label = {});
|
/aosp14/frameworks/base/cmds/incident_helper/src/parsers/ |
H A D | KernelWakesParser.h | 30 virtual status_t Parse(const int in, const int out) const;
|
H A D | PsParser.h | 30 virtual status_t Parse(const int in, const int out) const;
|
H A D | BatteryTypeParser.h | 33 virtual status_t Parse(const int in, const int out) const;
|
H A D | CpuFreqParser.h | 32 virtual status_t Parse(const int in, const int out) const;
|
H A D | CpuInfoParser.h | 33 virtual status_t Parse(const int in, const int out) const;
|
H A D | EventLogTagsParser.h | 32 virtual status_t Parse(const int in, const int out) const;
|
H A D | PageTypeInfoParser.h | 32 virtual status_t Parse(const int in, const int out) const;
|
H A D | ProcrankParser.h | 32 virtual status_t Parse(const int in, const int out) const;
|
H A D | SystemPropertiesParser.h | 32 virtual status_t Parse(const int in, const int out) const;
|
H A D | BatteryTypeParser.cpp | 27 BatteryTypeParser::Parse(const int in, const int out) const in Parse() function in BatteryTypeParser
|
H A D | KernelWakesParser.cpp | 27 KernelWakesParser::Parse(const int in, const int out) const in Parse() function in KernelWakesParser
|
H A D | EventLogTagsParser.cpp | 25 EventLogTagsParser::Parse(const int in, const int out) const in Parse() function in EventLogTagsParser
|
/aosp14/frameworks/base/cmds/idmap2/idmap2/ |
H A D | Dump.cpp | 48 const auto opts_ok = opts.Parse(args); in Dump()
|
H A D | Lookup.cpp | 167 const auto opts_ok = opts.Parse(args); in Lookup() 173 if (!ConfigDescription::Parse(config_str, &config)) { in Lookup()
|
/aosp14/frameworks/base/libs/androidfw/tests/ |
H A D | ConfigDescription_test.cpp | 30 if (ConfigDescription::Parse(input, config)) { in TestParse() 143 CHECK(ConfigDescription::Parse(str, &config)) << "invalid configuration: " << str; in ParseConfigOrDie()
|
/aosp14/frameworks/base/cmds/idmap2/include/idmap2/ |
H A D | CommandLineOptions.h | 51 Result<Unit> Parse(const std::vector<std::string>& argv) const;
|