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

/system/netd/
H A DCommandListener.h52 static int writeFile(const char *path, const char *value, int size);
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 42 milliseconds