Searched refs:multiuser_get_shared_gid (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/os/ |
D | UserHandleTest.java | 87 EXPECT_EQ(0, multiuser_get_shared_gid(0, 0)); in testShared() 88 EXPECT_EQ(1000, multiuser_get_shared_gid(0, 1000)); in testShared() 89 EXPECT_EQ(50000, multiuser_get_shared_gid(0, 10000)); in testShared() 90 EXPECT_EQ(ERR_GID, multiuser_get_shared_gid(0, 50000)); in testShared() 91 EXPECT_EQ(0, multiuser_get_shared_gid(10, 0)); in testShared() 92 EXPECT_EQ(1000, multiuser_get_shared_gid(10, 1000)); in testShared() 93 EXPECT_EQ(50000, multiuser_get_shared_gid(10, 10000)); in testShared() 94 EXPECT_EQ(ERR_GID, multiuser_get_shared_gid(10, 50000)); in testShared() 109 private static int multiuser_get_shared_gid(int userId, int appId) { in multiuser_get_shared_gid() method in UserHandleTest
|
/frameworks/native/cmds/installd/ |
D | InstalldNativeService.cpp | 410 int shared_app_gid = multiuser_get_shared_gid(userId, appId); in prepare_app_profile_dir() 1263 int sharedGid = multiuser_get_shared_gid(0, appId); in collectQuotaStats() 1489 multiuser_get_shared_gid(0, appId)); in getAppSize() 1534 int32_t sharedGid = multiuser_get_shared_gid(0, appId); in getAppSize()
|
D | dexopt.cpp | 2641 int app_shared_gid = multiuser_get_shared_gid(/*user_id*/ 0, app_id); in create_app_profile_snapshot() 2807 gid_t app_shared_gid = multiuser_get_shared_gid(user_id, app_id); in prepare_app_profile()
|
/frameworks/native/cmds/installd/tests/ |
D | installd_dexopt_test.cpp | 152 const uid_t kTestAppGid = multiuser_get_shared_gid(kTestUserId, kTestAppId);
|