Home
last modified time | relevance | path

Searched refs:multiuser_get_user_id (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DUserHandleTest.java51 EXPECT_EQ(0, multiuser_get_user_id(0)); in testSplitUser()
52 EXPECT_EQ(0, multiuser_get_user_id(1000)); in testSplitUser()
53 EXPECT_EQ(0, multiuser_get_user_id(10000)); in testSplitUser()
54 EXPECT_EQ(0, multiuser_get_user_id(50000)); in testSplitUser()
55 EXPECT_EQ(10, multiuser_get_user_id(1000000)); in testSplitUser()
56 EXPECT_EQ(10, multiuser_get_user_id(1001000)); in testSplitUser()
57 EXPECT_EQ(10, multiuser_get_user_id(1010000)); in testSplitUser()
58 EXPECT_EQ(10, multiuser_get_user_id(1050000)); in testSplitUser()
113 private static int multiuser_get_user_id(int uid) { in multiuser_get_user_id() method in UserHandleTest
/frameworks/native/cmds/installd/
Dutils.cpp833 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()) in validate_secondary_dex_path()
835 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()
841 volume_uuid, multiuser_get_user_id(uid), pkgname.c_str()); in validate_secondary_dex_path()
Ddexopt.cpp700 users.push_back(multiuser_get_user_id(uid)); in open_profile_files()
898 clear_current_profile(package_name, location, multiuser_get_user_id(uid), in analyze_profiles()
2228 multiuser_get_user_id(uid), pkgname, dex_path, /*is_secondary*/true); in reconcile_secondary_dex_file()
DInstalldNativeService.cpp700 int32_t gid = multiuser_get_cache_gid(multiuser_get_user_id(uid), multiuser_get_app_id(uid)); in get_cache_gid()
1063 multiuser_get_user_id(uid), multiuser_get_app_id(uid), device)); in freeCache()
/frameworks/base/core/jni/
Dcom_android_internal_os_Zygote.cpp417 userid_t user_id = multiuser_get_user_id(uid); in MountEmulatedStorage()
/frameworks/av/services/camera/libcameraservice/
DCameraService.cpp923 userid_t clientUserId = multiuser_get_user_id(clientUid); in validateClientPermissionsLocked()
1852 userid_t clientUserId = multiuser_get_user_id(clientUid); in doUserSwitch()
2624 clientUserId = multiuser_get_user_id(clientUid); in toString()