Home
last modified time | relevance | path

Searched refs:StopperResult (Results 1 – 8 of 8) sorted by relevance

/device/google/cuttlefish/host/commands/run_cvd/launch/
Dmodem.cpp34 static StopperResult StopModemSimulator(int id) { in StopModemSimulator()
40 return StopperResult::kStopFailure; in StopModemSimulator()
46 return StopperResult::kStopFailure; in StopModemSimulator()
52 return StopperResult::kStopFailure; in StopModemSimulator()
57 return StopperResult::kStopFailure; in StopModemSimulator()
60 return StopperResult::kStopSuccess; in StopModemSimulator()
Dstreamer.cpp255 return StopperResult::kStopFailure; in Commands()
/device/google/cuttlefish/common/libs/utils/
Dsubprocess.cpp273 StopperResult KillSubprocess(Subprocess* subprocess) { in KillSubprocess()
287 return StopperResult::kStopSuccess; in KillSubprocess()
291 return StopperResult::kStopFailure; in KillSubprocess()
293 return StopperResult::kStopSuccess; in KillSubprocess()
296 SubprocessStopper KillSubprocessFallback(std::function<StopperResult()> nice) { in KillSubprocessFallback()
303 if (nice_result == StopperResult::kStopFailure) { in KillSubprocessFallback()
305 return harsh_result == StopperResult::kStopSuccess in KillSubprocessFallback()
306 ? StopperResult::kStopCrash in KillSubprocessFallback()
Dsubprocess.h49 enum class StopperResult { enum
56 using SubprocessStopper = std::function<StopperResult(Subprocess*)>;
58 StopperResult KillSubprocess(Subprocess* subprocess);
61 SubprocessStopper KillSubprocessFallback(std::function<StopperResult()>);
91 StopperResult Stop() { return stopper_(this); } in Stop()
/device/google/cuttlefish/host/libs/vm_manager/
Dqemu_manager.cpp53 StopperResult Stop() { in Stop()
61 return StopperResult::kStopFailure; in Stop()
69 return StopperResult::kStopFailure; in Stop()
80 return StopperResult::kStopSuccess; in Stop()
Dcrosvm_builder.cpp66 return stop_cmd.Start().Wait() == 0 ? StopperResult::kStopSuccess in AddControlSocket()
67 : StopperResult::kStopFailure; in AddControlSocket()
Dcrosvm_manager.cpp235 return res ? StopperResult::kStopSuccess : StopperResult::kStopFailure; in BuildVhostUserGpu()
706 return res ? StopperResult::kStopSuccess : StopperResult::kStopFailure; in StartCommands()
/device/google/cuttlefish/host/libs/process_monitor/
Dprocess_monitor.cc137 if (stop_result == StopperResult::kStopFailure) { in StopSubprocesses()
147 if (stop_result == StopperResult::kStopCrash) { in StopSubprocesses()