()
| 1977 | } |
| 1978 | |
| 1979 | fn android_console_connection_cache() -> &'static Mutex<ConsoleConnectionCache> { |
| 1980 | static CACHE: OnceLock<Mutex<ConsoleConnectionCache>> = OnceLock::new(); |
| 1981 | CACHE.get_or_init(|| Mutex::new(HashMap::new())) |
| 1982 | } |
| 1983 | |
| 1984 | fn run_android_console_command(port: u16, command: &str) -> Result<(), AppError> { |
| 1985 | let mut cache = android_console_connection_cache().lock().unwrap(); |
no outgoing calls
no test coverage detected