Home
last modified time | relevance | path

Searched refs:fd (Results 1 – 7 of 7) sorted by relevance

/sdk/emulator/qemud/
Dqemud.c208 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/
Dsensors_qemu.c128 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/emulator/gps/
Dgps_qemu.c572 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/
DGestureToolTip.java105 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/ddms/libs/ddmuilib/src/com/android/ddmuilib/logcat/
DLogCatPanel.java613 FileDialog fd = new FileDialog(Display.getCurrent().getActiveShell(), SWT.SAVE); in getLogFileTargetLocation() local
615 fd.setText("Save Log.."); in getLogFileTargetLocation()
616 fd.setFileName("log.txt"); in getLogFileTargetLocation()
621 fd.setFilterPath(mLogFileExportFolder); in getLogFileTargetLocation()
623 fd.setFilterNames(new String[] { in getLogFileTargetLocation()
626 fd.setFilterExtensions(new String[] { in getLogFileTargetLocation()
630 String fName = fd.open(); in getLogFileTargetLocation()
632 mLogFileExportFolder = fd.getFilterPath(); /* save path to restore on future calls */ in getLogFileTargetLocation()
770 FontData fd = PreferenceConverter.getFontData(mPrefStore, in getFontFromPrefStore() local
772 return new Font(Display.getDefault(), fd); in getFontFromPrefStore()
/sdk/emulator/qtools/
Dtrace_reader.cpp1140 int fd = fileno(static_fstream_); in TruncateLastBlock() local
1143 ftruncate(fd, len); in TruncateLastBlock()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/assetstudio/
DConfigureAssetSetPage.java788 FontData[] fd = f.getFontData(); in updateFontLabel() local
789 FontData primary = fd[0]; in updateFontLabel()