Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/btif/src/
Dbtif_jni_task.cc39 static bluetooth::common::MessageLoopThread jni_thread("bt_jni_thread"); variable
41 void jni_thread_startup() { jni_thread.StartUp(); } in jni_thread_startup()
43 void jni_thread_shutdown() { jni_thread.ShutDown(); } in jni_thread_shutdown()
107 if (!jni_thread.DoInThread(FROM_HERE, std::move(task))) { in do_in_jni_thread()
115 return jni_thread.GetThreadId() == PlatformThread::CurrentId(); in is_on_jni_thread()
129 bluetooth::common::PostableContext* get_jni() { return jni_thread.Postable(); } in get_jni()
/packages/modules/Bluetooth/system/btif/test/
Dbtif_rc_test.cc112 static bluetooth::common::MessageLoopThread jni_thread("bt_jni_thread"); variable
114 if (!jni_thread.DoInThread(FROM_HERE, std::move(task))) { in do_in_jni_thread()
236 jni_thread.StartUp(); in SetUp()
248 jni_thread.ShutDown(); in TearDown()
283 jni_thread.StartUp(); in SetUp()
296 jni_thread.ShutDown(); in TearDown()
332 jni_thread.StartUp(); in SetUp()
348 jni_thread.ShutDown(); in TearDown()
438 jni_thread.StartUp(); in SetUp()
446 jni_thread.ShutDown(); in TearDown()
/packages/modules/Bluetooth/system/test/
DAndroid.bp517 "common/jni_thread.cc",