Home
last modified time | relevance | path

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

/device/google/cuttlefish/host/commands/stop/
Dmain.cc146 void ReleaseAllocdResources(SharedFD allocd_sock, uint32_t session_id) { in ReleaseAllocdResources() argument
147 if (!allocd_sock->IsOpen() || session_id == -1) { in ReleaseAllocdResources()
158 SendJsonMsg(allocd_sock, config); in ReleaseAllocdResources()
159 auto resp_opt = RecvJsonMsg(allocd_sock); in ReleaseAllocdResources()
220 SharedFD allocd_sock = SharedFD::SocketLocalClient( in StopCvdMain() local
222 if (!allocd_sock->IsOpen()) { in StopCvdMain()
225 << allocd_sock->StrError(); in StopCvdMain()
227 ReleaseAllocdResources(allocd_sock, session_id); in StopCvdMain()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dalloc.cc58 SharedFD allocd_sock = SharedFD::SocketLocalClient( in AllocateNetworkInterfaces() local
60 CHECK(allocd_sock->IsOpen()) in AllocateNetworkInterfaces()
62 << ": " << allocd_sock->StrError(); in AllocateNetworkInterfaces()
80 CHECK(SendJsonMsg(allocd_sock, resource_config)) in AllocateNetworkInterfaces()
83 auto resp_opt = RecvJsonMsg(allocd_sock); in AllocateNetworkInterfaces()