/frameworks/base/core/java/android/os/ |
FileObserver.java | 92 int wfd = startWatching(m_fd, path, mask); local 94 Integer i = new Integer(wfd); 95 if (wfd >= 0) { 108 public void onEvent(int wfd, int mask, String path) { 113 WeakReference weak = m_observers.get(wfd); 114 if (weak != null) { // can happen with lots of events from a dead wfd 117 m_observers.remove(wfd); 135 private native void stopWatching(int fd, int wfd);
|
/external/libppp/src/ |
server.c | 98 int ssize = sizeof ss, wfd; local 103 wfd = accept(s->fd, sa, &ssize); 104 if (wfd < 0) 107 close(wfd); 108 wfd = -1; 111 wfd = -1; 113 if (wfd >= 0) 125 close(wfd); 126 wfd = -1; 140 close(wfd); [all...] |
/frameworks/av/media/libstagefright/wifi-display/ |
Android.mk | 47 wfd.cpp \ 58 LOCAL_MODULE:= wfd
|
/system/core/toolbox/ |
cat.c | 159 int wfd; local 161 wfd = fileno(stdout); 163 if (fstat(wfd, &sbuf) == 0) { 175 if ((nw = write(wfd, buf + off, (size_t)nr)) < 0)
|
/frameworks/base/core/jni/ |
android_util_FileObserver.cpp | 125 static void android_os_fileobserver_stopWatching(JNIEnv* env, jobject object, jint fd, jint wfd) 129 inotify_rm_watch((int)fd, (uint32_t)wfd);
|
/external/qemu/telephony/ |
sysdeps_posix.c | 423 fd_set rfd, wfd, efd; local 428 memcpy(&wfd, &_s_fdsets[1], sizeof(fd_set)); 446 n = select( _s_maxfd+1, &rfd, &wfd, &efd, timeout); 463 if(FD_ISSET(i, &wfd)) events |= SYS_EVENT_WRITE;
|
/external/wpa_supplicant_8/src/common/ |
ieee802_11_common.h | 40 const u8 *wfd; member in struct:ieee802_11_elems
|
ieee802_11_common.c | 101 /* Wi-Fi Alliance - WFD IE */ 102 elems->wfd = pos;
|
/bootable/recovery/minadbd/ |
fdevent.c | 370 fd_set rfd, wfd, efd; local 373 memcpy(&wfd, &write_fds, sizeof(fd_set)); 378 n = select(select_n, &rfd, &wfd, &efd, NULL); 389 FD_ZERO(&wfd); 407 if(FD_ISSET(i, &wfd)) { events |= FDE_WRITE; n--; }
|
/system/core/adb/ |
fdevent.c | 370 fd_set rfd, wfd, efd; local 373 memcpy(&wfd, &write_fds, sizeof(fd_set)); 378 n = select(select_n, &rfd, &wfd, &efd, NULL); 389 FD_ZERO(&wfd); 407 if(FD_ISSET(i, &wfd)) { events |= FDE_WRITE; n--; }
|
/external/libxml2/ |
nanohttp.c | 452 fd_set wfd; local 486 FD_ZERO(&wfd); 491 FD_SET(ctxt->fd, &wfd); 495 (void) select(ctxt->fd + 1, NULL, &wfd, NULL, &tv); 847 fd_set wfd; local 947 FD_ZERO(&wfd); 948 FD_SET(s, &wfd); 954 switch (select(s + 1, NULL, &wfd, &xfd, &tv)) 956 switch (select(s + 1, NULL, &wfd, NULL, &tv)) 982 if (FD_ISSET(s, &wfd) [all...] |
/external/openssh/ |
channels.c | 224 channel_register_fds(Channel *c, int rfd, int wfd, int efd, 229 channel_max_fd = MAX(channel_max_fd, wfd); 234 if (wfd != -1 && wfd != rfd) 235 fcntl(wfd, F_SETFD, FD_CLOEXEC); 236 if (efd != -1 && efd != rfd && efd != wfd) 240 c->wfd = wfd; 241 c->sock = (rfd == wfd) ? rfd : -1; 247 c->wfd_isatty = is_tty || isatty(c->wfd); [all...] |
channels.h | 98 int wfd; /* write fd */ member in struct:Channel 103 int wfd_isatty; /* wfd is a tty */
|
nchan.c | 501 if (channel_close_fd(&c->wfd) < 0) 504 c->self, c->wfd, strerror(errno));
|
/external/qemu/ |
posix-aio-compat.c | 57 int rfd, wfd; member in struct:PosixAioState 510 ret = write(posix_aio_state->wfd, &byte, sizeof(byte)); 645 s->wfd = fds[1]; 648 fcntl(s->wfd, F_SETFL, O_NONBLOCK);
|
/external/netcat/ |
netcat.c | 764 int n, wfd = fileno(stdin); local 775 pfd[1].fd = wfd; 806 if ((n = read(wfd, buf, plen)) < 0)
|
/frameworks/native/cmds/dumpstate/ |
utils.c | 434 int wfd = inotify_add_watch(ifd, traces_path, IN_CLOSE_WRITE); local 435 if (wfd < 0) {
|
/external/wpa_supplicant_8/src/p2p/ |
p2p_sd.c | 19 static int wfd_wsd_supported(struct wpabuf *wfd) 25 if (wfd == NULL) 28 pos = wpabuf_head(wfd); 29 end = pos + wpabuf_len(wfd);
|
p2p_parse.c | 418 if (elems.wfd) {
|
/packages/apps/Settings/src/com/android/settings/wfd/ |
WifiDisplaySettings.java | 17 package com.android.settings.wfd;
|
/external/wpa_supplicant_8/wpa_supplicant/ |
ctrl_iface.c | 2771 struct wpabuf *wfd; local [all...] |
/frameworks/base/core/java/android/app/ |
ActivityManagerNative.java | [all...] |