Searched refs:Subsystem (Results 1 – 6 of 6) sorted by relevance
/system/core/init/ |
D | ueventd_parser_test.cpp | 26 void TestSubsystems(const Subsystem& expected, const Subsystem& test) { in TestSubsystems() 90 auto subsystems = std::vector<Subsystem>{ in TEST() 91 {"test_devname", Subsystem::DEVNAME_UEVENT_DEVNAME, "/dev"}, in TEST() 92 {"test_devpath_no_dirname", Subsystem::DEVNAME_UEVENT_DEVPATH, "/dev"}, in TEST() 93 {"test_devname2", Subsystem::DEVNAME_UEVENT_DEVNAME, "/dev"}, in TEST() 94 {"test_devpath_dirname", Subsystem::DEVNAME_UEVENT_DEVPATH, "/dev/graphics"}}; in TEST() 186 auto subsystems = std::vector<Subsystem>{ in TEST() 187 {"test_devname", Subsystem::DEVNAME_UEVENT_DEVNAME, "/dev"}, in TEST() 188 {"test_devpath_no_dirname", Subsystem::DEVNAME_UEVENT_DEVPATH, "/dev"}, in TEST() 189 {"test_devname2", Subsystem::DEVNAME_UEVENT_DEVNAME, "/dev"}, in TEST() [all …]
|
D | devices.h | 76 class Subsystem { 79 friend void TestSubsystems(const Subsystem& expected, const Subsystem& test); 86 Subsystem() {} in Subsystem() function 87 Subsystem(const std::string& name) : name_(name) {} in Subsystem() function 88 Subsystem(const std::string& name, DevnameSource source, const std::string& dir_name) in Subsystem() function 115 … std::vector<SysfsPermissions> sysfs_permissions, std::vector<Subsystem> subsystems, 136 std::vector<Subsystem> subsystems_;
|
D | ueventd_parser.cpp | 126 SubsystemParser(std::vector<Subsystem>* subsystems) : subsystems_(subsystems) {} in SubsystemParser() 136 Subsystem subsystem_; 137 std::vector<Subsystem>* subsystems_; 150 subsystem_ = Subsystem(std::move(args[1])); in ParseSection() 157 subsystem_.devname_source_ = Subsystem::DEVNAME_UEVENT_DEVNAME; in ParseDevName() 161 subsystem_.devname_source_ = Subsystem::DEVNAME_UEVENT_DEVPATH; in ParseDevName()
|
D | ueventd_parser.h | 29 std::vector<Subsystem> subsystems;
|
D | devices.cpp | 470 std::vector<Subsystem> subsystems, std::set<std::string> boot_devices, in DeviceHandler() 481 std::vector<Subsystem>{}, std::set<std::string>{}, false) {}
|
D | first_stage_mount.cpp | 223 std::vector<Permissions>{}, std::vector<SysfsPermissions>{}, std::vector<Subsystem>{}, in FirstStageMount()
|