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 | 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()
|
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)2, countNewLines(plog->dumpToString())); in TEST() 58 EXPECT_EQ((size_t)3, countNewLines(plog->dumpToString())); in TEST() 61 EXPECT_EQ((size_t)2, countNewLines(plog->dumpToString( in TEST() 65 EXPECT_EQ((size_t)3, countNewLines(plog->dumpToString( in TEST() 67 EXPECT_EQ((size_t)2, countNewLines(plog->dumpToString( 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 | 76 std::string dumpToString(
|
/system/media/audio_utils/ |
D | PowerLog.cpp | 110 std::string PowerLog::dumpToString(const char *prefix, size_t lines, int64_t limitNs) const in dumpToString() function in android::PowerLog 238 const std::string s = dumpToString(prefix, lines, limitNs); in dump()
|