MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / android_console_response_ok

Function android_console_response_ok

packages/server/src/android.rs:2085–2090  ·  view source on GitHub ↗
(response: &str)

Source from the content-addressed store, hash-verified

2083}
2084
2085fn android_console_response_ok(response: &str) -> bool {
2086 response.lines().any(|line| line.trim() == "OK")
2087 && !response
2088 .lines()
2089 .any(|line| line.trim_start().starts_with("KO"))
2090}
2091
2092fn parse_android_display_metrics(output: &str) -> Option<AndroidDisplayMetrics> {
2093 let rotation = parse_android_display_rotation(output).unwrap_or(0);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected