Searched refs:libEntry (Results 1 – 4 of 4) sorted by relevance
63 bool loadLibrary(const char* relativePath, lib_entry_t* libEntry) noexcept { in loadLibrary() argument68 libEntry->path = strdup(relativePath); in loadLibrary()72 libEntry->path = strdup(path); in loadLibrary()104 libEntry->handle = libHandle.release(); in loadLibrary()105 libEntry->desc = description; in loadLibrary()159 auto libEntry = makeUniqueC<lib_entry_t>(); in loadLibraries() local160 libEntry->name = strdup(library->name.c_str()); in loadLibraries()161 libEntry->effects = nullptr; in loadLibraries()162 pthread_mutex_init(&libEntry->lock, nullptr); in loadLibraries()164 if (!loadLibrary(library->path.c_str(), libEntry.get())) { in loadLibraries()[all …]
235 struct dirent* libEntry; in RegisterExtractors() local236 while ((libEntry = readdir(libDir))) { in RegisterExtractors()237 if (libEntry->d_name[0] == '.') { in RegisterExtractors()240 String8 libPath = String8(libDirPath) + "/" + libEntry->d_name; in RegisterExtractors()
152 mSharedLibrariesImpl.addBuiltInSharedLibraryLPw(libEntry(TEST_LIB_NAME)) in <lambda>()161 val duplicate = libEntry(BUILTIN_LIB_NAME, "duplicate.path") in <lambda>()355 MockSystem.addDefaultSharedLibrary(BUILTIN_LIB_NAME, libEntry(BUILTIN_LIB_NAME)) in <lambda>()451 private fun libEntry(libName: String, path: String? = null): SharedLibraryEntry = in <lambda>() method in com.android.server.pm.SharedLibrariesImplTest
243 fun addDefaultSharedLibrary(libName: String, libEntry: SystemConfig.SharedLibraryEntry) { in addDefaultSharedLibrary()244 DEFAULT_SHARED_LIBRARIES_LIST[libName] = libEntry in addDefaultSharedLibrary()