/system/core/gatekeeperd/ |
D | gatekeeperd.h | 36 void store_sid(uint32_t userId, uint64_t sid); 42 void maybe_store_sid(uint32_t userId, uint64_t sid); 44 uint64_t read_sid(uint32_t userId); 46 void clear_sid(uint32_t userId); 50 Status adjust_userId(uint32_t userId, uint32_t* hw_userId); 54 Status enroll(int32_t userId, const std::optional<std::vector<uint8_t>>& currentPasswordHandle, 58 Status verify(int32_t userId, const ::std::vector<uint8_t>& enrolledPasswordHandle, 61 Status verifyChallenge(int32_t userId, int64_t challenge, 66 Status getSecureUserId(int32_t userId, int64_t* sid) override; 68 Status clearSecureUserId(int32_t userId) override;
|
D | gatekeeperd.cpp | 80 void GateKeeperProxy::store_sid(uint32_t userId, uint64_t sid) { in store_sid() argument 82 snprintf(filename, sizeof(filename), "%u", userId); in store_sid() 123 void GateKeeperProxy::maybe_store_sid(uint32_t userId, uint64_t sid) { in maybe_store_sid() argument 125 snprintf(filename, sizeof(filename), "%u", userId); in maybe_store_sid() 127 store_sid(userId, sid); in maybe_store_sid() 131 uint64_t GateKeeperProxy::read_sid(uint32_t userId) { in read_sid() argument 134 snprintf(filename, sizeof(filename), "%u", userId); in read_sid() 142 void GateKeeperProxy::clear_sid(uint32_t userId) { in clear_sid() argument 144 snprintf(filename, sizeof(filename), "%u", userId); in clear_sid() 147 store_sid(userId, 0); in clear_sid() [all …]
|
/system/vold/model/ |
D | EmulatedVolume.cpp | 47 EmulatedVolume::EmulatedVolume(const std::string& rawPath, int userId) in EmulatedVolume() argument 49 setId(StringPrintf("emulated;%u", userId)); in EmulatedVolume() 58 int userId) in EmulatedVolume() argument 60 setId(StringPrintf("emulated:%u,%u;%u", major(device), minor(device), userId)); in EmulatedVolume() 119 int userId = getMountUserId(); in mountFuseBindMounts() local 137 androidSource = StringPrintf("/mnt/runtime/default/%s/%d/Android", label.c_str(), userId); in mountFuseBindMounts() 139 androidSource = StringPrintf("/%s/%d/Android", mRawPath.c_str(), userId); in mountFuseBindMounts() 147 StringPrintf("/mnt/user/%d/%s/%d/Android/data", userId, label.c_str(), userId)); in mountFuseBindMounts() 155 StringPrintf("/mnt/user/%d/%s/%d/Android/obb", userId, label.c_str(), userId)); in mountFuseBindMounts() 167 label.c_str(), userId)); in mountFuseBindMounts() [all …]
|
D | EmulatedVolume.h | 40 explicit EmulatedVolume(const std::string& rawPath, int userId); 41 EmulatedVolume(const std::string& rawPath, dev_t device, const std::string& fsUuid, int userId);
|
/system/security/keystore2/aidl/android/security/maintenance/ |
D | IKeystoreMaintenance.aidl | 39 void onUserAdded(in int userId); in onUserAdded() argument 53 void initUserSuperKeys(in int userId, in byte[] password, in boolean allowExisting); in initUserSuperKeys() argument 65 void onUserRemoved(in int userId); in onUserRemoved() argument 77 void onUserLskfRemoved(in int userId); in onUserLskfRemoved() argument 92 void onUserPasswordChanged(in int userId, in @nullable byte[] password); in onUserPasswordChanged() argument 154 long[] getAppUidsAffectedBySid(in int userId, in long sid); in getAppUidsAffectedBySid() argument
|
/system/core/gatekeeperd/binder/android/service/gatekeeper/ |
D | IGateKeeperService.aidl | 42 GateKeeperResponse enroll(int userId, in @nullable byte[] currentPasswordHandle, in enroll() argument 53 …GateKeeperResponse verify(int userId, in byte[] enrolledPasswordHandle, in byte[] providedPassword… in verify() argument 66 GateKeeperResponse verifyChallenge(int userId, long challenge, in byte[] enrolledPasswordHandle, in verifyChallenge() argument 74 long getSecureUserId(int userId); in getSecureUserId() argument 81 void clearSecureUserId(int userId); in clearSecureUserId() argument
|
/system/vold/binder/android/os/ |
D | IVold.aidl | 34 void onUserAdded(int userId, int userSerial, int sharesStorageWithUserId); in onUserAdded() argument 35 void onUserRemoved(int userId); in onUserRemoved() argument 36 void onUserStarted(int userId); in onUserStarted() argument 37 void onUserStopped(int userId); in onUserStopped() argument 91 void createUserStorageKeys(int userId, boolean ephemeral); in createUserStorageKeys() argument 92 void destroyUserStorageKeys(int userId); in destroyUserStorageKeys() argument 94 void setCeStorageProtection(int userId, in byte[] secret); in setCeStorageProtection() argument 97 void unlockCeStorage(int userId, in byte[] secret); in unlockCeStorage() argument 98 void lockCeStorage(int userId); in lockCeStorage() argument 100 void prepareUserStorage(@nullable @utf8InCpp String uuid, int userId, int storageFlags); in prepareUserStorage() argument [all …]
|
D | IVoldListener.aidl | 28 int type, @utf8InCpp String diskId, @utf8InCpp String partGuid, int userId); in onVolumeCreated() argument 29 void onVolumeStateChanged(@utf8InCpp String volId, int state, int userId); in onVolumeStateChanged() argument
|
/system/vold/ |
D | VolumeManager.cpp | 367 void VolumeManager::destroyEmulatedVolumesForUser(userid_t userId) { in destroyEmulatedVolumesForUser() argument 372 if (vol->getMountUserId() == userId) { in destroyEmulatedVolumesForUser() 388 if (vol->getMountUserId() == userId) { in destroyEmulatedVolumesForUser() 400 void VolumeManager::createEmulatedVolumesForUser(userid_t userId) { in createEmulatedVolumesForUser() argument 403 new android::vold::EmulatedVolume("/data/media", userId)); in createEmulatedVolumesForUser() 404 vol->setMountUserId(userId); in createEmulatedVolumesForUser() 417 userId)); in createEmulatedVolumesForUser() 418 evol->setMountUserId(userId); in createEmulatedVolumesForUser() 425 userid_t VolumeManager::getSharedStorageUser(userid_t userId) { in getSharedStorageUser() argument 426 if (mSharedStorageUser.find(userId) == mSharedStorageUser.end()) { in getSharedStorageUser() [all …]
|
D | VoldNativeService.h | 41 binder::Status onUserAdded(int32_t userId, int32_t userSerial, int32_t sharesStorageWithUserId); 42 binder::Status onUserRemoved(int32_t userId); 43 binder::Status onUserStarted(int32_t userId); 44 binder::Status onUserStopped(int32_t userId); 116 binder::Status createUserStorageKeys(int32_t userId, bool ephemeral); 117 binder::Status destroyUserStorageKeys(int32_t userId); 119 binder::Status setCeStorageProtection(int32_t userId, const std::vector<uint8_t>& secret); 122 binder::Status unlockCeStorage(int32_t userId, const std::vector<uint8_t>& secret); 123 binder::Status lockCeStorage(int32_t userId); 125 binder::Status prepareUserStorage(const std::optional<std::string>& uuid, int32_t userId, [all …]
|
D | VolumeManager.h | 107 userid_t getSharedStorageUser(userid_t userId); 111 int onUserAdded(userid_t userId, int userSerialNumber, userid_t cloneParentUserId); 112 int onUserRemoved(userid_t userId); 113 int onUserStarted(userid_t userId); 114 int onUserStopped(userid_t userId); 207 int linkPrimary(userid_t userId); 209 void createEmulatedVolumesForUser(userid_t userId); 210 void destroyEmulatedVolumesForUser(userid_t userId);
|
D | VoldNativeService.cpp | 185 binder::Status VoldNativeService::onUserAdded(int32_t userId, int32_t userSerial, in onUserAdded() argument 191 VolumeManager::Instance()->onUserAdded(userId, userSerial, sharesStorageWithUserId)); in onUserAdded() 194 binder::Status VoldNativeService::onUserRemoved(int32_t userId) { in onUserRemoved() argument 198 return translate(VolumeManager::Instance()->onUserRemoved(userId)); in onUserRemoved() 201 binder::Status VoldNativeService::onUserStarted(int32_t userId) { in onUserStarted() argument 205 return translate(VolumeManager::Instance()->onUserStarted(userId)); in onUserStarted() 208 binder::Status VoldNativeService::onUserStopped(int32_t userId) { in onUserStopped() argument 212 return translate(VolumeManager::Instance()->onUserStopped(userId)); in onUserStopped() 618 binder::Status VoldNativeService::createUserStorageKeys(int32_t userId, bool ephemeral) { in createUserStorageKeys() argument 622 return translateBool(fscrypt_create_user_keys(userId, ephemeral)); in createUserStorageKeys() [all …]
|
D | Utils.cpp | 1107 std::string BuildDataSystemLegacyPath(userid_t userId) { in BuildDataSystemLegacyPath() argument 1108 return StringPrintf("%s/system/users/%u", BuildDataPath("").c_str(), userId); in BuildDataSystemLegacyPath() 1111 std::string BuildDataSystemCePath(userid_t userId) { in BuildDataSystemCePath() argument 1112 return StringPrintf("%s/system_ce/%u", BuildDataPath("").c_str(), userId); in BuildDataSystemCePath() 1115 std::string BuildDataSystemDePath(userid_t userId) { in BuildDataSystemDePath() argument 1116 return StringPrintf("%s/system_de/%u", BuildDataPath("").c_str(), userId); in BuildDataSystemDePath() 1120 std::string BuildDataProfilesDePath(userid_t userId) { in BuildDataProfilesDePath() argument 1121 return StringPrintf("%s/misc/profiles/cur/%u", BuildDataPath("").c_str(), userId); in BuildDataProfilesDePath() 1124 std::string BuildDataVendorCePath(userid_t userId) { in BuildDataVendorCePath() argument 1125 return StringPrintf("%s/vendor_ce/%u", BuildDataPath("").c_str(), userId); in BuildDataVendorCePath() [all …]
|
/system/security/keystore2/aidl/android/security/authorization/ |
D | IKeystoreAuthorization.aidl | 78 void onDeviceUnlocked(in int userId, in @nullable byte[] password); in onDeviceUnlocked() argument 109 void onDeviceLocked(in int userId, in long[] unlockingSids, in boolean weakUnlockEnabled); in onDeviceLocked() argument 122 void onWeakUnlockMethodsExpired(in int userId); in onWeakUnlockMethodsExpired() argument 136 void onNonLskfUnlockMethodsExpired(in int userId); in onNonLskfUnlockMethodsExpired() argument
|
/system/core/run-as/ |
D | run-as.cpp | 183 int userId = 0; in main() local 185 userId = atoi(argv[3]); in main() 186 if (userId < 0) error(1, 0, "negative user id: %d", userId); in main() 204 if ((UID_MAX - info.uid) / AID_USER_OFFSET < (uid_t)userId) { in main() 205 error(1, 0, "user id too big: %d", userId); in main() 209 uid_t userAppId = (AID_USER_OFFSET * userId) + info.uid; in main() 223 if (asprintf(&info.data_dir, "/data/user/%d/%s", userId, pkgname) == -1) { in main()
|
/system/core/storaged/binder/android/os/ |
D | IStoraged.aidl | 21 void onUserStarted(int userId); in onUserStarted() argument 22 void onUserStopped(int userId); in onUserStopped() argument
|
/system/core/storaged/include/ |
D | storaged_service.h | 41 binder::Status onUserStarted(int32_t userId); 42 binder::Status onUserStopped(int32_t userId);
|
/system/hardware/interfaces/media/aidl_api/android.media.soundtrigger.types/1/android/media/soundtrigger/ |
D | ConfidenceLevel.aidl | 38 int userId;
|
/system/hardware/interfaces/media/aidl_api/android.media.soundtrigger.types/current/android/media/soundtrigger/ |
D | ConfidenceLevel.aidl | 38 int userId;
|
/system/hardware/interfaces/media/aidl_api/android.media.soundtrigger.types/2/android/media/soundtrigger/ |
D | ConfidenceLevel.aidl | 38 int userId;
|
/system/hardware/interfaces/media/aidl/android/media/soundtrigger/ |
D | ConfidenceLevel.aidl | 28 int userId;
|
/system/core/storaged/ |
D | storaged_service.cpp | 168 binder::Status StoragedService::onUserStarted(int32_t userId) { in onUserStarted() argument 169 storaged_sp->add_user_ce(userId); in onUserStarted() 173 binder::Status StoragedService::onUserStopped(int32_t userId) { in onUserStopped() argument 174 storaged_sp->remove_user_ce(userId); in onUserStopped()
|
/system/keymaster/ng/include/ |
D | keystore_hidl_support.h | 105 static_assert(1 /* version size */ + sizeof(token.challenge) + sizeof(token.userId) + in authToken2HidlVec() 116 pos = copy_bytes_to_iterator(token.userId, pos); in authToken2HidlVec()
|
/system/sepolicy/private/ |
D | file.te | 203 # app directories of storage areas: /data/storage_area/userId/pkgName -- apps cannot write to it 205 # app storage areas: /data/storage_area/userId/pkgName/storageAreaName 207 # contents of app storage areas: /data/storage_area/userId/pkgName/storageAreaName/* 210 # /data/misc_ce/userId/storage_area_keys
|
/system/security/keystore2/src/database/ |
D | perboot.rs | 37 user_id: tok.userId, in from_auth_token()
|