OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:asyncwaiter
(Results
1 - 12
of
12
) sorted by null
/external/libmojo/mojo/public/java/system/src/org/chromium/mojo/system/
AsyncWaiter.java
10
* A class which implements the {@link
AsyncWaiter
} allows asynchronously waiting on a background
13
public interface
AsyncWaiter
{
23
* Must be called from the same thread as {@link
AsyncWaiter
#asyncWait} was called from.
29
* Callback passed to {@link
AsyncWaiter
#asyncWait}.
Core.java
308
* Returns a default implementation of {@link
AsyncWaiter
}.
310
public
AsyncWaiter
getDefaultAsyncWaiter();
/external/libmojo/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
Connector.java
7
import org.chromium.mojo.system.
AsyncWaiter
;
40
private final
AsyncWaiter
mAsyncWaiter;
50
private
AsyncWaiter
.Cancellable mCancellable;
59
* {@link
AsyncWaiter
} from the {@link Core} implementation of |messagePipeHandle|.
66
* Create a new connector over a |messagePipeHandle| using the given {@link
AsyncWaiter
} to get
69
public Connector(MessagePipeHandle messagePipeHandle,
AsyncWaiter
asyncWaiter
) {
72
mAsyncWaiter =
asyncWaiter
;
143
private class AsyncWaiterCallback implements
AsyncWaiter
.Callback {
146
* @see org.chromium.mojo.system.
AsyncWaiter
.Callback#onResult(int
[
all
...]
RouterImpl.java
9
import org.chromium.mojo.system.
AsyncWaiter
;
112
* Constructor that will use the default {@link
AsyncWaiter
}.
124
* @param
asyncWaiter
the {@link
AsyncWaiter
} to use to get notification of new messages on the
127
public RouterImpl(MessagePipeHandle messagePipeHandle,
AsyncWaiter
asyncWaiter
) {
128
mConnector = new Connector(messagePipeHandle,
asyncWaiter
);
ExecutorFactory.java
7
import org.chromium.mojo.system.
AsyncWaiter
;
8
import org.chromium.mojo.system.
AsyncWaiter
.Callback;
61
* The {@link
AsyncWaiter
} to get notified of new message availability on |mReadHandle|.
63
private final
AsyncWaiter
mWaiter;
BindingsHelper.java
7
import org.chromium.mojo.system.
AsyncWaiter
;
190
* Returns an {@link
AsyncWaiter
} to use with the given handle, or |null| if none if available.
192
static
AsyncWaiter
getDefaultAsyncWaiterForHandle(Handle handle) {
/external/libchrome/base/synchronization/
waitable_event_watcher_posix.cc
19
// The basic design is that we add an
AsyncWaiter
to the wait-list of the event.
20
// That
AsyncWaiter
has a pointer to MessageLoop, and a Task to be posted to it.
58
// fired. An
AsyncWaiter
may only be in a single wait-list.
60
class
AsyncWaiter
: public WaitableEvent::Waiter {
62
AsyncWaiter
(MessageLoop* message_loop,
79
// We can always return true because an
AsyncWaiter
is never in two
170
waiter_ = new
AsyncWaiter
(current_ml, internal_callback_, cancel_flag_.get());
213
// pointer values then it's possible that the
AsyncWaiter
could have been
216
//
AsyncWaiter
and remove it.
waitable_event_watcher.h
22
class
AsyncWaiter
;
103
AsyncWaiter
* waiter_;
waitable_event_posix.cc
106
// Unlike
AsyncWaiter
objects, SyncWaiter objects are stack-allocated on
/external/libmojo/mojo/android/system/src/org/chromium/mojo/system/impl/
CoreImpl.java
10
import org.chromium.mojo.system.
AsyncWaiter
;
38
public class CoreImpl implements Core,
AsyncWaiter
{
222
public
AsyncWaiter
getDefaultAsyncWaiter() {
255
* @see
AsyncWaiter
#asyncWait(Handle, Core.HandleSignals, long, Callback)
501
* Implementation of {@link org.chromium.mojo.system.
AsyncWaiter
.Cancellable}.
503
private class AsyncWaiterCancellableImpl implements
AsyncWaiter
.Cancellable {
514
* @see org.chromium.mojo.system.
AsyncWaiter
.Cancellable#cancel()
540
int mojoResult,
AsyncWaiter
.Callback callback, AsyncWaiterCancellableImpl cancellable) {
633
int mojoHandle, int signals, long deadline,
AsyncWaiter
.Callback callback);
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/system/impl/
CoreImplTest.java
10
import org.chromium.mojo.system.
AsyncWaiter
;
11
import org.chromium.mojo.system.
AsyncWaiter
.Callback;
12
import org.chromium.mojo.system.
AsyncWaiter
.Cancellable;
623
* Testing core {@link
AsyncWaiter
} implementation.
649
* Testing core {@link
AsyncWaiter
} implementation.
679
* Testing core {@link
AsyncWaiter
} implementation.
710
* Testing core {@link
AsyncWaiter
} implementation.
738
* Testing core {@link
AsyncWaiter
} implementation.
760
* Testing core {@link
AsyncWaiter
} implementation.
785
* Testing core {@link
AsyncWaiter
} implementation
[
all
...]
/external/libmojo/mojo/public/java/
BUILD.gn
9
"system/src/org/chromium/mojo/system/
AsyncWaiter
.java",
Completed in 1090 milliseconds