Searched refs:Permissions (Results 1 – 8 of 8) sorted by relevance
/system/core/init/ |
D | devices.h | 37 class Permissions { 39 friend void TestPermissions(const Permissions& expected, const Permissions& test); 41 Permissions(const std::string& name, mode_t perm, uid_t uid, gid_t gid); 61 class SysfsPermissions : public Permissions { 67 : Permissions(name, perm, uid, gid), attribute_(attribute) {} in SysfsPermissions() 114 DeviceHandler(std::vector<Permissions> dev_permissions, 135 std::vector<Permissions> dev_permissions_;
|
D | ueventd_parser_test.cpp | 34 void TestPermissions(const Permissions& expected, const Permissions& test) { in TestPermissions() 101 TEST(ueventd_parser, Permissions) { in TEST() argument 112 auto permissions = std::vector<Permissions>{ in TEST() 261 auto permissions = std::vector<Permissions>{ in TEST()
|
D | ueventd_parser.h | 31 std::vector<Permissions> dev_permissions;
|
D | devices_test.cpp | 224 Permissions permissions("/dev/null", 0666, 0, 0); in TEST() 236 Permissions permissions("/dev/dri/*", 0666, 0, 1000); in TEST() 249 Permissions permissions("/dev/device*name", 0666, 0, 1000); in TEST() 263 Permissions permissions("/dev/device*name*", 0666, 0, 1000); in TEST()
|
D | devices.cpp | 126 Permissions::Permissions(const std::string& name, mode_t perm, uid_t uid, gid_t gid) in Permissions() function in android::init::Permissions 150 bool Permissions::Match(const std::string& path) const { in Match() 516 DeviceHandler::DeviceHandler(std::vector<Permissions> dev_permissions, in DeviceHandler() 528 : DeviceHandler(std::vector<Permissions>{}, std::vector<SysfsPermissions>{}, in DeviceHandler()
|
D | block_dev_initializer.cpp | 35 std::vector<Permissions>{}, std::vector<SysfsPermissions>{}, std::vector<Subsystem>{}, in BlockDevInitializer()
|
D | ueventd_parser.cpp | 34 std::vector<Permissions>* out_dev_permissions) { in ParsePermissionsLine()
|
/system/core/rootdir/ |
D | init.rc | 896 # Permissions for System Server and daemons.
|