Home
last modified time | relevance | path

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

/system/timezone/debug_tools/host/
Dvisualize_zone_trees.py43 def BuildAndRunTool(country_zones_txt, country_code, output_dir): argument
46 subprocess.check_call(['java', '-jar', jar_file, country_zones_txt, country_code, output_dir])
73 country_code = args.country_code
82 BuildAndRunTool(country_zones_txt, country_code, output_dir)
/system/connectivity/wificond/
Dserver.cpp299 string country_code; in dump() local
300 if (netlink_utils_->GetCountryCode(&country_code)) { in dump()
301 ss << "Current country code from kernel: " << country_code << endl; in dump()
516 void Server::OnRegDomainChanged(uint32_t wiphy_index, std::string& country_code) { in OnRegDomainChanged() argument
518 if (country_code.empty()) { in OnRegDomainChanged()
524 current_country_code = country_code; in OnRegDomainChanged()
614 std::string country_code) { in BroadcastRegDomainChanged() argument
616 it->OnRegDomainChanged(country_code); in BroadcastRegDomainChanged()
Dserver.h123 void OnRegDomainChanged(uint32_t wiphy_index, std::string& country_code);
133 void BroadcastRegDomainChanged(std::string country_code);
/system/connectivity/wificond/net/
Dnetlink_manager.cpp601 string country_code; in OnRegChangeEvent() local
605 if (!packet->GetAttributeValue(NL80211_ATTR_REG_ALPHA2, &country_code)) { in OnRegChangeEvent()
619 country_code = ""; in OnRegChangeEvent()
626 handler.second(handler.first, country_code); in OnRegChangeEvent()
Dnetlink_manager.h89 uint32_t wiphy_index, std::string& country_code)> OnRegDomainChangedHandler;
/system/connectivity/wificond/tests/
Dnetlink_utils_unittest.cpp920 string country_code; in TEST_F() local
921 EXPECT_TRUE(netlink_utils_->GetCountryCode(&country_code)); in TEST_F()
922 EXPECT_EQ(kFakeCountryCode, country_code); in TEST_F()