Home
last modified time | relevance | path

Searched refs:oneSecond (Results 1 – 2 of 2) sorted by relevance

/system/media/audio_utils/tests/
Derrorlog_tests.cpp33 const int64_t oneSecond = 1000000000; in TEST() local
44 elog->log(2 /* code */, oneSecond /* nowNs */); in TEST()
48 elog->log(2 /* code */, oneSecond * 2 /* nowNs */); 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()
Dsimplelog_tests.cpp33 const int64_t oneSecond = 1000000000; in TEST() local
47 slog->log(oneSecond /* nowNs */, "Hello World %d", 10); in TEST()
48 slog->log(oneSecond * 2 /* nowNs */, "%s", "Goodbye"); 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()