Home
last modified time | relevance | path

Searched refs:dex_path (Results 1 – 8 of 8) sorted by relevance

/art/libnativeloader/
Dlibrary_namespaces.cpp104 ApkOrigin GetApkOriginFromDexPath(const std::string& dex_path) { in GetApkOriginFromDexPath() argument
106 if (std::regex_search(dex_path, kVendorDexPathRegex)) { in GetApkOriginFromDexPath()
109 if (std::regex_search(dex_path, kProductDexPathRegex)) { in GetApkOriginFromDexPath()
112 dex_path.c_str()); in GetApkOriginFromDexPath()
180 std::string dex_path; in Create() local
189 dex_path = dex_path_chars.c_str(); in Create()
209 ApkOrigin apk_origin = GetApkOriginFromDexPath(dex_path); in Create()
367 auto apex_ns_name = FindApexNamespaceName(dex_path); in Create()
Dnative_loader_test.cpp345 std::string dex_path = "/data/app/foo/classes.dex"; member in android::nativeloader::NativeLoaderTest_Create
387 .WillOnce(Return(TO_MOCK_NAMESPACE(TO_ANDROID_NAMESPACE(dex_path.c_str())))); in SetExpectations()
440 env()->NewStringUTF(dex_path.c_str()), env()->NewStringUTF(library_path.c_str()), in RunTest()
451 EXPECT_EQ(dex_path.c_str(), reinterpret_cast<const char*>(ns)); in RunTest()
457 EXPECT_STREQ(dex_path.c_str(), in RunTest()
471 dex_path = "/system/app/foo/foo.apk"; in TEST_P()
481 dex_path = "/vendor/app/foo/foo.apk"; in TEST_P()
491 dex_path = "/vendor/app/foo/foo.apk"; in TEST_P()
505 dex_path = "/product/app/foo/foo.apk"; in TEST_P()
515 dex_path = "/product/app/foo/foo.apk"; in TEST_P()
[all …]
Dnative_loader_lazy.cpp53 bool is_shared, jstring dex_path, jstring library_path, in CreateClassLoaderNamespace() argument
56 return f(env, target_sdk_version, class_loader, is_shared, dex_path, library_path, in CreateClassLoaderNamespace()
Dnative_loader.cpp79 bool is_shared, jstring dex_path, jstring library_path, in CreateClassLoaderNamespace() argument
83 auto ns = g_namespaces->Create(env, target_sdk_version, class_loader, is_shared, dex_path, in CreateClassLoaderNamespace()
89 UNUSED(env, target_sdk_version, class_loader, is_shared, dex_path, library_path, permitted_path, in CreateClassLoaderNamespace()
Dlibrary_namespaces.h57 jobject class_loader, bool is_shared, jstring dex_path,
/art/libnativeloader/include/nativeloader/
Dnative_loader.h40 JNIEnv* env, int32_t target_sdk_version, jobject class_loader, bool is_shared, jstring dex_path,
/art/openjdkjvmti/
Dti_search.cc360 ScopedLocalRef<jstring> dex_path(env, env->NewStringUTF(segment)); in AddToDexClassLoader() local
361 if (dex_path.get() == nullptr) { in AddToDexClassLoader()
364 env->CallVoidMethod(classloader, add_dex_path_id, dex_path.get()); in AddToDexClassLoader()
/art/runtime/
Dclass_loader_context.cc923 for (const std::string& dex_path : info->classpath) { in FlattenDexPaths() local
924 result.push_back(dex_path); in FlattenDexPaths()