Lines Matching refs:mPrebuiltGraphInstance
42 mPrebuiltGraphInstance->mFn##name = \
43 dlsym(mPrebuiltGraphInstance->mHandle, func_name.c_str()); \
44 if (mPrebuiltGraphInstance->mFn##name == nullptr) { \
51 LocalPrebuiltGraph* LocalPrebuiltGraph::mPrebuiltGraphInstance = nullptr; member in android::automotive::computepipe::graph::LocalPrebuiltGraph
182 if (mPrebuiltGraphInstance == nullptr) { in GetPrebuiltGraphFromLibrary()
183 mPrebuiltGraphInstance = new LocalPrebuiltGraph(); in GetPrebuiltGraphFromLibrary()
185 if (mPrebuiltGraphInstance->mGraphState.load() != PrebuiltGraphState::UNINITIALIZED) { in GetPrebuiltGraphFromLibrary()
186 return mPrebuiltGraphInstance; in GetPrebuiltGraphFromLibrary()
188 mPrebuiltGraphInstance->mHandle = dlopen(prebuilt_library.c_str(), RTLD_NOW); in GetPrebuiltGraphFromLibrary()
190 if (mPrebuiltGraphInstance->mHandle) { in GetPrebuiltGraphFromLibrary()
195 (const unsigned char* (*)())dlsym(mPrebuiltGraphInstance->mHandle, in GetPrebuiltGraphFromLibrary()
198 mPrebuiltGraphInstance->mGraphVersion = in GetPrebuiltGraphFromLibrary()
207 size_t*))dlsym(mPrebuiltGraphInstance->mHandle, in GetPrebuiltGraphFromLibrary()
216 initialized &= mPrebuiltGraphInstance->mGraphConfig.ParseFromString( in GetPrebuiltGraphFromLibrary()
248 mPrebuiltGraphInstance->mGraphState.store(PrebuiltGraphState::STOPPED); in GetPrebuiltGraphFromLibrary()
249 mPrebuiltGraphInstance->mEngineInterface = engineInterface; in GetPrebuiltGraphFromLibrary()
253 return mPrebuiltGraphInstance; in GetPrebuiltGraphFromLibrary()