/external/chromium/chrome/browser/ |
tab_closeable_state_watcher.cc | 18 ::TabCloseableStateWatcher* watcher = NULL; local 24 watcher = new chromeos::TabCloseableStateWatcher(); 26 if (!watcher) 27 watcher = new ::TabCloseableStateWatcher(); 28 return watcher;
|
plugin_data_remover_browsertest.cc | 61 base::WaitableEventWatcher watcher; local 64 watcher.StartWatching(event, this);
|
/external/chromium/base/memory/ |
scoped_vector_unittest.cc | 49 // pairing of the watcher, which observes the object and notifies of 100 LifeCycleWatcher watcher; local 101 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state()); 102 LifeCycleObject* object = watcher.NewLifeCycleObject(); 103 EXPECT_EQ(LC_CONSTRUCTED, watcher.life_cycle_state()); 105 EXPECT_EQ(LC_DESTROYED, watcher.life_cycle_state()); 109 LifeCycleWatcher watcher; local 110 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state()); 112 scoped_vector.push_back(watcher.NewLifeCycleObject()); 113 EXPECT_EQ(LC_CONSTRUCTED, watcher.life_cycle_state()) 119 LifeCycleWatcher watcher; local [all...] |
/external/chromium/base/synchronization/ |
waitable_event_watcher_unittest.cc | 39 WaitableEventWatcher watcher; local 40 EXPECT_TRUE(watcher.GetWatchedEvent() == NULL); 43 watcher.StartWatching(&event, &delegate); 44 EXPECT_EQ(&event, watcher.GetWatchedEvent()); 50 EXPECT_TRUE(watcher.GetWatchedEvent() == NULL); 59 WaitableEventWatcher watcher; local 62 watcher.StartWatching(&event, &delegate); 64 watcher.StopWatching(); 73 WaitableEventWatcher watcher; local 78 watcher.StartWatching(&event, &delegate) 99 WaitableEventWatcher watcher; local 116 WaitableEventWatcher watcher; local [all...] |
waitable_event_watcher_win.cc | 14 WaitableEventWatcher* watcher) 15 : watcher_(watcher) {
|
/external/chromium/base/win/ |
object_watcher_unittest.cc | 37 ObjectWatcher watcher; local 38 EXPECT_EQ(NULL, watcher.GetWatchedObject()); 44 bool ok = watcher.StartWatching(event, &delegate); 46 EXPECT_EQ(event, watcher.GetWatchedObject()); 52 EXPECT_EQ(NULL, watcher.GetWatchedObject()); 59 ObjectWatcher watcher; local 65 bool ok = watcher.StartWatching(event, &delegate); 68 watcher.StopWatching(); 77 ObjectWatcher watcher; local 85 bool ok = watcher.StartWatching(event, &delegate) 109 ObjectWatcher watcher; local [all...] |
object_watcher.cc | 15 ObjectWatcher* watcher; // The associated ObjectWatcher instance member in struct:base::win::ObjectWatcher::Watch 23 // The watcher may have already been torn down, in which case we need to 25 if (!watcher) 29 watcher->StopWatching(); 51 watch->watcher = this; 97 watch_->watcher = NULL;
|
/external/chromium/base/files/ |
file_path_watcher_browsertest.cc | 89 // reset expectations while the file watcher is running. In order to allow this, 119 FilePathWatcher* watcher, 124 watcher_(watcher), 176 FilePathWatcher* watcher, 182 watcher, 206 FilePathWatcher watcher; local 208 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())); 218 FilePathWatcher watcher; local 220 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get())); 232 FilePathWatcher watcher; local 244 FilePathWatcher watcher; local 273 FilePathWatcher* watcher = new FilePathWatcher; local 290 FilePathWatcher* watcher = new FilePathWatcher; local 310 FilePathWatcher watcher; local 343 FilePathWatcher watcher; local 365 FilePathWatcher watcher; local 380 FilePathWatcher watcher; local 394 FilePathWatcher watcher; local 480 FilePathWatcher watcher; local 598 FilePathWatcher watcher; local [all...] |
file_path_watcher_linux.cc | 47 // Watch directory |path| for changes. |watcher| will be notified on each 49 Watch AddWatch(const FilePath& path, FilePathWatcherImpl* watcher); 52 bool RemoveWatch(Watch watch, FilePathWatcherImpl* watcher); 251 const FilePath& path, FilePathWatcherImpl* watcher) { 265 watchers_[watch].insert(watcher); 271 FilePathWatcherImpl* watcher) { 277 watchers_[watch].erase(watcher); 294 for (WatcherSet::iterator watcher = watchers_[event->wd].begin(); 295 watcher != watchers_[event->wd].end(); 296 ++watcher) { [all...] |
/external/bluetooth/bluez/attrib/ |
client.c | 103 struct watcher { struct 126 struct watcher *watcher = user_data; local 128 g_free(watcher->path); 129 g_free(watcher->name); 130 g_free(watcher); 139 struct watcher *watcher = l->data; local 140 g_dbus_remove_watch(prim->gatt->conn, watcher->id); 180 const struct watcher *watcher = a local 224 struct watcher *watcher = user_data; local 416 struct watcher *watcher; local 447 struct watcher *watcher, *match; local [all...] |
/external/apache-http/src/org/apache/http/conn/ |
EofSensorInputStream.java | 47 * on EOF. That decision is left to the {@link EofSensorWatcher watcher}. 88 /** The watcher to be notified, if any. */ 94 * If no watcher is passed, the underlying stream will simply be 96 * Otherwise, the watcher decides whether the underlying stream 100 * @param watcher the watcher for events, or <code>null</code> for 104 final EofSensorWatcher watcher) { 112 eofWatcher = watcher; 218 * Detects EOF and notifies the watcher. 223 * If EOF is detected, the watcher will be notified and this strea [all...] |
EofSensorWatcher.java | 38 * A watcher for {@link EofSensorInputStream EofSensorInputStream}. 39 * Each stream will notify it's watcher at most once. 60 * in case of an IO problem, for example if the watcher itself 80 * in case of an IO problem, for example if the watcher itself 103 * in case of an IO problem, for example if the watcher itself
|
/external/chromium/chrome/browser/policy/ |
file_based_policy_loader.h | 17 // policy periodically in case the watcher fails and retries policy loads when 40 // Creates the file path watcher and configures it to watch 55 // decouple the watcher's life cycle from the loader's. This decoupling makes 56 // it possible to destroy the watcher before the loader's destructor is called
|
file_based_policy_provider_unittest.cc | 42 // when the file watcher is initialized, since this file may have changed 43 // between the initial load and creating watcher. 66 // when the file watcher is initialized, since this file may have changed 67 // between the initial load and creating watcher.
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
PhoneNumberFormatter.java | 48 protected void onPostExecute(PhoneNumberFormattingTextWatcher watcher) { 49 if (watcher == null || isCancelled()) { 53 mTextView.addTextChangedListener(watcher); 58 // We could use watcher.afterTextChanged(mTextView.getEditableText()) to force format
|
/external/chromium/net/socket/ |
tcp_server_socket_libevent.h | 21 public MessageLoopForIO::Watcher { 33 // MessageLoopForIO::Watcher implementation.
|
/external/chromium/base/ |
message_pump_libevent.h | 41 class Watcher { 43 virtual ~Watcher() {} 76 void set_watcher(Watcher* watcher) { watcher_ = watcher; } 84 Watcher* watcher_; 113 Watcher *delegate);
|
/external/bluetooth/bluez/src/ |
bluetooth.conf | 16 <allow send_interface="org.bluez.Watcher"/>
|
/external/webkit/Tools/Scripts/webkitpy/tool/bot/ |
sheriff_unittest.py | 42 "watcher@example.com", 69 expected_stderr = u"""MOCK bug comment: bug_id=1234, cc=['watcher@example.com'] 74 MOCK bug comment: bug_id=1234, cc=['watcher@example.com'] 81 MOCK bug comment: bug_id=1234, cc=['watcher@example.com']
|
/external/chromium/chrome/browser/metrics/ |
thread_watcher.cc | 59 // Create a new thread watcher object for the given thread and activate it. 60 ThreadWatcher* watcher = local 62 DCHECK(watcher); 63 // If we couldn't register the thread watcher object, we are shutting down, 67 watcher->ActivateThreadWatching(); 89 // There is some user activity, PostPingMessage task of thread watcher if 211 void ThreadWatcherList::Register(ThreadWatcher* watcher) { 215 DCHECK(!global_->PreLockedFind(watcher->thread_id())); 216 global_->registered_[watcher->thread_id()] = watcher; [all...] |
/external/chromium/chrome/common/ |
service_process_util_posix.h | 39 : public base::MessagePumpLibevent::Watcher { 49 // base::MessagePumpLibevent::Watcher overrides
|
/frameworks/base/core/tests/coretests/src/android/text/ |
SpannedTest.java | 131 s.setSpan(new Watcher(2), 0, s.length(), 134 s.setSpan(new Watcher(4), 0, s.length(), 137 s.setSpan(new Watcher(1), 0, s.length(), 140 s.setSpan(new Watcher(3), 0, s.length(), 157 private class Watcher implements SpanWatcher, TextWatcher { 160 public Watcher(int sequence) {
|
/frameworks/base/core/java/android/widget/ |
DialerFilter.java | 361 public void setLettersWatcher(TextWatcher watcher) { 364 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE); 367 public void setDigitsWatcher(TextWatcher watcher) { 370 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE); 373 public void setFilterWatcher(TextWatcher watcher) { 375 setLettersWatcher(watcher); 377 setDigitsWatcher(watcher); 381 public void removeFilterWatcher(TextWatcher watcher) { 388 text.removeSpan(watcher);
|
/external/bluetooth/bluez/doc/ |
attribute-api.txt | 63 Register a watcher to monitor characteristic changes. 65 A watcher will be registered for this service and will 71 Unregister a watcher. 155 Characteristic Watcher hierarchy 159 Interface org.bluez.Watcher
|
/external/webkit/Source/WebKit2/WebProcess/mac/ |
FullKeyboardAccessWatcher.mm | 66 static FullKeyboardAccessWatcher *watcher = [[FullKeyboardAccessWatcher alloc] init]; 67 return watcher->fullKeyboardAccessEnabled;
|