OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Watcher
(Results
1 - 12
of
12
) sorted by null
/external/libmojo/mojo/edk/system/
watcher.cc
5
#include "mojo/edk/system/
watcher
.h"
13
Watcher
::
Watcher
(MojoHandleSignals signals, const WatchCallback& callback)
17
void
Watcher
::MaybeInvokeCallback(MojoResult result,
27
void
Watcher
::NotifyForStateChange(const HandleSignalsState& signals_state) {
39
void
Watcher
::NotifyClosed() {
45
void
Watcher
::Cancel() {
50
Watcher
::~
Watcher
() {}
watcher.h
22
// An event may occur at any time which should trigger a
Watcher
to run its
28
// Therefore a
Watcher
needs to have some associated thread-safe state to track
30
class
Watcher
: public base::RefCountedThreadSafe<
Watcher
> {
36
// Constructs a new
Watcher
which watches for |signals| to be satisfied on a
39
Watcher
(MojoHandleSignals signals, const WatchCallback& callback);
41
// Runs the
Watcher
's callback with the given arguments if it hasn't been
47
// Notifies the
Watcher
of a state change. This may result in the
Watcher
52
// Notifies the
Watcher
of handle closure. This always results in the Watche
[
all
...]
/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
...]
watcher.h
22
// A
Watcher
watches a single Mojo handle for signal state changes.
25
class
Watcher
{
40
//
watcher
for some unspecified reason, e.g., the watching thread may
45
explicit
Watcher
(scoped_refptr<base::SingleThreadTaskRunner> runner =
48
// NOTE: This destructor automatically calls |Cancel()| if the
Watcher
is
50
~
Watcher
();
52
// Indicates if the
Watcher
is currently watching a handle.
55
// Starts watching |handle|. A
Watcher
may only watch one handle at a time,
71
// Destroying the
Watcher
implicitly calls |Cancel()|.
77
// passed to |Start()| will never be called again for this
Watcher
[
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);
message_loop.h
611
MessagePumpLibevent::
Watcher
* delegate);
655
typedef MessagePumpIOSForIO::
Watcher
Watcher
;
665
typedef MessagePumpLibevent::
Watcher
Watcher
;
687
Watcher
* delegate);
/frameworks/base/core/tests/coretests/src/android/text/
SpannedTest.java
138
s.setSpan(new
Watcher
(2), 0, s.length(),
141
s.setSpan(new
Watcher
(4), 0, s.length(),
144
s.setSpan(new
Watcher
(1), 0, s.length(),
147
s.setSpan(new
Watcher
(3), 0, s.length(),
164
private class
Watcher
implements SpanWatcher, TextWatcher {
167
public
Watcher
(int sequence) {
/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
...]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/
ExportDialog.java
72
private class
Watcher
implements TextWatcher {
74
Watcher
(EditText text) {
117
mWidthText.addTextChangedListener(new
Watcher
(mWidthText));
118
mHeightText.addTextChangedListener(new
Watcher
(mHeightText));
/prebuilts/tools/common/m2/repository/io/netty/netty-common/4.1.0.CR3/
netty-common-4.1.0.CR3.jar
/prebuilts/tools/common/m2/repository/io/netty/netty-common/4.1.3.Final/
netty-common-4.1.3.Final.jar
/prebuilts/tools/common/m2/repository/io/netty/netty-common/4.1.6.Final/
netty-common-4.1.6.Final.jar
Completed in 1539 milliseconds