  from selfdrive.manager import start_managed_process, kill_managed_process, get_running
  
  def set_params_enabled():
    params = Params()
    params.put("HasAcceptedTerms", "1")
    params.put("HasCompletedSetup", "1")
    params.put("OpenpilotEnabledToggle", "1")
    params.put("CommunityFeaturesToggle", "1")
    params.put("Passive", "0")
    params.put("CompletedTrainingVersion", training_version)
 
</s> remove from selfdrive.version import training_version
 </s> add from selfdrive.version import training_version, terms_version </s> remove import selfdrive.manager as manager
 </s> add  </s> remove import threading
import _thread
import signal
 </s> add 
  params.put("HasAcceptedTerms", terms_version)
  from selfdrive.manager import start_managed_process, kill_managed_process, get_running
  
  def set_params_enabled():
    params = Params()
  params.put("HasAcceptedTerms", terms_version)
    params.put("HasCompletedSetup", "1")
    params.put("OpenpilotEnabledToggle", "1")
    params.put("CommunityFeaturesToggle", "1")
    params.put("Passive", "0")
    params.put("CompletedTrainingVersion", training_version)
keep keep keep keep replace keep keep keep keep keep
 Improve CPU usage test reliability (#2002)

* run phone tests in parallel

* better cpu test

* re-enable test

* no root

* terms version

* not one

* yes

* debug

* that's coverd by min cpu percent 
selfdrive/test/helpers.py