Searched refs:comm_channel (Results 1 – 1 of 1) sorted by relevance
1381 def get_interface_ip_addresses(comm_channel, interface): argument1408 is_local = comm_channel == job1409 if type(comm_channel) is AndroidDevice:1410 all_interfaces_and_addresses = comm_channel.adb.shell(1413 ifconfig_output = comm_channel.adb.shell('ifconfig %s' % interface)1414 elif (type(comm_channel) is SshConnection or is_local):1415 all_interfaces_and_addresses = comm_channel.run(1418 ifconfig_output = comm_channel.run('ifconfig %s' % interface).stdout1419 elif type(comm_channel) is FuchsiaDevice:1421 comm_channel.netstack_lib.init()[all …]