Home
last modified time | relevance | path

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

/system/core/libmodprobe/
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()
60 PLOG(ERROR) << "Failed to insmod '" << path_name << "' with args '" << options << "'"; in Insmod()
64 LOG(INFO) << "Loaded kernel module " << path_name; in Insmod()
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()
/system/media/camera/docs/
Dcamera_metadata_tag_info.mako36 ${"[%s]" %(path_name(i)) | csym,pad(36)} = "${path_name(i)}",
42 ${"[%s]" %(path_name(i)) | csym,pad(36)} = { ${path_name(i) | csym}_START,
43 ${path_name(i) | csym}_END },
48 static tag_info_t ${path_name(sec) | csyml}[${path_name(sec) | csym}_END -
49 ${path_name(sec) | csym}_START] = {
51 [ ${entry.name | csym} - ${path_name(sec) | csym}_START ] =
60 ${path_name(i) | csyml},
DHidlMetadata.mako55 ${path_name(section) | csym} =
59 ${path_name(section) | csym},
76 ${path_name(i) + '.start' | csym} = CameraMetadataSection:${path_name(i) | csym} << 16,
110 …${entry.name + " =" | csym} CameraMetadataSectionStart:${path_name(find_parent_section(entry)) | c…
113 …oid.hardware.camera.metadata@%d.%d' % prevVersion}::CameraMetadataTag:${path_name(find_parent_sect…
121 …${path_name(sec) | csym}${'_END' if first_hal_minor_version(hal_major_version()) == hal_minor_vers…
Dcamera_metadata_tags.mako52 ${path_name(i) | csym},
65 ${path_name(i) + '.start' | csym,ljust(30)} = ${path_name(i) | csym,pad(64)} << 16,
81 ${path_name(find_parent_section(entry)) | csym}_START,
86 ${path_name(sec) | csym}_END,
Dndk_camera_metadata_tags.mako60 ${ndk(path_name(i)) | csym},
72 ${ndk(path_name(i)) + '.start' | csym,ljust(30)} = ${ndk(path_name(i)) | csym,pad(64)} << 16,
122 ${ndk(path_name(find_parent_section(entry))) | csym}_START,
124 ${ndk(path_name(find_parent_section(entry))) | csym}_START + ${idx},
128 ${ndk(path_name(sec)) | csym}_END,
Dmetadata_helpers.py109 def path_name(node): function
/system/iorap/src/inode2filename/
Dsearch_directories.cc640 std::string path_name; member
644 os << "StatError{" << e.err_no << "," << e.path_name << "}"; in operator <<()
649 static iorap::expected<struct stat, StatError> Stat(const std::string& path_name, in Stat() argument
654 if (system_call->stat(path_name.c_str(), /*out*/&statbuf) == 0) { in Stat()
657 return iorap::unexpected(StatError{errno, path_name}); in Stat()
/system/core/libmodprobe/include/modprobe/
Dmodprobe.h44 bool Insmod(const std::string& path_name, const std::string& parameters);
/system/iorap/tests/src/inode2filename/
Dsearch_directories_test.cc1335 std::optional<PathEntry> GetEntryFor(const std::string& path_name) { in GetEntryFor()
1336 PurePath path{path_name}; in GetEntryFor()
1345 bool HasDirectory(const std::string& path_name) { in HasDirectory()
1346 PurePath path{path_name}; in HasDirectory()
1355 std::vector<PathEntry> OpenDirectory(const std::string& path_name) { in OpenDirectory()
1356 PurePath path{path_name}; in OpenDirectory()