Home
last modified time | relevance | path

Searched refs:userid_t (Results 1 – 14 of 14) sorted by relevance

/system/vold/
DExt4Crypt.h29 bool e4crypt_vold_create_user_key(userid_t user_id, int serial, bool ephemeral);
30 bool e4crypt_destroy_user_key(userid_t user_id);
31 bool e4crypt_add_user_key_auth(userid_t user_id, int serial, const char* token,
33 bool e4crypt_fixate_newest_user_key_auth(userid_t user_id);
35 bool e4crypt_unlock_user_key(userid_t user_id, int serial, const char* token, const char* secret);
36 bool e4crypt_lock_user_key(userid_t user_id);
38 bool e4crypt_prepare_user_storage(const char* volume_uuid, userid_t user_id, int serial, int flags);
39 bool e4crypt_destroy_user_storage(const char* volume_uuid, userid_t user_id, int flags);
DUtils.h99 std::string BuildDataSystemLegacyPath(userid_t userid);
100 std::string BuildDataSystemCePath(userid_t userid);
101 std::string BuildDataSystemDePath(userid_t userid);
102 std::string BuildDataMiscLegacyPath(userid_t userid);
103 std::string BuildDataMiscCePath(userid_t userid);
104 std::string BuildDataMiscDePath(userid_t userid);
105 std::string BuildDataProfilesDePath(userid_t userid);
108 std::string BuildDataMediaCePath(const char* volumeUuid, userid_t userid);
109 std::string BuildDataUserCePath(const char* volumeUuid, userid_t userid);
110 std::string BuildDataUserDePath(const char* volumeUuid, userid_t userid);
DVolumeManager.h127 int onUserAdded(userid_t userId, int userSerialNumber);
128 int onUserRemoved(userid_t userId);
129 int onUserStarted(userid_t userId);
130 int onUserStopped(userid_t userId);
205 int linkPrimary(userid_t userId);
212 std::unordered_map<userid_t, int> mAddedUsers;
213 std::unordered_set<userid_t> mStartedUsers;
DExt4Crypt.cpp74 std::set<userid_t> s_ephemeral_users;
77 std::map<userid_t, std::string> s_de_key_raw_refs;
78 std::map<userid_t, std::string> s_ce_key_raw_refs;
80 std::map<userid_t, std::string> s_ce_keys;
177 static std::string get_de_key_path(userid_t user_id) { in get_de_key_path()
181 static std::string get_ce_key_directory_path(userid_t user_id) { in get_ce_key_directory_path()
253 static bool read_and_fixate_user_ce_key(userid_t user_id, in read_and_fixate_user_ce_key()
270 static bool read_and_install_user_ce_key(userid_t user_id, in read_and_install_user_ce_key()
334 static bool create_and_install_user_keys(userid_t user_id, bool create_ephemeral) { in create_and_install_user_keys()
365 static bool lookup_key_ref(const std::map<userid_t, std::string>& key_map, userid_t user_id, in lookup_key_ref() argument
[all …]
DVolumeBase.h82 userid_t getMountUserId() { return mMountUserId; } in getMountUserId()
90 status_t setMountUserId(userid_t mountUserId);
132 userid_t mMountUserId;
DUtils.cpp563 std::string BuildDataSystemLegacyPath(userid_t userId) { in BuildDataSystemLegacyPath()
567 std::string BuildDataSystemCePath(userid_t userId) { in BuildDataSystemCePath()
571 std::string BuildDataSystemDePath(userid_t userId) { in BuildDataSystemDePath()
575 std::string BuildDataMiscLegacyPath(userid_t userId) { in BuildDataMiscLegacyPath()
579 std::string BuildDataMiscCePath(userid_t userId) { in BuildDataMiscCePath()
583 std::string BuildDataMiscDePath(userid_t userId) { in BuildDataMiscDePath()
588 std::string BuildDataProfilesDePath(userid_t userId) { in BuildDataProfilesDePath()
602 std::string BuildDataMediaCePath(const char* volumeUuid, userid_t userId) { in BuildDataMediaCePath()
608 std::string BuildDataUserCePath(const char* volumeUuid, userid_t userId) { in BuildDataUserCePath()
622 std::string BuildDataUserDePath(const char* volumeUuid, userid_t userId) { in BuildDataUserDePath()
DVolumeManager.cpp480 int VolumeManager::linkPrimary(userid_t userId) { in linkPrimary()
502 int VolumeManager::onUserAdded(userid_t userId, int userSerialNumber) { in onUserAdded()
507 int VolumeManager::onUserRemoved(userid_t userId) { in onUserRemoved()
512 int VolumeManager::onUserStarted(userid_t userId) { in onUserStarted()
526 int VolumeManager::onUserStopped(userid_t userId) { in onUserStopped()
533 for (userid_t userId : mStartedUsers) { in setPrimary()
659 userid_t user_id = multiuser_get_user_id(uid); in remountUid()
DVolumeBase.cpp80 status_t VolumeBase::setMountUserId(userid_t mountUserId) { in setMountUserId()
DCommandListener.cpp220 userid_t mountUserId = (argc > 4) ? atoi(argv[4]) : -1; in runCommand()
/system/core/libcutils/include_vndk/cutils/
Dmultiuser.h26 typedef uid_t userid_t; typedef
29 extern userid_t multiuser_get_user_id(uid_t uid);
32 extern uid_t multiuser_get_uid(userid_t user_id, appid_t app_id);
34 extern gid_t multiuser_get_cache_gid(userid_t user_id, appid_t app_id);
35 extern gid_t multiuser_get_ext_gid(userid_t user_id, appid_t app_id);
36 extern gid_t multiuser_get_ext_cache_gid(userid_t user_id, appid_t app_id);
37 extern gid_t multiuser_get_shared_gid(userid_t user_id, appid_t app_id);
/system/core/libcutils/include/cutils/
Dmultiuser.h26 typedef uid_t userid_t; typedef
29 extern userid_t multiuser_get_user_id(uid_t uid);
32 extern uid_t multiuser_get_uid(userid_t user_id, appid_t app_id);
34 extern gid_t multiuser_get_cache_gid(userid_t user_id, appid_t app_id);
35 extern gid_t multiuser_get_ext_gid(userid_t user_id, appid_t app_id);
36 extern gid_t multiuser_get_ext_cache_gid(userid_t user_id, appid_t app_id);
37 extern gid_t multiuser_get_shared_gid(userid_t user_id, appid_t app_id);
/system/core/libcutils/
Dmultiuser.c20 userid_t multiuser_get_user_id(uid_t uid) { in multiuser_get_user_id()
28 uid_t multiuser_get_uid(userid_t user_id, appid_t app_id) { in multiuser_get_uid()
32 gid_t multiuser_get_cache_gid(userid_t user_id, appid_t app_id) { in multiuser_get_cache_gid()
40 gid_t multiuser_get_ext_gid(userid_t user_id, appid_t app_id) { in multiuser_get_ext_gid()
48 gid_t multiuser_get_ext_cache_gid(userid_t user_id, appid_t app_id) { in multiuser_get_ext_cache_gid()
56 gid_t multiuser_get_shared_gid(userid_t user_id, appid_t app_id) { in multiuser_get_shared_gid()
/system/core/sdcard/
Dsdcard.cpp215 gid_t gid, userid_t userid, bool multi_user, bool full_write) { in run()
321 gid_t fsgid, bool multi_user, userid_t userid, gid_t gid, mode_t mask) { in sdcardfs_setup()
356 gid_t gid, userid_t userid, bool multi_user, bool full_write) { in run_sdcardfs()
447 userid_t userid = 0; in main()
Dfuse.h116 userid_t userid;