Home
last modified time | relevance | path

Searched refs:gLog (Results 1 – 6 of 6) sorted by relevance

/aosp12/system/netd/server/
H A DControllers.cpp46 netdutils::Log gLog("netd"); variable
243 gLog.info("Creating child chains: %" PRId64 "us", s.getTimeAndResetUs()); in initIptablesRules()
247 gLog.info("Setting up OEM hooks: %" PRId64 "us", s.getTimeAndResetUs()); in initIptablesRules()
255 gLog.info("Setting up TetherController hooks: %" PRId64 "us", s.getTimeAndResetUs()); in initIptablesRules()
275 gLog.info("Setting up StrictController hooks: %" PRId64 "us", s.getTimeAndResetUs()); in initIptablesRules()
283 gLog.info("Initializing ClatdController: %" PRId64 "us", s.getTimeAndResetUs()); in init()
295 gLog.info("Initializing traffic control: %" PRId64 "us", s.getTimeAndResetUs()); in init()
298 gLog.info("Enabling bandwidth control: %" PRId64 "us", s.getTimeAndResetUs()); in init()
301 gLog.error("Failed to initialize RouteController (%s)", strerror(-ret)); in init()
303 gLog.info("Initializing RouteController: %" PRId64 "us", s.getTimeAndResetUs()); in init()
[all …]
H A Dmain.cpp58 using android::net::gLog;
82 gLog.info(std::string(msg)); in logCallback()
110 gLog.info("netd 1.0 starting"); in main()
113 gLog.info("Pid file removed"); in main()
115 gLog.info("SIGPIPE is blocked"); in main()
123 gLog.info("setCloseOnExec(%s)", sock); in main()
128 gLog.info("BPF programs are loaded"); in main()
135 gLog.info("NetlinkManager instanced"); in main()
199 gLog.info("Registering NetdHwService: %" PRId64 "us", subTime.getTimeAndResetUs()); in main()
200 gLog.info("Netd started in %" PRId64 "us", s.timeTakenUs()); in main()
[all …]
H A DControllers.h74 extern netdutils::Log gLog;
H A DTetherController.cpp140 gLog.log("Sending update msg to dnsmasq [%s]", cmd.c_str()); in sendCmd()
143 gLog.error("Failed to send update command to dnsmasq (%s)", strerror(errno)); in sendCmd()
160 gLog.info("enter TetherController ctor"); in TetherController()
166 gLog.info("leave TetherController ctor"); in TetherController()
H A DNetdNativeService.cpp138 gLog.log(logEntry.returns(status.code()).withAutomaticDuration()); in logErrorStatus()
176 binderCallLogFn(log, [](const std::string& msg) { gLog.info("%s", msg.c_str()); }); in NetdNativeService()
244 gLog.forEachEntry([&dw](const std::string& entry) mutable { dw.println(entry); }); in dump()
914 auto entry = gLog.newEntry().prettyFunction(__PRETTY_FUNCTION__).arg(ifName); in interfaceGetCfg()
920 gLog.log(entry.returns(interfaceConfigurationParcelToString(*interfaceGetCfgResult)) in interfaceGetCfg()
927 auto entry = gLog.newEntry() in interfaceSetCfg()
934 gLog.log(entry.withAutomaticDuration()); in interfaceSetCfg()
H A DNetworkController.cpp144 gLog.info("enter NetworkController ctor");
162 gLog.info("leave NetworkController ctor");