Home
last modified time | relevance | path

Searched refs:security_mode (Results 1 – 17 of 17) sorted by relevance

/system/connectivity/shill/wifi/
Dwifi_provider.cc290 endpoint->security_mode()); in OnEndpointAdded()
296 WiFiService::ComputeSecurityClass(endpoint->security_mode()), in OnEndpointAdded()
349 service->IsSecurityMatch(endpoint->security_mode())) { in OnEndpointUpdated()
518 for (const auto& security_mode : in ReportServiceSourceMetrics()
524 security_mode), in ReportServiceSourceMetrics()
527 [security_mode](WiFiServiceRefPtr s) { in ReportServiceSourceMetrics()
528 return s->IsRemembered() && s->IsSecurityMatch(security_mode) && in ReportServiceSourceMetrics()
538 security_mode), in ReportServiceSourceMetrics()
541 [security_mode](WiFiServiceRefPtr s) { in ReportServiceSourceMetrics()
542 return s->IsRemembered() && s->IsSecurityMatch(security_mode) && in ReportServiceSourceMetrics()
Dwifi_endpoint_unittest.cc692 EXPECT_EQ(kSecurityNone, endpoint->security_mode()); in TEST_F()
697 EXPECT_EQ(kSecurityNone, endpoint->security_mode()); in TEST_F()
730 EXPECT_EQ(kSecurityNone, endpoint->security_mode()); in TEST_F()
736 EXPECT_EQ(kSecurityWep, endpoint->security_mode()); in TEST_F()
743 EXPECT_EQ(kSecurityWep, endpoint->security_mode()); in TEST_F()
749 EXPECT_EQ(kSecurity8021x, endpoint->security_mode()); in TEST_F()
756 EXPECT_EQ(kSecurity8021x, endpoint->security_mode()); in TEST_F()
762 EXPECT_EQ(kSecurity8021x, endpoint->security_mode()); in TEST_F()
769 EXPECT_EQ(kSecurityWpa, endpoint->security_mode()); in TEST_F()
775 EXPECT_EQ(kSecurityWep, endpoint->security_mode()); in TEST_F()
[all …]
Dwifi_endpoint.cc125 if (new_security_mode != security_mode()) { in PropertiesChanged()
128 << security_mode(); in PropertiesChanged()
235 const string& WiFiEndpoint::security_mode() const { in security_mode() function in shill::WiFiEndpoint
Dwifi_service.cc496 string security_mode = security_; in SendPostReadyStateMetrics() local
498 security_mode = current_endpoint_->security_mode(); in SendPostReadyStateMetrics()
501 Metrics::WiFiSecurityStringToEnum(security_mode); in SendPostReadyStateMetrics()
793 << "security: " << representative_endpoint->security_mode() << ", " in UpdateFromEndpoints()
1188 return current_endpoint_->security_mode(); in GetSecurity()
Dwifi_endpoint.h98 const std::string& security_mode() const;
Dwifi_unittest.cc568 arg->security_mode() == endpoint->security_mode();
854 MakeMockServiceWithSSID(endpoint->ssid(), endpoint->security_mode()); in MakeNewEndpointAndService()
Dwifi.cc1254 << "security: " << endpoint->security_mode() << ", " in BSSAddedTask()
/system/bt/stack/btm/
Dbtm_sec.c455 btm_cb.security_mode = BTM_SEC_MODE_SC; in BTM_SetSecureConnectionsOnly()
630 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_set_security_level()
631 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in btm_sec_set_security_level()
632 btm_cb.security_mode == BTM_SEC_MODE_SC) in btm_sec_set_security_level()
679 if (btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_set_security_level()
680 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in btm_sec_set_security_level()
681 btm_cb.security_mode == BTM_SEC_MODE_SC) in btm_sec_set_security_level()
1099 BTM_TRACE_DEBUG ("sec mode: %d sm4:x%x", btm_cb.security_mode, p_dev_rec->sm4); in btm_sec_bond_by_transport()
1106 if ((btm_cb.security_mode == BTM_SEC_MODE_SP || in btm_sec_bond_by_transport()
1107 btm_cb.security_mode == BTM_SEC_MODE_SP_DEBUG || in btm_sec_bond_by_transport()
[all …]
Dbtm_int.h854 UINT8 security_mode; member
/system/connectivity/apmanager/
Dconfig.cc492 string security_mode = GetSecurityMode(); in AppendSecurityMode() local
493 if (security_mode == kSecurityModeNone) { in AppendSecurityMode()
498 if (security_mode == kSecurityModeRSN) { in AppendSecurityMode()
505 security_mode.c_str()), in AppendSecurityMode()
529 base::StringPrintf("Invalid security mode: %s", security_mode.c_str()), in AppendSecurityMode()
Dconfig_adaptor_interface.h40 virtual void SetSecurityMode(const std::string& security_mode) = 0;
Dfake_config_adaptor.h38 void SetSecurityMode(const std::string& security_mode) override;
Dconfig.h65 void SetSecurityMode(const std::string& security_mode);
/system/connectivity/apmanager/dbus/
Dconfig_dbus_adaptor.h63 void SetSecurityMode(const std::string& security_mode) override;
/system/bt/stack/smp/
Dsmp_keys.c1956 if (btm_cb.security_mode == BTM_SEC_MODE_SC) in smp_calculate_link_key_from_long_term_key()
1969 else if (btm_cb.security_mode == BTM_SEC_MODE_SP) in smp_calculate_link_key_from_long_term_key()
1980 __func__, btm_cb.security_mode, p_dev_rec->sm4); in smp_calculate_link_key_from_long_term_key()
Dsmp_act.c216 (btm_cb.security_mode == BTM_SEC_MODE_SC) ? TRUE : FALSE; in smp_send_app_cback()
501 (btm_cb.security_mode == BTM_SEC_MODE_SC) ? TRUE : FALSE; in smp_proc_sec_req()
/system/core/metricsd/uploader/proto/
Dsystem_profile.proto349 optional SecurityMode security_mode = 2; field