Home
last modified time | relevance | path

Searched refs:watcher (Results 1 – 18 of 18) sorted by relevance

/external/webrtc/webrtc/system_wrappers/source/
Dscoped_vector_unittest.cc114 LifeCycleWatcher watcher; in TEST() local
115 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state()); in TEST()
116 LifeCycleObject* object = watcher.NewLifeCycleObject(); in TEST()
117 EXPECT_EQ(LC_CONSTRUCTED, watcher.life_cycle_state()); in TEST()
119 EXPECT_EQ(LC_DESTROYED, watcher.life_cycle_state()); in TEST()
123 LifeCycleWatcher watcher; in TEST() local
124 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state()); in TEST()
126 scoped_vector.push_back(watcher.NewLifeCycleObject()); in TEST()
127 EXPECT_EQ(LC_CONSTRUCTED, watcher.life_cycle_state()); in TEST()
128 EXPECT_TRUE(watcher.IsWatching(scoped_vector.back())); in TEST()
[all …]
/external/libchrome/base/memory/
Dscoped_vector_unittest.cc121 LifeCycleWatcher watcher; in TEST() local
122 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state()); in TEST()
123 LifeCycleObject* object = watcher.NewLifeCycleObject(); in TEST()
124 EXPECT_EQ(LC_CONSTRUCTED, watcher.life_cycle_state()); in TEST()
126 EXPECT_EQ(LC_DESTROYED, watcher.life_cycle_state()); in TEST()
130 LifeCycleWatcher watcher; in TEST() local
131 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state()); in TEST()
133 scoped_vector.push_back(watcher.NewLifeCycleObject()); in TEST()
134 EXPECT_EQ(LC_CONSTRUCTED, watcher.life_cycle_state()); in TEST()
135 EXPECT_TRUE(watcher.IsWatching(scoped_vector.back())); in TEST()
[all …]
/external/libchrome/base/files/
Dfile_path_watcher_unittest.cc135 FilePathWatcher* watcher, in SetupWatchCallback() argument
140 *result = watcher->Watch(target, recursive_watch, in SetupWatchCallback()
193 FilePathWatcher* watcher,
215 FilePathWatcher* watcher, in SetupWatch() argument
221 FROM_HERE, base::Bind(SetupWatchCallback, target, watcher, delegate, in SetupWatch()
229 FilePathWatcher watcher; in TEST_F() local
231 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); in TEST_F()
242 FilePathWatcher watcher; in TEST_F() local
244 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); in TEST_F()
257 FilePathWatcher watcher; in TEST_F() local
[all …]
Dfile_path_watcher_linux.cc55 Watch AddWatch(const FilePath& path, FilePathWatcherImpl* watcher);
58 void RemoveWatch(Watch watch, FilePathWatcherImpl* watcher);
294 const FilePath& path, FilePathWatcherImpl* watcher) { in AddWatch() argument
308 watchers_[watch].insert(watcher); in AddWatch()
313 void InotifyReader::RemoveWatch(Watch watch, FilePathWatcherImpl* watcher) { in RemoveWatch() argument
319 watchers_[watch].erase(watcher); in RemoveWatch()
334 for (WatcherSet::iterator watcher = watchers_[event->wd].begin(); in OnInotifyEvent() local
335 watcher != watchers_[event->wd].end(); in OnInotifyEvent()
336 ++watcher) { in OnInotifyEvent()
337 (*watcher)->OnFilePathChanged(event->wd, in OnInotifyEvent()
Dfile_path_watcher_fsevents.cc125 FilePathWatcherFSEvents* watcher = in FSEventsCallback() local
129 bool root_changed = watcher->ResolveTargetPath(); in FSEventsCallback()
149 Bind(&FilePathWatcherFSEvents::UpdateEventStream, watcher, in FSEventsCallback()
153 watcher->OnFilePathsChanged(paths); in FSEventsCallback()
/external/chromium-trace/catapult/devil/devil/utils/
Dreraiser_thread.py130 def _JoinAll(self, watcher=None, timeout=None): argument
142 if watcher is None:
143 watcher = watchdog_timer.WatchdogTimer(None)
149 if watcher.IsTimedOut():
170 def JoinAll(self, watcher=None, timeout=None, argument
186 self._JoinAll(watcher, timeout)
193 def GetAllReturnValues(self, watcher=None): argument
200 self.JoinAll(watcher)
216 def RunAsync(funcs, watcher=None): argument
228 return thread_group.GetAllReturnValues(watcher=watcher)
Dtimeout_retry.py166 thread_group.JoinAll(watcher=thread_group.GetWatcher(), timeout=60,
/external/owasp/sanitizer/src/tests/org/owasp/html/
DCssFuzzerTest.java87 Watcher watcher = new Watcher(); in testUnderStress() local
106 synchronized (watcher) { in testUnderStress()
107 watcher.input = randomCss; in testUnderStress()
108 watcher.started = System.nanoTime(); in testUnderStress()
111 watcherThread = new Thread(watcher); in testUnderStress()
168 synchronized (watcher) { in testUnderStress()
169 watcher.input = null; in testUnderStress()
170 watcher.notifyAll(); in testUnderStress()
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
DShadowTextView.java117 for (TextWatcher watcher : watchers) { in sendAfterTextChanged()
118 watcher.afterTextChanged(new SpannableStringBuilder(getText())); in sendAfterTextChanged()
123 for (TextWatcher watcher : watchers) { in sendOnTextChanged()
124 watcher.onTextChanged(text, 0, oldValue.length(), text.length()); in sendOnTextChanged()
129 for (TextWatcher watcher : watchers) { in sendBeforeTextChanged()
130 watcher.beforeTextChanged(this.text, 0, this.text.length(), newValue.length()); in sendBeforeTextChanged()
469 public void addTextChangedListener(TextWatcher watcher) { in addTextChangedListener() argument
470 this.watchers.add(watcher); in addTextChangedListener()
474 public void removeTextChangedListener(TextWatcher watcher) { in removeTextChangedListener() argument
475 this.watchers.remove(watcher); in removeTextChangedListener()
/external/webrtc/talk/media/devices/
Ddevicemanager.h189 void set_watcher(DeviceWatcher* watcher) { watcher_.reset(watcher); } in set_watcher() argument
190 DeviceWatcher* watcher() { return watcher_.get(); } in watcher() function
Ddevicemanager.cc78 if (!watcher()->Start()) { in Init()
88 watcher()->Stop(); in Terminate()
Dwin32devicemanager.cc123 if (!watcher()->Start()) { in Init()
133 watcher()->Stop(); in Terminate()
Dmacdevicemanagermm.mm100 void ReleaseDeviceWatcherCallback(DeviceWatcherImpl* watcher) {
103 [watcher release];
/external/libchrome/base/message_loop/
Dmessage_pump_libevent.h80 void set_watcher(Watcher* watcher) { watcher_ = watcher; } in set_watcher() argument
/external/apache-http/src/org/apache/http/conn/
DEofSensorInputStream.java109 final EofSensorWatcher watcher) { in EofSensorInputStream() argument
117 eofWatcher = watcher; in EofSensorInputStream()
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DTextViewTest.java279 MockTextWatcher watcher = new MockTextWatcher(); in removeTextChangedListener_shouldRemoveTheListener() local
280 textView.addTextChangedListener(watcher); in removeTextChangedListener_shouldRemoveTheListener()
281 assertTrue(shadowOf(textView).getWatchers().contains(watcher)); in removeTextChangedListener_shouldRemoveTheListener()
283 textView.removeTextChangedListener(watcher); in removeTextChangedListener_shouldRemoveTheListener()
284 assertFalse(shadowOf(textView).getWatchers().contains(watcher)); in removeTextChangedListener_shouldRemoveTheListener()
/external/kernel-headers/original/uapi/linux/netfilter_bridge/
Debtables.h131 struct xt_target *watcher; member
/external/replicaisland/src/com/replica/replicaisland/
DGameObjectFactory.java6504 …FrameRateWatcherComponent watcher = (FrameRateWatcherComponent)allocateComponent(FrameRateWatcherC…
6505 watcher.setup(render, indicator);
6508 object.add(watcher);