Searched refs:flags (Results 1 - 25 of 103) sorted by path

12345

/system/bluetooth/bluedroid/
H A Dbluetooth.c292 if (dev_info.flags & (1 << (HCI_UP & 31))) {
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h662 uint8_t flags; member in struct:__anon46
1857 uint8_t flags; member in struct:__anon190
1995 uint8_t flags; member in struct:__anon208
2410 uint32_t flags; member in struct:hci_dev_info
2469 uint16_t flags; member in struct:hci_inquiry_req
H A Dl2cap.h122 uint16_t flags; member in struct:__anon253
130 uint16_t flags; member in struct:__anon254
H A Drfcomm.h57 uint32_t flags; member in struct:rfcomm_dev_req
71 uint32_t flags; member in struct:rfcomm_dev_info
/system/bluetooth/tools/
H A Dsock_shutdown_bug_l2cap.c29 long flags; local
37 flags = fcntl(fd, F_GETFL);
38 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
H A Dsock_shutdown_bug_rfcomm.c30 long flags; local
38 flags = fcntl(fd, F_GETFL);
39 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
H A Dsock_shutdown_bug_tcp.c28 long flags; local
H A Dsocktest.c511 int flags; local
519 flags = fcntl(fd, F_GETFL);
520 if (flags == -1)
522 if (fcntl(fd, F_SETFL, flags | O_NONBLOCK))
544 int flags; local
549 flags = fcntl(fd, F_GETFL);
550 if (flags == -1)
552 if (fcntl(fd, F_SETFL, flags | O_NONBLOCK))
/system/core/adb/
H A Djdwp_service.c324 int flags; local
342 flags = fcntl(proc->socket,F_GETFL,0);
344 if (flags == -1) {
345 D("failed to get cntl flags for socket %d: %s\n",
351 if (fcntl(proc->socket, F_SETFL, flags & ~O_NONBLOCK) == -1) {
376 if (fcntl(proc->socket, F_SETFL, flags) == -1) {
H A Dsysdeps_win32.c1285 int wanted; /* wanted event flags */
1286 int ready; /* ready event flags */
1993 int flags = 0; local
1995 flags |= FD_READ | FD_ACCEPT | FD_CLOSE;
1998 flags |= FD_WRITE | FD_CONNECT | FD_CLOSE;
2001 flags |= FD_OOB;
2003 return flags;
2010 long flags = _socket_wanted_to_flags( hook->wanted ); local
2018 if ( flags != fh->mask ) {
2019 D( "_event_socket_start: hooking %s for %x (flags
[all...]
/system/core/fs_mgr/
H A Dfs_mgr.c109 static int parse_flags(char *flags, struct flag_list *fl, char **key_loc, argument
127 p = strtok_r(flags, ",", &savep);
325 fstab[cnt].flags = parse_flags(p, mount_flags, 0, tmp_fs_options, FS_OPTIONS_LEN);
468 fstab[i].flags, fstab[i].fs_options);
540 fstab[i].flags, fstab[i].fs_options)) {
H A Dfs_mgr_priv.h32 unsigned long flags; member in struct:fstab_rec
49 * <mount_flags> is a comma separated list of flags that can be passed to the
56 * <fs_mgr_options> is a comma separated list of flags that control the operation of
/system/core/include/cutils/
H A Dandroid_reboot.h31 int android_reboot(int cmd, int flags, char *arg);
/system/core/include/diskconfig/
H A Ddiskconfig.h83 uint8_t flags; member in struct:part_info
/system/core/include/ion/
H A Dion.h31 unsigned int flags, struct ion_handle **handle);
33 unsigned int flags, int *handle_fd);
37 int flags, off_t offset, unsigned char **ptr, int *map_fd);
/system/core/include/netutils/
H A Difc.h66 unsigned *flags);
/system/core/include/system/
H A Dwindow.h339 : flags(0), minSwapInterval(0), maxSwapInterval(0), xdpi(0), ydpi(0)
358 /* flags describing some attributes of this surface or its updater */
359 const uint32_t flags; member in struct:ANativeWindow
582 * Sets the intended usage flags for the next buffers
/system/core/init/
H A Dbuiltins.c198 if (!(svc->flags & SVC_DISABLED)) {
362 /* mount <type> <device> <path> <flags ...> <options> */
368 unsigned flags = 0; local
375 flags |= mount_flags[i].flag;
403 if (mount(tmp, target, system, flags, options) < 0) {
412 mode = (flags & MS_RDONLY) ? O_RDONLY : O_RDWR;
431 if (mount(tmp, target, system, flags, options) < 0) {
451 if (mount(source, target, system, flags, options) < 0) {
H A Dinit.c175 svc->flags &= (~(SVC_DISABLED|SVC_RESTARTING|SVC_RESET));
183 if (svc->flags & SVC_RUNNING) {
187 needs_console = (svc->flags & SVC_CONSOLE) ? 1 : 0;
190 svc->flags |= SVC_DISABLED;
196 svc->flags |= SVC_DISABLED;
200 if ((!(svc->flags & SVC_ONESHOT)) && dynamic_args) {
203 svc->flags |= SVC_DISABLED;
382 svc->flags |= SVC_RUNNING;
394 svc->flags &= (~(SVC_RUNNING|SVC_RESTARTING));
404 svc->flags |
[all...]
H A Dinit.h87 unsigned flags; member in struct:service
H A Dinit_parser.c60 #define KEYWORD(symbol, flags, nargs, func) \
61 [ K_##symbol ] = { #symbol, func, nargs + 1, flags, },
67 unsigned char flags; member in struct:__anon370
74 #define kw_is(kw, type) (keyword_info[kw].flags & (type))
494 if (svc->flags & matchflags) {
665 svc->flags |= SVC_CONSOLE;
668 svc->flags |= SVC_DISABLED;
669 svc->flags |= SVC_RC_DISABLED;
724 svc->flags |= SVC_ONESHOT;
748 svc->flags |
[all...]
H A Dkeywords.h40 #define KEYWORD(symbol, flags, nargs, func) K_##symbol,
H A Dsignal_handler.c66 if (!(svc->flags & SVC_ONESHOT)) {
79 svc->flags &= (~SVC_RUNNING);
82 if (svc->flags & SVC_ONESHOT) {
83 svc->flags |= SVC_DISABLED;
87 if (svc->flags & (SVC_DISABLED | SVC_RESET) ) {
93 if (svc->flags & SVC_CRITICAL) {
108 svc->flags |= SVC_RESTARTING;
/system/core/libcutils/
H A Dabort_socket.c28 int flags; local
32 flags = fcntl(fd, F_GETFL);
33 if (flags == -1)
35 if (fcntl(fd, F_SETFL, flags | O_NONBLOCK))
42 flags = fcntl(abort_fd[1], F_GETFL);
43 if (flags == -1)
45 if (fcntl(abort_fd[1], F_SETFL, flags | O_NONBLOCK))
H A Dandroid_reboot.c104 int android_reboot(int cmd, int flags, char *arg) argument
108 if (!(flags & ANDROID_RB_FLAG_NO_SYNC))
111 if (!(flags & ANDROID_RB_FLAG_NO_REMOUNT_RO))

Completed in 446 milliseconds

12345