Searched refs:connection (Results 1 - 16 of 16) sorted by relevance

/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/
H A DMobiCoreDriverDaemon.h98 Connection *connection
102 Connection *connection
128 Connection *connection,
153 Connection *connection
157 Connection *connection
161 Connection *connection
165 Connection *connection
169 Connection *connection
173 Connection *connection
177 Connection *connection
[all...]
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...]
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Server/public/
H A DConnectionHandler.h5 * Interface for connection handlers used by Server.
46 * Handle connection activities.
47 * The connection handler shall process pending connection activities.
49 * @param [in] connection Reference to the connection which has data to process.
52 Connection *connection
57 * The connection handler shall clean up all resources associated with the given connection.
58 * After the method has been executed the connection objec
[all...]
H A DNetlinkServer.h80 * Remove a connection object from the list of available connections.
82 * data from TLCs to the driver. If the function succeeds, freeing the connection will no longer
85 * @param connection The connection object to remove.
88 Connection *connection
94 * It routes the incomming packet to the apropriate connection based on the packet's
104 * Retreive connection based on hash.
116 * Insert a connection in the peer connection hashmap
117 * Insert a new connection i
[all...]
H A DServer.h85 * Remove a connection object from the list of available connections.
87 * data from TLCs to the driver. If the function succeeds, the connection object will no longer
90 * @param connection The connection object to remove.
93 Connection *connection
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Server/
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...]
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...]
/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 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);
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 DSession.h103 Session(uint32_t sessionId, CMcKMod *mcKMod, Connection *connection);
H A DClientLib.cpp196 // Open new connection to device
269 Connection *devCon = device->connection;
272 // TODO-2012-08-31-haenellu: improve check, if device connection is dead, this makes no more sense.
325 Connection *devCon = device->connection;
410 // Maybe we should use existing connection to close Trustlet.
433 // Maybe we should use existing connection to close Trustlet.
472 Connection *devCon = device->connection;
521 Connection *devCon = device->connection;
726 Connection *devCon = device->connection;
812 Connection *devCon = device->connection;
[all...]
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/public/
H A DMobiCoreDevice.h127 bool open(Connection *connection);
129 void close(Connection *connection);
136 TrustletSession *registerTrustletConnection( Connection *connection,
/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/Common/
H A DNetlinkConnection.h61 * Hash function for unique ID of a connection.
66 * @return Unique identifier of the connection
70 /** Netlink connection manager interface.
72 * to ensure connection will be removed from accounting when destroied. */
78 * Retreive connection based on a unique hash.
90 * Insert a connection in connection lisst
91 * Insert a new connection in the peer connections list. If there
92 * is already such a connection
96 * @param connection Th
[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,

Completed in 197 milliseconds