Searched refs:plog (Results 1 – 1 of 1) sorted by relevance
/system/media/audio_utils/tests/ |
D | powerlog_tests.cpp | 32 auto plog = std::make_unique<PowerLog>( in TEST() local 40 EXPECT_EQ((size_t)1, countNewLines(plog->dumpToString())); in TEST() 45 plog->log(&half, 1 /* frame */, 0 /* nowNs */); in TEST() 46 plog->log(&half, 1 /* frame */, 1 /* nowNs */); in TEST() 47 plog->log(&half, 1 /* frame */, 2 /* nowNs */); in TEST() 50 EXPECT_EQ((size_t)2, countNewLines(plog->dumpToString())); in TEST() 52 plog->log(&zero, 1 /* frame */, 3 /* nowNs */); in TEST() 54 EXPECT_EQ((size_t)2, countNewLines(plog->dumpToString())); in TEST() 57 plog->log(&half, 1 /* frame */, 4 /* nowNs */); in TEST() 58 EXPECT_EQ((size_t)3, countNewLines(plog->dumpToString())); in TEST() [all …]
|