Searched refs:ChangeState (Results 1 – 4 of 4) sorted by relevance
116 bool ChangeState(const std::string& name, DmDeviceState state);
502 if (!dm.ChangeState(argv[0], DmDeviceState::ACTIVE)) { in ResumeCmdHandler()516 if (!dm.ChangeState(argv[0], DmDeviceState::SUSPENDED)) { in SuspendCmdHandler()
150 ASSERT_TRUE(dm.ChangeState(dev.name(), DmDeviceState::SUSPENDED)); in TEST()153 ASSERT_TRUE(dm.ChangeState(dev.name(), DmDeviceState::ACTIVE)); in TEST()
248 bool DeviceMapper::ChangeState(const std::string& name, DmDeviceState state) { in ChangeState() function in android::dm::DeviceMapper