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