Searched refs:sysctl (Results 1 – 5 of 5) sorted by relevance
/system/extras/tests/net_test/ |
D | multinetwork_base.py | 319 def GetSysctl(cls, sysctl): argument 320 return open(sysctl, "r").read() 323 def SetSysctl(cls, sysctl, value): argument 327 if sysctl not in cls.saved_sysctls: 328 cls.saved_sysctls[sysctl] = cls.GetSysctl(sysctl) 329 open(sysctl, "w").write(str(value) + "\n") 332 def SetIPv6SysctlOnAllIfaces(cls, sysctl, value): argument 335 name = "/proc/sys/net/ipv6/conf/%s/%s" % (iface, sysctl) 340 for sysctl, value in cls.saved_sysctls.iteritems(): 342 open(sysctl, "w").write(value)
|
D | srcaddr_selection_test.py | 54 def SetIPv6Sysctl(self, ifname, sysctl, value): argument 55 self.SetSysctl("/proc/sys/net/ipv6/conf/%s/%s" % (ifname, sysctl), value)
|
/system/sepolicy/ |
D | initial_sids | 23 sid sysctl
|
D | initial_sid_contexts | 17 sid sysctl u:object_r:proc:s0
|
/system/core/rootdir/ |
D | init.rc | 599 on property:sys.sysctl.extra_free_kbytes=* 600 write /proc/sys/vm/extra_free_kbytes ${sys.sysctl.extra_free_kbytes} 603 on property:sys.sysctl.tcp_def_init_rwnd=* 604 write /proc/sys/net/ipv4/tcp_default_init_rwnd ${sys.sysctl.tcp_def_init_rwnd}
|