Lines Matching refs:ns
89 android_namespace_t* ns = FindNamespaceByClassLoader(env, class_loader); in Create() local
91 LOG_ALWAYS_FATAL_IF(ns != nullptr, in Create()
101 ns = android_create_namespace("classloader-namespace", in Create()
108 if (ns != nullptr) { in Create()
109 namespaces_.push_back(std::make_pair(env->NewWeakGlobalRef(class_loader), ns)); in Create()
112 return ns; in Create()
213 android_namespace_t* ns = FindNamespaceByClassLoader(env, parent_class_loader); in FindParentNamespaceByClassLoader() local
214 if (ns != nullptr) { in FindParentNamespaceByClassLoader()
215 return ns; in FindParentNamespaceByClassLoader()
258 android_namespace_t* ns = g_namespaces->Create(env, in CreateClassLoaderNamespace() local
263 if (ns == nullptr) { in CreateClassLoaderNamespace()
285 android_namespace_t* ns = g_namespaces->FindNamespaceByClassLoader(env, class_loader); in OpenNativeLibrary() local
287 if (ns == nullptr) { in OpenNativeLibrary()
290 ns = g_namespaces->Create(env, class_loader, false, library_path, nullptr); in OpenNativeLibrary()
291 if (ns == nullptr) { in OpenNativeLibrary()
298 extinfo.library_namespace = ns; in OpenNativeLibrary()