/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...] |
/libcore/ojluni/src/main/java/java/nio/file/ |
Watchable.java | 66 * @param watcher 89 WatchKey register(WatchService watcher, 101 * watchable.{@link #register(WatchService,WatchEvent.Kind[],WatchEvent.Modifier[]) register}(watcher, events, new WatchEvent.Modifier[0]); 104 * @param watcher 125 WatchKey register(WatchService watcher, WatchEvent.Kind<?>... events)
|
Path.java | 634 * @param watcher 661 WatchKey register(WatchService watcher, 672 * watchable.{@link #register(WatchService,WatchEvent.Kind[],WatchEvent.Modifier[]) register}(watcher, events, new WatchEvent.Modifier[0]); 680 * WatchService watcher = ... 682 * WatchKey key = dir.register(watcher, ENTRY_CREATE, ENTRY_DELETE, ENTRY_MODIFY); 684 * @param watcher 709 WatchKey register(WatchService watcher [all...] |
/external/libmojo/mojo/edk/system/ |
request_context.cc | 49 for (const scoped_refptr<Watcher>& watcher : 51 watcher->Cancel(); 57 // watcher lock. 59 watch.watcher->MaybeInvokeCallback(watch.result, watch.state, flags); 75 scoped_refptr<Watcher> watcher, 80 WatchNotifyFinalizer(watcher, result, state)); 83 void RequestContext::AddWatchCancelFinalizer(scoped_refptr<Watcher> watcher) { [all...] |
request_context.h | 12 #include "mojo/edk/system/watcher.h" 52 // the Watcher hasn't been cancelled by the time this RequestContext is 55 void AddWatchNotifyFinalizer(scoped_refptr<Watcher> watcher, 60 void AddWatchCancelFinalizer(scoped_refptr<Watcher> watcher); 67 WatchNotifyFinalizer(scoped_refptr<Watcher> watcher, 73 scoped_refptr<Watcher> watcher; member in struct:mojo::edk::RequestContext::WatchNotifyFinalizer [all...] |
watcher_set.cc | 28 const Watcher::WatchCallback& callback, 38 scoped_refptr<Watcher> watcher(new Watcher(signals, callback)); 39 watchers_.insert(std::make_pair(context, watcher)); 41 watcher->NotifyForStateChange(current_state);
|
/frameworks/support/wear/src/android/support/wear/widget/drawer/ |
FlingWatcherFactory.java | 71 FlingWatcher watcher = mWatchers.get(view); local 72 if (watcher == null) { 73 watcher = createFor(view); 74 if (watcher != null) { 75 mWatchers.put(view, watcher); 79 return watcher;
|
/art/test/154-gc-loop/src/ |
Main.java | 22 watcher = new WeakReference<GcWatcher>(new GcWatcher()); 26 static WeakReference<GcWatcher> watcher = new WeakReference<GcWatcher>(new GcWatcher()); field in class:Main
|
/external/libmojo/mojo/public/cpp/system/ |
watcher.cc | 5 #include "mojo/public/cpp/system/watcher.h" 15 class Watcher::MessageLoopObserver 18 explicit MessageLoopObserver(Watcher* watcher) : watcher_(watcher) { 44 Watcher* watcher_; 49 Watcher::Watcher(scoped_refptr<base::SingleThreadTaskRunner> runner) 58 Watcher::~Watcher() { 135 Watcher* watcher = reinterpret_cast<Watcher*>(context); local [all...] |
/libcore/ojluni/src/main/java/sun/nio/fs/ |
AbstractWatchKey.java | 53 // reference to watcher 54 private final AbstractWatchService watcher; field in class:AbstractWatchKey 69 protected AbstractWatchKey(Path dir, AbstractWatchService watcher) { 70 this.watcher = watcher; 77 final AbstractWatchService watcher() { method in class:AbstractWatchKey 78 return watcher; 96 watcher.enqueueKey(this); 180 watcher.enqueueKey(this);
|
AbstractPath.java | 100 public final WatchKey register(WatchService watcher, 104 return register(watcher, events, new WatchEvent.Modifier[0]);
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
PhoneNumberFormatter.java | 52 protected void onPostExecute(PhoneNumberFormattingTextWatcher watcher) { 53 if (watcher == null || isCancelled()) { 58 mTextView.addTextChangedListener(watcher); 62 watcher.afterTextChanged(mTextView.getEditableText());
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
TestingUtils.java | 45 View watcher = launcher.getLayoutInflater().inflate(id, null); local 46 watcher.setAlpha(0.5f); 47 ((FrameLayout) launcher.findViewById(R.id.launcher)).addView(watcher, 54 watcher.setVisibility(show ? View.VISIBLE : View.GONE); 55 launcher.mWeightWatcher = watcher;
|
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/ |
SpannableBuilder.java | 128 * If the span being added is instance of DynamicLayout$ChangeWatcher, wrap the watcher in 129 * another internal watcher that will prevent EmojiSpan events to be fired to DynamicLayout. Set 167 final WatcherWrapper watcher; local 169 watcher = getWatcherFor(what); 170 if (watcher != null) { 171 what = watcher; 174 watcher = null; 179 if (watcher != null) { 180 mWatchers.remove(watcher); 190 final WatcherWrapper watcher = getWatcherFor(tag) local 204 final WatcherWrapper watcher = getWatcherFor(tag); local 218 final WatcherWrapper watcher = getWatcherFor(tag); local 246 WatcherWrapper watcher = mWatchers.get(i); local [all...] |
/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, 219 FilePathWatcher* watcher, 226 FROM_HERE, base::Bind(SetupWatchCallback, target, watcher, delegate, 234 FilePathWatcher watcher; local 236 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)); 247 FilePathWatcher watcher; local 249 ASSERT_TRUE(SetupWatch(test_file(), &watcher, delegate.get(), false)) 262 FilePathWatcher watcher; local 275 FilePathWatcher watcher; local 301 FilePathWatcher* watcher() const { return watcher_.get(); } function in class:base::__anon22692::Deleter 312 FilePathWatcher* watcher = new FilePathWatcher; local 330 FilePathWatcher* watcher = new FilePathWatcher; local 353 FilePathWatcher watcher; local 387 FilePathWatcher watcher; local 414 FilePathWatcher watcher; local 430 FilePathWatcher watcher; local 445 FilePathWatcher watcher; local 505 FilePathWatcher watcher; local 658 FilePathWatcher watcher; local 672 FilePathWatcher watcher; local 690 FilePathWatcher watcher; local 705 FilePathWatcher watcher; local 720 FilePathWatcher watcher; local 736 FilePathWatcher watcher; local 750 FilePathWatcher watcher; local 779 FilePathWatcher watcher; local 809 FilePathWatcher watcher; local 890 FilePathWatcher watcher; local [all...] |
/external/libmojo/mojo/message_pump/ |
handle_watcher_perftest.cc | 98 HandleWatcher watcher; local 102 watcher.Start(pipe.handle0.get(), MOJO_HANDLE_SIGNAL_READABLE, 104 watcher.Stop(); 114 HandleWatcher watcher; member in struct:mojo::common::test::TestData 130 test_data->watcher.Start( 136 test_data->watcher.Stop(); 145 HandleWatcher watcher; local 151 watcher.Start(pipe.handle0.get(), MOJO_HANDLE_SIGNAL_READABLE, 156 watcher.Stop(); 170 HandleWatcher watcher; local 175 HandleWatcher watcher; member in struct:mojo::common::test::TestData [all...] |
handle_watcher_unittest.cc | 46 HandleWatcher* watcher, 49 delete watcher; 93 void Start(HandleWatcher* watcher, const MessagePipeHandle& handle) { 94 StartWithCallback(watcher, handle, GetCallback()); 97 void StartWithCallback(HandleWatcher* watcher, 100 watcher->Start(handle, MOJO_HANDLE_SIGNAL_READABLE, 130 // ensures that the handle watcher thread (if there is one) is shut down, 142 // it is installed before the handle watcher thread starts. 165 HandleWatcher watcher; local 166 callback_helper.Start(&watcher, test_pipe.handle0.get()) 299 HandleWatcher watcher; local 357 HandleWatcher* watcher = new HandleWatcher(); local 373 HandleWatcher watcher; local 411 HandleWatcher watcher; member in struct:mojo::common::test::TestData 422 HandleWatcher watcher; local [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));
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
LeakTest.java | 80 final AnimationWatcher watcher = new AnimationWatcher(); local 87 getActivity().getWindow().getDecorView().postOnAnimation(watcher); 91 watcher.waitForAnimationThread(); 98 getActivity().getWindow().getDecorView().postOnAnimation(watcher); 102 watcher.waitForAnimationThread();
|
/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/libmojo/third_party/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 | 26 class Watcher { 34 virtual ~Watcher() {} 64 void set_watcher(Watcher* watcher) { watcher_ = watcher; } 71 Watcher* watcher_; 104 Watcher *delegate);
|
/frameworks/base/core/java/com/android/internal/os/ |
BinderInternal.java | 57 public static void addGcWatcher(Runnable watcher) { 59 sGcWatchers.add(watcher);
|
/frameworks/native/services/nativeperms/ |
nativeperms.cpp | 81 // Initialize a binder watcher. 82 brillo::BinderWatcher watcher(&messageLoop); 83 watcher.Init();
|