Home
last modified time | relevance | path

Searched refs:sid (Results 1 – 4 of 4) sorted by relevance

/system/core/gatekeeperd/
Dgatekeeperd.cpp77 void store_sid(uint32_t uid, uint64_t sid) { in store_sid() argument
85 write(fd, &sid, sizeof(sid)); in store_sid()
103 void maybe_store_sid(uint32_t uid, uint64_t sid) { in maybe_store_sid() argument
107 store_sid(uid, sid); in maybe_store_sid()
113 uint64_t sid; in read_sid() local
117 read(fd, &sid, sizeof(sid)); in read_sid()
119 return sid; in read_sid()
267 uint64_t sid = read_sid(uid); in getSecureUserId() local
268 if (sid == 0) { in getSecureUserId()
280 return sid; in getSecureUserId()
DIGateKeeperService.cpp149 uint64_t sid = getSecureUserId(uid); in onTransact() local
151 reply->writeInt64(sid); in onTransact()
/system/gatekeeper/tests/
Dgatekeeper_device_test.cpp111 secure_id_t sid = handle->user_id; in TEST_F() local
118 ASSERT_NE(sid, handle->user_id); in TEST_F()
135 secure_id_t sid = handle->user_id; in TEST_F() local
142 ASSERT_EQ(sid, handle->user_id); in TEST_F()
/system/security/keystore/
Dauth_token_table.cpp196 for (auto sid : sids) in SatisfiesAuth() local
197 if ((sid == token_->authenticator_id) || in SatisfiesAuth()
198 (sid == token_->user_id && (auth_type & authenticator_type()) != 0)) in SatisfiesAuth()