Lines Matching refs:uid_t
74 State getState(uid_t userId) { return getUserState(userId)->getState(); } in getState()
76 ResponseCode initializeUser(const android::String8& pw, uid_t userId);
78 ResponseCode copyMasterKey(uid_t srcUser, uid_t dstUser);
79 ResponseCode writeMasterKey(const android::String8& pw, uid_t userId);
80 ResponseCode readMasterKey(const android::String8& pw, uid_t userId);
83 android::String8 getKeyNameForUid(const android::String8& keyName, uid_t uid,
85 android::String8 getKeyNameForUidWithDir(const android::String8& keyName, uid_t uid,
87 NullOr<android::String8> getBlobFileNameIfExists(const android::String8& alias, uid_t uid,
95 void resetUser(uid_t userId, bool keepUnenryptedEntries);
96 bool isEmpty(uid_t userId) const;
98 void lock(uid_t userId);
100 ResponseCode get(const char* filename, Blob* keyBlob, const BlobType type, uid_t userId);
101 ResponseCode put(const char* filename, Blob* keyBlob, uid_t userId);
102 ResponseCode del(const char* filename, const BlobType type, uid_t userId);
104 uid_t userId);
106 std::string addGrant(const char* alias, uid_t granterUid, uid_t granteeUid);
107 bool removeGrant(const char* alias, const uid_t granterUid, const uid_t granteeUid);
108 void removeAllGrantsToUid(const uid_t granteeUid);
110 ResponseCode importKey(const uint8_t* key, size_t keyLen, const char* filename, uid_t userId,
115 ResponseCode getKeyForName(Blob* keyBlob, const android::String8& keyName, const uid_t uid,
121 UserState* getUserState(uid_t userId);
126 UserState* getUserStateByUid(uid_t uid);
131 const UserState* getUserState(uid_t userId) const;
136 const UserState* getUserStateByUid(uid_t uid) const;
160 const BlobType type, uid_t uid);
167 ResponseCode importBlobAsKey(Blob* blob, const char* filename, uid_t uid);