Home
last modified time | relevance | path

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

/system/core/adb/
Dsockets.cpp724 if (s->smart_socket_data.empty()) { in smart_socket_enqueue()
726 s->smart_socket_data.assign(data.begin(), data.end()); in smart_socket_enqueue()
728 std::copy(data.begin(), data.end(), std::back_inserter(s->smart_socket_data)); in smart_socket_enqueue()
732 if (s->smart_socket_data.size() < 4) { in smart_socket_enqueue()
736 uint32_t len = unhex(s->smart_socket_data.data(), 4); in smart_socket_enqueue()
744 if ((len + 4) > s->smart_socket_data.size()) { in smart_socket_enqueue()
745 D("SS(%d): waiting for %zu more bytes", s->id, len + 4 - s->smart_socket_data.size()); in smart_socket_enqueue()
749 s->smart_socket_data[len + 4] = 0; in smart_socket_enqueue()
751 D("SS(%d): '%s'", s->id, (char*)(s->smart_socket_data.data() + 4)); in smart_socket_enqueue()
753 service = std::string_view(s->smart_socket_data).substr(4); in smart_socket_enqueue()
[all …]
Dsocket.h68 std::string smart_socket_data; member