Home
last modified time | relevance | path

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

/frameworks/base/libs/common_time/
Dcommon_time_server.cpp123 reinterpret_cast<struct sockaddr_in*>(&mMasterElectionEP); in CommonTimeServer()
124 memset(&mMasterElectionEP, 0, sizeof(mMasterElectionEP)); in CommonTimeServer()
421 sockaddrToString(mMasterElectionEP, true, masterElectionEPStr, in setupSocket_l()
429 if (AF_INET != mMasterElectionEP.ss_family) { in setupSocket_l()
464 ipv4_addr = reinterpret_cast<struct sockaddr_in*>(&mMasterElectionEP); in setupSocket_l()
1077 sockaddrToString(mMasterElectionEP, true, dstEPStr, sizeof(dstEPStr)); in sendWhoIsMasterRequest()
1087 reinterpret_cast<const sockaddr *>(&mMasterElectionEP), in sendWhoIsMasterRequest()
1088 sizeof(mMasterElectionEP)); in sendWhoIsMasterRequest()
1162 sockaddrToString(mMasterElectionEP, true, dstEPStr, sizeof(dstEPStr)); in sendMasterAnnouncement()
1172 reinterpret_cast<const sockaddr *>(&mMasterElectionEP), in sendMasterAnnouncement()
[all …]
Dcommon_time_server_api.cpp99 memcpy(addr, &mMasterElectionEP, sizeof(*addr)); in getMasterElectionEndpoint()
125 memcpy(&mMasterElectionEP, addr, sizeof(mMasterElectionEP)); in setMasterElectionEndpoint()
382 sockaddrToString(mMasterElectionEP, true, meStr, sizeof(meStr)); in dumpConfigInterface()
Dcommon_time_server.h247 …struct sockaddr_storage mMasterElectionEP; // Endpoint over which we conduct master elect… variable