Searched refs:secondSnapshot (Results 1 – 8 of 8) sorted by relevance
/packages/services/Car/cpp/watchdog/stable_server/tests/ |
D | UidIoStatsCollectorTest.cpp | 81 constexpr char secondSnapshot[] = "1001234 10000 2000 7000 950 0 0 0 0 45 0\n" in TEST() local 96 ASSERT_TRUE(WriteStringToFile(secondSnapshot, tf.path)); in TEST()
|
D | UidCpuStatsCollectorTest.cpp | 73 constexpr char secondSnapshot[] = "0: 7500000 5000000\n" in TEST() local 79 ASSERT_TRUE(WriteStringToFile(secondSnapshot, tf.path)); in TEST()
|
D | UidProcStatsCollectorTest.cpp | 297 TemporaryDir secondSnapshot; in TEST() local 298 ASSERT_RESULT_OK(populateProcPidDir(secondSnapshot.path, pidToTids, perProcessStat, in TEST() 302 collector.mPath = secondSnapshot.path; in TEST() 305 << "Files under the path `" << secondSnapshot.path << "` are inaccessible"; in TEST() 638 TemporaryDir secondSnapshot; in TEST() local 639 ASSERT_RESULT_OK(populateProcPidDir(secondSnapshot.path, pidToTids, perProcessStat, in TEST() 643 collector.mPath = secondSnapshot.path; in TEST() 646 << "Files under the path `" << secondSnapshot.path << "` are inaccessible"; in TEST()
|
D | ProcStatCollectorTest.cpp | 116 constexpr char secondSnapshot[] = in TEST() local 148 ASSERT_TRUE(WriteStringToFile(secondSnapshot, tf.path)); in TEST()
|
/packages/services/Car/cpp/watchdog/server/tests/ |
D | UidIoStatsCollectorTest.cpp | 81 constexpr char secondSnapshot[] = "1001234 10000 2000 7000 950 0 0 0 0 45 0\n" in TEST() local 96 ASSERT_TRUE(WriteStringToFile(secondSnapshot, tf.path)); in TEST()
|
D | UidCpuStatsCollectorTest.cpp | 73 constexpr char secondSnapshot[] = "0: 7500000 5000000\n" in TEST() local 79 ASSERT_TRUE(WriteStringToFile(secondSnapshot, tf.path)); in TEST()
|
D | UidProcStatsCollectorTest.cpp | 297 TemporaryDir secondSnapshot; in TEST() local 298 ASSERT_RESULT_OK(populateProcPidDir(secondSnapshot.path, pidToTids, perProcessStat, in TEST() 302 collector.mPath = secondSnapshot.path; in TEST() 305 << "Files under the path `" << secondSnapshot.path << "` are inaccessible"; in TEST() 638 TemporaryDir secondSnapshot; in TEST() local 639 ASSERT_RESULT_OK(populateProcPidDir(secondSnapshot.path, pidToTids, perProcessStat, in TEST() 643 collector.mPath = secondSnapshot.path; in TEST() 646 << "Files under the path `" << secondSnapshot.path << "` are inaccessible"; in TEST()
|
D | ProcStatCollectorTest.cpp | 116 constexpr char secondSnapshot[] = in TEST() local 148 ASSERT_TRUE(WriteStringToFile(secondSnapshot, tf.path)); in TEST()
|