Home
last modified time | relevance | path

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

/system/core/libmodprobe/
Dlibmodprobe.cpp241 void Modprobe::AddOption(const std::string& module_name, const std::string& option_name, in AddOption() argument
245 auto option_str = option_name + "=" + value; in AddOption()
256 std::string option_name = ""; in ParseKernelCmdlineOptions() local
274 if (!module_name.empty() && !option_name.empty()) { in ParseKernelCmdlineOptions()
275 AddOption(module_name, option_name, value); in ParseKernelCmdlineOptions()
279 option_name = ""; in ParseKernelCmdlineOptions()
299 option_name = cmdline.substr(start, i - start); in ParseKernelCmdlineOptions()
309 if (!module_name.empty() && !option_name.empty()) { in ParseKernelCmdlineOptions()
310 AddOption(module_name, option_name, value); in ParseKernelCmdlineOptions()
/system/extras/boottime_tools/bootio/
Dbootio.cpp127 const std::string option_name = longOptions[optionIndex].name; in main() local
128 LOG(ERROR) << "Invalid option: " << option_name; in main()
/system/core/bootstat/
Dbootstat.cpp1492 const std::string option_name = long_options[option_index].name; in main() local
1493 if (option_name == value_str) { in main()
1497 } else if (option_name == system_boot_reason_str) { in main()
1499 } else if (option_name == boot_complete_str) { in main()
1501 } else if (option_name == boot_reason_str) { in main()
1503 } else if (option_name == factory_reset_str) { in main()
1505 } else if (option_name == boot_reason_enum_str) { in main()
1508 LOG(ERROR) << "Invalid option: " << option_name; in main()
/system/core/libmodprobe/include/modprobe/
Dmodprobe.h49 void AddOption(const std::string& module_name, const std::string& option_name,