components/cronet/tools/android_rndis_forwarder.py
def _OverrideDefaultGateway(self):
    """Force traffic to go through RNDIS interface.

    Override any default gateway route. Without this traffic may go through
    the wrong interface.

    This introduces the risk that _RestoreDefaultGateway() is not called
    (e.g. Telemetry crashes). A power cycle or "adb reboot" is a simple
    workaround around in that case.
    """
    # NOTE(pauljensen): On Nougat this can produce a weird message and return
    # a non-zero value, but routing still seems fine, so don't check_return.
    self._device.RunShellCommand(
        ['route', 'add', 'default', 'gw', self.host_ip,
         'dev', self._device_iface])
Force traffic to go through RNDIS interface.

    Override any default gateway route. Without this traffic may go through
    the wrong interface.

    This introduces the risk that _RestoreDefaultGateway() is not called
    (e.g. Telemetry crashes). A power cycle or "adb reboot" is a simple
    workaround around in that case.
    
Force traffic to go through RNDIS interface.
Override any default gateway route. Without this traffic may go through
the wrong interface.

This introduces the risk that _RestoreDefaultGateway() is not called
. A power cycle or "adb reboot" is a simple
workaround around in that case.
Force traffic to go through RNDIS interface . Override any default gateway route . Without this traffic may go through the wrong interface . This introduces the risk that _RestoreDefaultGateway () is not called . A power cycle or " adb reboot " is a simple workaround around in that case .
def _OverrideDefaultGateway(self):
    self._device.RunShellCommand(
        ['route', 'add', 'default', 'gw', self.host_ip,
         'dev', self._device_iface])
def _OverrideDefaultGateway ( self ) : self . _device . RunShellCommand ( [ 'route' , 'add' , 'default' , 'gw' , self . host_ip , 'dev' , self . _device_iface ] )
Force traffic to go through RNDIS interface.
Force traffic to go through RNDIS interface .
"""Force traffic to go through RNDIS interface.

    Override any default gateway route. Without this traffic may go through
    the wrong interface.

    This introduces the risk that _RestoreDefaultGateway() is not called
    (e.g. Telemetry crashes). A power cycle or "adb reboot" is a simple
    workaround around in that case.
    """ # NOTE(pauljensen): On Nougat this can produce a weird message and return # a non-zero value, but routing still seems fine, so don't check_return.
self