Home
last modified time | relevance | path

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

/system/core/libcutils/
Dmultiuser_test.cpp83 EXPECT_EQ(0U, multiuser_get_shared_gid(0, 0)); in TEST()
84 EXPECT_EQ(1000U, multiuser_get_shared_gid(0, 1000)); in TEST()
85 EXPECT_EQ(50000U, multiuser_get_shared_gid(0, 10000)); in TEST()
86 EXPECT_EQ(ERR_GID, multiuser_get_shared_gid(0, 50000)); in TEST()
87 EXPECT_EQ(0U, multiuser_get_shared_gid(10, 0)); in TEST()
88 EXPECT_EQ(1000U, multiuser_get_shared_gid(10, 1000)); in TEST()
89 EXPECT_EQ(50000U, multiuser_get_shared_gid(10, 10000)); in TEST()
90 EXPECT_EQ(ERR_GID, multiuser_get_shared_gid(10, 50000)); in TEST()
Dmultiuser.cpp56 gid_t multiuser_get_shared_gid(userid_t, appid_t app_id) { in multiuser_get_shared_gid() function
67 return multiuser_get_shared_gid(multiuser_get_user_id(uid), multiuser_get_app_id(uid)); in multiuser_get_shared_app_gid()
/system/core/libcutils/include/cutils/
Dmultiuser.h37 extern gid_t multiuser_get_shared_gid(userid_t user_id, appid_t app_id);
/system/core/libcutils/include_vndk/cutils/
Dmultiuser.h37 extern gid_t multiuser_get_shared_gid(userid_t user_id, appid_t app_id);