Home
last modified time | relevance | path

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

/device/google/trout/hal/vehicle/2.0/
DPowerStateListener.cpp71 : mSocketPath(socketPath), mPowerStateMarkerFilePath(powerStateMarkerFilePath) {} in PowerStateListener()
89 if (mSocketPath.length() >= sizeof(addr.sun_path)) { in Listen()
90 LOG(ERROR) << __func__ << ": socket file path " << mSocketPath << " is longer than limit " in Listen()
94 std::strncpy(addr.sun_path, mSocketPath.c_str(), mSocketPath.length()); in Listen()
96 unlink(mSocketPath.c_str()); in Listen()
98 LOG(ERROR) << __func__ << ": failed to bind the address " << mSocketPath in Listen()
104 LOG(ERROR) << __func__ << ": failed to listen on the socket " << mSocketPath << ": " in Listen()
121 PLOG(ERROR) << __func__ << ": failed to accept, path: " << mSocketPath; in Listen()
DPowerStateListener.h39 const std::string mSocketPath; variable