Searched refs:makeDataSaverCommand (Results 1 – 2 of 2) sorted by relevance
91 std::string makeDataSaverCommand(IptablesTarget target, bool enable);
305 std::string BandwidthController::makeDataSaverCommand(IptablesTarget target, bool enable) { in makeDataSaverCommand() function in BandwidthController321 int ret = iptablesRestoreFunction(V4, makeDataSaverCommand(V4, enable), nullptr); in enableDataSaver()322 ret |= iptablesRestoreFunction(V6, makeDataSaverCommand(V6, enable), nullptr); in enableDataSaver()