Loading services/sensorservice/aidl/SensorManager.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -197,6 +197,11 @@ ndk::ScopedAStatus SensorManagerAidl::getSensorList(std::vector<SensorInfo>* _ai sp<Looper> SensorManagerAidl::getLooper() { std::lock_guard<std::mutex> lock(mThreadMutex); if (!mJavaVm) { LOG(ERROR) << "No Java VM. This must be running in a test or fuzzer."; return mLooper; } if (!mPollThread.joinable()) { // if thread not initialized, start thread mStopThread = false; Loading Loading
services/sensorservice/aidl/SensorManager.cpp +5 −0 Original line number Diff line number Diff line Loading @@ -197,6 +197,11 @@ ndk::ScopedAStatus SensorManagerAidl::getSensorList(std::vector<SensorInfo>* _ai sp<Looper> SensorManagerAidl::getLooper() { std::lock_guard<std::mutex> lock(mThreadMutex); if (!mJavaVm) { LOG(ERROR) << "No Java VM. This must be running in a test or fuzzer."; return mLooper; } if (!mPollThread.joinable()) { // if thread not initialized, start thread mStopThread = false; Loading