Searched refs:kPid (Results 1 – 2 of 2) sorted by relevance
/external/perfetto/src/trace_processor/importers/proto/ |
D | heap_graph_tracker_unittest.cc | 57 constexpr UniquePid kPid = 1; in TEST() local 117 tracker.AddObject(kSeqId, kPid, kTimestamp, std::move(obj)); in TEST() 128 tracker.AddObject(kSeqId, kPid, kTimestamp, std::move(obj)); in TEST() 136 tracker.AddObject(kSeqId, kPid, kTimestamp, std::move(obj)); in TEST() 147 tracker.AddObject(kSeqId, kPid, kTimestamp, std::move(obj)); in TEST() 155 tracker.AddObject(kSeqId, kPid, kTimestamp, std::move(obj)); in TEST() 163 tracker.AddObject(kSeqId, kPid, kTimestamp, std::move(obj)); in TEST() 170 tracker.AddRoot(kSeqId, kPid, kTimestamp, root); in TEST() 174 tracker.BuildFlamegraph(kPid, kTimestamp); in TEST()
|
/external/perfetto/src/traced/probes/ps/ |
D | process_stats_data_source_unittest.cc | 411 const int kPid = 1; in TEST_F() local 414 sprintf(path, "%s/%d", fake_proc.path().c_str(), kPid); in TEST_F() 425 EXPECT_CALL(*data_source, ReadProcPidFile(kPid, "status")) in TEST_F() 433 EXPECT_CALL(*data_source, ReadProcPidFile(kPid, "oom_score_adj")) in TEST_F() 458 ASSERT_EQ(proc_counters.pid(), kPid); in TEST_F() 459 ASSERT_EQ(static_cast<int>(proc_counters.vm_size_kb()), kPid * 100 + 1); in TEST_F() 460 ASSERT_EQ(static_cast<int>(proc_counters.vm_rss_kb()), kPid * 100 + 2); in TEST_F() 461 ASSERT_EQ(static_cast<int>(proc_counters.oom_score_adj()), kPid * 100); in TEST_F() 488 const int kPid = 1; in TEST_F() local 489 make_proc_path(fake_proc, kPid); in TEST_F() [all …]
|