Home
last modified time | relevance | path

Searched refs:jni_thread (Results 1 – 1 of 1) sorted by relevance

/system/bt/btif/src/
Dbtif_core.cc131 static MessageLoopThread jni_thread("bt_jni_thread"); variable
225 if (!jni_thread.DoInThread(from_here, std::move(task))) { in do_in_jni_thread()
237 return jni_thread.GetThreadId() == PlatformThread::CurrentId(); in is_on_jni_thread()
240 base::MessageLoop* get_jni_message_loop() { return jni_thread.message_loop(); } in get_jni_message_loop()
328 jni_thread.StartUp(); in btif_init_bluetooth()
329 jni_thread.DoInThread(FROM_HERE, base::Bind(btif_jni_associate)); in btif_init_bluetooth()
471 jni_thread.DoInThread(FROM_HERE, base::BindOnce(btif_jni_disassociate)); in btif_cleanup_bluetooth()
473 jni_thread.ShutDown(); in btif_cleanup_bluetooth()