Searched refs:allocd_sock (Results 1 – 2 of 2) sorted by relevance
146 void ReleaseAllocdResources(SharedFD allocd_sock, uint32_t session_id) { in ReleaseAllocdResources() argument147 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() local222 if (!allocd_sock->IsOpen()) { in StopCvdMain()225 << allocd_sock->StrError(); in StopCvdMain()227 ReleaseAllocdResources(allocd_sock, session_id); in StopCvdMain()
58 SharedFD allocd_sock = SharedFD::SocketLocalClient( in AllocateNetworkInterfaces() local60 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()