Home
last modified time | relevance | path

Searched refs:connection (Results 1 – 25 of 28) sorted by relevance

12

/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/
DMobiCoreDriverDaemon.cpp195 Connection *connection in dropConnection() argument
199 MobiCoreDevice *device = (MobiCoreDevice *) (connection->connectionData); in dropConnection()
204 device->close(connection); in dropConnection()
211 Connection *connection, in writeResult() argument
218 return connection->writeData(&code, sizeof(mcResult_t)); in writeResult()
351 Connection *connection in processOpenDevice() argument
355 RECV_PAYLOAD_FROM_CLIENT(connection, &cmdOpenDevice); in processOpenDevice()
358 MobiCoreDevice *device = (MobiCoreDevice *) (connection->connectionData); in processOpenDevice()
361 writeResult(connection, MC_DRV_ERR_DEVICE_ALREADY_OPEN); in processOpenDevice()
373 writeResult(connection, MC_DRV_ERR_UNKNOWN_DEVICE); in processOpenDevice()
[all …]
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 …]
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Server/
DNetlinkServer.cpp133 NetlinkConnection *connection = findConnection(hash); in handleMessage() local
135 if (connection == NULL) { in handleMessage()
137 connection = new NetlinkConnection(this, serverSock, pid, seq); in handleMessage()
139 insertConnection(hash, connection); in handleMessage()
142 connection->handleMessage(nlh); in handleMessage()
145 if (connection->detached == false) { in handleMessage()
146 if (!connectionHandler->handleConnection(connection)) { in handleMessage()
148 connection->socketDescriptor = -1; in handleMessage()
150 connectionHandler->dropConnection(connection); in handleMessage()
154 connection->socketDescriptor = -1; in handleMessage()
[all …]
DServer.cpp102 Connection *connection = (*iterator); in run() local
103 int peerSocket = connection->socketDescriptor; in run()
150 Connection *connection = new Connection(clientSock, &clientAddr); in run() local
151 peerConnections.push_back(connection); in run()
164 Connection *connection = (*iterator); in run() local
165 int peerSocket = connection->socketDescriptor; in run()
176 if (!connectionHandler->handleConnection(connection)) { in run()
180 connectionHandler->dropConnection(connection); in run()
183 delete connection; in run()
200 Connection *connection in detachConnection() argument
[all …]
/hardware/samsung_slsi/exynos5/mobicore/daemon/ClientLib/
DDevice.cpp46 Device::Device(uint32_t deviceId, Connection *connection) in Device() argument
49 this->connection = connection; in Device()
78 delete connection; in ~Device()
105 void Device::createNewSession(uint32_t sessionId, Connection *connection) in createNewSession() argument
107 Session *session = new Session(sessionId, pMcKMod, connection); in createNewSession()
DDevice.h56 Connection *connection; /**< The device connection */ variable
61 Connection *connection
99 Connection *connection
DClientLib.cpp269 Connection *devCon = device->connection; in mcCloseDevice()
325 Connection *devCon = device->connection; in mcOpenSession()
472 Connection *devCon = device->connection; in mcCloseSession()
521 Connection *devCon = device->connection; in mcNotify()
726 Connection *devCon = device->connection; in mcMap()
812 Connection *devCon = device->connection; in mcUnmap()
925 Connection *devCon = device->connection; in mcGetMobiCoreVersion()
DSession.cpp45 Connection *connection) in Session() argument
49 this->notificationConnection = connection; in Session()
DSession.h103 Session(uint32_t sessionId, CMcKMod *mcKMod, Connection *connection);
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Server/public/
DConnectionHandler.h52 Connection *connection
63 Connection *connection
DNetlinkServer.h88 Connection *connection
125 NetlinkConnection *connection
DServer.h93 Connection *connection
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/
DMobiCoreDevice.cpp124 bool MobiCoreDevice::open(Connection *connection) in open() argument
127 connection->connectionData = this; in open()
140 void MobiCoreDevice::close(Connection *connection) in close() argument
155 if (ts->deviceConnection == connection) { in close()
156 closeSession(connection, ts->sessionId); in close()
166 connection->connectionData = NULL; in close()
348 Connection *connection, in registerTrustletConnection() argument
372 ts->notificationConnection = connection; in registerTrustletConnection()
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/public/
DMobiCoreDevice.h127 bool open(Connection *connection);
129 void close(Connection *connection);
136 TrustletSession *registerTrustletConnection( Connection *connection,
/hardware/intel/img/libdrm/libdrm/
Dxf86drm.c2441 } connection[DRM_MAX_FDS]; variable
2453 if (strcmp(BusID, connection[i].BusID) == 0) { in drmOpenOnce()
2454 connection[i].refcount++; in drmOpenOnce()
2456 return connection[i].fd; in drmOpenOnce()
2463 connection[nr_fds].BusID = strdup(BusID); in drmOpenOnce()
2464 connection[nr_fds].fd = fd; in drmOpenOnce()
2465 connection[nr_fds].refcount = 1; in drmOpenOnce()
2470 nr_fds, connection[nr_fds].BusID, in drmOpenOnce()
2471 strcmp(BusID, connection[nr_fds].BusID)); in drmOpenOnce()
2483 if (fd == connection[i].fd) { in drmCloseOnce()
[all …]
Dxf86drmMode.h256 drmModeConnection connection; member
Dxf86drmMode.c418 r->connection = conn.connection; in drmModeGetConnector()
/hardware/samsung_slsi/exynos5/mobicore/daemon/Daemon/Device/Platforms/Generic/
DTrustZoneDevice.cpp596 … Connection *connection = getSessionConnection(notification->sessionId, notification); in handleIrq() local
597 if (connection == NULL) { in handleIrq()
610 connection->writeData((void *)notification, in handleIrq()
/hardware/samsung_slsi/exynos5/mobicore/daemon/Common/
DNetlinkConnection.h100 NetlinkConnection *connection
/hardware/intel/img/psb_video/src/x11/
Dpsb_xrandr.h128 Connection connection; member
Dpsb_xrandr.c263 if (p_output->connection == RR_Connected) { in psb_xrandr_coordinate_init()
461 p_output->connection = output_info->connection; in psb_xrandr_refresh()
462 if (p_output->connection == RR_Connected) in psb_xrandr_refresh()
/hardware/intel/img/libdrm/shared-core/
Ddrm_mode.h186 __u32 connection; member
/hardware/intel/img/libdrm/tests/modeprint/
Dmodeprint.c151 printf("\tconn : %s\n", getConnectionText(connector->connection)); in printConnector()
/hardware/intel/img/libdrm/tests/modetest/
Dmodetest.c188 connector_status_str(connector->connection), in dump_connectors()
/hardware/intel/img/hwcomposer/common/base/
DDrm.cpp114 if (connector->connection != DRM_MODE_CONNECTED) { in detect()

12