Home
last modified time | relevance | path

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

/system/netd/server/
DTetherController.cpp84 bool writeToFile(const char* filename, const char* value) { in writeToFile() function
103 writeToFile(kTcpBeLiberal, enabled ? "1" : "0"); in configureForTethering()
174 success &= writeToFile(IPV4_FORWARDING_PROC_FILE, value); in setIpFwdEnabled()
175 success &= writeToFile(IPV6_FORWARDING_PROC_FILE, value); in setIpFwdEnabled()
/system/core/healthd/
DBatteryMonitor.cpp294 static bool writeToFile(const String8& path, int32_t in_value) { in writeToFile() function
569 result = writeToFile(mHealthdConfig->chargingPolicyPath, value); in setChargingPolicy()