Home
last modified time | relevance | path

Searched refs:US_PER_MS (Results 1 - 12 of 12) sorted by relevance

/base/powermgr/power_manager/test/unittest/src/
H A Dpower_coordination_lock_test.cpp41 constexpr int32_t US_PER_MS = 1000; member
155 usleep(RETRY_WAIT_TIME_MS * US_PER_MS); in RegisterEvent()
223 usleep(timeoutMs * US_PER_MS); in HWTEST_F()
224 usleep(WAIT_EVENT_TIME_MS * US_PER_MS); in HWTEST_F()
295 usleep(timeoutMs * US_PER_MS); in HWTEST_F()
296 usleep(WAIT_EVENT_TIME_MS * US_PER_MS); in HWTEST_F()
345 usleep(WAIT_AUTO_SUSPEND_SLEEP_TIME_MS * US_PER_MS); in HWTEST_F()
385 usleep(WAIT_EVENT_TIME_MS * US_PER_MS); in HWTEST_F()
392 usleep(WAIT_AUTO_SUSPEND_SLEEP_TIME_MS * US_PER_MS); in HWTEST_F()
397 usleep(WAIT_EVENT_TIME_MS * US_PER_MS); in HWTEST_F()
[all...]
/base/powermgr/battery_statistics/test/unittest/include/
H A Dstats_test.h30 static constexpr int32_t US_PER_MS = 1000; member in OHOS::PowerMgr::StatsTest
/base/powermgr/battery_statistics/test/unittest/src/clienttest/
H A Dstats_util_test.cpp157 usleep(TIMER_DURATION_MS * US_PER_MS); in HWTEST_F()
193 usleep(TIMER_DURATION_MS * US_PER_MS); in HWTEST_F()
222 usleep(TIMER_DURATION_MS * US_PER_MS); in HWTEST_F()
225 usleep(TIMER_DURATION_MS * US_PER_MS); in HWTEST_F()
317 usleep(TIMER_DURATION_MS * US_PER_MS); in HWTEST_F()
324 usleep(TIMER_DURATION_MS * US_PER_MS); in HWTEST_F()
H A Dstats_bluetooth_test.cpp40 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
46 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
52 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
58 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
H A Dstats_dump_test.cpp110 usleep(US_PER_MS); in HWTEST_F()
/base/powermgr/power_manager/test/unittest/src/interface_test/
H A Dpower_mgr_service_test.cpp484 constexpr const int64_t US_PER_MS = 1000; in HWTEST_F() local
491 usleep((screenOffTime - screenOffTime / PowerStateMachine::OFF_TIMEOUT_FACTOR + STATE_WAIT_TIME_MS) * US_PER_MS); in HWTEST_F()
496 usleep((screenOffTime - screenOffTime / PowerStateMachine::OFF_TIMEOUT_FACTOR + STATE_WAIT_TIME_MS) * US_PER_MS); in HWTEST_F()
500 US_PER_MS); in HWTEST_F()
H A Drunning_lock_test.cpp31 constexpr int32_t US_PER_MS = 1000; member
/base/powermgr/power_manager/test/unittest/src/scenario_test/running_lock/
H A Drunning_lock_scenario_test.cpp30 constexpr int32_t US_PER_MS = 1000; member
/base/powermgr/display_manager/state_manager/service/native/src/
H A Ddisplay_power_mgr_service.cpp45 const uint32_t US_PER_MS = 1000; member
71 usleep(GET_DISPLAY_ID_DELAY_MS * US_PER_MS); in Init()
/base/powermgr/battery_statistics/test/unittest/src/servicetest/
H A Dstats_service_bluetooth_test.cpp51 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
59 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
67 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
75 usleep(time * StatsTest::US_PER_MS); in WriteBluetoothEvent()
H A Dstats_service_core_test.cpp112 ((2 * SERVICE_POWER_CONSUMPTION_DURATION_US) / 3) * 2 / US_PER_MS); in HWTEST_F()
H A Dstats_service_dump_test.cpp144 usleep(US_PER_MS); in HWTEST_F()

Completed in 17 milliseconds