Home
last modified time | relevance | path

Searched refs:library (Results 1 – 25 of 37) sorted by relevance

12

/art/runtime/jni/
Djava_vm_ext.cc238 SharedLibrary* const library = it->second; in UnloadBootNativeLibraries() local
239 if (library->GetClassLoader() == nullptr) { in UnloadBootNativeLibraries()
240 unload_libraries.push_back(library); in UnloadBootNativeLibraries()
251 for (const auto& library : libraries_) { in Dump() local
256 os << library.first; in Dump()
269 void Put(const std::string& path, SharedLibrary* library) in Put() argument
271 libraries_.Put(path, library); in Put()
328 SharedLibrary* const library = lib.second; in FindNativeMethodInternal() local
330 if (library->GetClassLoaderAllocator() != declaring_class_loader_allocator) { in FindNativeMethodInternal()
335 const char* arg_shorty = library->NeedsNativeBridge() ? shorty : nullptr; in FindNativeMethodInternal()
[all …]
/art/libnativeloader/test/
DAndroid.bp26 // A native library that goes into /system or /system_ext and that depends on
27 // a non-public library that is linked from the system namespace.
33 // It's difficult to add a shared_lib dependency on a non-public library
38 // A native library that goes into /product.
46 // A native library that goes into /vendor.
55 // library in the host test. It's not actually installed or started.
68 // Test fixture that represents a shared library in /system/framework.
76 // Test fixture that represents a shared library in /system_ext/framework.
84 // Test fixture that represents a shared library in /product/framework.
93 // Test fixture that represents a shared library in /vendor/framework.
/art/libartservice/service/java/com/android/server/art/
DDexoptHelper.java274 Consumer<SharedLibrary> maybeEnqueue = library -> { in getPackageStates()
277 if (library.getPackageName() != null && !library.isNative() in getPackageStates()
278 && !visitedLibraries.contains(library.getName())) { in getPackageStates()
279 visitedLibraries.add(library.getName()); in getPackageStates()
280 queue.add(library); in getPackageStates()
289 for (SharedLibrary library : pkgState.getSharedLibraryDependencies()) { in getPackageStates()
290 maybeEnqueue.accept(library); in getPackageStates()
295 SharedLibrary library; in getPackageStates() local
296 while ((library = queue.poll()) != null) { in getPackageStates()
297 String packageName = library.getPackageName(); in getPackageStates()
[all …]
DPrimaryDexUtils.java302 .filter(library -> !library.isNative()) in encodeSharedLibraries()
303 .map(library in encodeSharedLibraries()
304 -> encodeClassLoader(SHARED_LIBRARY_LOADER_TYPE, library.getAllCodePaths(), in encodeSharedLibraries()
306 encodeSharedLibraries(library.getDependencies()))) in encodeSharedLibraries()
/art/test/817-hiddenapi/src-ex/
DTestCase.java42 public static void testNative(String library) { in testNative() argument
43 System.load(library); in testNative()
/art/libnativeloader/
DREADME.md11 The most typical use case of this library is calling `System.loadLibrary(name)`.
12 When the method is called, the ART runtime delegates the call to this library
14 library finds the linker namespace (typically with the name `clns-` followed by
16 tries to load the requested library from that namespace. The actual searching,
17 loading, and linking of the library is performed by the dynamic linker.
52 library, e.g. libgui.so, libart.so, etc., to APKs.
68 `native_loader.cpp` implements the public interface of this library. It is just
78 dynamic linker interface so that other parts of this library do not have to know
DAndroid.bp1 // Shared library for target
93 // TODO(b/124250621) eliminate the need for this library
/art/runtime/
Dplugin.h72 explicit Plugin(const std::string& library) : library_(library), dlopen_handle_(nullptr) { } in Plugin() argument
/art/libartpalette/
DAndroid.bp66 // Targets supporting dlopen build the client library which loads
67 // and binds the methods in the libartpalette-system library.
87 // the system library which actually implements functionality.
/art/build/
Dcodegen.go29 library bool member
147 if t.library {
/art/tools/
Dlibjdwp-compat.props18 sun.boot.library.path=
/art/artd/
DAndroid.bp130 // linking against "libdexfile" as a shared library, the build system
133 // library.
/art/test/004-JniTest/src/
DMain.java375 private static void testDoubleLoad(String library) { in testDoubleLoad() argument
377 System.loadLibrary(library); in testDoubleLoad()
384 runMethod.invoke(null, library); in testDoubleLoad()
/art/libdexfile/
DAndroid.bp222 // This library is exported in stub form by art-module-sdk, and it brings
417 // Support library with a C++ API for accessing the libdexfile API for external
420 // This library dlopens libdexfile(d).so on first use, so there is no build time
425 // IMPORTANT: When adding a static_libs dependency on this library, please
547 // TODO(b/169885605): This library brings with it all the exported headers from
/art/oatdump/
DAndroid.bp37 // Collect all the static defaults and build a host-only static library, which
88 // Collect all the static defaults and build a host-only static library, which
/art/libnativebridge/
DREADME.md15 The `libnativebridge` library handles loading of native libraries with a foreign
DAndroid.bp78 // TODO(b/124250621): eliminate the need for this library
/art/libnativebridge/tests/
DAndroid.bp88 // A helper library to produce test-case side effect of PreZygoteForkNativeBridge.
159 // returns the handle to the already-loaded library.
/art/cmdline/
DAndroid.bp17 // TODO: this header library depends on libart. Find a way to express that.
/art/libartservice/service/javatests/com/android/server/art/
DDexoptHelperTest.java727 SharedLibrary library = mock(SharedLibrary.class); in createLibrary() local
728 lenient().when(library.getName()).thenReturn(libraryName); in createLibrary()
729 lenient().when(library.getPackageName()).thenReturn(packageName); in createLibrary()
730 lenient().when(library.getDependencies()).thenReturn(deps); in createLibrary()
731 lenient().when(library.isNative()).thenReturn(false); in createLibrary()
732 return library; in createLibrary()
/art/test/922-properties/
Dexpected-stdout.txt4 "java.library.path": OK
/art/dt_fd_forward/
DREADME.md3 dt_fd_forward is a jdwpTransport library. It implements the [Java Debug Wire
/art/libartservice/service/
DAndroid.bp24 // This native library contains JNI support code for the ART Service Java
25 // Language library.
/art/libarttools/
DAndroid.bp27 // This library contains low-level interfaces used to call dex2oat and related tools. This will
/art/test/115-native-bridge/
Dexpected-stdout.txt68 Loading invalid library 'libinvalid.so' from Java, which will fail.

12