Lines Matching refs:socketName
113 void RilSapSocket::initSapSocket(const char *socketName, in initSapSocket() argument
116 if (strcmp(socketName, RIL1_SERVICE_NAME) == 0) { in initSapSocket()
117 if(!SocketExists(socketName)) { in initSapSocket()
118 addSocketToList(socketName, RIL_SOCKET_1, uimFuncs); in initSapSocket()
123 if (strcmp(socketName, RIL2_SERVICE_NAME) == 0) { in initSapSocket()
124 if(!SocketExists(socketName)) { in initSapSocket()
125 addSocketToList(socketName, RIL_SOCKET_2, uimFuncs); in initSapSocket()
131 if (strcmp(socketName, RIL3_SERVICE_NAME) == 0) { in initSapSocket()
132 if(!SocketExists(socketName)) { in initSapSocket()
133 addSocketToList(socketName, RIL_SOCKET_3, uimFuncs); in initSapSocket()
139 if (strcmp(socketName, RIL4_SERVICE_NAME) == 0) { in initSapSocket()
140 if(!SocketExists(socketName)) { in initSapSocket()
141 addSocketToList(socketName, RIL_SOCKET_4, uimFuncs); in initSapSocket()
147 void RilSapSocket::addSocketToList(const char *socketName, RIL_SOCKET_ID socketid, in addSocketToList() argument
152 if(!SocketExists(socketName)) { in addSocketToList()
153 socket = new RilSapSocket(socketName, socketid, uimFuncs); in addSocketToList()
179 bool RilSapSocket::SocketExists(const char *socketName) { in SocketExists() argument
183 if(strcmp(current->socket->name, socketName) == 0) { in SocketExists()
191 RilSapSocket::RilSapSocket(const char *socketName, in RilSapSocket() argument
194 RilSocket(socketName, socketId) { in RilSapSocket()