Home
last modified time | relevance | path

Searched refs:libraryName (Results 1 – 23 of 23) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/parsing/library/
DPackageSharedLibraryUpdater.java44 static void removeLibrary(ParsedPackage parsedPackage, String libraryName) { in removeLibrary() argument
45 parsedPackage.removeUsesLibrary(libraryName) in removeLibrary()
46 .removeUsesOptionalLibrary(libraryName); in removeLibrary()
88 void prefixRequiredLibrary(ParsedPackage parsedPackage, String libraryName) { in prefixRequiredLibrary() argument
93 usesLibraries, usesOptionalLibraries, libraryName); in prefixRequiredLibrary()
95 parsedPackage.addUsesLibrary(0, libraryName); in prefixRequiredLibrary()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/license/
DLicenseHtmlGeneratorFromXml.java227 String libraryName = parser.getAttributeValue("", ATTR_LIBRARY_NAME); in parse() local
235 libraryName, k -> new HashSet<>()); in parse()
337 String libraryName = entry.getKey(); in generateHtml() local
348 writer.format("<li><a href=\"#id%d\">%s</a></li>\n", id, libraryName); in generateHtml()
360 String libraryName = libToContentId.getKey(); in generateHtml() local
361 if (libraryName == null) { in generateHtml()
362 libraryName = ""; in generateHtml()
377 libraryName, k -> new ArrayList()); in generateHtml()
379 if (TextUtils.isEmpty(libraryName)) { in generateHtml()
383 id, fileName, libraryName); in generateHtml()
[all …]
/frameworks/av/media/utils/
DLibrary.cpp32 std::shared_ptr<void> loadLibrary(const char *libraryName, int flags) { in loadLibrary() argument
34 dlopen(libraryName, flags), in loadLibrary()
46 __func__, libraryName, dlerrorIfPresent().c_str()); in loadLibrary()
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DParsedPackage.java38 ParsedPackage addUsesLibrary(int index, String libraryName); in addUsesLibrary() argument
40 ParsedPackage addUsesOptionalLibrary(int index, String libraryName); in addUsesOptionalLibrary() argument
103 ParsedPackage removeUsesLibrary(String libraryName); in removeUsesLibrary() argument
105 ParsedPackage removeUsesOptionalLibrary(String libraryName); in removeUsesOptionalLibrary() argument
DPackageImpl.java559 public PackageImpl addLibraryName(String libraryName) { in addLibraryName() argument
561 TextUtils.safeIntern(libraryName)); in addLibraryName()
675 public PackageImpl addUsesLibrary(String libraryName) { in addUsesLibrary() argument
676 libraryName = TextUtils.safeIntern(libraryName); in addUsesLibrary()
677 if (!ArrayUtils.contains(this.usesLibraries, libraryName)) { in addUsesLibrary()
678 this.usesLibraries = CollectionUtils.add(this.usesLibraries, libraryName); in addUsesLibrary()
684 public final PackageImpl addUsesNativeLibrary(String libraryName) { in addUsesNativeLibrary() argument
685 libraryName = TextUtils.safeIntern(libraryName); in addUsesNativeLibrary()
686 if (!ArrayUtils.contains(this.usesNativeLibraries, libraryName)) { in addUsesNativeLibrary()
687 this.usesNativeLibraries = CollectionUtils.add(this.usesNativeLibraries, libraryName); in addUsesNativeLibrary()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DAppStateHelper.java194 var libraryName = pkg.getStaticSharedLibraryName(); in addLibraryDependency() local
195 if (libraryName != null) { in addLibraryDependency()
196 staticSharedLibraryNames.add(libraryName); in addLibraryDependency()
198 libraryName = pkg.getSdkLibraryName(); in addLibraryDependency()
199 if (libraryName != null) { in addLibraryDependency()
200 sdkLibraryNames.add(libraryName); in addLibraryDependency()
DSharedLibrariesImpl.java480 for (String libraryName : pkg.getLibraryNames()) {
482 libraryName, SharedLibraryInfo.VERSION_UNDEFINED);
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackage.java77 ParsingPackage addLibraryName(String libraryName); in addLibraryName() argument
106 ParsingPackage addUsesLibrary(String libraryName); in addUsesLibrary() argument
108 ParsingPackage addUsesOptionalLibrary(String libraryName); in addUsesOptionalLibrary() argument
110 ParsingPackage addUsesNativeLibrary(String libraryName); in addUsesNativeLibrary() argument
112 ParsingPackage addUsesOptionalNativeLibrary(String libraryName); in addUsesOptionalNativeLibrary() argument
114 ParsingPackage addUsesSdkLibrary(String libraryName, long versionMajor, in addUsesSdkLibrary() argument
117 ParsingPackage addUsesStaticLibrary(String libraryName, long version, in addUsesStaticLibrary() argument
249 ParsingPackage removeUsesOptionalLibrary(String libraryName); in removeUsesOptionalLibrary() argument
251 ParsingPackage removeUsesOptionalNativeLibrary(String libraryName); in removeUsesOptionalNativeLibrary() argument
/frameworks/native/opengl/libs/EGL/
DLoader.cpp453 static std::string findLibrary(const std::string libraryName, const std::string searchPath, in findLibrary() argument
456 std::string absolutePath = searchPath + "/" + libraryName + ".so"; in findLibrary()
474 if (strstr(e->d_name, libraryName.c_str()) == e->d_name) { in findLibrary()
491 std::string libraryName = std::string("lib") + kind; in load_system_driver() local
493 libraryName += std::string("_") + suffix; in load_system_driver()
499 libraryName += std::string("_"); in load_system_driver()
506 findLibrary(libraryName, isSuffixAngle ? SYSTEM_LIB_PATH : VENDOR_LIB_EGL_DIR, exact); in load_system_driver()
/frameworks/base/api/
Dapi.go496 for _, libraryName := range javaLibraryNames {
498 props.Name = proptools.StringPtr(libraryName)
499 staticLib := libraryName + ".from-source"
501 staticLib = libraryName + ".from-text"
521 for _, libraryName := range javaLibraryNames {
523 props.Name = proptools.StringPtr(libraryName)
524 staticLib := libraryName + ".from-source"
/frameworks/av/media/utils/include/mediautils/
DLibrary.h66 std::shared_ptr<void> loadLibrary(const char *libraryName, int flags = RTLD_LAZY);
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/parsing/library/
DApexSharedLibraryUpdaterTest.java67 private void insertLibrary(String libraryName, String onBootclasspathSince, in insertLibrary() argument
69 mSharedLibraries.put(libraryName, new SystemConfig.SharedLibraryEntry( in insertLibrary()
70 libraryName, in insertLibrary()
/frameworks/av/media/libeffects/config/src/
DEffectsConfig.cpp186 const char* libraryName = xmlImpl.Attribute("library"); in parseEffect() local
188 if (libraryName == nullptr || uuid == nullptr) { in parseEffect()
194 auto library = findByName(libraryName, libraries); in parseEffect()
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
DTextGraphReader.java72 public AddLibraryCommand(String libraryName) { in AddLibraryCommand() argument
73 mLibraryName = libraryName; in AddLibraryCommand()
241 String libraryName = scanner.eat(libraryNamePattern, "<library-name>"); in parseString() local
242 mCommands.add(new AddLibraryCommand(libraryName)); in parseString()
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
DGraphReader.java100 public AddLibraryCommand(String libraryName) { in AddLibraryCommand() argument
101 mLibraryName = libraryName; in AddLibraryCommand()
284 String libraryName = getRequiredAttribute(attributes, "name"); in addLibraryCommand() local
285 mCommandStack.append(new AddLibraryCommand(libraryName)); in addLibraryCommand()
/frameworks/base/services/core/java/com/android/server/pm/pkg/mutate/
DPackageUserStateWrite.java61 PackageUserStateWrite setOverlayPathsForLibrary(@NonNull String libraryName, in setOverlayPathsForLibrary() argument
DPackageStateMutator.java408 public PackageUserStateWrite setOverlayPathsForLibrary(@NonNull String libraryName, in setOverlayPathsForLibrary() argument
411 mUserState.setSharedLibraryOverlayPaths(libraryName, overlayPaths); in setOverlayPathsForLibrary()
/frameworks/layoutlib/bridge/bridge_client/src/com/android/ide/common/resources/deprecated/
DValueResourceParser.java70 …ValueResourceParser(IValueResourceRepository repository, boolean isFramework, String libraryName) { in ValueResourceParser() argument
73 mLibraryName = libraryName; in ValueResourceParser()
/frameworks/base/services/core/java/com/android/server/media/metrics/
DMediaMetricsManagerService.java719 private static String getFilteredLibraryName(String libraryName) { in getFilteredLibraryName() argument
720 if (TextUtils.isEmpty(libraryName)) { in getFilteredLibraryName()
723 if (!PATTERN_KNOWN_EDITING_LIBRARY_NAMES.matcher(libraryName).matches()) { in getFilteredLibraryName()
726 return libraryName; in getFilteredLibraryName()
/frameworks/native/libs/binder/
DIServiceManager.cpp275 String16 libraryName = interface + String16(".") + instance + String16(".so"); in openDeclaredPassthroughHal() local
277 return AApexSupport_loadLibrary(String8(libraryName).c_str(), in openDeclaredPassthroughHal()
280 return android_load_sphal_library(String8(libraryName).c_str(), flag); in openDeclaredPassthroughHal()
/frameworks/base/tests/DynamicCodeLoggerIntegrationTests/src/com/android/server/pm/dex/
DDynamicCodeLoggerIntegrationTests.java380 private String libraryPath(final String libraryName) { in libraryPath() argument
383 return "/lib/" + Build.CPU_ABI + "/" + libraryName; in libraryPath()
/frameworks/base/tools/aapt/
DCommand.cpp1824 String8 libraryName = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump() local
1835 libraryName.c_str()).c_str()); in doDump()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp2527 AString libraryName = "libmediaformatshaper.so"; in connectFormatShaper() local
2541 libraryMainline.append(libraryName); in connectFormatShaper()
2561 libHandle = dlopen(libraryName.c_str(), RTLD_NOW|RTLD_NODELETE); in connectFormatShaper()
2567 ALOGW("connectFormatShaper: unable to load formatshaper %s", libraryName.c_str()); in connectFormatShaper()
2579 ALOGV("connectFormatShaper: connected to library %s", libraryName.c_str()); in connectFormatShaper()