Searched refs:NormalizeToString (Results 1 – 1 of 1) sorted by relevance
/external/perfetto/src/profiling/common/ |
D | proc_utils_unittest.cc | 31 std::string NormalizeToString(char* cmdline, size_t size) { in NormalizeToString() function 40 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), "surfaceflinger"); in TEST() 45 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), "surfaceflinger"); in TEST() 50 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), "surfaceflinger"); in TEST() 55 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), "some.app"); in TEST() 60 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), ""); in TEST() 65 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), "foo"); in TEST() 70 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), ""); in TEST() 75 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), ""); in TEST() 80 EXPECT_EQ(NormalizeToString(kCmdline, sizeof(kCmdline)), ""); in TEST() [all …]
|