/aosp12/build/soong/rust/ |
H A D | library.go | 225 } else if library.rlib() || library.static() { 227 } else if library.dylib() || library.shared() { 239 if library.static() || library.MutatedProperties.VariantIsStaticStd { 422 if library.shared() || library.static() { 423 …library.includeDirs = append(library.includeDirs, android.PathsForModuleSrc(ctx, library.Propertie… 452 if library.rlib() { 474 if !library.rlib() && !library.static() && library.stripper.NeedsStrip(ctx) { 480 if library.rlib() || library.dylib() { 485 if library.static() || library.shared() { 547 if library.shared() || library.dylib() { [all …]
|
H A D | prebuilt.go | 58 module, library := NewRustLibrary(hod) 59 library.BuildOnlyRust() 60 library.setNoStdlibs() 62 libraryDecorator: library, 69 module, library := NewRustLibrary(hod) 70 library.BuildOnlyDylib() 71 library.setNoStdlibs() 73 libraryDecorator: library, 81 library.BuildOnlyRlib() 82 library.setNoStdlibs() [all …]
|
/aosp12/build/soong/cc/ |
H A D | library.go | 844 if !library.buildShared() && !library.buildStatic() { 1138 library.objects = library.objects.Append(objs) 1358 if library.header() || library.buildStubs() { 1502 if library.static() || library.header() { 1522 library.reexportDeps(library.baseCompiler.aidlOrderOnlyDeps...) 1579 if library.buildStubs() && library.stubsVersion() != "" && !library.skipAPIDefine { 1679 if Bool(library.Properties.Static_ndk_lib) && library.static() && 1700 return library.shared() || library.static() 1716 return !library.static() && !library.shared() 1850 if library.static() && library.buildStatic() && !library.buildStubs() { [all …]
|
H A D | toolchain_library.go | 51 props = append(props, library.libraryDecorator.linkerProps()...) 52 return append(props, &library.Properties, &library.stripper.StripProperties) 59 module, library := NewLibrary(android.HostAndDeviceSupported) 60 library.BuildOnlyStatic() 62 libraryDecorator: library, 69 module.library = toolchainLibrary 79 func (library *toolchainLibraryDecorator) link(ctx ModuleContext, 82 if library.Properties.Src == nil { 87 srcPath := android.PathForSource(ctx, *library.Properties.Src) 90 if library.Properties.Repack_objects_to_keep != nil { [all …]
|
H A D | androidmk.go | 225 if library.sAbiDiff.Valid() && !library.static() { 232 if library.sAbiDiff.Valid() && !library.static() { 238 if library.static() { 240 } else if library.shared() { 244 if !library.buildStubs() { 254 } else if library.header() { 284 if library.shared() && !library.buildStubs() { 287 if library.buildStubs() && library.stubsVersion() != "" { 294 if library.buildStubs() { 307 if library.buildStubs() && library.isLatestStubVersion() { [all …]
|
H A D | library_headers.go | 50 library *libraryDecorator member 79 h.library.flagExporterInfo = &flagExporterInfo 87 h.library.collectedSnapshotHeaders = android.Paths{} 97 module, library := NewLibrary(android.HostAndDeviceSupported) 98 library.HeaderOnly() 100 module.bazelHandler = &libraryHeaderBazelHander{module: module, library: library} 106 module, library := NewPrebuiltLibrary(android.HostAndDeviceSupported) 107 library.HeaderOnly()
|
H A D | prebuilt.go | 239 module, library := NewLibrary(hod) 243 libraryDecorator: library, 246 module.library = prebuilt 258 return module, library 284 library.BuildOnlyShared() 291 library.BuildOnlyShared() 296 return module, library 308 library.BuildOnlyStatic() 309 module.bazelHandler = &prebuiltStaticLibraryBazelHandler{module: module, library: library} 310 return module, library [all …]
|
/aosp12/frameworks/base/media/lib/remotedisplay/ |
H A D | README.txt | 2 First, com.android.media.remotedisplay.jar is a shared java library 5 library which provides build-time APIs to the unbundled clients. 8 <uses-library> tag. And since Java always tries to load a class from the 9 parent classloader, regardless of whether the stub library is linked to the 11 library. 13 --- Rules of this library --- 22 This library is distributed in the system image, and loaded as 23 a shared library. So you can change the implementation, but not 26 --- Why does this library exists? --- 31 This library will eventually be replaced when the media route provider [all …]
|
/aosp12/libnativehelper/ |
H A D | JniInvocation.c | 77 static DlSymbol FindSymbol(DlLibrary library, const char* symbol) { in FindSymbol() argument 78 DlSymbol s = DlGetSymbol(library, symbol); in FindSymbol() 111 const char* JniInvocationGetLibraryWith(const char* library, in JniInvocationGetLibraryWith() argument 118 if (library != NULL) { in JniInvocationGetLibraryWith() 119 return library; in JniInvocationGetLibraryWith() 129 const char* JniInvocationGetLibrary(const char* library, char* buffer) { in JniInvocationGetLibrary() argument 153 DlLibrary library = DlOpenLibrary(library_name); in JniInvocationInit() local 154 if (library == NULL) { in JniInvocationInit() 168 library = DlOpenLibrary(library_name); in JniInvocationInit() 169 if (library == NULL) { in JniInvocationInit() [all …]
|
/aosp12/frameworks/base/media/lib/signer/ |
H A D | README.txt | 2 First, com.android.mediadrm.signer.jar is a shared java library 6 Second, com.android.mediadrm.signer.stubs.jar is a stub for the shared library 9 At runtime, the shared library is added to the classloader of the app via the 10 <uses-library> tag. And since Java always tries to load a class from the 11 parent classloader, regardless of whether the stub library is linked to the 13 library. 15 --- Rules of this library --- 24 This library is distributed in the system image, and loaded as 25 a shared library. So you can change the implementation, but not 28 --- Why does this library exist? --- [all …]
|
/aosp12/frameworks/av/media/libeffects/data/ |
H A D | audio_effects.conf | 92 library bundle 96 library bundle 100 library bundle 104 library bundle 108 library reverb 112 library reverb 116 library reverb 120 library reverb 124 library visualizer 128 library downmix [all …]
|
/aosp12/system/extras/simpleperf/demo/SimpleperfExampleWithNative/app/ |
H A D | CMakeLists.txt | 4 # Sets the minimum version of CMake required to build the native library. 8 # Creates and names a library, sets it as either STATIC 13 add_library( # Sets the name of the library. 16 # Sets the library as a shared library. 22 # Searches for a specified prebuilt library and stores the path as a 24 # default, you only need to specify the name of the public NDK library 25 # you want to add. CMake verifies that the library exists before 31 # Specifies the name of the NDK library that 35 # Specifies libraries CMake should link to your target library. You 39 target_link_libraries( # Specifies the target library. [all …]
|
/aosp12/frameworks/base/media/lib/tvremote/ |
H A D | README.txt | 1 This library (com.android.media.tv.remoteprovider.jar) is a shared java library 4 --- Rules of this library --- 5 o This library is effectively a System API for unbundled emote service provider 9 o This library can see and instantiate internal platform classes, but it must not 11 break clients of the library because they cannot see the internal platform classes. 13 This library is distributed in the system image, and loaded as 14 a shared library. So you can change the implementation, but not 17 --- Why does this library exist? --- 22 This library will eventually be replaced when the inputmanager 25 That API isn't ready yet so this library is a compromise to
|
/aosp12/build/soong/java/ |
H A D | androidmk.go | 25 hostDexNeeded := Bool(library.deviceProperties.Hostdex) && !library.Host() 26 if library.hideApexVariantFromMake { 32 if library.dexJarFile != nil { 33 output = library.dexJarFile 35 output = library.implementationAndResourcesJar 47 if library.dexJarFile != nil { 63 if library.hideApexVariantFromMake { 92 if len(library.logtagsSrcs) > 0 { 94 for _, l := range library.logtagsSrcs { 100 if library.installFile == nil { [all …]
|
H A D | classpath_element.go | 145 for _, library := range libraries { 147 if ctx.OtherModuleHasProvider(library, android.ApexInfoProvider) { 148 apexInfo := ctx.OtherModuleProvider(library, android.ApexInfoProvider).(android.ApexInfo) 160 ctx.ModuleErrorf("library %s is in two separate fragments, %s and %s", library, fragment, f) 172 library, apexInfo.InApexVariants, fragments) 196 precedingLibraryInFragment, library, fragment, separator) 200 existingFragmentElement.Contents = append(existingFragmentElement.Contents, library) 206 Contents: []android.Module{library}, 216 element = &ClasspathLibraryElement{Library: library}
|
/aosp12/frameworks/base/location/lib/ |
H A D | README.txt | 1 This library (com.android.location.provider.jar) is a shared java library 4 --- Rules of this library --- 5 o This library is effectively a PUBLIC API for unbundled location providers 9 o This library can see and instantiate internal platform classes (such as 12 library because they cannot see the internal platform classes. 14 This library is distributed in the system image, and loaded as 15 a shared library. So you can change the implementation, but not 18 --- Why does this library exists? --- 27 The compromise is this library.
|
/aosp12/libnativehelper/include_platform/nativehelper/ |
H A D | JniInvocation.h | 56 bool JniInvocationInit(struct JniInvocationImpl* instance, const char* library); 79 const char* JniInvocationGetLibrary(const char* library, char* buffer); 106 bool Init(const char* library) { in Init() argument 107 return JniInvocationInit(impl_, library) != 0; in Init() 114 static const char* GetLibrary(const char* library, char* buffer) { in GetLibrary() argument 115 return JniInvocationGetLibrary(library, buffer); in GetLibrary()
|
/aosp12/hardware/interfaces/cas/1.0/default/ |
H A D | FactoryLoader.h | 45 sp<SharedLibrary> *library = NULL, 63 sp<SharedLibrary> *library, 76 int32_t CA_system_id, sp<SharedLibrary> *library, T** factory) { in findFactoryForScheme() argument 77 if (library != NULL) { in findFactoryForScheme() 78 library->clear(); in findFactoryForScheme() 91 CA_system_id, library, factory); in findFactoryForScheme() 113 pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme() 163 sp<SharedLibrary> *library, T** factory) { in loadFactoryForSchemeFromPath() argument 171 if (library != NULL) { in loadFactoryForSchemeFromPath() 172 *library = mLibrary; in loadFactoryForSchemeFromPath()
|
H A D | MediaCasService.cpp | 68 sp<SharedLibrary> library; in createPlugin() local 69 if (mCasLoader.findFactoryForScheme(CA_system_id, &library, &factory)) { in createPlugin() 74 casImpl->init(library, plugin); in createPlugin() 95 sp<SharedLibrary> library; in createDescrambler() local 97 CA_system_id, &library, &factory)) { in createDescrambler() 101 result = new DescramblerImpl(library, plugin); in createDescrambler()
|
/aosp12/hardware/interfaces/cas/1.1/default/ |
H A D | FactoryLoader.h | 44 bool findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library = NULL, 60 sp<SharedLibrary>* library, T** factory); 69 bool FactoryLoader<T>::findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library, in findFactoryForScheme() argument 71 if (library != NULL) { in findFactoryForScheme() 72 library->clear(); in findFactoryForScheme() 84 library, factory); in findFactoryForScheme() 104 if (loadFactoryForSchemeFromPath(pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme() 151 sp<SharedLibrary>* library, T** factory) { in loadFactoryForSchemeFromPath() argument 159 if (library != NULL) { in loadFactoryForSchemeFromPath() 160 *library = mLibrary; in loadFactoryForSchemeFromPath()
|
/aosp12/hardware/interfaces/cas/1.2/default/ |
H A D | FactoryLoader.h | 44 bool findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library = NULL, 60 sp<SharedLibrary>* library, T** factory); 69 bool FactoryLoader<T>::findFactoryForScheme(int32_t CA_system_id, sp<SharedLibrary>* library, in findFactoryForScheme() argument 71 if (library != NULL) { in findFactoryForScheme() 72 library->clear(); in findFactoryForScheme() 84 library, factory); in findFactoryForScheme() 104 if (loadFactoryForSchemeFromPath(pluginPath, CA_system_id, library, factory)) { in findFactoryForScheme() 151 sp<SharedLibrary>* library, T** factory) { in loadFactoryForSchemeFromPath() argument 159 if (library != NULL) { in loadFactoryForSchemeFromPath() 160 *library = mLibrary; in loadFactoryForSchemeFromPath()
|
/aosp12/hardware/interfaces/drm/1.0/vts/functional/ |
H A D | vendor_modules.cpp | 55 auto library = std::make_unique<SharedLibrary>(String8(path.c_str())); in getModule() local 56 if (!library) { in getModule() 60 mOpenLibraries[path] = std::move(library); in getModule() 62 const unique_ptr<SharedLibrary>& library = mOpenLibraries[path]; in getModule() local 63 void* symbol = library->lookup("vendorModuleFactory"); in getModule() 66 "%s", path.c_str(), library->lastError()); in getModule()
|
/aosp12/packages/apps/Calendar/ |
H A D | project.properties | 15 android.library=false 16 android.library.reference.1=../../../frameworks/ex/chips 17 android.library.reference.2=../../../frameworks/opt/calendar 18 android.library.reference.3=../../../frameworks/opt/colorpicker 19 android.library.reference.4=../../../frameworks/opt/datetimepicker 20 android.library.reference.5=../../../frameworks/opt/timezonepicker
|
/aosp12/art/runtime/jni/ |
H A D | java_vm_ext.cc | 254 os << library.first; in Dump() 269 libraries_.Put(path, library); in Put() 360 delete library; in UnloadNativeLibraries() 906 SharedLibrary* library; in LoadNativeLibrary() local 911 library = libraries_->Get(path); in LoadNativeLibrary() 937 if (library != nullptr) { in LoadNativeLibrary() 979 library->GetClassLoader(), in LoadNativeLibrary() 1052 library = libraries_->Get(path); in LoadNativeLibrary() 1054 library = new_library.release(); in LoadNativeLibrary() 1055 libraries_->Put(path, library); in LoadNativeLibrary() [all …]
|
/aosp12/hardware/interfaces/drm/1.0/default/include/ |
H A D | PluginLoader.h | 75 sp<SharedLibrary> library = new SharedLibrary(String8(path)); in loadOne() local 76 if (!library.get()) { in loadOne() 78 library->lastError()); in loadOne() 82 (CreateFactoryFunc)library->lookup(entry); in loadOne() 85 libraries.push(library); in loadOne() 90 entry, path, library->lastError()); in loadOne()
|