Searched refs:service_addr (Results 1 – 2 of 2) sorted by relevance
1628 void atransport::UpdateReverseConfig(std::string_view service_addr) { in UpdateReverseConfig() argument1630 if (!android::base::ConsumePrefix(&service_addr, "reverse:")) { in UpdateReverseConfig()1634 if (android::base::ConsumePrefix(&service_addr, "forward:")) { in UpdateReverseConfig()1636 bool norebind = android::base::ConsumePrefix(&service_addr, "norebind:"); in UpdateReverseConfig()1637 auto it = service_addr.find(';'); in UpdateReverseConfig()1641 std::string remote(service_addr.substr(0, it)); in UpdateReverseConfig()1649 std::string local(service_addr.substr(it + 1)); in UpdateReverseConfig()1651 } else if (android::base::ConsumePrefix(&service_addr, "killforward:")) { in UpdateReverseConfig()1653 auto it = service_addr.find(';'); in UpdateReverseConfig()1657 reverse_forwards_.erase(std::string(service_addr)); in UpdateReverseConfig()[all …]
309 void UpdateReverseConfig(std::string_view service_addr);