Searched defs:writeFile (Results 1 - 1 of 1) sorted by relevance

/system/netd/
H A DCommandListener.cpp206 int CommandListener::writeFile(const char *path, const char *value, int size) { function in class:CommandListener
532 if (writeFile(tmp, !strncmp(argv[3], "enable", 7) ? "2" : "0", 1) < 0) {
553 if (writeFile(tmp, !strncmp(argv[3], "enable", 7) ? "0" : "1", 1) < 0) {

Completed in 6 milliseconds