MCPcopy Index your code
hub / github.com/budtmo/docker-android / start_device

Function start_device

cli/src/app.py:71–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

69
70
71def start_device() -> None:
72 given_pt = get_env_value_or_raise(ENV.DEVICE_TYPE)
73 selected_device = get_device(given_pt)
74 if selected_device is None:
75 raise RuntimeError(f"'{given_pt}' is invalid! Please check again!")
76 selected_device.create()
77 selected_device.start()
78 selected_device.wait_until_ready()
79 selected_device.reconfigure()
80 selected_device.keep_alive()
81
82
83def start_display_screen() -> None:

Callers 1

startFunction · 0.85

Calls 7

get_env_value_or_raiseFunction · 0.90
get_deviceFunction · 0.85
reconfigureMethod · 0.80
keep_aliveMethod · 0.80
createMethod · 0.45
startMethod · 0.45
wait_until_readyMethod · 0.45

Tested by

no test coverage detected