Searched defs:connection (Results 1 - 8 of 8) sorted by relevance

/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/
H A DDevice.h56 Connection *connection; /**< The device connection */ member in class:Device
61 Connection *connection
95 * @param connection session connection
99 Connection *connection
H A DSession.cpp45 Connection *connection)
49 this->notificationConnection = connection;
81 // Finally delete notification connection
42 Session( uint32_t sessionId, CMcKMod *mcKMod, Connection *connection) argument
H A DDevice.cpp46 Device::Device(uint32_t deviceId, Connection *connection) argument
49 this->connection = connection;
78 delete connection;
105 void Device::createNewSession(uint32_t sessionId, Connection *connection) argument
107 Session *session = new Session(sessionId, pMcKMod, connection);
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Server/
H A DServer.cpp102 Connection *connection = (*iterator); local
103 int peerSocket = connection->socketDescriptor;
135 LOG_V(" Server: new connection attempt.");
150 Connection *connection = new Connection(clientSock, &clientAddr); local
151 peerConnections.push_back(connection);
152 LOG_I(" Server: new socket connection established and start listening.");
155 // we can ignore any errors from accepting a new connection.
164 Connection *connection = (*iterator); local
165 int peerSocket = connection->socketDescriptor;
174 // the connection wil
[all...]
H A DNetlinkServer.cpp91 // This buffer will be taken over by the connection it was routed to
103 // Read the incomming message and route it to the connection based
130 /* First cleanup the connection list */
133 NetlinkConnection *connection = findConnection(hash); local
135 if (connection == NULL) {
136 //LOG_I("%s: Cound't find the connection, creating a new one", __FUNCTION__);
137 connection = new NetlinkConnection(this, serverSock, pid, seq);
138 // Add the new connection
139 insertConnection(hash, connection);
142 connection
237 NetlinkConnection *connection = NULL; local
[all...]
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/
H A DMobiCoreDevice.cpp124 bool MobiCoreDevice::open(Connection *connection) argument
126 // Link this device to the connection
127 connection->connectionData = this;
136 * Removes all sessions to a connection. Though, clientLib rejects the closeDevice()
140 void MobiCoreDevice::close(Connection *connection) argument
144 // 1. Iterate through device session to find connection
155 if (ts->deviceConnection == connection) {
156 closeSession(connection, ts->sessionId);
166 connection->connectionData = NULL;
348 Connection *connection,
347 registerTrustletConnection( Connection *connection, MC_DRV_CMD_NQ_CONNECT_struct *cmdNqConnect ) argument
[all...]
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/Platforms/Generic/
H A DTrustZoneDevice.cpp594 // Get the NQ connection for the session ID
595 Connection *connection = getSessionConnection(notification->sessionId, notification); local
596 if (connection == NULL) {
609 connection->writeData((void *)notification,
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/
H A DMobiCoreDriverDaemon.cpp195 Connection *connection
198 // Check if a Device has already been registered with the connection
199 MobiCoreDevice *device = (MobiCoreDevice *) (connection->connectionData);
203 // A connection has been found and has to be closed
204 device->close(connection);
211 Connection *connection,
218 return connection->writeData(&code, sizeof(mcResult_t));
344 LOG_V("%s: no device associated with connection",__FUNCTION__); \
351 Connection *connection
355 RECV_PAYLOAD_FROM_CLIENT(connection,
210 writeResult( Connection *connection, mcResult_t code ) argument
476 processCloseSession(Connection *connection) argument
493 processNqConnect(Connection *connection) argument
584 processMapBulkBuf(Connection *connection) argument
627 processUnmapBulkBuf(Connection *connection) argument
[all...]

Completed in 186 milliseconds