Home
last modified time | relevance | path

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

/system/core/fs_mgr/libdm/include/libdm/
Ddm.h116 bool ChangeState(const std::string& name, DmDeviceState state);
/system/core/fs_mgr/tools/
Ddmctl.cpp502 if (!dm.ChangeState(argv[0], DmDeviceState::ACTIVE)) { in ResumeCmdHandler()
516 if (!dm.ChangeState(argv[0], DmDeviceState::SUSPENDED)) { in SuspendCmdHandler()
/system/core/fs_mgr/libdm/
Ddm_test.cpp150 ASSERT_TRUE(dm.ChangeState(dev.name(), DmDeviceState::SUSPENDED)); in TEST()
153 ASSERT_TRUE(dm.ChangeState(dev.name(), DmDeviceState::ACTIVE)); in TEST()
Ddm.cpp248 bool DeviceMapper::ChangeState(const std::string& name, DmDeviceState state) { in ChangeState() function in android::dm::DeviceMapper