/sdk/emulator/opengl/tests/event_injector/ |
D | iolooper-select.c | 64 iolooper_add_fd( IoLooper* iol, int fd ) in iolooper_add_fd() argument 66 if (iol->max_fd_valid && fd > iol->max_fd) { in iolooper_add_fd() 67 iol->max_fd = fd; in iolooper_add_fd() 72 iolooper_del_fd( IoLooper* iol, int fd ) in iolooper_del_fd() argument 74 if (iol->max_fd_valid && fd == iol->max_fd) in iolooper_del_fd() 79 iolooper_modify( IoLooper* iol, int fd, int oldflags, int newflags ) in iolooper_modify() argument 81 if (fd < 0) in iolooper_modify() 88 iolooper_add_read(iol, fd); in iolooper_modify() 90 iolooper_del_read(iol, fd); in iolooper_modify() 94 iolooper_add_write(iol, fd); in iolooper_modify() [all …]
|
D | sockets.h | 339 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, void* buf, int buflen ); [all …]
|
D | emulator-console.c | 72 int fd; member 87 int ret = socket_recv(con->fd, temp, sizeof temp); in emulatorConsole_eatInput() 113 ret = socket_send(con->fd, in emulatorConsole_sendOutput() 133 iolooper_del_write(con->looper, con->fd); in emulatorConsole_sendOutput() 141 iolooper_add_read(con->looper, con->fd); in emulatorConsole_completeConnect() 142 iolooper_del_write(con->looper, con->fd); in emulatorConsole_completeConnect() 145 iolooper_add_write(con->looper, con->fd); in emulatorConsole_completeConnect() 163 if (con->fd < 0) { in emulatorConsole_connect() 164 con->fd = socket_create_inet( SOCKET_STREAM ); in emulatorConsole_connect() 165 if (con->fd < 0) { in emulatorConsole_connect() [all …]
|
D | iolooper.h | 33 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 );
|
D | sockets.c | 941 int socket_can_read(int fd) in socket_can_read() argument 946 if (ioctlsocket(fd, FIONREAD, &opt) < 0) in socket_can_read() 953 if (ioctl(fd, FIONREAD, &opt) < 0) in socket_can_read() 968 socket_send(int fd, const void* buf, int buflen) in socket_send() argument 970 SOCKET_CALL(send(fd, buf, buflen, 0)) in socket_send() 974 socket_send_oob( int fd, const void* buf, int buflen ) in socket_send_oob() argument 976 SOCKET_CALL(send(fd, buf, buflen, MSG_OOB)); in socket_send_oob() 980 socket_sendto(int fd, const void* buf, int buflen, const SockAddress* to) in socket_sendto() argument 988 SOCKET_CALL(sendto(fd, buf, buflen, 0, sa.sa, salen)); in socket_sendto() 992 socket_recv(int fd, void* buf, int len) in socket_recv() argument [all …]
|
/sdk/emulator/qemud/ |
D | qemud.c | 208 fd_read(int fd, void* to, int len) in fd_read() argument 213 ret = read(fd, to, len); in fd_read() 220 fd_write(int fd, const void* from, int len) in fd_write() argument 225 ret = write(fd, from, len); in fd_write() 232 fd_setnonblock(int fd) in fd_setnonblock() argument 237 flags = fcntl(fd, F_GETFD); in fd_setnonblock() 242 __FUNCTION__, fd, strerror(errno) ); in fd_setnonblock() 246 ret = fcntl(fd, F_SETFD, flags | O_NONBLOCK); in fd_setnonblock() 251 __FUNCTION__, fd, strerror(errno) ); in fd_setnonblock() 257 fd_accept(int fd) in fd_accept() argument [all …]
|
/sdk/emulator/sensors/ |
D | sensors_qemu.c | 128 int fd; member 141 if (ctl->fd < 0) { in control__open_data_source() 142 ctl->fd = qemud_channel_open(SENSORS_SERVICE_NAME); in control__open_data_source() 144 D("%s: fd=%d", __FUNCTION__, ctl->fd); in control__open_data_source() 146 handle->data[0] = dup(ctl->fd); in control__open_data_source() 161 _sensorIdToName(handle), handle, ctl->fd, enabled); in control__activate() 181 if (ctl->fd < 0) { in control__activate() 182 ctl->fd = qemud_channel_open(SENSORS_SERVICE_NAME); in control__activate() 185 ret = qemud_channel_send(ctl->fd, command, -1); in control__activate() 205 return qemud_channel_send(ctl->fd, command, -1); in control__set_delay() [all …]
|
/sdk/uiautomatorviewer/src/com/android/uiautomator/ |
D | OpenDialog.java | 155 FileDialog fd = new FileDialog(getShell(), SWT.OPEN); in handleOpenScreenshotFile() local 156 fd.setText("Open Screenshot File"); in handleOpenScreenshotFile() 164 fd.setFileName(initialFile.getAbsolutePath()); in handleOpenScreenshotFile() 166 fd.setFilterPath(initialFile.getAbsolutePath()); in handleOpenScreenshotFile() 170 fd.setFilterExtensions(filter); in handleOpenScreenshotFile() 171 String selected = fd.open(); in handleOpenScreenshotFile() 181 FileDialog fd = new FileDialog(getShell(), SWT.OPEN); in handleOpenXmlDumpFile() local 182 fd.setText("Open UI Dump XML File"); in handleOpenXmlDumpFile() 190 fd.setFileName(initialFile.getAbsolutePath()); in handleOpenXmlDumpFile() 192 fd.setFilterPath(initialFile.getAbsolutePath()); in handleOpenXmlDumpFile() [all …]
|
D | UiAutomatorView.java | 192 FileDialog fd = new FileDialog(setScreenshotButton.getShell()); in UiAutomatorView() 193 fd.setFilterExtensions(new String[] { "*.png" }); in UiAutomatorView() 195 fd.setFilterPath(mModelFile.getParent()); in UiAutomatorView() 197 String screenshotPath = fd.open(); in UiAutomatorView()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/views/ |
D | SaveImageAction.java | 44 FileDialog fd = new FileDialog(mImageCanvas.getShell(), SWT.SAVE); in run() local 45 fd.setFilterExtensions(new String[] { "*.png" }); in run() 47 fd.setFilterPath(sLastUsedPath); in run() 50 String path = fd.open(); in run()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
D | OpenGLTraceAction.java | 60 FileDialog fd = new FileDialog(shell, SWT.OPEN); in openTrace() local 62 fd.setText("Open Trace File"); in openTrace() 63 fd.setFilterPath(sLoadFromFolder); in openTrace() 64 fd.setFilterExtensions(new String[] { "*.gltrace" }); in openTrace() 66 String fname = fd.open(); in openTrace()
|
D | GLTraceOptionsDialog.java | 175 FileDialog fd = new FileDialog(Display.getDefault().getActiveShell(), SWT.SAVE); in openBrowseDialog() local 177 fd.setText("Save To"); in openBrowseDialog() 178 fd.setFileName("trace1.gltrace"); in openBrowseDialog() 180 fd.setFilterPath(sSaveToFolder); in openBrowseDialog() 181 fd.setFilterExtensions(new String[] { "*.gltrace" }); in openBrowseDialog() 183 String fname = fd.open(); in openBrowseDialog() 188 sSaveToFolder = fd.getFilterPath(); in openBrowseDialog()
|
/sdk/emulator/gps/ |
D | gps_qemu.c | 572 int fd; member 595 close( s->fd ); s->fd = -1; in gps_state_done() 631 epoll_register( int epoll_fd, int fd ) in epoll_register() argument 637 flags = fcntl(fd, F_GETFL); in epoll_register() 638 fcntl(fd, F_SETFL, flags | O_NONBLOCK); in epoll_register() 641 ev.data.fd = fd; in epoll_register() 643 ret = epoll_ctl( epoll_fd, EPOLL_CTL_ADD, fd, &ev ); in epoll_register() 650 epoll_deregister( int epoll_fd, int fd ) in epoll_deregister() argument 654 ret = epoll_ctl( epoll_fd, EPOLL_CTL_DEL, fd, NULL ); in epoll_deregister() 670 int gps_fd = state->fd; in gps_state_thread() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | GestureToolTip.java | 105 FontData[] fd = systemFont.getFontData(); in GestureToolTip() local 106 for (int i = 0; i < fd.length; i++) { in GestureToolTip() 107 fd[i].setHeight(FONT_SIZE); in GestureToolTip() 109 mFont = new Font(display, fd); in GestureToolTip()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ddms/src/com/android/ide/eclipse/ddms/systrace/ |
D | SystraceOptionsDialog.java | 288 FileDialog fd = new FileDialog(parentShell, SWT.SAVE); in openBrowseDialog() local 290 fd.setText("Save To"); in openBrowseDialog() 291 fd.setFileName(DEFAULT_TRACE_FNAME); in openBrowseDialog() 293 fd.setFilterPath(sSaveToFolder); in openBrowseDialog() 294 fd.setFilterExtensions(new String[] { "*.html" }); //$NON-NLS-1$ in openBrowseDialog() 296 String fname = fd.open(); in openBrowseDialog() 301 sSaveToFolder = fd.getFilterPath(); in openBrowseDialog()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.ndk/src/com/android/ide/eclipse/ndk/internal/launch/ |
D | NdkDebuggerTab.java | 203 FileDialog fd = new FileDialog(shell); in browseForGdb() local 204 fd.setFilterPath(sLastGdbPath); in browseForGdb() 206 String gdbPath = fd.open(); in browseForGdb() 214 FileDialog fd = new FileDialog(shell); in browseForGdbInit() local 215 String gdbInit = fd.open(); in browseForGdbInit()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/editors/ |
D | StateViewPage.java | 146 FileDialog fd = new FileDialog(shell, SWT.SAVE); in saveCurrentState() local 147 fd.setFilterExtensions(new String[] { "*.txt" }); in saveCurrentState() 149 fd.setFilterPath(sLastUsedPath); in saveCurrentState() 152 String path = fd.open(); in saveCurrentState()
|
D | GLFunctionTraceViewer.java | 829 FileDialog fd = new FileDialog(mFrameTreeViewer.getTree().getShell(), SWT.SAVE); in exportTrace() local 830 fd.setFilterExtensions(new String[] { "*.txt" }); in exportTrace() 832 fd.setFilterPath(sLastExportedToFolder); in exportTrace() 835 String path = fd.open(); in exportTrace()
|
/sdk/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/ |
D | LogCatPanel.java | 771 FileDialog fd = new FileDialog(Display.getCurrent().getActiveShell(), SWT.SAVE); in getLogFileTargetLocation() local 773 fd.setText("Save Log.."); in getLogFileTargetLocation() 774 fd.setFileName("log.txt"); in getLogFileTargetLocation() 779 fd.setFilterPath(mLogFileExportFolder); in getLogFileTargetLocation() 781 fd.setFilterNames(new String[] { in getLogFileTargetLocation() 784 fd.setFilterExtensions(new String[] { in getLogFileTargetLocation() 788 String fName = fd.open(); in getLogFileTargetLocation() 790 mLogFileExportFolder = fd.getFilterPath(); /* save path to restore on future calls */ in getLogFileTargetLocation() 991 FontData fd = PreferenceConverter.getFontData(mPrefStore, in getFontFromPrefStore() local 993 return new Font(Display.getDefault(), fd); in getFontFromPrefStore()
|
/sdk/emulator/qtools/ |
D | trace_reader.cpp | 1140 int fd = fileno(static_fstream_); in TruncateLastBlock() local 1143 ftruncate(fd, len); in TruncateLastBlock()
|