HomeSort by relevance Sort by last modified time
    Searched refs:watcher (Results 1 - 25 of 67) sorted by null

1 2 3

  /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/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) {
waitable_event_watcher.h 60 // it with a Watcher. It will act as if the event was never signaled.
129 ObjectWatcherHelper(WaitableEventWatcher* 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/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...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/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
  /packages/apps/Mms/src/com/android/mms/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/webkit/Source/WebKit2/WebProcess/mac/
FullKeyboardAccessWatcher.mm 66 static FullKeyboardAccessWatcher *watcher = [[FullKeyboardAccessWatcher alloc] init];
67 return watcher->fullKeyboardAccessEnabled;
  /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/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);
  /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/chromium/third_party/libjingle/source/talk/session/phone/
devicemanager_mac.mm 71 void ReleaseDeviceWatcherCallback(void* watcher) {
72 DeviceWatcherImpl* watcher_impl = static_cast<DeviceWatcherImpl*>(watcher);
  /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...]
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowTextView.java 117 for (TextWatcher watcher : watchers) {
118 watcher.afterTextChanged(new SpannableStringBuilder(getText()));
123 for (TextWatcher watcher : watchers) {
124 watcher.onTextChanged(text, 0, oldValue.length(), text.length());
129 for (TextWatcher watcher : watchers) {
130 watcher.beforeTextChanged(this.text, 0, this.text.length(), newValue.length());
469 public void addTextChangedListener(TextWatcher watcher) {
470 this.watchers.add(watcher);
474 public void removeTextChangedListener(TextWatcher watcher) {
475 this.watchers.remove(watcher);
    [all...]
  /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...]
thread_watcher.h 108 // (i.e., post a PostPingMessage) if the watcher has stopped pinging due to
179 // This is set to true if thread watcher is watching.
199 // Class with a list of all active thread watchers. A thread watcher is active
214 static void Register(ThreadWatcher* watcher);
238 // Delete all thread watcher objects and remove them from global map.
  /external/chromium/chrome/browser/sync/engine/net/
server_connection_manager.cc 166 const PostBufferParams* params, ScopedServerStatusWatcher* watcher) {
169 return PostBufferToPath(params, path, auth_token(), watcher);
174 ScopedServerStatusWatcher* watcher) {
175 DCHECK(watcher != NULL);
199 ScopedServerStatusWatcher watcher(this, &response);
server_connection_manager.h 239 ScopedServerStatusWatcher* watcher);
335 ScopedServerStatusWatcher* watcher);
  /frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
UiDevice.java 515 * @param watcher {@link UiWatcher}
518 public void registerWatcher(String name, UiWatcher watcher) {
519 Tracer.trace(name, watcher);
521 throw new IllegalStateException("Cannot register new watcher from within another");
523 mWatchers.put(name, watcher);
536 throw new IllegalStateException("Cannot remove a watcher from within another");
553 UiWatcher watcher = mWatchers.get(watcherName); local
554 if (watcher != null) {
557 if (watcher.checkForCondition()) {
561 Log.e(LOG_TAG, "Exceuting watcher: " + watcherName, e)
    [all...]
  /frameworks/base/core/java/android/view/
IWindowManager.aidl 175 int watchRotation(IRotationWatcher watcher);
178 * Remove a rotation watcher set using watchRotation.
181 void removeRotationWatcher(IRotationWatcher watcher);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
TextViewTest.java 279 MockTextWatcher watcher = new MockTextWatcher(); local
280 textView.addTextChangedListener(watcher);
281 assertTrue(shadowOf(textView).getWatchers().contains(watcher));
283 textView.removeTextChangedListener(watcher);
284 assertFalse(shadowOf(textView).getWatchers().contains(watcher));

Completed in 482 milliseconds

1 2 3