Home
last modified time | relevance | path

Searched refs:Permissions (Results 1 – 8 of 8) sorted by relevance

/system/core/init/
Ddevices.h37 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_;
Dueventd_parser_test.cpp34 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()
Dueventd_parser.h31 std::vector<Permissions> dev_permissions;
Ddevices_test.cpp224 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()
Ddevices.cpp126 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()
Dblock_dev_initializer.cpp35 std::vector<Permissions>{}, std::vector<SysfsPermissions>{}, std::vector<Subsystem>{}, in BlockDevInitializer()
Dueventd_parser.cpp34 std::vector<Permissions>* out_dev_permissions) { in ParsePermissionsLine()
/system/core/rootdir/
Dinit.rc896 # Permissions for System Server and daemons.