Home
last modified time | relevance | path

Searched refs:libName (Results 1 – 7 of 7) sorted by relevance

/cts/hostsidetests/os/test-apps/StaticSharedLibTestApp/src/android/os/lib/app/
DStaticSharedLibsTests.java86 private SharedLibraryInfo getSharedLibraryInfo(String libName) { in getSharedLibraryInfo() argument
90 .stream().filter(lib -> lib.getName().equals(libName)).findAny(); in getSharedLibraryInfo()
94 private void uninstallSharedLibrary(String packageName, String libName) { in uninstallSharedLibrary() argument
95 if (getSharedLibraryInfo(libName) == null) { in uninstallSharedLibrary()
99 assertThat(getSharedLibraryInfo(libName)).isNull(); in uninstallSharedLibrary()
/cts/tests/tests/os/src/android/os/cts/
DRequiredComponentsTest.java119 private void enforceSharedLibPresentAndProperlyHosted(String libName, in enforceSharedLibPresentAndProperlyHosted() argument
128 if (libName.equals(lib)) { in enforceSharedLibPresentAndProperlyHosted()
134 fail("Missing required shared library:" + libName); in enforceSharedLibPresentAndProperlyHosted()
141 assertTrue(libName + " must be hosted by a system app with flags:" in enforceSharedLibPresentAndProperlyHosted()
145 assertTrue(libName + " must be hosted by a system app with private flags:" in enforceSharedLibPresentAndProperlyHosted()
/cts/tests/tests/binder_ndk/src/android/binder/cts/
DNativeService.java35 private NativeService(String libName) { in NativeService() argument
36 System.loadLibrary(libName); in NativeService()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2017-0670/
Dpoc.c29 int runDlopenDlcloseLibraryLoop(char *libName, unsigned char count) { in runDlopenDlcloseLibraryLoop() argument
31 void *lib_handle = dlopen(libName, RTLD_NOW); in runDlopenDlcloseLibraryLoop()
/cts/hostsidetests/library/src_target/com/android/test/usesnativesharedlibrary/
DLoadTest.java97 String libName = "lib" + lib + ".so"; in testAvailableLibrariesAreLoaded()
98 boolean notFound = t.getMessage().equals("dlopen failed: library \"" + libName in testAvailableLibrariesAreLoaded()
100 boolean isVendorPublicLib = vendorPublicLibraries().contains(libName); in testAvailableLibrariesAreLoaded()
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DNdkApiXmlReport.java178 Document dom, Element pkgEle, ReadElf.Symbol[] symArr, String libName) { in addToDom() argument
179 Element classEle = createClassEle(dom, libName); in addToDom()
214 String libName = symArr[i].getVerDefLibName(); in addToDom() local
215 Element classEle = classEleMap.get(libName); in addToDom()
217 classEle = createClassEle(dom, libName); in addToDom()
218 classEleMap.put(libName, classEle); in addToDom()
/cts/tests/tests/jni/src/android/jni/cts/
DLinkerNamespacesHelper.java296 String libName = libFileName.substring(3, libFileName.length()-3); in loadWithSystemLoadLibrary() local
298 System.loadLibrary(libName); in loadWithSystemLoadLibrary()
301 return "System.loadLibrary(\"" + libName + "\") UnsatisfiedLinkError: " + in loadWithSystemLoadLibrary()