Lines Matching refs:eap_
58 eap_.PopulateSupplicantProperties(&certificate_file_, ¶ms_); in PopulateSupplicantProperties()
62 eap_.anonymous_identity_ = anonymous_identity; in SetAnonymousIdentity()
65 eap_.ca_cert_nss_ = ca_cert_nss; in SetCACertNSS()
68 eap_.ca_cert_pem_ = ca_cert_pem; in SetCACertPEM()
71 eap_.client_cert_ = client_cert; in SetClientCert()
74 eap_.cert_id_ = cert_id; in SetCertId()
77 eap_.ca_cert_id_ = ca_cert_id; in SetCACertId()
80 eap_.eap_ = eap; in SetEap()
83 eap_.identity_ = identity; in SetIdentity()
86 eap_.inner_eap_ = inner_eap; in SetInnerEap()
89 eap_.key_id_ = key_id; in SetKeyId()
92 return eap_.password_; in GetPassword()
95 eap_.password_ = password; in SetPassword()
98 eap_.private_key_ = private_key; in SetPrivateKey()
101 eap_.pin_ = pin; in SetPin()
104 eap_.use_proactive_key_caching_ = use_proactive_key_caching; in SetUseProactiveKeyCaching()
107 eap_.use_system_cas_ = use_system_cas; in SetUseSystemCAs()
111 eap_.anonymous_identity_.empty() && in IsReset()
112 eap_.cert_id_.empty() && in IsReset()
113 eap_.client_cert_.empty() && in IsReset()
114 eap_.identity_.empty() && in IsReset()
115 eap_.key_id_.empty() && in IsReset()
116 eap_.password_.empty() && in IsReset()
117 eap_.pin_.empty() && in IsReset()
118 eap_.private_key_.empty() && in IsReset()
119 eap_.private_key_password_.empty() && in IsReset()
120 eap_.ca_cert_.empty() && in IsReset()
121 eap_.ca_cert_id_.empty() && in IsReset()
122 eap_.ca_cert_nss_.empty() && in IsReset()
123 eap_.ca_cert_pem_.empty() && in IsReset()
124 eap_.eap_.empty() && in IsReset()
125 eap_.inner_eap_.empty() && in IsReset()
126 eap_.subject_match_.empty() && in IsReset()
127 eap_.use_system_cas_ == true && in IsReset()
128 eap_.use_proactive_key_caching_ == false; in IsReset()
132 return eap_.key_management_; in GetKeyManagement()
135 return eap_.SetEapPassword(password, error); in SetEapPassword()
138 return eap_.SetEapPrivateKeyPassword(password, error); in SetEapPrivateKeyPassword()
141 EapCredentials eap_; member in shill::EapCredentialsTest
148 eap_.InitPropertyStore(&store); in TEST_F()
152 EXPECT_EQ(kIdentity, eap_.identity()); in TEST_F()
157 EXPECT_FALSE(eap_.IsConnectable()); in TEST_F()
161 EXPECT_FALSE(eap_.IsConnectable()); in TEST_F()
167 EXPECT_TRUE(eap_.IsConnectable()); in TEST_F()
171 EXPECT_TRUE(eap_.IsConnectable()); in TEST_F()
175 EXPECT_FALSE(eap_.IsConnectable()); in TEST_F()
179 EXPECT_FALSE(eap_.IsConnectable()); in TEST_F()
183 EXPECT_FALSE(eap_.IsConnectable()); in TEST_F()
187 EXPECT_TRUE(eap_.IsConnectable()); in TEST_F()
191 EXPECT_FALSE(eap_.IsConnectable()); in TEST_F()
195 EXPECT_TRUE(eap_.IsConnectable()); in TEST_F()
200 EXPECT_TRUE(eap_.IsConnectable()); in TEST_F()
204 EXPECT_FALSE(eap_.IsConnectable()); in TEST_F()
208 EXPECT_TRUE(eap_.IsConnectable()); in TEST_F()
212 EXPECT_FALSE(eap_.IsConnectableUsingPassphrase()); in TEST_F()
216 EXPECT_FALSE(eap_.IsConnectableUsingPassphrase()); in TEST_F()
220 EXPECT_TRUE(eap_.IsConnectableUsingPassphrase()); in TEST_F()
224 EXPECT_FALSE(eap_.IsConnectableUsingPassphrase()); in TEST_F()
287 eap_.Load(&store, kId); in TEST_F()
290 EXPECT_EQ(kIdentity, eap_.identity()); in TEST_F()
291 EXPECT_EQ(kManagement, eap_.key_management()); in TEST_F()
302 eap_.Save(&store, kId, false); in TEST_F()
314 eap_.Save(&store, kId, true); in TEST_F()
330 eap_.OutputConnectionMetrics(&metrics, Technology::kWifi); in TEST_F()
475 eap_.PopulateWiMaxProperties(¶meters); in TEST_F()
494 eap_.PopulateWiMaxProperties(¶meters); in TEST_F()
522 eap_.SetKeyManagement("foo", nullptr); in TEST_F()
525 eap_.Reset(); in TEST_F()
532 eap_.SetKeyManagement(kKeyManagement0, nullptr); in TEST_F()
536 eap_.SetKeyManagement(kKeyManagement1, nullptr); in TEST_F()
540 eap_.SetKeyManagement("", nullptr); in TEST_F()
552 EXPECT_TRUE(eap_.SetKeyManagement(kKeyManagement, &error)); in TEST_F()
555 EXPECT_FALSE(eap_.SetKeyManagement(kKeyManagement, &error)); in TEST_F()