HomeSort by relevance Sort by last modified time
    Searched refs:RunLoop (Results 1 - 25 of 179) sorted by null

1 2 3 4 5 6 7 8

  /external/libchrome/base/
run_loop.h 33 // Helper class to run the RunLoop::Delegate associated with the current thread.
34 // A RunLoop::Delegate must have been bound to this thread (ref.
35 // RunLoop::RegisterDelegateForCurrentThread()) prior to using any of RunLoop's
37 // IsRunning/IsNestedOnCurrentThread()). RunLoop::Run can only be called once
38 // per RunLoop lifetime. Create a RunLoop on the stack and call Run/Quit to run
39 // a nested RunLoop but please do not use nested loops in production code!
40 class BASE_EXPORT RunLoop {
42 // The type of RunLoop: a kDefault RunLoop at the top-level (non-nested) wil
    [all...]
run_loop.cc 20 LazyInstance<ThreadLocalPointer<RunLoop::Delegate>>::Leaky tls_delegate =
36 RunLoop::Delegate::Delegate() {
42 RunLoop::Delegate::~Delegate() {
44 // A RunLoop::Delegate may be destroyed before it is bound, if so it may still
51 bool RunLoop::Delegate::ShouldQuitWhenIdle() {
56 void RunLoop::RegisterDelegateForCurrentThread(Delegate* delegate) {
61 // There can only be one RunLoop::Delegate per thread.
63 << "Error: Multiple RunLoop::Delegates registered on the same thread.\n\n"
70 RunLoop::RunLoop(Type type
    [all...]
  /external/libchrome/mojo/public/java/system/src/org/chromium/mojo/system/
RunLoop.java 12 public interface RunLoop extends Closeable {
  /external/libchrome/base/task/sequence_manager/
thread_controller.h 76 virtual void AddNestingObserver(RunLoop::NestingObserver* observer) = 0;
78 virtual void RemoveNestingObserver(RunLoop::NestingObserver* observer) = 0;
thread_controller_with_message_pump_impl.h 25 public RunLoop::Delegate {
41 void AddNestingObserver(RunLoop::NestingObserver* observer) override;
42 void RemoveNestingObserver(RunLoop::NestingObserver* observer) override;
53 // RunLoop::Delegate implementation.
63 RunLoop::NestingObserver* nesting_observer = nullptr; // Not owned.
75 // Number of RunLoop layers currently running.
thread_controller_impl.h 28 public RunLoop::NestingObserver {
46 void AddNestingObserver(RunLoop::NestingObserver* observer) override;
47 void RemoveNestingObserver(RunLoop::NestingObserver* observer) override;
49 // RunLoop::NestingObserver:
63 RunLoop::NestingObserver* nesting_observer_ = nullptr;
  /external/libchrome/base/task/sequence_manager/test/
lazy_thread_controller_for_test.cc 32 RunLoop::AddNestingObserverOnCurrentThread(this);
46 RunLoop::NestingObserver* observer) {
58 // RunLoop.RunUntilIdle();
76 RunLoop::AddNestingObserverOnCurrentThread(this);
80 RunLoop::NestingObserver* observer) {
89 RunLoop::RemoveNestingObserverOnCurrentThread(this);
lazy_thread_controller_for_test.h 29 void AddNestingObserver(RunLoop::NestingObserver* observer) override;
30 void RemoveNestingObserver(RunLoop::NestingObserver* observer) override;
  /external/libchrome/base/message_loop/
message_loop_io_posix_unittest.cc 62 RunLoop::QuitCurrentWhenIdleDeprecated();
67 RunLoop::QuitCurrentWhenIdleDeprecated();
105 // |read_closure_| below quits the RunLoop.
177 RunLoop().Run();
192 RunLoop().RunUntilIdle();
200 RunLoop().Run();
223 RunLoop().Run();
241 RunLoop().RunUntilIdle();
247 RunLoop().RunUntilIdle();
251 RunLoop* run_loop)
    [all...]
  /external/libchrome/base/task_scheduler/
service_thread.h 41 void Run(RunLoop* run_loop) override;