Searched refs:dumpToString (Results 1 – 7 of 7) sorted by relevance
/system/media/audio_utils/tests/ |
D | errorlog_tests.cpp | 35 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()
|
D | powerlog_tests.cpp | 40 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()
|
D | simplelog_tests.cpp | 35 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/ |
D | SimpleLog.h | 157 std::string dumpToString(const char *prefix = "", size_t lines = 0, int64_t limitNs = 0) const 195 const std::string s = dumpToString(prefix, lines, limitNs);
|
D | ErrorLog.h | 98 std::string dumpToString(const char *prefix = "", size_t lines = 0, int64_t limitNs = 0) const 154 const std::string s = dumpToString(prefix, lines, limitNs);
|
D | PowerLog.h | 78 std::string dumpToString(const char *prefix = "", size_t lines = 0, int64_t limitNs = 0,
|
/system/media/audio_utils/ |
D | PowerLog.cpp | 110 std::string PowerLog::dumpToString( in dumpToString() function in android::PowerLog 242 const std::string s = dumpToString(prefix, lines, limitNs, logPlot); in dump()
|