Home
last modified time | relevance | path

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

/system/core/libnativebridge/
Dnative_bridge.cc149 bool NativeBridgeNameAcceptable(const char* nb_library_filename) { in NativeBridgeNameAcceptable() argument
150 const char* ptr = nb_library_filename; in NativeBridgeNameAcceptable()
159 nb_library_filename, in NativeBridgeNameAcceptable()
168 ALOGE("Native bridge library %s has been rejected for %c", nb_library_filename, *ptr); in NativeBridgeNameAcceptable()
201 bool LoadNativeBridge(const char* nb_library_filename, in LoadNativeBridge() argument
208 if (nb_library_filename != nullptr) { // Avoids some log-spam for dalvikvm. in LoadNativeBridge()
217 if (nb_library_filename == nullptr || *nb_library_filename == 0) { in LoadNativeBridge()
221 if (!NativeBridgeNameAcceptable(nb_library_filename)) { in LoadNativeBridge()
225 void* handle = dlopen(nb_library_filename, RTLD_LAZY); in LoadNativeBridge()