OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:javaVm
(Results
1 - 2
of
2
) sorted by null
/libcore/luni/src/test/native/
libcore_java_lang_ThreadTest.cpp
26
static
JavaVM
*
javaVm
= nullptr;
43
if (
javaVm
->AttachCurrentThread(&env, &args) != JNI_OK) {
73
if (
javaVm
->DetachCurrentThread() != JNI_OK) {
133
extern "C" int JNI_OnLoad(
JavaVM
* vm, void*) {
134
javaVm
= vm;
/frameworks/native/services/sensorservice/hidl/
SensorManager.cpp
48
SensorManager::SensorManager(
JavaVM
* vm)
143
std::thread pollThread{[&stopThread = mStopThread, looper = mLooper,
javaVm
= mJavaVm] {
155
// Attach the thread to
JavaVM
so that pollAll do not crash if the thread
163
if (
javaVm
->AttachCurrentThread(&env, &args) != JNI_OK) {
184
if (
javaVm
->DetachCurrentThread() != JNI_OK) {
Completed in 643 milliseconds