Home
last modified time | relevance | path

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

/aosp14/system/core/libmodprobe/
H A Dlibmodprobe_ext.cpp34 bool Modprobe::Insmod(const std::string& path_name, const std::string& parameters) { in Insmod() argument
36 TEMP_FAILURE_RETRY(open(path_name.c_str(), O_RDONLY | O_NOFOLLOW | O_CLOEXEC))); in Insmod()
38 PLOG(ERROR) << "Could not open module '" << path_name << "'"; in Insmod()
42 auto canonical_name = MakeCanonical(path_name); in Insmod()
52 LOG(INFO) << "Loading module " << path_name << " with args '" << options << "'"; in Insmod()
58 module_loaded_paths_.emplace(path_name); in Insmod()
62 PLOG(ERROR) << "Failed to insmod '" << path_name << "' with args '" << options << "'"; in Insmod()
66 LOG(INFO) << "Loaded kernel module " << path_name; in Insmod()
68 module_loaded_paths_.emplace(path_name); in Insmod()
H A Dlibmodprobe_ext_test.cpp36 bool Modprobe::Insmod(const std::string& path_name, const std::string& parameters) { in Insmod() argument
37 auto deps = GetDependencies(MakeCanonical(path_name)); in Insmod()
45 if (android::base::StartsWith(*it, path_name)) { in Insmod()
50 auto options_iter = module_options_.find(MakeCanonical(path_name)); in Insmod()
58 modules_loaded.emplace_back(path_name + options); in Insmod()
/aosp14/frameworks/base/services/core/jni/
H A Dcom_android_server_fingerprint_FingerprintService.cpp191 char path_name[PATH_MAX] = {0}; in nativeSetActiveGroup() local
192 memcpy(path_name, pathData, pathSize); in nativeSetActiveGroup()
193 ALOG(LOG_VERBOSE, LOG_TAG, "nativeSetActiveGroup() path: %s, gid: %d\n", path_name, gid); in nativeSetActiveGroup()
194 int result = gContext.device->set_active_group(gContext.device, gid, path_name); in nativeSetActiveGroup()
/aosp14/system/core/libmodprobe/include/modprobe/
H A Dmodprobe.h48 bool Insmod(const std::string& path_name, const std::string& parameters);