Home
last modified time | relevance | path

Searched refs:SUSPENDED (Results 1 – 4 of 4) sorted by relevance

/system/core/fs_mgr/libdm/
Ddm.cpp220 return DmDeviceState::SUSPENDED; in GetState()
224 if (state != DmDeviceState::SUSPENDED && state != DmDeviceState::ACTIVE) { in ChangeState()
231 if (state == DmDeviceState::SUSPENDED) io.flags = DM_SUSPEND_FLAG; in ChangeState()
235 << (state == DmDeviceState::SUSPENDED ? "suspend" : "resume") << " failed"; in ChangeState()
Ddm_test.cpp149 ASSERT_TRUE(dm.ChangeState(dev.name(), DmDeviceState::SUSPENDED)); in TEST()
150 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::SUSPENDED); in TEST()
/system/core/fs_mgr/libdm/include/libdm/
Ddm.h48 enum class DmDeviceState { INVALID, SUSPENDED, ACTIVE }; enumerator
/system/core/fs_mgr/tools/
Ddmctl.cpp492 if (!dm.ChangeState(argv[0], DmDeviceState::SUSPENDED)) { in SuspendCmdHandler()