Home
last modified time | relevance | path

Searched refs:SharedLibrary (Results 1 – 5 of 5) sorted by relevance

/art/libartservice/service/javatests/com/android/server/art/
DPrimaryDexUtilsTest.java34 import com.android.server.pm.pkg.SharedLibrary;
209 List<SharedLibrary> usesLibraryInfos = new ArrayList<>(); in createPackageState()
212 SharedLibrary libraryNative = mock(SharedLibrary.class); in createPackageState()
218 SharedLibrary library1 = mock(SharedLibrary.class); in createPackageState()
225 SharedLibrary library2 = mock(SharedLibrary.class); in createPackageState()
231 SharedLibrary library3 = mock(SharedLibrary.class); in createPackageState()
237 SharedLibrary library4 = mock(SharedLibrary.class); in createPackageState()
DDexoptHelperTest.java57 import com.android.server.pm.pkg.SharedLibrary;
714 String packageName, List<SharedLibrary> deps, boolean multiSplit) { in createPackageState()
725 private SharedLibrary createLibrary( in createLibrary()
726 String libraryName, String packageName, List<SharedLibrary> deps) { in createLibrary()
727 SharedLibrary library = mock(SharedLibrary.class); in createLibrary()
749 SharedLibrary libNative = createLibrary("libnative", "com.example.libnative", List.of()); in preparePackagesAndLibraries()
752 SharedLibrary libbaz = createLibrary("libbaz", PKG_NAME_LIBBAZ, List.of()); in preparePackagesAndLibraries()
753 SharedLibrary lib4 = createLibrary("lib4", PKG_NAME_LIB4, List.of()); in preparePackagesAndLibraries()
754 SharedLibrary lib3 = createLibrary("lib3", PKG_NAME_LIB3, List.of()); in preparePackagesAndLibraries()
755 SharedLibrary lib2 = createLibrary("lib2", PKG_NAME_LIB2, List.of()); in preparePackagesAndLibraries()
[all …]
/art/runtime/jni/
Djava_vm_ext.cc72 class SharedLibrary { class
74 SharedLibrary(JNIEnv* env, Thread* self, const std::string& path, void* handle, in SharedLibrary() function in art::SharedLibrary
88 ~SharedLibrary() { in ~SharedLibrary()
236 std::vector<SharedLibrary*> unload_libraries; in UnloadBootNativeLibraries()
238 SharedLibrary* const library = it->second; in UnloadBootNativeLibraries()
264 SharedLibrary* Get(const std::string& path) REQUIRES(Locks::jni_libraries_lock_) { in Get()
269 void Put(const std::string& path, SharedLibrary* library) in Put()
328 SharedLibrary* const library = lib.second; in FindNativeMethodInternal()
354 std::vector<SharedLibrary*> unload_libraries; in UnloadNativeLibraries()
358 SharedLibrary* const library = it->second; in UnloadNativeLibraries()
[all …]
/art/libartservice/service/java/com/android/server/art/
DDexoptHelper.java45 import com.android.server.pm.pkg.SharedLibrary;
272 Queue<SharedLibrary> queue = new LinkedList<>(); in getPackageStates()
274 Consumer<SharedLibrary> maybeEnqueue = library -> { in getPackageStates()
289 for (SharedLibrary library : pkgState.getSharedLibraryDependencies()) { in getPackageStates()
295 SharedLibrary library; in getPackageStates()
307 for (SharedLibrary dep : library.getDependencies()) { in getPackageStates()
DPrimaryDexUtils.java34 import com.android.server.pm.pkg.SharedLibrary;
297 private static String encodeSharedLibraries(@Nullable List<SharedLibrary> sharedLibraries) { in encodeSharedLibraries()