/frameworks/base/media/mca/filterfw/native/core/ |
time_util.cpp | 77 NamedStopWatch* watch = FindPtrOrNull(watches, watch_name); local 78 if (!watch) { 79 watch = new NamedStopWatch(watch_name); 80 watches[watch_name] = watch; 82 return watch;
|
/frameworks/base/media/mca/filterpacks/native/base/ |
time_util.cpp | 75 NamedStopWatch* watch = FindPtrOrNull(watches, watch_name); local 76 if (!watch) { 77 watch = new NamedStopWatch(watch_name); 78 watches[watch_name] = watch; 80 return watch;
|
/external/chromium/base/win/ |
object_watcher.cc | 14 struct ObjectWatcher::Watch : public Task { 50 Watch* watch = new Watch; local 51 watch->watcher = this; 52 watch->object = object; 53 watch->origin_loop = MessageLoop::current(); 54 watch->delegate = delegate; 55 watch->did_signal = false; 61 if (!RegisterWaitForSingleObject(&watch->wait_object, object, DoneWaiting 122 Watch* watch = static_cast<Watch*>(param); local [all...] |
/external/dbus/bus/ |
dir-watch-inotify.c | 2 /* dir-watch-inotify.c OS specific directory change notification for message bus 37 #include <dbus/dbus-watch.h> 38 #include "dir-watch.h" 49 static DBusWatch *watch = NULL; variable 53 _inotify_watch_callback (DBusWatch *watch, unsigned int condition, void *data) 55 return dbus_watch_handle (watch, condition); 154 /* FIXME - less lame error handling for failing to add a watch; we may need to sleep. */ 176 * watch. (In reality though, the whole OOM handling in dbus is stupid 209 if (watch != NULL) 211 _dbus_loop_remove_watch (loop, watch, _inotify_watch_callback, NULL) [all...] |
dir-watch-kqueue.c | 2 /* dir-watch-kqueue.c OS specific directory change notification for message bus 37 #include <dbus/dbus-watch.h> 41 #include "dir-watch.h" 49 static DBusWatch *watch = NULL; variable 53 _kqueue_watch_callback (DBusWatch *watch, unsigned int condition, void *data) 55 return dbus_watch_handle (watch, condition); 59 _handle_kqueue_watch (DBusWatch *watch, unsigned int flags, void *data) 81 if (watch != NULL) 83 _dbus_loop_remove_watch (loop, watch, _kqueue_watch_callback, NULL); 84 _dbus_watch_unref (watch); [all...] |
main.c | 28 #include <dbus/dbus-watch.h> 167 handle_reload_watch (DBusWatch *watch, 204 reload_watch_callback (DBusWatch *watch, 208 return dbus_watch_handle (watch, condition); 215 DBusWatch *watch; local 228 watch = _dbus_watch_new (reload_pipe[RELOAD_READ_END], 232 if (watch == NULL) 234 _dbus_warn ("Unable to create reload watch: %s\n", 240 if (!_dbus_loop_add_watch (loop, watch, reload_watch_callback, 243 _dbus_warn ("Unable to add reload watch to main loop: %s\n" [all...] |
connection.c | 241 _dbus_assert_not_reached ("setting watch functions to NULL failed"); 298 connection_watch_callback (DBusWatch *watch, 304 * watch handler is fixed. 310 return dbus_watch_handle (watch, condition); 314 add_connection_watch (DBusWatch *watch, 320 watch, connection_watch_callback, connection, 325 remove_connection_watch (DBusWatch *watch, 331 watch, connection_watch_callback, connection); local 744 _dbus_assert_not_reached ("setting watch functions to NULL failed"); [all...] |
/external/dbus/dbus/ |
dbus-server-socket.c | 55 DBusWatch **watch; /**< File descriptor watch. */ member in struct:DBusServerSocket 69 if (socket_server->watch[i]) 71 _dbus_watch_unref (socket_server->watch[i]); 72 socket_server->watch[i] = NULL; 76 dbus_free (socket_server->watch); 160 socket_handle_watch (DBusWatch *watch, 177 if (socket_server->watch[i] == watch) 190 listen_fd = dbus_watch_get_socket (watch); 303 DBusWatch *watch; local [all...] |
dbus-watch.c | 2 /* dbus-watch.c DBusWatch implementation 26 #include "dbus-watch.h" 44 unsigned int flags; /**< Conditions to watch. */ 46 DBusWatchHandler handler; /**< Watch handler. */ 47 void *handler_data; /**< Watch handler data. */ 48 DBusFreeFunction free_handler_data_function; /**< Free the watch handler data. */ 56 _dbus_watch_get_enabled (DBusWatch *watch) 58 return watch->enabled; 66 * @param flags the conditions to watch for on the descriptor. 81 DBusWatch *watch; local [all...] |
dbus-mainloop.c | 84 DBusWatch *watch; member in struct:__anon6021 85 /* last watch handle failed due to OOM */ 102 watch_callback_new (DBusWatch *watch, 113 cb->watch = watch; 264 DBusWatch *watch, 271 wcb = watch_callback_new (watch, function, data, free_data_func); 287 DBusWatch *watch, 300 WATCH_CALLBACK (this)->watch == watch & [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/bluetooth/bluez/gdbus/ |
mainloop.c | 50 DBusWatch *watch; member in struct:watch_info 107 dbus_watch_handle(info->watch, flags); 131 static dbus_bool_t add_watch(DBusWatch *watch, void *data) 140 if (!dbus_watch_get_enabled(watch)) 145 fd = dbus_watch_get_unix_fd(watch); 148 info->watch = watch; 151 dbus_watch_set_data(watch, info, watch_info_free); 153 flags = dbus_watch_get_flags(watch); 165 static void remove_watch(DBusWatch *watch, void *data [all...] |
/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/chromium/base/files/ |
file_path_watcher_linux.cc | 44 typedef int Watch; // Watch descriptor used by AddWatch and RemoveWatch. 45 static const Watch kInvalidWatch = -1; 47 // Watch directory |path| for changes. |watcher| will be notified on each 49 Watch AddWatch(const FilePath& path, FilePathWatcherImpl* watcher); 51 // Remove |watch|. Returns true on success. 52 bool RemoveWatch(Watch watch, FilePathWatcherImpl* watcher); 66 base::hash_map<Watch, WatcherSet> watchers_; 91 // Called for each event coming from the watch. |fired_watch| identifies th 257 Watch watch = inotify_add_watch(inotify_fd_, path.value().c_str(), local [all...] |
/external/bluetooth/bluez/audio/ |
gateway.c | 60 guint watch; /* Disconnect watch */ member in struct:hf_agent 498 agent->watch = g_dbus_add_disconnect_watch(conn, name, 527 g_dbus_remove_watch(device->conn, gw->agent->watch);
|
media.c | 79 guint watch; member in struct:media_endpoint 131 g_dbus_remove_watch(adapter->conn, endpoint->watch); 143 endpoint->watch = 0; 240 endpoint->watch = g_dbus_add_disconnect_watch(adapter->conn, sender, 679 if (endpoint->watch == 0)
|
transport.c | 62 guint watch; member in struct:media_owner 78 unsigned int nrec_id; /* Transport nrec watch (headset only) */ 202 if (owner->watch) 203 g_dbus_remove_watch(transport->conn, owner->watch); 444 owner->watch = 0; 503 owner->watch = g_dbus_add_disconnect_watch(conn, owner->name,
|
telephony-ofono.c | 53 guint watch; member in struct:voice_call 655 g_dbus_remove_watch(connection, vc->watch); 741 vc->watch = g_dbus_add_signal_watch(connection, NULL, path, 1478 guint watch; local 1558 guint watch; local [all...] |
telephony-maemo6.c | 1851 guint watch; local [all...] |
/external/bluetooth/bluez/network/ |
connection.c | 73 guint watch; /* Disconnect watch */ member in struct:network_conn 129 if (nc->watch) { 130 g_dbus_remove_watch(connection, nc->watch); 131 nc->watch = 0; 149 if (nc->watch) { 150 g_dbus_remove_watch(connection, nc->watch); 151 nc->watch = 0; 389 nc->watch = g_dbus_add_disconnect_watch(conn,
|
server.c | 61 guint watch; /* BNEP socket watch */ member in struct:network_session 82 guint watch_id; /* Client service watch */ 299 if (session->watch) 300 g_source_remove(session->watch); 534 na->setup->watch = g_io_add_watch_full(chan, G_PRIORITY_DEFAULT,
|
/external/bluetooth/bluez/serial/ |
proxy.c | 88 guint watch; /* Application watch */ member in struct:serial_proxy 989 if (proxy->watch > 0) 990 g_dbus_remove_watch(adapter->conn, proxy->watch); 1010 proxy->watch = 0; 1044 proxy->watch = g_dbus_add_disconnect_watch(conn, proxy->owner,
|
/frameworks/base/core/jni/ |
android_server_BluetoothEventLoop.cpp | 515 dbus_bool_t dbusAddWatch(DBusWatch *watch, void *data) { 518 if (dbus_watch_get_enabled(watch)) { 519 // note that we can't just send the watch and inspect it later 521 // to by our eventloop and remove this watch.. reading the add first 522 // and then inspecting the recently deceased watch would be bad. 526 int fd = dbus_watch_get_fd(watch); 529 unsigned int flags = dbus_watch_get_flags(watch); 532 write(nat->controlFdW, &watch, sizeof(DBusWatch*)); 537 void dbusRemoveWatch(DBusWatch *watch, void *data) { 543 int fd = dbus_watch_get_fd(watch); 566 DBusWatch *watch; local [all...] |
/external/bluetooth/bluez/src/ |
device.c | 73 disconnect_watch watch; member in struct:btd_disconnect_data 747 if (data->watch) 749 data->watch(device, device->temporary, 752 /* Check if the watch has been removed by callback function */ 917 disconnect_watch watch, void *user_data, 925 data->watch = watch; [all...] |
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/ |
org.sat4j.core_2.2.0.v20100429.jar | |