Skip to content

automated/android/multinode/share-local-device-over-adb-tcpip

Description

adb MultiNode setup: make local device remotely accessible via adb TCP/IP. Handles the device over to a role that responds to the following synchronization steps: - lava-sync start_handover - lava-send dut_address dut_address=${dut_address} - lava-sync finish_handover

Maintainer

OS

  • debian
  • ubuntu

Scope

  • functional

Devices

  • lxc

Steps to reproduce

  • . ./automated/lib/sh-test-lib
  • . ./automated/lib/android-test-lib
  • . ./automated/lib/android-multinode-test-lib
  • ret_val=0
  • share_local_device_over_adb_tcpip "\({ADB_TCPIP_ATTEMPTS}" "\)" "\({ADB_PORT}" || ret_val=\)?
  • if [ "\({ret_val}" -ne 0 -a "\)" = "true" ]; then lava-test-raise "Could not share device of adb tcpip." fi