Home
last modified time | relevance | path

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

/packages/modules/adb/daemon/
Dmain.cpp268 std::string prop_port = android::base::GetProperty("service.adb.tcp.port", ""); in adbd_main() local
269 if (prop_port.empty()) { in adbd_main()
270 prop_port = android::base::GetProperty("persist.adb.tcp.port", ""); in adbd_main()
274 if (prop_port.empty() && getenv("ADBD_PORT")) { in adbd_main()
275 prop_port = getenv("ADBD_PORT"); in adbd_main()
280 if (sscanf(prop_port.c_str(), "%d", &port) == 1 && port > 0) { in adbd_main()