Home
last modified time | relevance | path

Searched refs:ParseWakeupDeviceType (Results 1 - 3 of 3) sorted by relevance

/base/powermgr/power_manager/test/unittest/src/interface_test/
H A Dpower_mgr_service_test.cpp602 * @tc.desc: Test ParseWakeupDeviceType
614 EXPECT_EQ(stateMaschine_->ParseWakeupDeviceType("incoming call"), WakeupDeviceType::WAKEUP_DEVICE_INCOMING_CALL); in HWTEST_F()
615 EXPECT_EQ(stateMaschine_->ParseWakeupDeviceType("shell"), WakeupDeviceType::WAKEUP_DEVICE_SHELL); in HWTEST_F()
616 EXPECT_EQ(stateMaschine_->ParseWakeupDeviceType("pre_bright"), WakeupDeviceType::WAKEUP_DEVICE_PRE_BRIGHT); in HWTEST_F()
617 EXPECT_EQ(stateMaschine_->ParseWakeupDeviceType("pre_bright_auth_success"), in HWTEST_F()
619 EXPECT_EQ(stateMaschine_->ParseWakeupDeviceType("pre_bright_auth_fail_screen_on"), in HWTEST_F()
621 EXPECT_EQ(stateMaschine_->ParseWakeupDeviceType("pre_bright_auth_fail_screen_off"), in HWTEST_F()
/base/powermgr/power_manager/services/native/include/
H A Dpower_state_machine.h157 WakeupDeviceType ParseWakeupDeviceType(const std::string& details);
/base/powermgr/power_manager/services/native/src/
H A Dpower_state_machine.cpp447 WakeupDeviceType PowerStateMachine::ParseWakeupDeviceType(const std::string& details) in ParseWakeupDeviceType() function in OHOS::PowerMgr::PowerStateMachine
589 type = ParseWakeupDeviceType(details); in WakeupDeviceInner()

Completed in 5 milliseconds