components/cronet/tools/android_rndis_forwarder.py
def _FindDeviceRndisMacAddress(self, interface):
    """Returns the MAC address of the RNDIS network interface if present."""
    config = self._device.RunShellCommand(
        ['ip', '-o', 'link', 'show', interface], check_return=True)[0]
    return config.split('link/ether ')[1][:17]
Returns the MAC address of the RNDIS network interface if present.
Returns the MAC address of the RNDIS network interface if present.
Returns the MAC address of the RNDIS network interface if present .
def _FindDeviceRndisMacAddress(self, interface):
    config = self._device.RunShellCommand(
        ['ip', '-o', 'link', 'show', interface], check_return=True)[0]
    return config.split('link/ether ')[1][:17]
def _FindDeviceRndisMacAddress ( self , interface ) : config = self . _device . RunShellCommand ( [ 'ip' , '-o' , 'link' , 'show' , interface ] , check_return = True ) [ 0 ] return config . split ( 'link/ether ' ) [ 1 ] [ : 17 ]
Returns the MAC address of the RNDIS network interface if present.
Returns the MAC address of the RNDIS network interface if present .
"""Returns the MAC address of the RNDIS network interface if present."""
self
interface