OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:FakeMessageLoop
(Results
1 - 2
of
2
) sorted by null
/external/libbrillo/brillo/message_loops/
fake_message_loop.cc
12
FakeMessageLoop
::
FakeMessageLoop
(base::SimpleTestClock* clock)
16
MessageLoop::TaskId
FakeMessageLoop
::PostDelayedTask(
26
//
FakeMessageLoop
is limited to only 2^64 tasks. That should be enough.
36
MessageLoop::TaskId
FakeMessageLoop
::WatchFileDescriptor(
43
//
FakeMessageLoop
is limited to only 2^64 tasks. That should be enough.
50
bool
FakeMessageLoop
::CancelTask(TaskId task_id) {
58
bool
FakeMessageLoop
::RunOnce(bool may_block) {
123
void
FakeMessageLoop
::SetFileDescriptorReadiness(int fd,
132
bool
FakeMessageLoop
::PendingTasks()
[
all
...]
fake_message_loop.h
24
// The
FakeMessageLoop
implements a message loop that doesn't block or wait for
28
// To keep a consistent notion of time for other classes,
FakeMessageLoop
32
class BRILLO_EXPORT
FakeMessageLoop
: public MessageLoop {
34
// Create a
FakeMessageLoop
optionally using a SimpleTestClock to update the
36
explicit
FakeMessageLoop
(base::SimpleTestClock* clock);
37
~
FakeMessageLoop
() override = default;
52
//
FakeMessageLoop
methods:
54
// Pretend, for the purpose of the
FakeMessageLoop
watching for file
94
DISALLOW_COPY_AND_ASSIGN(
FakeMessageLoop
);
Completed in 749 milliseconds