| /system/core/gatekeeperd/binder/android/service/gatekeeper/ | 
| D | IGateKeeperService.aidl | 42     GateKeeperResponse enroll(int userId, in @nullable byte[] currentPasswordHandle,  in enroll()53 …GateKeeperResponse verify(int userId, in byte[] enrolledPasswordHandle, in byte[] providedPassword…  in verify()
 66     GateKeeperResponse verifyChallenge(int userId, long challenge, in byte[] enrolledPasswordHandle,  in verifyChallenge()
 74     long getSecureUserId(int userId);  in getSecureUserId()
 81     void clearSecureUserId(int userId);  in clearSecureUserId()
 
 | 
| /system/security/keystore2/aidl/android/security/maintenance/ | 
| D | IKeystoreMaintenance.aidl | 40     void onUserAdded(in int userId);  in onUserAdded()52     void onUserRemoved(in int userId);  in onUserRemoved()
 67     void onUserPasswordChanged(in int userId, in @nullable byte[] password);  in onUserPasswordChanged()
 90     UserState getState(in int userId);  in getState()
 
 | 
| /system/core/storaged/binder/android/os/ | 
| D | IStoraged.aidl | 21     void onUserStarted(int userId);  in onUserStarted()22     void onUserStopped(int userId);  in onUserStopped()
 
 | 
| /system/core/gatekeeperd/ | 
| D | gatekeeperd.cpp | 93     void store_sid(uint32_t userId, uint64_t sid) {  in store_sid()136     void maybe_store_sid(uint32_t userId, uint64_t sid) {  in maybe_store_sid()
 144     uint64_t read_sid(uint32_t userId) {  in read_sid()
 155     void clear_sid(uint32_t userId) {  in clear_sid()
 166     uint32_t adjust_userId(uint32_t userId) {  in adjust_userId()
 178     Status enroll(int32_t userId, const std::optional<std::vector<uint8_t>>& currentPasswordHandle,  in enroll()
 287     Status verify(int32_t userId, const ::std::vector<uint8_t>& enrolledPasswordHandle,  in verify()
 293     Status verifyChallenge(int32_t userId, int64_t challenge,  in verifyChallenge()
 417     Status getSecureUserId(int32_t userId, int64_t* sid) override {  in getSecureUserId()
 422     Status clearSecureUserId(int32_t userId) override {  in clearSecureUserId()
 
 | 
| /system/vold/binder/android/os/ | 
| D | IVold.aidl | 33     void onUserAdded(int userId, int userSerial, int sharesStorageWithUserId);  in onUserAdded()34     void onUserRemoved(int userId);  in onUserRemoved()
 35     void onUserStarted(int userId);  in onUserStarted()
 36     void onUserStopped(int userId);  in onUserStopped()
 88     void createUserKey(int userId, int userSerial, boolean ephemeral);  in createUserKey()
 89     void destroyUserKey(int userId);  in destroyUserKey()
 91     void setUserKeyProtection(int userId, @utf8InCpp String secret);  in setUserKeyProtection()
 94     void unlockUserKey(int userId, int userSerial, @utf8InCpp String secret);  in unlockUserKey()
 95     void lockUserKey(int userId);  in lockUserKey()
 97     void prepareUserStorage(@nullable @utf8InCpp String uuid, int userId, int userSerial,  in prepareUserStorage()
 [all …]
 
 | 
| D | IVoldListener.aidl | 28             int type, @utf8InCpp String diskId, @utf8InCpp String partGuid, int userId);  in onVolumeCreated()
 | 
| /system/security/keystore/ | 
| D | keystore_keymaster_enforcement.h | 88     bool is_device_locked(int32_t userId) const override {  in is_device_locked()95     void set_device_locked(bool isLocked, int32_t userId) {  in set_device_locked()
 
 | 
| D | user_state.cpp | 38 UserState::UserState(uid_t userId)  in UserState()50 bool operator<(uid_t userId, const UserState& rhs) {  in operator <()
 279 LockedUserState<UserState> UserStateDB::getUserState(uid_t userId) {  in getUserState()
 
 | 
| /system/vold/model/ | 
| D | EmulatedVolume.cpp | 47 EmulatedVolume::EmulatedVolume(const std::string& rawPath, int userId)  in EmulatedVolume()58                                int userId)  in EmulatedVolume()
 119     int userId = getMountUserId();  in mountFuseBindMounts()  local
 236     int userId = getMountUserId();  in unmountFuseBindMounts()  local
 487     int userId = getMountUserId();  in doUnmount()  local
 
 | 
| /system/vold/ | 
| D | VoldNativeService.cpp | 185 binder::Status VoldNativeService::onUserAdded(int32_t userId, int32_t userSerial,  in onUserAdded()194 binder::Status VoldNativeService::onUserRemoved(int32_t userId) {  in onUserRemoved()
 201 binder::Status VoldNativeService::onUserStarted(int32_t userId) {  in onUserStarted()
 208 binder::Status VoldNativeService::onUserStopped(int32_t userId) {  in onUserStopped()
 600 binder::Status VoldNativeService::createUserKey(int32_t userId, int32_t userSerial,  in createUserKey()
 608 binder::Status VoldNativeService::destroyUserKey(int32_t userId) {  in destroyUserKey()
 615 binder::Status VoldNativeService::setUserKeyProtection(int32_t userId, const std::string& secret) {  in setUserKeyProtection()
 630 binder::Status VoldNativeService::unlockUserKey(int32_t userId, int32_t userSerial,  in unlockUserKey()
 638 binder::Status VoldNativeService::lockUserKey(int32_t userId) {  in lockUserKey()
 646                                                      int32_t userId, int32_t userSerial,  in prepareUserStorage()
 [all …]
 
 | 
| D | VolumeManager.cpp | 372 void VolumeManager::destroyEmulatedVolumesForUser(userid_t userId) {  in destroyEmulatedVolumesForUser()405 void VolumeManager::createEmulatedVolumesForUser(userid_t userId) {  in createEmulatedVolumesForUser()
 430 userid_t VolumeManager::getSharedStorageUser(userid_t userId) {  in getSharedStorageUser()
 437 int VolumeManager::onUserAdded(userid_t userId, int userSerialNumber,  in onUserAdded()
 448 int VolumeManager::onUserRemoved(userid_t userId) {  in onUserRemoved()
 457 int VolumeManager::onUserStarted(userid_t userId) {  in onUserStarted()
 470 int VolumeManager::onUserStopped(userid_t userId) {  in onUserStopped()
 593 bool scanProcProcesses(uid_t uid, userid_t userId, ScanProcCallback callback, void* params) {  in scanProcProcesses()
 769 static std::string getStorageDirSrc(userid_t userId, const std::string& dirName,  in getStorageDirSrc()
 780 static std::string getStorageDirTarget(userid_t userId, std::string dirName,  in getStorageDirTarget()
 [all …]
 
 | 
| D | Utils.cpp | 1107 std::string BuildDataSystemLegacyPath(userid_t userId) {  in BuildDataSystemLegacyPath()1111 std::string BuildDataSystemCePath(userid_t userId) {  in BuildDataSystemCePath()
 1115 std::string BuildDataSystemDePath(userid_t userId) {  in BuildDataSystemDePath()
 1119 std::string BuildDataMiscLegacyPath(userid_t userId) {  in BuildDataMiscLegacyPath()
 1124 std::string BuildDataProfilesDePath(userid_t userId) {  in BuildDataProfilesDePath()
 1128 std::string BuildDataVendorCePath(userid_t userId) {  in BuildDataVendorCePath()
 1132 std::string BuildDataVendorDePath(userid_t userId) {  in BuildDataVendorDePath()
 1146 std::string BuildDataMediaCePath(const std::string& volumeUuid, userid_t userId) {  in BuildDataMediaCePath()
 1152 std::string BuildDataMiscCePath(const std::string& volumeUuid, userid_t userId) {  in BuildDataMiscCePath()
 1156 std::string BuildDataMiscDePath(const std::string& volumeUuid, userid_t userId) {  in BuildDataMiscDePath()
 [all …]
 
 | 
| /system/security/keystore2/aidl/android/security/authorization/ | 
| D | IKeystoreAuthorization.aidl | 76     void onLockScreenEvent(in LockScreenEvent lockScreenEvent, in int userId,  in onLockScreenEvent()
 | 
| /system/core/storaged/ | 
| D | storaged_service.cpp | 167 binder::Status StoragedService::onUserStarted(int32_t userId) {  in onUserStarted()172 binder::Status StoragedService::onUserStopped(int32_t userId) {  in onUserStopped()
 
 | 
| /system/core/run-as/ | 
| D | run-as.cpp | 186   int userId = 0;  in main()  local
 | 
| /system/logging/logd/ | 
| D | LogStatistics.cpp | 264     uid_t userId = uid % AID_USER_OFFSET;  in UidToNameLocked()  local
 |