Searched refs:SUSPENDED (Results 1 – 7 of 7) sorted by relevance
283 return DmDeviceState::SUSPENDED; in GetState()287 if (state != DmDeviceState::SUSPENDED && state != DmDeviceState::ACTIVE) { in ChangeState()294 if (state == DmDeviceState::SUSPENDED) io.flags = DM_SUSPEND_FLAG; in ChangeState()298 << (state == DmDeviceState::SUSPENDED ? "suspend" : "resume") << " failed"; in ChangeState()
177 ASSERT_TRUE(dm.ChangeState(dev.name(), DmDeviceState::SUSPENDED)); in TEST_F()178 ASSERT_EQ(dm.GetState(dev.name()), DmDeviceState::SUSPENDED); in TEST_F()717 ASSERT_EQ(DmDeviceState::SUSPENDED, dm.GetState("empty-device")); in TEST_F()
51 enum class DmDeviceState { INVALID, SUSPENDED, ACTIVE }; enumerator
191 if (dm_name == kDmNameUserdata && dm.GetState(dm_name) == DmDeviceState::SUSPENDED) { in create_crypto_blk_dev()
539 if (!dm.ChangeState(argv[0], DmDeviceState::SUSPENDED)) { in SuspendCmdHandler()
4642 ASSERT_EQ(dm::DmDeviceState::SUSPENDED, in TEST_F()4644 ASSERT_EQ(dm::DmDeviceState::SUSPENDED, in TEST_F()
3334 if (state == DmDeviceState::SUSPENDED && IsApexDevice(dev.name())) { in DeleteUnusedVerityDevices()