Searched refs:ChangeState (Results 1 – 4 of 4) sorted by relevance
110 bool ChangeState(const std::string& name, DmDeviceState state);
478 if (!dm.ChangeState(argv[0], DmDeviceState::ACTIVE)) { in ResumeCmdHandler()492 if (!dm.ChangeState(argv[0], DmDeviceState::SUSPENDED)) { in SuspendCmdHandler()
149 ASSERT_TRUE(dm.ChangeState(dev.name(), DmDeviceState::SUSPENDED)); in TEST()152 ASSERT_TRUE(dm.ChangeState(dev.name(), DmDeviceState::ACTIVE)); in TEST()
223 bool DeviceMapper::ChangeState(const std::string& name, DmDeviceState state) { in ChangeState() function in android::dm::DeviceMapper