Lines Matching refs:socketName
112 void RilSapSocket::initSapSocket(const char *socketName, in initSapSocket() argument
115 if (strcmp(socketName, RIL1_SERVICE_NAME) == 0) { in initSapSocket()
116 if(!SocketExists(socketName)) { in initSapSocket()
117 addSocketToList(socketName, RIL_SOCKET_1, uimFuncs); in initSapSocket()
122 if (strcmp(socketName, RIL2_SERVICE_NAME) == 0) { in initSapSocket()
123 if(!SocketExists(socketName)) { in initSapSocket()
124 addSocketToList(socketName, RIL_SOCKET_2, uimFuncs); in initSapSocket()
130 if (strcmp(socketName, RIL3_SERVICE_NAME) == 0) { in initSapSocket()
131 if(!SocketExists(socketName)) { in initSapSocket()
132 addSocketToList(socketName, RIL_SOCKET_3, uimFuncs); in initSapSocket()
138 if (strcmp(socketName, RIL4_SERVICE_NAME) == 0) { in initSapSocket()
139 if(!SocketExists(socketName)) { in initSapSocket()
140 addSocketToList(socketName, RIL_SOCKET_4, uimFuncs); in initSapSocket()
146 void RilSapSocket::addSocketToList(const char *socketName, RIL_SOCKET_ID socketid, in addSocketToList() argument
151 if(!SocketExists(socketName)) { in addSocketToList()
152 socket = new RilSapSocket(socketName, socketid, uimFuncs); in addSocketToList()
178 bool RilSapSocket::SocketExists(const char *socketName) { in SocketExists() argument
182 if(strcmp(current->socket->name, socketName) == 0) { in SocketExists()
190 RilSapSocket::RilSapSocket(const char *socketName, in RilSapSocket() argument
193 RilSocket(socketName, socketId) { in RilSapSocket()