Home
last modified time | relevance | path

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

/system/core/libnativebridge/
Dnative_bridge.cc139 bool NativeBridgeNameAcceptable(const char* nb_library_filename) { in NativeBridgeNameAcceptable() argument
140 const char* ptr = nb_library_filename; in NativeBridgeNameAcceptable()
149 nb_library_filename, in NativeBridgeNameAcceptable()
158 ALOGE("Native bridge library %s has been rejected for %c", nb_library_filename, *ptr); in NativeBridgeNameAcceptable()
191 bool LoadNativeBridge(const char* nb_library_filename, in LoadNativeBridge() argument
198 if (nb_library_filename != nullptr) { // Avoids some log-spam for dalvikvm. in LoadNativeBridge()
207 if (nb_library_filename == nullptr || *nb_library_filename == 0) { in LoadNativeBridge()
211 if (!NativeBridgeNameAcceptable(nb_library_filename)) { in LoadNativeBridge()
215 void* handle = dlopen(nb_library_filename, RTLD_LAZY); in LoadNativeBridge()