Searched refs:comm_channel (Results 1 – 1 of 1) sorted by relevance
1385 def get_interface_ip_addresses(comm_channel, interface): argument1412 is_local = comm_channel == job1413 if type(comm_channel) is AndroidDevice:1414 all_interfaces_and_addresses = comm_channel.adb.shell(1417 ifconfig_output = comm_channel.adb.shell('ifconfig %s' % interface)1418 elif (type(comm_channel) is SshConnection or is_local):1419 all_interfaces_and_addresses = comm_channel.run(1422 ifconfig_output = comm_channel.run('ifconfig %s' % interface).stdout1423 elif type(comm_channel) is FuchsiaDevice:1425 comm_channel.netstack_lib.init()[all …]