Home
last modified time | relevance | path

Searched refs:sysctl (Results 1 – 5 of 5) sorted by relevance

/system/extras/tests/net_test/
Dmultinetwork_base.py319 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)
Dsrcaddr_selection_test.py54 def SetIPv6Sysctl(self, ifname, sysctl, value): argument
55 self.SetSysctl("/proc/sys/net/ipv6/conf/%s/%s" % (ifname, sysctl), value)
/system/sepolicy/
Dinitial_sids23 sid sysctl
Dinitial_sid_contexts17 sid sysctl u:object_r:proc:s0
/system/core/rootdir/
Dinit.rc599 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}