Home
last modified time | relevance | path

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

/system/core/libcutils/
Dmultiuser_test.cpp45 EXPECT_EQ(0U, multiuser_get_app_id(0)); in TEST()
46 EXPECT_EQ(1000U, multiuser_get_app_id(1000)); in TEST()
47 EXPECT_EQ(10000U, multiuser_get_app_id(10000)); in TEST()
48 EXPECT_EQ(50000U, multiuser_get_app_id(50000)); in TEST()
49 EXPECT_EQ(0U, multiuser_get_app_id(1000000)); in TEST()
50 EXPECT_EQ(1000U, multiuser_get_app_id(1001000)); in TEST()
51 EXPECT_EQ(10000U, multiuser_get_app_id(1010000)); in TEST()
52 EXPECT_EQ(50000U, multiuser_get_app_id(1050000)); in TEST()
Dmultiuser.cpp24 appid_t multiuser_get_app_id(uid_t uid) { in multiuser_get_app_id() 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.h30 extern appid_t multiuser_get_app_id(uid_t uid);
/system/core/libcutils/include_vndk/cutils/
Dmultiuser.h30 extern appid_t multiuser_get_app_id(uid_t uid);