Searched refs:Subsystem (Results 1 – 6 of 6) sorted by relevance
/system/core/init/ |
D | ueventd_parser_test.cpp | 28 void TestSubsystems(const Subsystem& expected, const Subsystem& test) { in TestSubsystems() 92 auto subsystems = std::vector<Subsystem>{ in TEST() 93 {"test_devname", Subsystem::DEVNAME_UEVENT_DEVNAME, "/dev"}, in TEST() 94 {"test_devpath_no_dirname", Subsystem::DEVNAME_UEVENT_DEVPATH, "/dev"}, in TEST() 95 {"test_devname2", Subsystem::DEVNAME_UEVENT_DEVNAME, "/dev"}, in TEST() 96 {"test_devpath_dirname", Subsystem::DEVNAME_UEVENT_DEVPATH, "/dev/graphics"}}; in TEST() 255 auto subsystems = std::vector<Subsystem>{ in TEST() 256 {"test_devname", Subsystem::DEVNAME_UEVENT_DEVNAME, "/dev"}, in TEST() 257 {"test_devpath_no_dirname", Subsystem::DEVNAME_UEVENT_DEVPATH, "/dev"}, in TEST() 258 {"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(std::string name) : name_(std::move(name)) {} in Subsystem() function 88 Subsystem(std::string name, DevnameSource source, std::string dir_name) in Subsystem() function 115 … std::vector<SysfsPermissions> sysfs_permissions, std::vector<Subsystem> subsystems, 137 std::vector<Subsystem> subsystems_;
|
D | ueventd_parser.cpp | 150 SubsystemParser(std::vector<Subsystem>* subsystems) : subsystems_(subsystems) {} in SubsystemParser() 160 Subsystem subsystem_; 161 std::vector<Subsystem>* subsystems_; 174 subsystem_ = Subsystem(std::move(args[1])); in ParseSection() 181 subsystem_.devname_source_ = Subsystem::DEVNAME_UEVENT_DEVNAME; in ParseDevName() 185 subsystem_.devname_source_ = Subsystem::DEVNAME_UEVENT_DEVPATH; in ParseDevName()
|
D | ueventd_parser.h | 29 std::vector<Subsystem> subsystems;
|
D | block_dev_initializer.cpp | 35 std::vector<Permissions>{}, std::vector<SysfsPermissions>{}, std::vector<Subsystem>{}, in BlockDevInitializer()
|
D | devices.cpp | 518 std::vector<Subsystem> subsystems, std::set<std::string> boot_devices, in DeviceHandler() 529 std::vector<Subsystem>{}, std::set<std::string>{}, false) {}
|