Home
last modified time | relevance | path

Searched refs:cfgParcel (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DNetdWrapper.java273 InterfaceConfigurationParcel cfgParcel = new InterfaceConfigurationParcel(); in toStableParcel() local
274 cfgParcel.ifName = iface; in toStableParcel()
277 cfgParcel.hwAddr = hwAddr; in toStableParcel()
279 cfgParcel.hwAddr = ""; in toStableParcel()
281 cfgParcel.ipv4Addr = cfg.getLinkAddress().getAddress().getHostAddress(); in toStableParcel()
282 cfgParcel.prefixLength = cfg.getLinkAddress().getPrefixLength(); in toStableParcel()
287 cfgParcel.flags = flags.toArray(new String[0]); in toStableParcel()
289 return cfgParcel; in toStableParcel()
328 final InterfaceConfigurationParcel cfgParcel = toStableParcel(cfg, iface); in setInterfaceConfig() local
331 mNetdService.interfaceSetCfg(cfgParcel); in setInterfaceConfig()
/frameworks/base/services/core/java/com/android/server/
DNetworkManagementService.java765 InterfaceConfigurationParcel cfgParcel = new InterfaceConfigurationParcel(); in toStableParcel() local
766 cfgParcel.ifName = iface; in toStableParcel()
769 cfgParcel.hwAddr = hwAddr; in toStableParcel()
771 cfgParcel.hwAddr = ""; in toStableParcel()
773 cfgParcel.ipv4Addr = cfg.getLinkAddress().getAddress().getHostAddress(); in toStableParcel()
774 cfgParcel.prefixLength = cfg.getLinkAddress().getPrefixLength(); in toStableParcel()
779 cfgParcel.flags = flags.toArray(new String[0]); in toStableParcel()
781 return cfgParcel; in toStableParcel()
830 final InterfaceConfigurationParcel cfgParcel = toStableParcel(cfg, iface); in setInterfaceConfig() local
833 mNetdService.interfaceSetCfg(cfgParcel); in setInterfaceConfig()