Lines Matching refs:watch
42 explicit Watch(DBusWatch* watch)
43 : raw_watch_(watch) {
1024 // watch will be deleted when raw_watch is removed in OnRemoveWatch().
1025 Watch* watch = new Watch(raw_watch);
1026 if (watch->IsReadyToBeWatched()) {
1027 watch->StartWatching();
1036 Watch* watch = static_cast<Watch*>(dbus_watch_get_data(raw_watch));
1037 delete watch;
1044 Watch* watch = static_cast<Watch*>(dbus_watch_get_data(raw_watch));
1045 if (watch->IsReadyToBeWatched()) {
1046 watch->StartWatching();
1050 watch->StopWatching();