Home
last modified time | relevance | path

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

/system/core/logd/tests/
Dlogd_test.cpp218 char* uid_name = cp; in TEST() local
220 while ((uid_name = strstr(uid_name, getpwuid_prefix)) != nullptr) { in TEST()
221 used_getpwuid = uid_name + 1; in TEST()
222 uid_name += strlen(getpwuid_prefix); in TEST()
223 while (isdigit(*uid_name)) ++uid_name; in TEST()
224 used_getpwuid_len = uid_name - used_getpwuid; in TEST()
225 if (isspace(*uid_name)) break; in TEST()
/system/core/storaged/
Dstoraged.proto24 optional string uid_name = 1; field
Dstoraged_uid_monitor.cpp496 if (existing_uids.find(rec_proto.uid_name()) != existing_uids.end()) { in load_uid_io_proto()
501 record.name = rec_proto.uid_name(); in load_uid_io_proto()
/system/core/storaged/tests/
Dstoraged_test.cpp499 EXPECT_EQ(user_0_item_0.records().entries(0).uid_name(), "app1"); in TEST()
502 EXPECT_EQ(user_0_item_0.records().entries(1).uid_name(), "app2"); in TEST()
509 EXPECT_EQ(user_0_item_1.records().entries(0).uid_name(), "app3"); in TEST()
518 EXPECT_EQ(user_1_item_0.records().entries(0).uid_name(), "app1"); in TEST()
526 EXPECT_EQ(user_1_item_1.records().entries(0).uid_name(), "app1"); in TEST()