HomeSort by relevance Sort by last modified time
    Searched full:watch (Results 1 - 25 of 293) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/dbus/dbus/
dbus-watch.c 2 /* dbus-watch.c DBusWatch implementation
25 #include "dbus-watch.h"
43 unsigned int flags; /**< Conditions to watch. */
45 DBusWatchHandler handler; /**< Watch handler. */
46 void *handler_data; /**< Watch handler data. */
47 DBusFreeFunction free_handler_data_function; /**< Free the watch handler data. */
59 * @param flags the conditions to watch for on the descriptor.
74 DBusWatch *watch; local
80 watch = dbus_new0 (DBusWatch, 1);
81 if (watch == NULL
    [all...]
dbus-watch.h 2 /* dbus-watch.h DBusWatch internal interfaces
40 /** function to run when the watch is handled */
41 typedef dbus_bool_t (* DBusWatchHandler) (DBusWatch *watch,
51 DBusWatch* _dbus_watch_ref (DBusWatch *watch);
52 void _dbus_watch_unref (DBusWatch *watch);
53 void _dbus_watch_invalidate (DBusWatch *watch);
54 void _dbus_watch_sanitize_condition (DBusWatch *watch,
56 void _dbus_watch_set_handler (DBusWatch *watch,
71 DBusWatch *watch);
73 DBusWatch *watch);
    [all...]
dbus-server-socket.c 51 DBusWatch *watch; /**< File descriptor watch. */ member in struct:DBusServerSocket
62 if (socket_server->watch)
64 _dbus_watch_unref (socket_server->watch);
65 socket_server->watch = NULL;
146 socket_handle_watch (DBusWatch *watch,
155 _dbus_assert (watch == socket_server->watch);
164 listen_fd = dbus_watch_get_fd (watch);
205 if (socket_server->watch)
250 DBusWatch *watch; local
    [all...]
dbus-connection.h 42 /* documented in dbus-watch.c */
62 DBUS_WATCH_ERROR = 1 << 2, /**< As in POLLERR (can't watch for
67 DBUS_WATCH_HANGUP = 1 << 3 /**< As in POLLHUP (can't watch for
85 /** Called when libdbus needs a new watch to be monitored by the main
87 * watch. Set by dbus_connection_set_watch_functions() or
90 typedef dbus_bool_t (* DBusAddWatchFunction) (DBusWatch *watch,
96 typedef void (* DBusWatchToggledFunction) (DBusWatch *watch,
98 /** Called when libdbus no longer needs a watch to be monitored by the
102 typedef void (* DBusRemoveWatchFunction) (DBusWatch *watch,
106 * watch. Set by dbus_connection_set_timeout_functions() o
    [all...]
dbus-mainloop.c 83 DBusWatch *watch; member in struct:__anon1535
84 /* last watch handle failed due to OOM */
101 watch_callback_new (DBusWatch *watch,
112 cb->watch = watch;
263 DBusWatch *watch,
270 wcb = watch_callback_new (watch, function, data, free_data_func);
286 DBusWatch *watch,
299 WATCH_CALLBACK (this)->watch == watch &
    [all...]
dbus-mainloop.h 33 typedef dbus_bool_t (* DBusWatchFunction) (DBusWatch *watch,
43 DBusWatch *watch,
48 DBusWatch *watch,
  /external/dbus/bus/
dir-watch-kqueue.c 2 /* dir-watch-kqueue.c OS specific directory change notification for message bus
33 #include <dbus/dbus-watch.h>
36 #include "dir-watch.h"
43 static DBusWatch *watch = NULL; variable
47 _kqueue_watch_callback (DBusWatch *watch, unsigned int condition, void *data)
49 return dbus_watch_handle (watch, condition);
53 _handle_kqueue_watch (DBusWatch *watch, unsigned int flags, void *data)
75 if (watch != NULL)
77 _dbus_loop_remove_watch (loop, watch, _kqueue_watch_callback, NULL);
78 _dbus_watch_unref (watch);
    [all...]
dir-watch.h 2 /* dir-watch.h Watch directories
29 /* setup a watch on a directory (OS dependent, may be a NOP) */
dir-watch-dnotify.c 2 /* dir-watch-dnotify.c OS specific directory change notification for message bus
32 #include "dir-watch.h"
49 _dbus_warn ("Cannot watch config directory '%s'. Already watching %d directories\n", dir, MAX_DIRS_TO_WATCH);
68 _dbus_verbose ("Added watch on config directory '%s'\n", dir);
85 _dbus_verbose ("Error closing fd %d for config directory watch\n", fds[i]);
dir-watch-default.c 2 /* dir-watch-default.c OS specific directory change notification for message bus
27 #include "dir-watch.h"
test.c 31 /* The "debug client" watch/timeout handlers don't dispatch messages,
39 client_watch_callback (DBusWatch *watch,
45 * watch handler is fixed.
48 return dbus_watch_handle (watch, condition);
52 add_client_watch (DBusWatch *watch,
58 watch, client_watch_callback, connection,
63 remove_client_watch (DBusWatch *watch,
69 watch, client_watch_callback, connection);
  /external/bluetooth/bluez/gdbus/
Makefile.am 4 libgdbus_la_SOURCES = gdbus.h mainloop.c object.c watch.c
Android.mk 5 mainloop.c object.c watch.c
mainloop.c 98 DBusWatch *watch = data; local
99 struct watch_info *info = dbus_watch_get_data(watch);
107 dbus_watch_handle(watch, flags);
115 static dbus_bool_t add_watch(DBusWatch *watch, void *data)
122 if (!dbus_watch_get_enabled(watch))
127 fd = dbus_watch_get_unix_fd(watch);
131 dbus_watch_set_data(watch, info, NULL);
133 flags = dbus_watch_get_flags(watch);
138 info->watch_id = g_io_add_watch(info->io, cond, watch_func, watch);
143 static void remove_watch(DBusWatch *watch, void *data
    [all...]
  /external/kernel-headers/original/linux/
inotify.h 19 __s32 wd; /* watch descriptor */
20 __u32 mask; /* watch mask */
26 /* the following are legal, implemented events that user-space can watch for */
40 /* the following are legal events. they are sent as needed to any watch */
50 #define IN_ONLYDIR 0x01000000 /* only watch the path if it is a directory */
52 #define IN_MASK_ADD 0x20000000 /* add to the mask of an already existing watch */
72 * struct inotify_watch - represents a watch request on a specific inode
76 * ih, inode, and wd are never written to once the watch is created.
88 __s32 wd; /* watch descriptor */
89 __u32 mask; /* event mask for this watch */
    [all...]
  /external/dbus/test/
test-utils.c 11 connection_watch_callback (DBusWatch *watch,
15 return dbus_watch_handle (watch, condition);
19 add_watch (DBusWatch *watch,
25 watch,
31 remove_watch (DBusWatch *watch,
37 watch, connection_watch_callback, cd);
179 _dbus_assert_not_reached ("setting watch functions to NULL failed");
  /frameworks/base/opengl/tests/gralloc/
gralloc.cpp 65 StopWatch watch("memset");
71 StopWatch watch("memcpy baseline");
77 StopWatch watch("memcpy from gralloc");
83 StopWatch watch("memcpy into gralloc");
90 StopWatch watch("lamecpy baseline");
96 StopWatch watch("lamecpy from gralloc");
102 StopWatch watch("lamecpy into gralloc");
  /external/bluetooth/glib/glib/
giounix.c 125 GIOUnixWatch *watch = (GIOUnixWatch *)source; local
126 GIOCondition buffer_condition = g_io_channel_get_buffer_condition (watch->channel);
130 /* Only return TRUE here if _all_ bits in watch->condition will be set
132 return ((watch->condition & buffer_condition) == watch->condition);
138 GIOUnixWatch *watch = (GIOUnixWatch *)source; local
139 GIOCondition buffer_condition = g_io_channel_get_buffer_condition (watch->channel);
140 GIOCondition poll_condition = watch->pollfd.revents;
142 return ((poll_condition | buffer_condition) & watch->condition);
152 GIOUnixWatch *watch = (GIOUnixWatch *)source local
170 GIOUnixWatch *watch = (GIOUnixWatch *)source; local
343 GIOUnixWatch *watch; local
    [all...]
  /external/dnsmasq/src/
dbus.c 59 struct watch { struct
60 DBusWatch *watch; member in struct:watch
61 struct watch *next;
65 static dbus_bool_t add_watch(DBusWatch *watch, void *data)
67 struct watch *w;
70 if (w->watch == watch)
73 if (!(w = whine_malloc(sizeof(struct watch))))
76 w->watch = watch;
    [all...]
  /external/webkit/LayoutTests/fast/dom/Geolocation/
timeout-clear-watch-expected.txt 1 Tests that when a watch times out and is cleared from the error callback, there is no crash. This a regression test for https://bugs.webkit.org/show_bug.cgi?id=32111.
watch.html 10 <script src="resources/watch.js"></script>
permission-denied-already-clear-watch-expected.txt 1 Tests that when Geolocation permission has been denied prior to a call to watchPosition, and the watch is cleared in the error callback, there is no crash. This a regression test for https://bugs.webkit.org/show_bug.cgi?id=32111.
permission-denied-already-clear-watch.html 10 <script src="resources/permission-denied-already-clear-watch.js"></script>
timeout-clear-watch.html 10 <script src="resources/timeout-clear-watch.js"></script>
  /hardware/ril/libril/
ril_event.h 18 // Max number of fd's we watch at any one time. Increase if necessary.
41 // Add event to watch list
47 // Remove event from watch list

Completed in 308 milliseconds

1 2 3 4 5 6 7 8 91011>>