Lines Matching refs:uid_t
102 State getState(uid_t userId) { return mUserStateDB.getUserState(userId)->getState(); }
104 ResponseCode initializeUser(const android::String8& pw, uid_t userId);
106 ResponseCode copyMasterKey(uid_t srcUser, uid_t dstUser);
107 ResponseCode writeMasterKey(const android::String8& pw, uid_t userId);
108 ResponseCode readMasterKey(const android::String8& pw, uid_t userId);
110 LockedKeyBlobEntry getLockedBlobEntryIfNotExists(const std::string& alias, uid_t uid);
111 std::optional<KeyBlobEntry> getBlobEntryIfExists(const std::string& alias, uid_t uid);
112 LockedKeyBlobEntry getLockedBlobEntryIfExists(const std::string& alias, uid_t uid);
118 void resetUser(uid_t userId, bool keepUnenryptedEntries);
119 bool isEmpty(uid_t userId) const;
121 void lock(uid_t userId);
127 std::string addGrant(const LockedKeyBlobEntry& blobfile, uid_t granteeUid);
128 bool removeGrant(const LockedKeyBlobEntry& blobfile, const uid_t granteeUid);
129 void removeAllGrantsToUid(const uid_t granteeUid);
132 uid_t userId, int32_t flags);
137 getKeyForName(const android::String8& keyName, const uid_t uid, const BlobType type);