Home
last modified time | relevance | path

Searched refs:UserCollector (Results 1 – 4 of 4) sorted by relevance

/system/core/crash_reporter/
Duser_collector_test.cc50 class UserCollectorMock : public UserCollector {
246 EXPECT_FALSE(collector_.GetIdFromStatus(UserCollector::kUserId, in TEST_F()
247 UserCollector::kIdEffective, in TEST_F()
253 EXPECT_FALSE(collector_.GetIdFromStatus(UserCollector::kUserId, in TEST_F()
254 UserCollector::kIdReal, in TEST_F()
260 EXPECT_TRUE(collector_.GetIdFromStatus(UserCollector::kUserId, in TEST_F()
261 UserCollector::kIdReal, in TEST_F()
266 EXPECT_TRUE(collector_.GetIdFromStatus(UserCollector::kUserId, in TEST_F()
267 UserCollector::kIdEffective, in TEST_F()
272 EXPECT_TRUE(collector_.GetIdFromStatus(UserCollector::kUserId, in TEST_F()
[all …]
Duser_collector.cc59 const char *UserCollector::kUserId = "Uid:\t";
60 const char *UserCollector::kGroupId = "Gid:\t";
71 UserCollector::UserCollector() in UserCollector() function in UserCollector
76 void UserCollector::Initialize( in Initialize()
77 UserCollector::CountCrashFunction count_crash_function, in Initialize()
79 UserCollector::IsFeedbackAllowedFunction is_feedback_allowed_function, in Initialize()
99 UserCollector::~UserCollector() { in ~UserCollector()
102 std::string UserCollector::GetErrorTypeSignature(ErrorType error_type) const { in GetErrorTypeSignature()
121 bool UserCollector::SetUpInternal(bool enabled) { in SetUpInternal()
130 bool UserCollector::GetFirstLineWithPrefix( in GetFirstLineWithPrefix()
[all …]
Duser_collector.h32 class UserCollector : public CrashCollector {
34 UserCollector();
50 ~UserCollector() override;
186 DISALLOW_COPY_AND_ASSIGN(UserCollector);
Dcrash_reporter.cc109 UserCollector *user_collector, in Initialize()
161 static int HandleUserCrash(UserCollector *user_collector, in HandleUserCrash()
281 UserCollector user_collector; in main()