Searched refs:ConsumePrefix (Results 1 – 6 of 6) sorted by relevance
/system/core/adb/daemon/ |
D | services.cpp | 226 } else if (ConsumePrefix(&name, "sink:")) { in daemon_service_to_socket() 232 } else if (ConsumePrefix(&name, "source:")) { in daemon_service_to_socket() 253 } else if (ConsumePrefix(&name, "remount:")) { in daemon_service_to_fd() 257 } else if (ConsumePrefix(&name, "reboot:")) { in daemon_service_to_fd() 265 } else if (ConsumePrefix(&name, "backup:")) { in daemon_service_to_fd() 278 } else if (ConsumePrefix(&name, "tcpip:")) { in daemon_service_to_fd() 292 if (ConsumePrefix(&name, "dev:")) { in daemon_service_to_fd() 294 } else if (ConsumePrefix(&name, "jdwp:")) { in daemon_service_to_fd() 300 } else if (ConsumePrefix(&name, "shell")) { in daemon_service_to_fd() 302 } else if (ConsumePrefix(&name, "exec:")) { in daemon_service_to_fd() [all …]
|
D | abb.cpp | 90 if (ConsumePrefix(&name, "abb:")) { in main() 92 } else if (ConsumePrefix(&name, "abb_exec:")) { in main()
|
/system/core/adb/ |
D | services.cpp | 206 } else if (ConsumePrefix(&name, "wait-for-")) { in host_service_to_socket() 216 if (ConsumePrefix(&name, "local")) { in host_service_to_socket() 218 } else if (ConsumePrefix(&name, "usb")) { in host_service_to_socket() 220 } else if (ConsumePrefix(&name, "any")) { in host_service_to_socket() 248 } else if (ConsumePrefix(&name, "connect:")) { in host_service_to_socket()
|
D | sockets.cpp | 758 if (ConsumePrefix(&service, "host-serial:")) { in smart_socket_enqueue() 764 } else if (ConsumePrefix(&service, "host-transport-id:")) { in smart_socket_enqueue() 769 if (!ConsumePrefix(&service, ":")) { in smart_socket_enqueue() 773 } else if (ConsumePrefix(&service, "host-usb:")) { in smart_socket_enqueue() 775 } else if (ConsumePrefix(&service, "host-local:")) { in smart_socket_enqueue() 777 } else if (ConsumePrefix(&service, "host:")) { in smart_socket_enqueue()
|
D | adb_utils.h | 145 inline bool ConsumePrefix(std::string_view* str, std::string_view prefix) { in ConsumePrefix() function
|
D | adb.cpp | 1055 if (ConsumePrefix(&service, "tport:")) { in handle_host_request() 1057 if (ConsumePrefix(&service, "serial:")) { in handle_host_request() 1071 if (ConsumePrefix(&service, "transport-id:")) { in handle_host_request() 1082 } else if (ConsumePrefix(&service, "transport:")) { in handle_host_request() 1223 if (ConsumePrefix(&service, "emulator:")) { in handle_host_request()
|