MCPcopy Index your code
hub / github.com/NativeScript/SimDeck / boot_android_device

Function boot_android_device

packages/server/src/api/routes.rs:2159–2166  ·  view source on GitHub ↗
(state: AppState, udid: String)

Source from the content-addressed store, hash-verified

2157}
2158
2159async fn boot_android_device(state: AppState, udid: String) -> Result<(), AppError> {
2160 run_android_action(state, move |android| {
2161 android.boot(&udid)?;
2162 android.wait_until_booted(&udid, Duration::from_secs(240))?;
2163 Ok(())
2164 })
2165 .await
2166}
2167
2168async fn boot_ios_device(state: AppState, udid: String) -> Result<(), AppError> {
2169 forget_lifecycle_session(&state, &udid);

Callers 2

create_simulatorFunction · 0.85
boot_simulatorFunction · 0.85

Calls 3

run_android_actionFunction · 0.85
bootMethod · 0.80
wait_until_bootedMethod · 0.80

Tested by

no test coverage detected