Home
last modified time | relevance | path

Searched refs:SysfsPermissions (Results 1 – 7 of 7) sorted by relevance

/system/core/init/
Ddevices.h61 class SysfsPermissions : public Permissions {
63 … friend void TestSysfsPermissions(const SysfsPermissions& expected, const SysfsPermissions& test);
65 SysfsPermissions(const std::string& name, const std::string& attribute, mode_t perm, uid_t uid, in SysfsPermissions() function
115 … std::vector<SysfsPermissions> sysfs_permissions, std::vector<Subsystem> subsystems,
135 std::vector<SysfsPermissions> sysfs_permissions_;
Dueventd_parser_test.cpp41 void TestSysfsPermissions(const SysfsPermissions& expected, const SysfsPermissions& test) { in TestSysfsPermissions()
116 auto sysfs_permissions = std::vector<SysfsPermissions>{ in TEST()
198 auto sysfs_permissions = std::vector<SysfsPermissions>{ in TEST()
Dueventd_parser.h30 std::vector<SysfsPermissions> sysfs_permissions;
Ddevices_test.cpp278 SysfsPermissions permissions("/sys/devices/virtual/input/input*", "enable", 0660, 0, 1001); in TEST()
288 SysfsPermissions permissions("/sys/class/input/event*", "enable", 0660, 0, 1001); in TEST()
302 SysfsPermissions permissions("/sys/bus/i2c/devices/i2c-*", "enable", 0660, 0, 1001); in TEST()
Ddevices.cpp169 bool SysfsPermissions::MatchWithSubsystem(const std::string& path, in MatchWithSubsystem()
179 void SysfsPermissions::SetPermissions(const std::string& path) const { in SetPermissions()
469 std::vector<SysfsPermissions> sysfs_permissions, in DeviceHandler()
480 : DeviceHandler(std::vector<Permissions>{}, std::vector<SysfsPermissions>{}, in DeviceHandler()
Dueventd_parser.cpp33 std::vector<SysfsPermissions>* out_sysfs_permissions, in ParsePermissionsLine()
Dfirst_stage_mount.cpp223 std::vector<Permissions>{}, std::vector<SysfsPermissions>{}, std::vector<Subsystem>{}, in FirstStageMount()