/art/runtime/jni/ |
D | java_vm_ext.cc | 238 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/ |
D | Android.bp | 26 // 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/ |
D | DexoptHelper.java | 274 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 …]
|
D | PrimaryDexUtils.java | 302 .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/ |
D | TestCase.java | 42 public static void testNative(String library) { in testNative() argument 43 System.load(library); in testNative()
|
/art/libnativeloader/ |
D | README.md | 11 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
|
D | Android.bp | 1 // Shared library for target 93 // TODO(b/124250621) eliminate the need for this library
|
/art/runtime/ |
D | plugin.h | 72 explicit Plugin(const std::string& library) : library_(library), dlopen_handle_(nullptr) { } in Plugin() argument
|
/art/libartpalette/ |
D | Android.bp | 66 // 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/ |
D | codegen.go | 29 library bool member 147 if t.library {
|
/art/tools/ |
D | libjdwp-compat.props | 18 sun.boot.library.path=
|
/art/artd/ |
D | Android.bp | 130 // linking against "libdexfile" as a shared library, the build system 133 // library.
|
/art/test/004-JniTest/src/ |
D | Main.java | 375 private static void testDoubleLoad(String library) { in testDoubleLoad() argument 377 System.loadLibrary(library); in testDoubleLoad() 384 runMethod.invoke(null, library); in testDoubleLoad()
|
/art/libdexfile/ |
D | Android.bp | 222 // 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/ |
D | Android.bp | 37 // 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/ |
D | README.md | 15 The `libnativebridge` library handles loading of native libraries with a foreign
|
D | Android.bp | 78 // TODO(b/124250621): eliminate the need for this library
|
/art/libnativebridge/tests/ |
D | Android.bp | 88 // A helper library to produce test-case side effect of PreZygoteForkNativeBridge. 159 // returns the handle to the already-loaded library.
|
/art/cmdline/ |
D | Android.bp | 17 // TODO: this header library depends on libart. Find a way to express that.
|
/art/libartservice/service/javatests/com/android/server/art/ |
D | DexoptHelperTest.java | 727 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/ |
D | expected-stdout.txt | 4 "java.library.path": OK
|
/art/dt_fd_forward/ |
D | README.md | 3 dt_fd_forward is a jdwpTransport library. It implements the [Java Debug Wire
|
/art/libartservice/service/ |
D | Android.bp | 24 // This native library contains JNI support code for the ART Service Java 25 // Language library.
|
/art/libarttools/ |
D | Android.bp | 27 // This library contains low-level interfaces used to call dex2oat and related tools. This will
|
/art/test/115-native-bridge/ |
D | expected-stdout.txt | 68 Loading invalid library 'libinvalid.so' from Java, which will fail.
|