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

1 2 3 4 5 6 7

  /external/libchrome/base/memory/
scoped_vector_unittest.cc 62 // pairing of the watcher, which observes the object and notifies of
108 // Returns true iff |object| is the same object that this watcher is tracking.
121 LifeCycleWatcher watcher; local
122 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state());
123 LifeCycleObject* object = watcher.NewLifeCycleObject();
124 EXPECT_EQ(LC_CONSTRUCTED, watcher.life_cycle_state());
126 EXPECT_EQ(LC_DESTROYED, watcher.life_cycle_state());
130 LifeCycleWatcher watcher; local
131 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state());
133 scoped_vector.push_back(watcher.NewLifeCycleObject())
142 LifeCycleWatcher watcher; local
154 LifeCycleWatcher watcher; local
193 LifeCycleWatcher watcher; local
211 LifeCycleWatcher watcher; local
223 LifeCycleWatcher watcher; local
242 LifeCycleWatcher watcher; local
    [all...]
  /external/webrtc/webrtc/system_wrappers/source/
scoped_vector_unittest.cc 61 // pairing of the watcher, which observes the object and notifies of
101 // Returns true iff |object| is the same object that this watcher is tracking.
114 LifeCycleWatcher watcher; local
115 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state());
116 LifeCycleObject* object = watcher.NewLifeCycleObject();
117 EXPECT_EQ(LC_CONSTRUCTED, watcher.life_cycle_state());
119 EXPECT_EQ(LC_DESTROYED, watcher.life_cycle_state());
123 LifeCycleWatcher watcher; local
124 EXPECT_EQ(LC_INITIAL, watcher.life_cycle_state());
126 scoped_vector.push_back(watcher.NewLifeCycleObject())
135 LifeCycleWatcher watcher; local
147 LifeCycleWatcher watcher; local
186 LifeCycleWatcher watcher; local
204 LifeCycleWatcher watcher; local
216 LifeCycleWatcher watcher; local
236 LifeCycleWatcher watcher; local
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/util/
PhoneNumberFormatter.java 52 protected void onPostExecute(PhoneNumberFormattingTextWatcher watcher) {
53 if (watcher == null || isCancelled()) {
58 mTextView.addTextChangedListener(watcher);
62 watcher.afterTextChanged(mTextView.getEditableText());
  /frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
LeakTest.java 78 final AnimationWatcher watcher = new AnimationWatcher(); local
85 getActivity().getWindow().getDecorView().postOnAnimation(watcher);
89 watcher.waitForAnimationThread();
96 getActivity().getWindow().getDecorView().postOnAnimation(watcher);
100 watcher.waitForAnimationThread();
  /packages/apps/Launcher3/src/com/android/launcher3/util/
TestingUtils.java 47 View watcher = launcher.getLayoutInflater().inflate(id, null); local
48 watcher.setAlpha(0.5f);
49 ((FrameLayout) launcher.findViewById(R.id.launcher)).addView(watcher,
56 watcher.setVisibility(show ? View.VISIBLE : View.GONE);
57 launcher.mWeightWatcher = watcher;
  /external/libchrome/base/files/
file_path_watcher_unittest.cc 110 // reset expectations while the file watcher is running.
135 FilePathWatcher* watcher,
140 *result = watcher->Watch(target, recursive_watch,
193 FilePathWatcher* watcher,
215 FilePathWatcher* watcher,
221 FROM_HERE, base::Bind(SetupWatchCallback, target, watcher, delegate,
229 FilePathWatcher watcher; local
231 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false));
242 FilePathWatcher watcher; local
244 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false))
257 FilePathWatcher watcher; local
270 FilePathWatcher watcher; local
296 FilePathWatcher* watcher() const { return watcher_.get(); } function in class:base::__anon15112::Deleter
307 FilePathWatcher* watcher = new FilePathWatcher; local
325 FilePathWatcher* watcher = new FilePathWatcher; local
348 FilePathWatcher watcher; local
382 FilePathWatcher watcher; local
409 FilePathWatcher watcher; local
425 FilePathWatcher watcher; local
440 FilePathWatcher watcher; local
500 FilePathWatcher watcher; local
653 FilePathWatcher watcher; local
667 FilePathWatcher watcher; local
685 FilePathWatcher watcher; local
700 FilePathWatcher watcher; local
715 FilePathWatcher watcher; local
731 FilePathWatcher watcher; local
745 FilePathWatcher watcher; local
774 FilePathWatcher watcher; local
804 FilePathWatcher watcher; local
885 FilePathWatcher watcher; local
    [all...]
file_path_watcher_fsevents.cc 125 FilePathWatcherFSEvents* watcher = local
129 bool root_changed = watcher->ResolveTargetPath();
149 Bind(&FilePathWatcherFSEvents::UpdateEventStream, watcher,
153 watcher->OnFilePathsChanged(paths);
210 // It can happen that the watcher gets canceled while tasks that call this
file_path_watcher_linux.cc 53 // Watch directory |path| for changes. |watcher| will be notified on each
55 Watch AddWatch(const FilePath& path, FilePathWatcherImpl* watcher);
58 void RemoveWatch(Watch watch, FilePathWatcherImpl* watcher);
294 const FilePath& path, FilePathWatcherImpl* watcher) {
308 watchers_[watch].insert(watcher);
313 void InotifyReader::RemoveWatch(Watch watch, FilePathWatcherImpl* watcher) {
319 watchers_[watch].erase(watcher);
334 for (WatcherSet::iterator watcher = watchers_[event->wd].begin();
335 watcher != watchers_[event->wd].end();
336 ++watcher) {
    [all...]
  /frameworks/base/services/core/java/com/android/server/am/
InstrumentationReporter.java 90 Slog.i(TAG, "Failure reporting to instrumentation watcher: comp="
105 Report(int type, IInstrumentationWatcher watcher, ComponentName name, int resultCode,
108 mWatcher = watcher;
115 public void reportStatus(IInstrumentationWatcher watcher, ComponentName name, int resultCode,
117 if (DEBUG) Slog.d(TAG, "Report status to " + watcher
120 report(new Report(REPORT_TYPE_STATUS, watcher, name, resultCode, results));
123 public void reportFinished(IInstrumentationWatcher watcher, ComponentName name, int resultCode,
125 if (DEBUG) Slog.d(TAG, "Report finished to " + watcher
128 report(new Report(REPORT_TYPE_FINISHED, watcher, name, resultCode, results));
  /external/chromium-trace/catapult/devil/devil/utils/
reraiser_thread.py 130 def _JoinAll(self, watcher=None, timeout=None):
137 watcher: Watchdog object providing the thread timeout. If none is
142 if watcher is None:
143 watcher = watchdog_timer.WatchdogTimer(None)
149 if watcher.IsTimedOut():
170 def JoinAll(self, watcher=None, timeout=None,
179 watcher: Watchdog object providing the thread timeout. If none is
186 self._JoinAll(watcher, timeout)
193 def GetAllReturnValues(self, watcher=None):
197 watcher: same as in |JoinAll|. Only used if threads are alive
    [all...]
  /external/libchrome/base/message_loop/
message_pump_libevent.h 42 class Watcher {
50 virtual ~Watcher() {}
80 void set_watcher(Watcher* watcher) { watcher_ = watcher; }
87 Watcher* watcher_;
120 Watcher *delegate);
  /frameworks/base/core/java/com/android/internal/os/
BinderInternal.java 57 public static void addGcWatcher(Runnable watcher) {
59 sGcWatchers.add(watcher);
  /system/connectivity/apmanager/dbus/
manager_dbus_adaptor.h 55 // Context for service owner watcher.
61 watcher(std::move(in_watcher)) {}
63 std::unique_ptr<DBusServiceWatcher> watcher; member in struct:apmanager::ManagerDBusAdaptor::ServiceOwnerWatcherContext
  /system/core/metricsd/uploader/
metricsd_service_runner.cc 46 brillo::BinderWatcher watcher(message_loop_.get());
47 CHECK(watcher.Init()) << "failed to initialize the binder file descriptor "
48 << "watcher";
  /frameworks/base/core/java/android/widget/
DialerFilter.java 359 public void setLettersWatcher(TextWatcher watcher) {
362 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
365 public void setDigitsWatcher(TextWatcher watcher) {
368 span.setSpan(watcher, 0, text.length(), Spanned.SPAN_INCLUSIVE_INCLUSIVE);
371 public void setFilterWatcher(TextWatcher watcher) {
373 setLettersWatcher(watcher);
375 setDigitsWatcher(watcher);
379 public void removeFilterWatcher(TextWatcher watcher) {
386 text.removeSpan(watcher);
  /frameworks/base/services/core/java/com/android/server/location/
ActivityRecognitionProxy.java 120 IActivityRecognitionHardwareWatcher watcher = local
122 if (watcher == null) {
123 Log.e(TAG, "No watcher found on connection.");
127 // to keep backwards compatibility do not update the watcher when there is no
133 watcher.onInstanceChanged(mInstance);
135 Log.e(TAG, "Error delivering hardware interface to watcher.", e);
  /packages/apps/UnifiedEmail/src/com/android/mail/ui/
AccountController.java 99 void setFolderWatcher(FolderWatcher watcher);
  /external/apache-http/src/org/apache/http/conn/
EofSensorInputStream.java 47 * on EOF. That decision is left to the {@link EofSensorWatcher watcher}.
93 /** The watcher to be notified, if any. */
99 * If no watcher is passed, the underlying stream will simply be
101 * Otherwise, the watcher decides whether the underlying stream
105 * @param watcher the watcher for events, or <code>null</code> for
109 final EofSensorWatcher watcher) {
117 eofWatcher = watcher;
223 * Detects EOF and notifies the watcher.
228 * If EOF is detected, the watcher will be notified and this strea
    [all...]
  /external/owasp/sanitizer/src/tests/org/owasp/html/
CssFuzzerTest.java 59 final class Watcher implements Runnable {
87 Watcher watcher = new Watcher(); local
106 synchronized (watcher) {
107 watcher.input = randomCss;
108 watcher.started = System.nanoTime();
111 watcherThread = new Thread(watcher);
168 synchronized (watcher) {
169 watcher.input = null
    [all...]
  /external/robolectric/v1/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/webrtc/talk/media/devices/
devicemanager.h 189 void set_watcher(DeviceWatcher* watcher) { watcher_.reset(watcher); }
190 DeviceWatcher* watcher() { return watcher_.get(); } function in class:cricket::DeviceManager
  /system/webservd/webservd/
protocol_handler.cc 305 // A file descriptor watcher class that oversees I/O operation notification
307 class ProtocolHandler::Watcher final : public base::MessageLoopForIO::Watcher {
309 Watcher(ProtocolHandler* handler, int fd) : fd_{fd}, handler_{handler} {}
331 // Overrides from base::MessageLoopForIO::Watcher.
352 DISALLOW_COPY_AND_ASSIGN(Watcher);
383 for (auto& watcher : watchers_) {
384 int fd = watcher->GetFileDescriptor();
386 watcher->Watch(FD_ISSET(fd, &rs), FD_ISSET(fd, &ws));
390 watcher.reset()
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/plat-mac/
pimp.py 124 watcher=None):
127 self._watcher = watcher
189 watcher=None):
195 self._watcher = watcher
295 self.watcher = None
297 def setWatcher(self, watcher):
298 self.watcher = watcher
683 watcher=self._db.preferences.watcher)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
pimp.py 124 watcher=None):
127 self._watcher = watcher
189 watcher=None):
195 self._watcher = watcher
295 self.watcher = None
297 def setWatcher(self, watcher):
298 self.watcher = watcher
683 watcher=self._db.preferences.watcher)
    [all...]
  /frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
UiDevice.java 518 * @param watcher {@link UiWatcher}
521 public void registerWatcher(String name, UiWatcher watcher) {
522 Tracer.trace(name, watcher);
524 throw new IllegalStateException("Cannot register new watcher from within another");
526 mWatchers.put(name, watcher);
539 throw new IllegalStateException("Cannot remove a watcher from within another");
556 UiWatcher watcher = mWatchers.get(watcherName); local
557 if (watcher != null) {
560 if (watcher.checkForCondition()) {
564 Log.e(LOG_TAG, "Exceuting watcher: " + watcherName, e)
    [all...]

Completed in 1060 milliseconds

1 2 3 4 5 6 7