Searched refs:uid_string (Results 1 – 4 of 4) sorted by relevance
/system/core/logd/ |
D | LogPermissions.cpp | 101 static const char uid_string[] = "Uid:\t"; in clientHasLogCredentials() local 108 } else if (strncmp(uid_string, line, sizeof(uid_string) - 1) == 0) { in clientHasLogCredentials() 111 sscanf(line + sizeof(uid_string) - 1, "%u\t%u\t%u\t%u", &u[0], in clientHasLogCredentials()
|
/system/core/init/ |
D | ueventd_parser.cpp | 58 std::string& uid_string = *it++; in ParsePermissionsLine() local 59 passwd* pwd = getpwnam(uid_string.c_str()); in ParsePermissionsLine() 61 return Error() << "invalid uid '" << uid_string << "'"; in ParsePermissionsLine()
|
/system/core/logcat/ |
D | logcat.cpp | 644 for (const auto& uid_string : uid_strings) { in Run() local 646 if (!ParseUint(uid_string, &uid)) { in Run() 647 error(EXIT_FAILURE, 0, "Unable to parse UID '%s'", uid_string.c_str()); in Run()
|
/system/core/logcat/tests/ |
D | logcat_test.cpp | 1763 auto uid_string = match_results[1]; in SniffUid() local 1764 if (!android::base::ParseUint(uid_string, &uid)) { in SniffUid() 1765 auto pwd = getpwnam(uid_string.str().c_str()); in SniffUid() 1766 ASSERT_NE(nullptr, pwd) << "uid '" << uid_string << "' in line '" << trimmed_line << "'"; in SniffUid()
|