Searched refs:class_loader (Results 1 - 2 of 2) sorted by relevance

/system/core/libnativeloader/include/nativeloader/
H A Dnative_loader.h35 jobject class_loader,
45 jobject class_loader,
54 // Look up linker namespace by class_loader. Returns nullptr if
55 // there is no namespace associated with the class_loader.
57 android_namespace_t* FindNamespaceByClassLoader(JNIEnv* env, jobject class_loader);
/system/core/libnativeloader/
H A Dnative_loader.cpp119 jobject class_loader,
152 bool found = FindNamespaceByClassLoader(env, class_loader, nullptr);
167 bool found_parent_namespace = FindParentNamespaceByClassLoader(env, class_loader, &parent_ns);
276 namespaces_.push_back(std::make_pair(env->NewWeakGlobalRef(class_loader), native_loader_ns));
282 bool FindNamespaceByClassLoader(JNIEnv* env, jobject class_loader, NativeLoaderNamespace* ns) { argument
285 return env->IsSameObject(value.first, class_loader);
439 jobject GetParentClassLoader(JNIEnv* env, jobject class_loader) { argument
445 return env->CallObjectMethod(class_loader, get_parent);
449 jobject class_loader,
451 jobject parent_class_loader = GetParentClassLoader(env, class_loader);
117 Create(JNIEnv* env, uint32_t target_sdk_version, jobject class_loader, bool is_shared, bool is_for_vendor, jstring java_library_path, jstring java_permitted_path, NativeLoaderNamespace* ns, std::string* error_msg) argument
448 FindParentNamespaceByClassLoader(JNIEnv* env, jobject class_loader, NativeLoaderNamespace* ns) argument
492 CreateClassLoaderNamespace(JNIEnv* env, int32_t target_sdk_version, jobject class_loader, bool is_shared, bool is_for_vendor, jstring library_path, jstring permitted_path) argument
523 OpenNativeLibrary(JNIEnv* env, int32_t target_sdk_version, const char* path, jobject class_loader, jstring library_path, bool* needs_native_bridge, std::string* error_msg) argument
604 FindNamespaceByClassLoader(JNIEnv* env, jobject class_loader) argument
[all...]

Completed in 289 milliseconds