Home
last modified time | relevance | path

Searched refs:country_code (Results 1 – 6 of 6) sorted by relevance

/system/connectivity/wificond/
Dserver.cpp208 string country_code; in dump() local
209 if (netlink_utils_->GetCountryCode(&country_code)) { in dump()
210 ss << "Current country code from kernel: " << country_code << endl; in dump()
336 void Server::OnRegDomainChanged(std::string& country_code) { in OnRegDomainChanged() argument
337 if (country_code.empty()) { in OnRegDomainChanged()
340 LOG(INFO) << "Regulatory domain changed to country: " << country_code; in OnRegDomainChanged()
Dserver.h102 void OnRegDomainChanged(std::string& country_code);
/system/connectivity/wificond/net/
Dnetlink_manager.cpp567 string country_code; in OnRegChangeEvent() local
571 if (!packet->GetAttributeValue(NL80211_ATTR_REG_ALPHA2, &country_code)) { in OnRegChangeEvent()
585 country_code = ""; in OnRegChangeEvent()
592 handler.second(country_code); in OnRegChangeEvent()
Dnetlink_manager.h88 std::string& country_code)> OnRegDomainChangedHandler;
/system/bt/stack/hid/
Dhidd_api.cc264 const uint8_t country_code = 0x21; in HID_DevAddRecord() local
283 1, (uint8_t*)&country_code); in HID_DevAddRecord()
/system/connectivity/wificond/tests/
Dnetlink_utils_unittest.cpp844 string country_code; in TEST_F() local
845 EXPECT_TRUE(netlink_utils_->GetCountryCode(&country_code)); in TEST_F()
846 EXPECT_EQ(kFakeCountryCode, country_code); in TEST_F()