Home
last modified time | relevance | path

Searched refs:Sanitize (Results 1 – 3 of 3) sorted by relevance

/system/core/crash_reporter/
Dcrash_collector_test.cc86 TEST_F(CrashCollectorTest, Sanitize) { in TEST_F() argument
87 EXPECT_EQ("chrome", collector_.Sanitize("chrome")); in TEST_F()
88 EXPECT_EQ("CHROME", collector_.Sanitize("CHROME")); in TEST_F()
89 EXPECT_EQ("1chrome2", collector_.Sanitize("1chrome2")); in TEST_F()
90 EXPECT_EQ("chrome__deleted_", collector_.Sanitize("chrome (deleted)")); in TEST_F()
91 EXPECT_EQ("foo_bar", collector_.Sanitize("foo.bar")); in TEST_F()
92 EXPECT_EQ("", collector_.Sanitize("")); in TEST_F()
93 EXPECT_EQ("_", collector_.Sanitize(" ")); in TEST_F()
Dcrash_collector.h57 FRIEND_TEST(CrashCollectorTest, Sanitize);
79 std::string Sanitize(const std::string &name);
Dcrash_collector.cc122 std::string CrashCollector::Sanitize(const std::string &name) { in Sanitize() function in CrashCollector
138 std::string sanitized_exec_name = Sanitize(exec_name); in FormatDumpBasename()