Searched refs:fd (Results 1 - 25 of 32) sorted by relevance

12

/sdk/emulator/opengl/tests/event_injector/
H A Diolooper.h33 void iolooper_add_read( IoLooper* iol, int fd );
34 void iolooper_add_write( IoLooper* iol, int fd );
35 void iolooper_del_read( IoLooper* iol, int fd );
36 void iolooper_del_write( IoLooper* iol, int fd );
42 void iolooper_modify( IoLooper* iol, int fd, int oldflags, int newflags);
52 int iolooper_is_read( IoLooper* iol, int fd );
53 int iolooper_is_write( IoLooper* iol, int fd );
H A Diolooper-select.c64 iolooper_add_fd( IoLooper* iol, int fd )
66 if (iol->max_fd_valid && fd > iol->max_fd) {
67 iol->max_fd = fd;
72 iolooper_del_fd( IoLooper* iol, int fd )
74 if (iol->max_fd_valid && fd == iol->max_fd)
79 iolooper_modify( IoLooper* iol, int fd, int oldflags, int newflags ) argument
81 if (fd < 0)
88 iolooper_add_read(iol, fd);
90 iolooper_del_read(iol, fd);
94 iolooper_add_write(iol, fd);
105 int fd; local
[all...]
H A Dsockets.h339 SocketType socket_get_type(int fd);
342 int socket_set_xreuseaddr(int fd);
345 int socket_set_nonblock(int fd);
348 int socket_set_blocking(int fd);
351 int socket_set_nodelay(int fd);
354 int socket_set_oobinline(int fd);
357 int socket_set_ipv6only(int fd);
360 int socket_get_error(int fd);
366 void socket_close( int fd );
370 int socket_recv ( int fd, voi
[all...]
H A Demulator-console.c72 int fd; member in struct:EmulatorConsole
87 int ret = socket_recv(con->fd, temp, sizeof temp);
113 ret = socket_send(con->fd,
133 iolooper_del_write(con->looper, con->fd);
141 iolooper_add_read(con->looper, con->fd);
142 iolooper_del_write(con->looper, con->fd);
145 iolooper_add_write(con->looper, con->fd);
163 if (con->fd < 0) {
164 con->fd = socket_create_inet( SOCKET_STREAM );
165 if (con->fd <
[all...]
H A Dsockets.c941 int socket_can_read(int fd) argument
946 if (ioctlsocket(fd, FIONREAD, &opt) < 0)
953 if (ioctl(fd, FIONREAD, &opt) < 0)
968 socket_send(int fd, const void* buf, int buflen) argument
970 SOCKET_CALL(send(fd, buf, buflen, 0))
974 socket_send_oob( int fd, const void* buf, int buflen ) argument
976 SOCKET_CALL(send(fd, buf, buflen, MSG_OOB));
980 socket_sendto(int fd, const void* buf, int buflen, const SockAddress* to) argument
988 SOCKET_CALL(sendto(fd, buf, buflen, 0, sa.sa, salen));
992 socket_recv(int fd, voi argument
998 socket_recvfrom(int fd, void* buf, int len, SockAddress* from) argument
1015 socket_connect( int fd, const SockAddress* address ) argument
1027 socket_bind( int fd, const SockAddress* address ) argument
1039 socket_get_address( int fd, SockAddress* address ) argument
1053 socket_get_peer_address( int fd, SockAddress* address ) argument
1067 socket_listen( int fd, int backlog ) argument
1073 socket_accept( int fd, SockAddress* address ) argument
1093 socket_getoption(int fd, int domain, int option, int defaut) argument
1113 socket_get_type(int fd) argument
1119 socket_set_nonblock(int fd) argument
1130 socket_set_blocking(int fd) argument
1142 socket_setoption(int fd, int domain, int option, int _flag) argument
1152 socket_set_xreuseaddr(int fd) argument
1167 socket_set_oobinline(int fd) argument
1173 socket_set_nodelay(int fd) argument
1178 socket_set_ipv6only(int fd) argument
1191 socket_get_error(int fd) argument
1365 int fd; local
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/
H A DSaveImageAction.java44 FileDialog fd = new FileDialog(mImageCanvas.getShell(), SWT.SAVE);
45 fd.setFilterExtensions(new String[] { "*.png" });
47 fd.setFilterPath(sLastUsedPath);
50 String path = fd.open();
/sdk/emulator/qemud/
H A Dqemud.c208 fd_read(int fd, void* to, int len) argument
213 ret = read(fd, to, len);
220 fd_write(int fd, const void* from, int len) argument
225 ret = write(fd, from, len);
232 fd_setnonblock(int fd) argument
237 flags = fcntl(fd, F_GETFD);
241 fatal( "%s: could not get flags for fd %d: %s",
242 __FUNCTION__, fd, strerror(errno) );
246 ret = fcntl(fd, F_SETFD, flags | O_NONBLOCK);
250 fatal( "%s: could not set fd
257 fd_accept(int fd) argument
323 int fd; member in struct:__anon46
408 looper_add( Looper* l, int fd, EventFunc func, void* user ) argument
456 looper_enable( Looper* l, int fd, int events ) argument
481 looper_disable( Looper* l, int fd, int events ) argument
749 int fd; member in struct:FDHandler
951 fdhandler_new( int fd, FDHandlerList* list, Receiver* receiver ) argument
1010 fdhandler_new_accept( int fd, FDHandlerList* list, Receiver* receiver ) argument
1183 serial_init( Serial* s, int fd, FDHandlerList* list, Receiver* receiver ) argument
1382 client_new( Multiplexer* mult, int fd, FDHandlerList* pfdhandlers, Client** pclients ) argument
1597 int fd = p->channel; local
1615 int fd, control_fd; local
1678 int fd, len; local
[all...]
/sdk/emulator/sensors/
H A Dsensors_qemu.c128 int fd; member in struct:SensorPoll
141 if (ctl->fd < 0) {
142 ctl->fd = qemud_channel_open(SENSORS_SERVICE_NAME);
144 D("%s: fd=%d", __FUNCTION__, ctl->fd);
146 handle->data[0] = dup(ctl->fd);
160 D("%s: handle=%s (%d) fd=%d enabled=%d", __FUNCTION__,
161 _sensorIdToName(handle), handle, ctl->fd, enabled);
181 if (ctl->fd < 0) {
182 ctl->fd
294 int fd = data->events_fd; local
550 int fd = qemud_channel_open(SENSORS_SERVICE_NAME); local
[all...]
/sdk/uiautomatorviewer/src/com/android/uiautomator/
H A DOpenDialog.java155 FileDialog fd = new FileDialog(getShell(), SWT.OPEN);
156 fd.setText("Open Screenshot File");
164 fd.setFileName(initialFile.getAbsolutePath());
166 fd.setFilterPath(initialFile.getAbsolutePath());
170 fd.setFilterExtensions(filter);
171 String selected = fd.open();
181 FileDialog fd = new FileDialog(getShell(), SWT.OPEN);
182 fd.setText("Open UI Dump XML File");
190 fd.setFileName(initialFile.getAbsolutePath());
192 fd
[all...]
H A DUiAutomatorView.java192 FileDialog fd = new FileDialog(setScreenshotButton.getShell());
193 fd.setFilterExtensions(new String[] { "*.png" });
195 fd.setFilterPath(mModelFile.getParent());
197 String screenshotPath = fd.open();
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/
H A DOpenGLTraceAction.java60 FileDialog fd = new FileDialog(shell, SWT.OPEN);
62 fd.setText("Open Trace File");
63 fd.setFilterPath(sLoadFromFolder);
64 fd.setFilterExtensions(new String[] { "*.gltrace" });
66 String fname = fd.open();
H A DGLTraceOptionsDialog.java175 FileDialog fd = new FileDialog(Display.getDefault().getActiveShell(), SWT.SAVE);
177 fd.setText("Save To");
178 fd.setFileName("trace1.gltrace");
180 fd.setFilterPath(sSaveToFolder);
181 fd.setFilterExtensions(new String[] { "*.gltrace" });
183 String fname = fd.open();
188 sSaveToFolder = fd.getFilterPath();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
H A DGestureToolTip.java105 FontData[] fd = systemFont.getFontData();
106 for (int i = 0; i < fd.length; i++) {
107 fd[i].setHeight(FONT_SIZE);
109 mFont = new Font(display, fd);
/sdk/emulator/gps/
H A Dgps_qemu.c572 int fd; member in struct:__anon5
595 close( s->fd ); s->fd = -1;
631 epoll_register( int epoll_fd, int fd )
636 /* important: make the fd non-blocking */
637 flags = fcntl(fd, F_GETFL);
638 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
641 ev.data.fd = fd;
643 ret = epoll_ctl( epoll_fd, EPOLL_CTL_ADD, fd,
699 int fd = events[ne].data.fd; local
[all...]
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/
H A DNdkDebuggerTab.java203 FileDialog fd = new FileDialog(shell);
204 fd.setFilterPath(sLastGdbPath);
206 String gdbPath = fd.open();
214 FileDialog fd = new FileDialog(shell);
215 String gdbInit = fd.open();
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/
H A DSystraceOptionsDialog.java288 FileDialog fd = new FileDialog(parentShell, SWT.SAVE);
290 fd.setText("Save To");
291 fd.setFileName(DEFAULT_TRACE_FNAME);
293 fd.setFilterPath(sSaveToFolder);
294 fd.setFilterExtensions(new String[] { "*.html" }); //$NON-NLS-1$
296 String fname = fd.open();
301 sSaveToFolder = fd.getFilterPath();
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/
H A DStateViewPage.java146 FileDialog fd = new FileDialog(shell, SWT.SAVE);
147 fd.setFilterExtensions(new String[] { "*.txt" });
149 fd.setFilterPath(sLastUsedPath);
152 String path = fd.open();
H A DGLFunctionTraceViewer.java829 FileDialog fd = new FileDialog(mFrameTreeViewer.getTree().getShell(), SWT.SAVE);
830 fd.setFilterExtensions(new String[] { "*.txt" });
832 fd.setFilterPath(sLastExportedToFolder);
835 String path = fd.open();
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/
H A DLogCatPanel.java771 FileDialog fd = new FileDialog(Display.getCurrent().getActiveShell(), SWT.SAVE);
773 fd.setText("Save Log..");
774 fd.setFileName("log.txt");
779 fd.setFilterPath(mLogFileExportFolder);
781 fd.setFilterNames(new String[] {
784 fd.setFilterExtensions(new String[] {
788 String fName = fd.open();
790 mLogFileExportFolder = fd.getFilterPath(); /* save path to restore on future calls */
991 FontData fd = PreferenceConverter.getFontData(mPrefStore,
993 return new Font(Display.getDefault(), fd);
[all...]
/sdk/emulator/qtools/
H A Dtrace_reader.cpp1140 int fd = fileno(static_fstream_); local
1143 ftruncate(fd, len);
/sdk/testapps/jarCheckTests1/app/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests1/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests2/lib1/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...
/sdk/testapps/jarCheckTests2/lib2/libs/
H A Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/support/v4/ android/support/v4/accessibilityservice/ ...

Completed in 1042 milliseconds

12