Searched refs:sid (Results 1 – 4 of 4) sorted by relevance
77 void store_sid(uint32_t uid, uint64_t sid) { in store_sid() argument85 write(fd, &sid, sizeof(sid)); in store_sid()103 void maybe_store_sid(uint32_t uid, uint64_t sid) { in maybe_store_sid() argument107 store_sid(uid, sid); in maybe_store_sid()113 uint64_t sid; in read_sid() local117 read(fd, &sid, sizeof(sid)); in read_sid()119 return sid; in read_sid()267 uint64_t sid = read_sid(uid); in getSecureUserId() local268 if (sid == 0) { in getSecureUserId()280 return sid; in getSecureUserId()
149 uint64_t sid = getSecureUserId(uid); in onTransact() local151 reply->writeInt64(sid); in onTransact()
111 secure_id_t sid = handle->user_id; in TEST_F() local118 ASSERT_NE(sid, handle->user_id); in TEST_F()135 secure_id_t sid = handle->user_id; in TEST_F() local142 ASSERT_EQ(sid, handle->user_id); in TEST_F()
196 for (auto sid : sids) in SatisfiesAuth() local197 if ((sid == token_->authenticator_id) || in SatisfiesAuth()198 (sid == token_->user_id && (auth_type & authenticator_type()) != 0)) in SatisfiesAuth()