Home
last modified time | relevance | path

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

/system/core/adb/
Dservices.cpp103 static void wait_for_state(int fd, state_info* sinfo) { in wait_for_state() argument
104 D("wait_for_state %d", sinfo->state); in wait_for_state()
109 const char* serial = sinfo->serial.length() ? sinfo->serial.c_str() : nullptr; in wait_for_state()
110 atransport* t = acquire_one_transport(sinfo->transport_type, serial, sinfo->transport_id, in wait_for_state()
112 if (sinfo->state == kCsOffline) { in wait_for_state()
119 (sinfo->state == kCsAny || sinfo->state == t->GetConnectionState())) { in wait_for_state()
207 std::shared_ptr<state_info> sinfo = std::make_shared<state_info>(); in host_service_to_socket() local
208 if (sinfo == nullptr) { in host_service_to_socket()
213 sinfo->serial = serial; in host_service_to_socket()
214 sinfo->transport_id = transport_id; in host_service_to_socket()
[all …]