Home
last modified time | relevance | path

Searched refs:username (Results 1 – 25 of 37) sorted by relevance

12

/system/tpm/attestation/server/
Dkey_store.h36 virtual bool Read(const std::string& username,
43 virtual bool Write(const std::string& username,
49 virtual bool Delete(const std::string& username,
54 virtual bool DeleteByPrefix(const std::string& username,
63 virtual bool Register(const std::string& username,
73 virtual bool RegisterCertificate(const std::string& username,
Dmock_key_store.h34 MOCK_METHOD3(Read, bool(const std::string& username,
37 MOCK_METHOD3(Write, bool(const std::string& username,
40 MOCK_METHOD2(Delete, bool(const std::string& username,
42 MOCK_METHOD2(DeleteByPrefix, bool(const std::string& username,
44 MOCK_METHOD7(Register, bool(const std::string& username,
51 MOCK_METHOD2(RegisterCertificate, bool(const std::string& username,
Dpkcs11_key_store.h51 bool Read(const std::string& username,
54 bool Write(const std::string& username,
57 bool Delete(const std::string& username,
59 bool DeleteByPrefix(const std::string& username,
61 bool Register(const std::string& username,
68 bool RegisterCertificate(const std::string& username,
83 bool GetUserSlot(const std::string& username,
Dattestation_service.cc132 if (!CreateKey(request.username(), request.key_label(), request.key_type(), in CreateGoogleAttestedKeyTask()
139 if (!CreateCertificateRequest(request.username(), in CreateGoogleAttestedKeyTask()
158 request.username(), in CreateGoogleAttestedKeyTask()
195 if (!FindKeyByLabel(request.username(), request.key_label(), &key)) { in GetKeyInfoTask()
395 if (!CreateKey(request.username(), request.key_label(), request.key_type(), in CreateCertifiableKeyTask()
432 if (!FindKeyByLabel(request.username(), request.key_label(), &key)) { in DecryptTask()
463 if (!FindKeyByLabel(request.username(), request.key_label(), &key)) { in SignTask()
496 if (!FindKeyByLabel(request.username(), request.key_label(), &key)) { in RegisterKeyWithChapsTokenTask()
500 if (!key_store_->Register(request.username(), request.key_label(), in RegisterKeyWithChapsTokenTask()
507 !key_store_->RegisterCertificate(request.username(), in RegisterKeyWithChapsTokenTask()
[all …]
Dpkcs11_key_store.cc98 bool Pkcs11KeyStore::Read(const std::string& username, in Read() argument
102 if (!GetUserSlot(username, &slot)) { in Read()
136 bool Pkcs11KeyStore::Write(const std::string& username, in Write() argument
140 if (!Delete(username, key_name)) { in Write()
144 if (!GetUserSlot(username, &slot)) { in Write()
192 bool Pkcs11KeyStore::Delete(const std::string& username, in Delete() argument
195 if (!GetUserSlot(username, &slot)) { in Delete()
214 bool Pkcs11KeyStore::DeleteByPrefix(const std::string& username, in DeleteByPrefix() argument
217 if (!GetUserSlot(username, &slot)) { in DeleteByPrefix()
238 bool Pkcs11KeyStore::Register(const std::string& username, in Register() argument
[all …]
Dattestation_service.h201 bool CreateCertificateRequest(const std::string& username,
214 const std::string& username,
229 bool CreateKey(const std::string& username,
237 bool FindKeyByLabel(const std::string& username,
243 bool SaveKey(const std::string& username,
248 void DeleteKey(const std::string& username,
Ddbus_service_test.cc93 EXPECT_EQ("username", request.username()); in TEST_F()
143 EXPECT_EQ("username", request.username()); in TEST_F()
277 EXPECT_EQ("user", request.username()); in TEST_F()
309 EXPECT_EQ("user", request.username()); in TEST_F()
337 EXPECT_EQ("user", request.username()); in TEST_F()
365 EXPECT_EQ("user", request.username()); in TEST_F()
/system/connectivity/shill/bin/
Dset_cellular_ppp73 local username="$(get_property ${ISERVICE} ${service} ${USERNAME_PROPERTY})"
75 if [ -n "${username}" ]; then
76 echo "PPP username: " ${username}
86 local username="$2"
88 echo "Setting PPP username \"${username}\" for service ${service}"
90 "string:${USERNAME_PROPERTY}" "variant:string:${username}"
204 connection with other users, you will need to clear the PPP username
208 If you clear the PPP username and password, you will need to re-run
Dset_apn96 local username="$4"
100 if [ -n "${username}" ]; then
101 args="${args},username,${username}"
/system/connectivity/shill/mobile_operator_db/
Dserviceproviders.prototxt40 username : "mnet"
51 username : "etisalat.ae"
85 username : "awcc"
129 username : "internet"
219 username : "uname"
275 username : "clarogprs"
286 username : "clarogprs"
308 username : "wap"
317 username : "Internet"
339 username : "gprs"
[all …]
/system/tpm/attestation/client/
Dmain.cc288 const std::string& username) { in CallCreateGoogleAttestedKey() argument
294 request.set_username(username); in CallCreateGoogleAttestedKey()
301 void CallGetKeyInfo(const std::string& label, const std::string& username) { in CallGetKeyInfo() argument
304 request.set_username(username); in CallGetKeyInfo()
388 const std::string& username, in CallCreateCertifiableKey() argument
392 request.set_username(username); in CallCreateCertifiableKey()
402 const std::string& username, in Encrypt() argument
406 request.set_username(username); in Encrypt()
424 const std::string& username, in CallDecrypt() argument
428 request.set_username(username); in CallDecrypt()
[all …]
Ddbus_proxy_test.cc59 EXPECT_EQ("user", request_proto.username()); in TEST_F()
102 EXPECT_EQ("username", request_proto.username()); in TEST_F()
270 EXPECT_EQ("user", request_proto.username()); in TEST_F()
312 EXPECT_EQ("user", request_proto.username()); in TEST_F()
350 EXPECT_EQ("user", request_proto.username()); in TEST_F()
388 EXPECT_EQ("user", request_proto.username()); in TEST_F()
/system/connectivity/shill/shims/
Dc_ppp.cc41 int PPPGetSecret(char* username, char* password) { in PPPGetSecret() argument
46 if (username) { in PPPGetSecret()
47 strcpy(username, user.c_str()); // NOLINT(runtime/printf) in PPPGetSecret()
Dtask_proxy.cc45 bool TaskProxy::GetSecret(string* username, string* password) { in GetSecret() argument
48 if (!proxy_.getsec(username, password, &error)) { in GetSecret()
Dc_ppp.h26 int PPPGetSecret(char* username, char* password);
Dppp.cc82 bool PPP::GetSecret(string* username, string* password) { in GetSecret() argument
87 bool success = proxy_->GetSecret(username, password); in GetSecret()
Dtask_proxy.h41 bool GetSecret(std::string* username, std::string* password);
Dppp.h46 bool GetSecret(std::string* username, std::string* password);
/system/core/adb/
Dadb_auth_host.cpp111 char hostname[1024], username[1024]; in get_user_info() local
130 strncpy(username, getenv("LOGNAME"), sizeof(username)); in get_user_info()
131 username[sizeof(username)-1] = '\0'; in get_user_info()
137 ret = getlogin_r(username, sizeof(username)); in get_user_info()
140 strcpy(username, "unknown"); in get_user_info()
142 ret = snprintf(buf, len, " %s@%s", username, hostname); in get_user_info()
/system/firewalld/
Diptables.cc285 for (const auto& username : usernames) { in ApplyVpnSetup() local
286 if (!ApplyMarkForUserTraffic(username, add)) { in ApplyVpnSetup()
294 added_usernames.push_back(username); in ApplyVpnSetup()
311 bool IpTables::ApplyMarkForUserTraffic(const std::string& username, bool add) { in ApplyMarkForUserTraffic() argument
315 username); in ApplyMarkForUserTraffic()
401 const std::string& username, const std::string& executable_path, bool add) { in ApplyMarkForUserTrafficWithExecutable() argument
411 argv.push_back(username); in ApplyMarkForUserTrafficWithExecutable()
422 << " mark failed for user " << username in ApplyMarkForUserTrafficWithExecutable()
Diptables.h98 virtual bool ApplyMarkForUserTraffic(const std::string& username, bool add);
99 bool ApplyMarkForUserTrafficWithExecutable(const std::string& username,
/system/tpm/attestation/common/
Dinterface.proto44 optional string username = 5; field
64 optional string username = 2; field
129 optional string username = 2; field
146 optional string username = 2; field
157 optional string username = 2; field
168 optional string username = 2; field
Dprint_interface_proto.cc102 base::StringAppendF(&output, "%s", value.username().c_str()); in GetProtoDebugStringWithIndent()
163 base::StringAppendF(&output, "%s", value.username().c_str()); in GetProtoDebugStringWithIndent()
453 base::StringAppendF(&output, "%s", value.username().c_str()); in GetProtoDebugStringWithIndent()
535 base::StringAppendF(&output, "%s", value.username().c_str()); in GetProtoDebugStringWithIndent()
594 base::StringAppendF(&output, "%s", value.username().c_str()); in GetProtoDebugStringWithIndent()
654 base::StringAppendF(&output, "%s", value.username().c_str()); in GetProtoDebugStringWithIndent()
/system/connectivity/shill/
Dexternal_task_unittest.cc241 string username; in TEST_F() local
243 EXPECT_CALL(*this, GetLogin(&username, &password)); in TEST_F()
245 external_task_->GetLogin(&username, &password); in TEST_F()
/system/connectivity/shill/cellular/
Dmobile_operator_info.h130 std::string username; member

12