Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/os/
DUserHandleTest.java90 EXPECT_EQ(0, multiuser_get_shared_gid(0, 0)); in testShared()
91 EXPECT_EQ(1000, multiuser_get_shared_gid(0, 1000)); in testShared()
92 EXPECT_EQ(50000, multiuser_get_shared_gid(0, 10000)); in testShared()
93 EXPECT_EQ(ERR_GID, multiuser_get_shared_gid(0, 50000)); in testShared()
94 EXPECT_EQ(0, multiuser_get_shared_gid(10, 0)); in testShared()
95 EXPECT_EQ(1000, multiuser_get_shared_gid(10, 1000)); in testShared()
96 EXPECT_EQ(50000, multiuser_get_shared_gid(10, 10000)); in testShared()
97 EXPECT_EQ(ERR_GID, multiuser_get_shared_gid(10, 50000)); in testShared()
112 private static int multiuser_get_shared_gid(int userId, int appId) { in multiuser_get_shared_gid() method in UserHandleTest
/frameworks/native/cmds/installd/
DInstalldNativeService.cpp637 int shared_app_gid = multiuser_get_shared_gid(userId, appId); in prepare_app_profile_dir()
717 gid_t sharedGid = multiuser_get_shared_gid(userId, appId); in chown_app_profile_dir()
2413 int sharedGid = multiuser_get_shared_gid(0, appId); in collectQuotaStats()
2644 multiuser_get_shared_gid(0, appId)); in getAppSize()
2702 int32_t sharedGid = multiuser_get_shared_gid(0, appId); in getAppSize()
Ddexopt.cpp2590 int app_shared_gid = multiuser_get_shared_gid(/*user_id*/ 0, app_id); in create_app_profile_snapshot()
2834 gid_t app_shared_gid = multiuser_get_shared_gid(user_id, app_id); in prepare_app_profile()
/frameworks/native/cmds/installd/tests/
Dinstalld_dexopt_test.cpp186 const uid_t kTestAppGid = multiuser_get_shared_gid(kTestUserId, kTestAppId);