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,
136 std::vector<SysfsPermissions> sysfs_permissions_;
Dueventd_parser_test.cpp43 void TestSysfsPermissions(const SysfsPermissions& expected, const SysfsPermissions& test) { in TestSysfsPermissions()
118 auto sysfs_permissions = std::vector<SysfsPermissions>{ in TEST()
267 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.cpp156 bool SysfsPermissions::MatchWithSubsystem(const std::string& path, in MatchWithSubsystem()
166 void SysfsPermissions::SetPermissions(const std::string& path) const { in SetPermissions()
517 std::vector<SysfsPermissions> sysfs_permissions, in DeviceHandler()
528 : DeviceHandler(std::vector<Permissions>{}, std::vector<SysfsPermissions>{}, in DeviceHandler()
Dblock_dev_initializer.cpp35 std::vector<Permissions>{}, std::vector<SysfsPermissions>{}, std::vector<Subsystem>{}, in BlockDevInitializer()
Dueventd_parser.cpp33 std::vector<SysfsPermissions>* out_sysfs_permissions, in ParsePermissionsLine()