Lines Matching refs:content
54 ASSERT_TRUE(android::base::ReadFileToString(tmp_file.path, &content)); in ReportRaw()
55 ASSERT_TRUE(!content.empty()); in ReportRaw()
56 std::vector<std::string> raw_lines = android::base::Split(content, "\n"); in ReportRaw()
68 std::string content; member in ReportCommandTest
76 ASSERT_NE(content.find("GlobalFunc"), std::string::npos); in TEST_F()
82 ASSERT_NE(content.find("GlobalFunc"), std::string::npos); in TEST_F()
214 ASSERT_NE(content.find("17441"), std::string::npos); in TEST_F()
215 ASSERT_NE(content.find("17445"), std::string::npos); in TEST_F()
318 ASSERT_NE(content.find(GetUrlInApk(APK_FILE, NATIVELIB_IN_APK)), in TEST_F()
320 ASSERT_NE(content.find("Func2"), std::string::npos); in TEST_F()
327 ASSERT_NE(pos = content.find("cpu-cycles", pos), std::string::npos); in TEST_F()
328 ASSERT_NE(pos = content.find("Samples:", pos), std::string::npos); in TEST_F()
329 ASSERT_NE(pos = content.find("cpu-clock", pos), std::string::npos); in TEST_F()
330 ASSERT_NE(pos = content.find("Samples:", pos), std::string::npos); in TEST_F()
336 ASSERT_NE(content.find("perf_event_aux"), std::string::npos); in TEST_F()
342 ASSERT_NE(content.find("main"), std::string::npos); in TEST_F()
345 ASSERT_NE(content.find("memcpy"), std::string::npos); in TEST_F()
352 ASSERT_NE(content.find("main"), std::string::npos); in TEST_F()
363 ASSERT_NE(content.find("VaddrInFile"), std::string::npos); in TEST_F()
370 ASSERT_NE(content.find("main"), std::string::npos); in TEST_F()
378 if (content.find("main") != std::string::npos) { in TEST_F()
389 ASSERT_EQ(content.find("unknown"), std::string::npos); in TEST_F()
392 ASSERT_NE(content.find("unknown"), std::string::npos); in TEST_F()
403 if (content.find("GlobalFunc") != std::string::npos) { in TEST_F()
419 if (content.find("GlobalFunc") != std::string::npos) { in TEST_F()
435 ASSERT_NE(content.find("89.03"), std::string::npos); in TEST_F()
439 ASSERT_EQ(content.find("89.03"), std::string::npos); in TEST_F()
442 ASSERT_NE(content.find("89.03"), std::string::npos); in TEST_F()
447 ASSERT_EQ(content.find("89.03"), std::string::npos); in TEST_F()
451 ASSERT_NE(content.find("89.03"), std::string::npos); in TEST_F()
457 ASSERT_NE(content.find("FakeKernelSymbol"), std::string::npos); in TEST_F()
467 ASSERT_NE(content.find("GlobalFunc"), std::string::npos); in TEST_F()
468 ASSERT_EQ(content.find('%'), std::string::npos); in TEST_F()
474 ASSERT_NE(content.find("skipped in brief callgraph mode"), std::string::npos); in TEST_F()
477 ASSERT_EQ(content.find("skipped in brief callgraph mode"), std::string::npos); in TEST_F()
483 ASSERT_NE(content.find("Time in ns"), std::string::npos); in TEST_F()
503 ASSERT_NE(content.find("EventCount,EventName"), std::string::npos); in TEST_F()
507 ASSERT_NE(content.find("AccEventCount,SelfEventCount,EventName"), std::string::npos); in TEST_F()
533 ASSERT_NE(content.find(GetUrlInApk(APK_FILE, NATIVELIB_IN_APK)), in TEST_F()
535 ASSERT_NE(content.find("Func2"), std::string::npos); in TEST_F()
536 ASSERT_NE(content.find("Func1"), std::string::npos); in TEST_F()
537 ASSERT_NE(content.find("GlobalFunc"), std::string::npos); in TEST_F()
552 ASSERT_EQ(content.find("[kernel.kallsyms]"), std::string::npos); in TEST_F()