Home
last modified time | relevance | path

Searched refs:GetIdFromStatus (Results 1 – 3 of 3) sorted by relevance

/system/core/crash_reporter/
Duser_collector_test.cc244 TEST_F(UserCollectorTest, GetIdFromStatus) { in TEST_F() argument
246 EXPECT_FALSE(collector_.GetIdFromStatus(UserCollector::kUserId, in TEST_F()
253 EXPECT_FALSE(collector_.GetIdFromStatus(UserCollector::kUserId, in TEST_F()
260 EXPECT_TRUE(collector_.GetIdFromStatus(UserCollector::kUserId, in TEST_F()
266 EXPECT_TRUE(collector_.GetIdFromStatus(UserCollector::kUserId, in TEST_F()
272 EXPECT_TRUE(collector_.GetIdFromStatus(UserCollector::kUserId, in TEST_F()
278 EXPECT_TRUE(collector_.GetIdFromStatus(UserCollector::kGroupId, in TEST_F()
284 EXPECT_TRUE(collector_.GetIdFromStatus(UserCollector::kGroupId, in TEST_F()
290 EXPECT_FALSE(collector_.GetIdFromStatus(UserCollector::kGroupId, in TEST_F()
294 EXPECT_FALSE(collector_.GetIdFromStatus(UserCollector::kGroupId, in TEST_F()
[all …]
Duser_collector.h69 FRIEND_TEST(UserCollectorTest, GetIdFromStatus);
118 bool GetIdFromStatus(const char *prefix,
Duser_collector.cc144 bool UserCollector::GetIdFromStatus( in GetIdFromStatus() function in UserCollector
328 if (!GetIdFromStatus(kUserId, kIdEffective, status_lines, &id)) { in GetCreatedCrashDirectory()