Lines Matching full:base
5 #include "base/android/java_handler_thread.h"
9 #include "base/android/jni_android.h"
10 #include "base/android/jni_string.h"
11 #include "base/message_loop/message_loop.h"
12 #include "base/synchronization/waitable_event.h"
13 #include "base/threading/thread_restrictions.h"
16 namespace base {
21 JNIEnv* env = base::android::AttachCurrentThread();
34 JNIEnv* env = base::android::AttachCurrentThread();
35 base::WaitableEvent initialize_event(
44 base::ThreadRestrictions::ScopedAllowWait wait_allowed;
49 JNIEnv* env = base::android::AttachCurrentThread();
50 base::WaitableEvent shutdown_event(WaitableEvent::ResetPolicy::AUTOMATIC,
57 base::ThreadRestrictions::ScopedAllowWait wait_allowed;
65 message_loop_.reset(new base::MessageLoop(base::MessageLoop::TYPE_JAVA));
67 reinterpret_cast<base::WaitableEvent*>(event)->Signal();
74 reinterpret_cast<base::WaitableEvent*>(event)->Signal();
83 } // namespace base