HomeSort by relevance Sort by last modified time
    Searched refs:decode_uid (Results 1 - 6 of 6) sorted by null

  /system/core/init/
util_test.cpp 39 TEST(util, decode_uid) {
40 EXPECT_EQ(0U, decode_uid("root"));
41 EXPECT_EQ(UINT_MAX, decode_uid("toot"));
42 EXPECT_EQ(123U, decode_uid("123"));
init_parser_test.cpp 91 ASSERT_EQ(decode_uid("log"), svc->uid());
96 ASSERT_EQ(decode_uid("shell"), svc->gid());
102 ASSERT_EQ(decode_uid("system"), svc->supp_gids()[0]);
103 ASSERT_EQ(decode_uid("adb"), svc->supp_gids()[1]);
util.h 53 unsigned int decode_uid(const char *s);
service.cpp 190 gid_ = decode_uid(args[1].c_str());
192 supp_gids_.emplace_back(decode_uid(args[n].c_str()));
255 uid_t uid = args.size() > 4 ? decode_uid(args[4].c_str()) : 0;
256 gid_t gid = args.size() > 5 ? decode_uid(args[5].c_str()) : 0;
264 uid_ = decode_uid(args[1].c_str());
673 uid = decode_uid(args[2].c_str());
678 gid = decode_uid(args[3].c_str());
681 supp_gids.push_back(decode_uid(args[4 + i].c_str()));
builtins.cpp 319 uid_t uid = decode_uid(args[3].c_str());
323 gid = decode_uid(args[4].c_str());
831 if (lchown(args[2].c_str(), decode_uid(args[1].c_str()), -1) == -1)
834 if (lchown(args[3].c_str(), decode_uid(args[1].c_str()),
835 decode_uid(args[2].c_str())) == -1)
util.cpp 83 * decode_uid - decodes and returns the given string, which can be either the
87 unsigned int decode_uid(const char *s) { function
90 ERROR("decode_uid: Unable to find UID for '%s'. Returning UINT_MAX\n", s);

Completed in 506 milliseconds