Lines Matching refs:service_addr
1628 void atransport::UpdateReverseConfig(std::string_view service_addr) { in UpdateReverseConfig() argument
1630 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()
1658 } else if (service_addr == "killforward-all") { in UpdateReverseConfig()
1660 } else if (service_addr == "list-forward") { in UpdateReverseConfig()
1663 LOG(FATAL) << "unhandled reverse service: " << service_addr; in UpdateReverseConfig()