Home
last modified time | relevance | path

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

/hardware/interfaces/threadnetwork/aidl/default/
Dsocket_interface.cpp207 sockaddr_un serverAddress; in OpenFile() local
209 VerifyOrExit(sizeof(serverAddress.sun_path) > strlen(aRadioUrl.GetPath()), in OpenFile()
211 strncpy(serverAddress.sun_path, aRadioUrl.GetPath(), sizeof(serverAddress.sun_path)); in OpenFile()
212 serverAddress.sun_family = AF_UNIX; in OpenFile()
217 if (connect(fd, reinterpret_cast<struct sockaddr*>(&serverAddress), sizeof(serverAddress)) == in OpenFile()
/hardware/libhardware/modules/sensors/dynamic_sensor/
DConnectionDetector.cpp42 struct sockaddr_in serverAddress = { in SocketConnectionDetector() local
50 ::bind(mListenFd, (struct sockaddr*)&serverAddress, sizeof(serverAddress)); in SocketConnectionDetector()