Home
last modified time | relevance | path

Searched refs:dumpToString (Results 1 – 7 of 7) sorted by relevance

/system/media/audio_utils/tests/
Derrorlog_tests.cpp35 EXPECT_EQ((size_t)1, countNewLines(elog->dumpToString())); in TEST()
41 EXPECT_EQ((size_t)4, countNewLines(elog->dumpToString())); in TEST()
45 EXPECT_EQ((size_t)4, countNewLines(elog->dumpToString())); in TEST()
49 EXPECT_EQ((size_t)5, countNewLines(elog->dumpToString())); in TEST()
53 EXPECT_EQ((size_t)3, countNewLines(elog->dumpToString("" /* prefix */, 3 /* lines */))); in TEST()
57 elog->dumpToString("" /* prefix */, 0 /* lines */, oneSecond - 1 /* limitNs */))); in TEST()
61 elog->dumpToString("" /* prefix */, 0 /* lines */, oneSecond /* limitNs */))); in TEST()
65 elog->dumpToString("" /* prefix */, 0 /* lines */, oneSecond + 1 /* limitNs */))); in TEST()
69 elog->dumpToString("" /* prefix */, 0 /* lines */, oneSecond * 2 /* limitNs */))); in TEST()
73 elog->dumpToString("" /* prefix */, 0 /* lines */, oneSecond * 2 + 1/* limitNs */))); in TEST()
Dpowerlog_tests.cpp40 EXPECT_EQ((size_t)1, countNewLines(plog->dumpToString())); in TEST()
50 EXPECT_EQ((size_t)2, countNewLines(plog->dumpToString( in TEST()
54 EXPECT_EQ((size_t)20, countNewLines(plog->dumpToString())); in TEST()
58 EXPECT_EQ((size_t)20, countNewLines(plog->dumpToString())); in TEST()
62 EXPECT_EQ((size_t)21, countNewLines(plog->dumpToString())); in TEST()
65 EXPECT_EQ((size_t)20, countNewLines(plog->dumpToString( in TEST()
69 EXPECT_EQ((size_t)21, countNewLines(plog->dumpToString( in TEST()
72 EXPECT_EQ((size_t)20, countNewLines(plog->dumpToString( in TEST()
76 EXPECT_EQ((size_t)21, countNewLines(plog->dumpToString( in TEST()
Dsimplelog_tests.cpp35 EXPECT_EQ((size_t)0, countNewLines(slog->dumpToString())); in TEST()
44 EXPECT_EQ((size_t)3, countNewLines(slog->dumpToString())); in TEST()
50 EXPECT_EQ((size_t)5, countNewLines(slog->dumpToString())); in TEST()
54 EXPECT_EQ((size_t)1, countNewLines(slog->dumpToString("" /* prefix */, 1 /* lines */))); in TEST()
58 slog->dumpToString("" /* prefix */, 0 /* lines */, oneSecond /* limitNs */))); in TEST()
62 slog->dumpToString("" /* prefix */, 0 /* lines */, oneSecond * 2 /* limitNs */))); in TEST()
66 slog->dumpToString("" /* prefix */, 0 /* lines */, oneSecond * 2 + 1 /* limitNs */))); in TEST()
68 std::cout << slog->dumpToString() << std::flush; in TEST()
/system/media/audio_utils/include/audio_utils/
DSimpleLog.h157 std::string dumpToString(const char *prefix = "", size_t lines = 0, int64_t limitNs = 0) const
195 const std::string s = dumpToString(prefix, lines, limitNs);
DErrorLog.h98 std::string dumpToString(const char *prefix = "", size_t lines = 0, int64_t limitNs = 0) const
154 const std::string s = dumpToString(prefix, lines, limitNs);
DPowerLog.h78 std::string dumpToString(const char *prefix = "", size_t lines = 0, int64_t limitNs = 0,
/system/media/audio_utils/
DPowerLog.cpp110 std::string PowerLog::dumpToString( in dumpToString() function in android::PowerLog
242 const std::string s = dumpToString(prefix, lines, limitNs, logPlot); in dump()