Searched refs:userid_t (Results 1 – 12 of 12) sorted by relevance
/system/vold/ |
D | Ext4Crypt.h | 29 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);
|
D | Utils.h | 99 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); 106 std::string BuildDataProfilesForeignDexDePath(userid_t userid); 109 std::string BuildDataMediaCePath(const char* volumeUuid, userid_t userid); 110 std::string BuildDataUserCePath(const char* volumeUuid, userid_t userid); [all …]
|
D | VolumeManager.h | 127 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); 204 int linkPrimary(userid_t userId); 211 std::unordered_map<userid_t, int> mAddedUsers; 212 std::unordered_set<userid_t> mStartedUsers;
|
D | Ext4Crypt.cpp | 73 std::set<userid_t> s_ephemeral_users; 76 std::map<userid_t, std::string> s_de_key_raw_refs; 77 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 …]
|
D | Utils.cpp | 563 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() 592 std::string BuildDataProfilesForeignDexDePath(userid_t userId) { in BuildDataProfilesForeignDexDePath() 607 std::string BuildDataMediaCePath(const char* volumeUuid, userid_t userId) { in BuildDataMediaCePath() 613 std::string BuildDataUserCePath(const char* volumeUuid, userid_t userId) { in BuildDataUserCePath() [all …]
|
D | VolumeBase.h | 82 userid_t getMountUserId() { return mMountUserId; } in getMountUserId() 90 status_t setMountUserId(userid_t mountUserId); 132 userid_t mMountUserId;
|
D | VolumeManager.cpp | 421 int VolumeManager::linkPrimary(userid_t userId) { in linkPrimary() 443 int VolumeManager::onUserAdded(userid_t userId, int userSerialNumber) { in onUserAdded() 448 int VolumeManager::onUserRemoved(userid_t userId) { in onUserRemoved() 453 int VolumeManager::onUserStarted(userid_t userId) { in onUserStarted() 467 int VolumeManager::onUserStopped(userid_t userId) { in onUserStopped() 474 for (userid_t userId : mStartedUsers) { in setPrimary() 594 userid_t user_id = multiuser_get_user_id(uid); in remountUid()
|
D | VolumeBase.cpp | 82 status_t VolumeBase::setMountUserId(userid_t mountUserId) { in setMountUserId()
|
D | CommandListener.cpp | 217 userid_t mountUserId = (argc > 4) ? atoi(argv[4]) : -1; in runCommand()
|
/system/core/include/cutils/ |
D | multiuser.h | 32 typedef uid_t userid_t; typedef 35 extern userid_t multiuser_get_user_id(uid_t uid); 37 extern uid_t multiuser_get_uid(userid_t userId, appid_t appId);
|
/system/core/libcutils/ |
D | multiuser.c | 19 userid_t multiuser_get_user_id(uid_t uid) { in multiuser_get_user_id() 27 uid_t multiuser_get_uid(userid_t userId, appid_t appId) { in multiuser_get_uid()
|
/system/core/sdcard/ |
D | sdcard.c | 159 userid_t userid; 1834 gid_t gid, userid_t userid, bool multi_user, bool full_write) { in run() 1955 gid_t fsgid, bool multi_user, userid_t userid, gid_t gid, mode_t mask) { in sdcardfs_setup() 1972 gid_t gid, userid_t userid, bool multi_user, bool full_write) { in run_sdcardfs() 2081 userid_t userid = 0; in main()
|