Home
last modified time | relevance | path

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

/system/core/fs_mgr/libdm/
Ddm.cpp283 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()
Ddm_test.cpp177 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()
/system/core/fs_mgr/libdm/include/libdm/
Ddm.h51 enum class DmDeviceState { INVALID, SUSPENDED, ACTIVE }; enumerator
/system/vold/
DMetadataCrypt.cpp191 if (dm_name == kDmNameUserdata && dm.GetState(dm_name) == DmDeviceState::SUSPENDED) { in create_crypto_blk_dev()
/system/core/fs_mgr/tools/
Ddmctl.cpp539 if (!dm.ChangeState(argv[0], DmDeviceState::SUSPENDED)) { in SuspendCmdHandler()
/system/apex/apexd/
Dapexd_test.cpp4642 ASSERT_EQ(dm::DmDeviceState::SUSPENDED, in TEST_F()
4644 ASSERT_EQ(dm::DmDeviceState::SUSPENDED, in TEST_F()
Dapexd.cpp3334 if (state == DmDeviceState::SUSPENDED && IsApexDevice(dev.name())) { in DeleteUnusedVerityDevices()