Searched refs:SUSPENDED (Results 1 – 5 of 5) sorted by relevance
38 SUSPENDED, enumerator
245 return DmDeviceState::SUSPENDED; in GetState()249 if (state != DmDeviceState::SUSPENDED && state != DmDeviceState::ACTIVE) { in ChangeState()256 if (state == DmDeviceState::SUSPENDED) io.flags = DM_SUSPEND_FLAG; in ChangeState()260 << (state == DmDeviceState::SUSPENDED ? "suspend" : "resume") << " failed"; in ChangeState()
150 ASSERT_TRUE(dm.ChangeState(dev.name(), DmDeviceState::SUSPENDED)); in TEST()151 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::SUSPENDED); in TEST()
48 enum class DmDeviceState { INVALID, SUSPENDED, ACTIVE }; enumerator
516 if (!dm.ChangeState(argv[0], DmDeviceState::SUSPENDED)) { in SuspendCmdHandler()