/hardware/libhardware_legacy/wifi/ |
wifi.c | 280 int destfd; local 291 destfd = TEMP_FAILURE_RETRY(open(SUPP_ENTROPY_FILE, O_CREAT|O_RDWR, 0660)); 292 if (destfd < 0) { 297 if (TEMP_FAILURE_RETRY(write(destfd, dummy_key, sizeof(dummy_key))) != sizeof(dummy_key)) { 299 close(destfd); 302 close(destfd); 323 int srcfd, destfd; local 384 destfd = TEMP_FAILURE_RETRY(open(config_file, O_RDWR, 0660)); 385 if (destfd < 0) { 390 TEMP_FAILURE_RETRY(write(destfd, pbuf, nread + mlen - ilen -1)) 402 int srcfd, destfd; local [all...] |
/device/asus/flo/conn_init/ |
wfc_util_fctrl.c | 589 int srcfd, destfd; local 614 destfd = open(pDestFName, O_CREAT|O_WRONLY, mode); 615 if (destfd < 0) { 625 close(destfd); 636 write(destfd, buf, nread); 639 close(destfd);
|
/device/lge/mako/conn_init/ |
wfc_util_fctrl.c | 589 int srcfd, destfd; local 614 destfd = open(pDestFName, O_CREAT|O_WRONLY, mode); 615 if (destfd < 0) { 625 close(destfd); 636 write(destfd, buf, nread); 639 close(destfd);
|