/external/libchrome/mojo/public/cpp/system/tests/ |
D | simple_watcher_unittest.cc | 29 SimpleWatcher::ReadyCallback OnReady(Handler f) { in OnReady() 33 SimpleWatcher::ReadyCallback NotReached() { in NotReached() 54 SimpleWatcher b_watcher(FROM_HERE, SimpleWatcher::ArmingPolicy::AUTOMATIC, in TEST_F() 78 SimpleWatcher b_watcher(FROM_HERE, SimpleWatcher::ArmingPolicy::MANUAL, in TEST_F() 90 SimpleWatcher watcher(FROM_HERE, SimpleWatcher::ArmingPolicy::AUTOMATIC); in TEST_F() 125 SimpleWatcher b_watcher(FROM_HERE, SimpleWatcher::ArmingPolicy::AUTOMATIC, in TEST_F() 138 SimpleWatcher b_watcher(FROM_HERE, SimpleWatcher::ArmingPolicy::AUTOMATIC, in TEST_F() 161 SimpleWatcher b_watcher(FROM_HERE, SimpleWatcher::ArmingPolicy::AUTOMATIC, in TEST_F() 184 SimpleWatcher b_watcher(FROM_HERE, SimpleWatcher::ArmingPolicy::AUTOMATIC, in TEST_F() 206 SimpleWatcher b_watcher(FROM_HERE, SimpleWatcher::ArmingPolicy::AUTOMATIC, in TEST_F() [all …]
|
D | scope_to_message_pipe_unittest.cc | 54 SimpleWatcher watcher(FROM_HERE, SimpleWatcher::ArmingPolicy::AUTOMATIC); in TEST_F()
|
D | string_data_pipe_producer_unittest.cc | 34 SimpleWatcher::ArmingPolicy::AUTOMATIC, in DataPipeReader() 72 SimpleWatcher watcher_;
|
D | file_data_pipe_producer_unittest.cc | 39 SimpleWatcher::ArmingPolicy::AUTOMATIC, in DataPipeReader() 78 SimpleWatcher watcher_;
|
/external/libchrome/mojo/public/cpp/system/ |
D | simple_watcher.cc | 21 class SimpleWatcher::Context : public base::RefCountedThreadSafe<Context> { 26 base::WeakPtr<SimpleWatcher> watcher, in Create() 73 Context(base::WeakPtr<SimpleWatcher> weak_watcher, in Context() 108 FROM_HERE, base::Bind(&SimpleWatcher::OnHandleReady, weak_watcher_, in Notify() 113 const base::WeakPtr<SimpleWatcher> weak_watcher_; 123 SimpleWatcher::SimpleWatcher(const base::Location& from_here, in SimpleWatcher() function in mojo::SimpleWatcher 138 SimpleWatcher::~SimpleWatcher() { in ~SimpleWatcher() 143 bool SimpleWatcher::IsWatching() const { in IsWatching() 148 MojoResult SimpleWatcher::Watch(Handle handle, in Watch() 177 void SimpleWatcher::Cancel() { in Cancel() [all …]
|
D | simple_watcher.h | 36 class MOJO_CPP_SYSTEM_EXPORT SimpleWatcher { 89 SimpleWatcher(const base::Location& from_here, 93 ~SimpleWatcher(); 236 base::WeakPtrFactory<SimpleWatcher> weak_factory_; 238 DISALLOW_COPY_AND_ASSIGN(SimpleWatcher);
|
D | handle_signal_tracker.cc | 15 SimpleWatcher::ArmingPolicy::MANUAL, in HandleSignalTracker() 18 SimpleWatcher::ArmingPolicy::MANUAL, in HandleSignalTracker() 43 SimpleWatcher& watcher = arm_low_watcher ? low_watcher_ : high_watcher_; in Arm()
|
D | handle_signal_tracker.h | 58 SimpleWatcher high_watcher_; 62 SimpleWatcher low_watcher_;
|
D | file_data_pipe_producer.cc | 109 watcher_ = std::make_unique<SimpleWatcher>( in StartFromFileOnFileSequence() 110 FROM_HERE, SimpleWatcher::ArmingPolicy::AUTOMATIC, in StartFromFileOnFileSequence() 226 std::unique_ptr<SimpleWatcher> watcher_;
|
D | data_pipe_drainer.h | 38 mojo::SimpleWatcher handle_watcher_;
|
D | README.md | 210 The [`mojo::SimpleWatcher`](https://cs.chromium.org/chromium/src/mojo/public/cpp/system/simple_watc… 213 to watch a handle for signaling state changes. A `SimpleWatcher` is bound to a 217 `SimpleWatcher` has two possible modes of operation, selected at construction 218 time by the `mojo::SimpleWatcher::ArmingPolicy` enum: 222 Every time the notification callback is run, the `SimpleWatcher` must be 225 documentation in `SimpleWatcher`'s header. 227 * `AUTOMATIC` mode ensures that the `SimpleWatcher` always either is armed or 242 watcher_(mojo::SimpleWatcher::ArmingPolicy::AUTOMATIC) { 244 // after SimpleWatcher destruction. 264 mojo::SimpleWatcher watcher_;
|
D | string_data_pipe_producer.h | 82 SimpleWatcher watcher_;
|
D | scope_to_message_pipe.cc | 26 pipe_watcher_(FROM_HERE, SimpleWatcher::ArmingPolicy::AUTOMATIC) {} in MessagePipeScoperBase()
|
D | data_pipe_drainer.cc | 20 SimpleWatcher::ArmingPolicy::AUTOMATIC, in DataPipeDrainer()
|
D | scope_to_message_pipe.h | 31 SimpleWatcher pipe_watcher_;
|
D | string_data_pipe_producer.cc | 62 SimpleWatcher::ArmingPolicy::AUTOMATIC, in StringDataPipeProducer()
|
/external/libchrome/mojo/public/java/system/ |
D | watcher_impl.cc | 26 SimpleWatcher::ArmingPolicy::AUTOMATIC, in WatcherImpl() 68 SimpleWatcher watcher_;
|
/external/libchrome/mojo/public/cpp/bindings/lib/ |
D | connector.cc | 395 handle_watcher_.reset(new SimpleWatcher( in WaitToReadMore() 396 FROM_HERE, SimpleWatcher::ArmingPolicy::MANUAL, task_runner_)); in WaitToReadMore()
|
/external/libchrome/mojo/public/cpp/bindings/ |
D | connector.h | 235 std::unique_ptr<SimpleWatcher> handle_watcher_;
|
/external/libchrome/mojo/core/ |
D | data_pipe_unittest.cc | 1988 SimpleWatcher producer_watcher(FROM_HERE, in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1989 SimpleWatcher::ArmingPolicy::AUTOMATIC, in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1991 SimpleWatcher consumer_watcher(FROM_HERE, in DEFINE_TEST_CLIENT_TEST_WITH_PIPE() 1992 SimpleWatcher::ArmingPolicy::AUTOMATIC, in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|
D | multiprocess_message_pipe_unittest.cc | 1274 SimpleWatcher watcher(FROM_HERE, SimpleWatcher::ArmingPolicy::AUTOMATIC, in DEFINE_TEST_CLIENT_TEST_WITH_PIPE()
|