Home
last modified time | relevance | path

Searched refs:Subsystem (Results 1 – 6 of 6) sorted by relevance

/system/core/init/
Dueventd_parser_test.cpp28 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 …]
Ddevices.h76 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_;
Dueventd_parser.cpp150 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()
Dueventd_parser.h29 std::vector<Subsystem> subsystems;
Dblock_dev_initializer.cpp35 std::vector<Permissions>{}, std::vector<SysfsPermissions>{}, std::vector<Subsystem>{}, in BlockDevInitializer()
Ddevices.cpp518 std::vector<Subsystem> subsystems, std::set<std::string> boot_devices, in DeviceHandler()
529 std::vector<Subsystem>{}, std::set<std::string>{}, false) {}