(
bridge: &NativeBridge,
udid: &str,
phase: &str,
down: bool,
up: bool,
)
| 5419 | } |
| 5420 | |
| 5421 | fn perform_tvos_touch_command( |
| 5422 | bridge: &NativeBridge, |
| 5423 | udid: &str, |
| 5424 | phase: &str, |
| 5425 | down: bool, |
| 5426 | up: bool, |
| 5427 | ) -> Result<(), crate::error::AppError> { |
| 5428 | if down || up { |
| 5429 | if up { |
| 5430 | return press_tvos_remote_key(bridge, udid, HID_KEY_ENTER); |
| 5431 | } |
| 5432 | return Ok(()); |
| 5433 | } |
| 5434 | perform_tvos_touch_phase(bridge, udid, phase) |
| 5435 | } |
| 5436 | |
| 5437 | fn perform_tap( |
| 5438 | bridge: &NativeBridge, |
no test coverage detected