Home
last modified time | relevance | path

Searched refs:US_PER_MS (Results 1 – 8 of 8) sorted by relevance

/base/powermgr/battery_statistics/test/unittest/src/clienttest/
Dstats_util_test.cpp147 usleep(TIMER_DURATION_MS * US_PER_MS);
179 usleep(TIMER_DURATION_MS * US_PER_MS);
204 usleep(TIMER_DURATION_MS * US_PER_MS);
207 usleep(TIMER_DURATION_MS * US_PER_MS);
291 usleep(TIMER_DURATION_MS * US_PER_MS);
298 usleep(TIMER_DURATION_MS * US_PER_MS);
Dstats_dump_test.cpp106 usleep(US_PER_MS);
Dstats_bluetooth_test.cpp39 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
45 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
51 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
57 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
/base/powermgr/battery_statistics/test/unittest/include/
Dstats_test.h30 static constexpr int32_t US_PER_MS = 1000; variable
/base/powermgr/power_manager/test/unittest/src/
Drunning_lock_test.cpp30 constexpr int32_t US_PER_MS = 1000; variable
232 usleep(timeoutMs * US_PER_MS);
236 usleep(timeoutMs / 2 * US_PER_MS);
238 usleep(timeoutMs * US_PER_MS);
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
Dstats_service_core_test.cpp108 ((2 * SERVICE_POWER_CONSUMPTION_DURATION_US) / 3) * 2 / US_PER_MS);
Dstats_service_bluetooth_test.cpp50 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
58 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
66 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
74 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
Dstats_service_dump_test.cpp140 usleep(US_PER_MS);