Searched refs:srcfd (Results 1 - 2 of 2) sorted by last modified time

/frameworks/opt/net/wifi/libwifi_system/
H A Dsupplicant_manager.cpp51 int srcfd, destfd; local
74 srcfd = TEMP_FAILURE_RETRY(open(configPathSystem.c_str(), O_RDONLY));
76 if (srcfd < 0) {
78 srcfd = TEMP_FAILURE_RETRY(open(configPathVendor.c_str(), O_RDONLY));
80 if (srcfd < 0) {
94 close(srcfd);
100 while ((nread = TEMP_FAILURE_RETRY(read(srcfd, buf, sizeof(buf)))) != 0) {
104 close(srcfd);
113 close(srcfd);
/frameworks/native/cmds/installd/
H A Dutils.cpp558 static int _copy_owner_permissions(int srcfd, int dstfd) argument
561 if (fstat(srcfd, &st) != 0) {

Completed in 66 milliseconds