Home
last modified time | relevance | path

Searched refs:cmdID (Results 1 – 8 of 8) sorted by relevance

/frameworks/rs/
DrsThreadIO.cpp51 void * ThreadIO::coreHeader(uint32_t cmdID, size_t dataLen) { in coreHeader() argument
55 hdr->cmdID = cmdID; in coreHeader()
145 r = mToCore.read((void *)&cmd->cmdID, sizeof(cmd->cmdID)); in playCoreCommands()
155 if (cmd->cmdID >= (sizeof(gPlaybackFuncs) / sizeof(void *))) { in playCoreCommands()
156 rsAssert(cmd->cmdID < (sizeof(gPlaybackFuncs) / sizeof(void *))); in playCoreCommands()
157 ALOGE("playCoreCommands error con %p, cmd %i", con, cmd->cmdID); in playCoreCommands()
161 gPlaybackFuncs[cmd->cmdID](con, data, cmd->bytes); in playCoreCommands()
163 gPlaybackRemoteFuncs[cmd->cmdID](con, this); in playCoreCommands()
193 return (RsMessageToClientType)mLastClientHeader.cmdID; in getClientHeader()
208 return (RsMessageToClientType)mLastClientHeader.cmdID; in getClientPayload()
[all …]
DrsScriptC_Lib.cpp200 uint32_t rsrToClient(Context *rsc, int cmdID, const void *data, int len) { in rsrToClient() argument
202 return rsc->sendMessageToClient(data, RS_MESSAGE_TO_CLIENT_USER, cmdID, len, false); in rsrToClient()
205 uint32_t rsrToClientBlocking(Context *rsc, int cmdID, const void *data, int len) { in rsrToClientBlocking() argument
207 return rsc->sendMessageToClient(data, RS_MESSAGE_TO_CLIENT_USER, cmdID, len, true); in rsrToClientBlocking()
212 uint32_t rsrToClient(Context *rsc, int cmdID, void *data, int len) { in rsrToClient() argument
213 return rsrToClient(rsc, cmdID, (const void *)data, len); in rsrToClient()
216 uint32_t rsrToClientBlocking(Context *rsc, int cmdID, void *data, int len) { in rsrToClientBlocking() argument
217 return rsrToClientBlocking(rsc, cmdID, (const void *)data, len); in rsrToClientBlocking()
DrsThreadIO.h66 …bool sendToClient(RsMessageToClientType cmdID, uint32_t usrID, const void *data, size_t dataLen, b…
72 uint32_t cmdID; member
76 uint32_t cmdID; member
DrsRuntime.h132 uint32_t __attribute((used)) rsrToClient(Context *, int cmdID, void *data, int len);
133 uint32_t __attribute((used)) rsrToClientBlocking(Context *, int cmdID, void *data, int len);
135 uint32_t rsrToClient(Context *, int cmdID, const void *data, int len);
136 uint32_t rsrToClientBlocking(Context *, int cmdID, const void *data, int len);
DrsContext.cpp774 bool Context::sendMessageToClient(const void *data, RsMessageToClientType cmdID, in sendMessageToClient() argument
778 bool ret = mIO.sendToClient(cmdID, subID, data, len, waitForSpace); in sendMessageToClient()
945 uint32_t cmdID; in LF_ObjDestroy_handcode() member
951 cmd.cmdID = RS_CMD_ID_ObjDestroy; in LF_ObjDestroy_handcode()
DrsContext.h164 …bool sendMessageToClient(const void *data, RsMessageToClientType cmdID, uint32_t subID, size_t len…
/frameworks/rs/scriptc/
Drs_core.rsh72 rsSendToClient(int cmdID);
77 rsSendToClient(int cmdID, const void *data, uint len);
83 rsSendToClientBlocking(int cmdID);
88 rsSendToClientBlocking(int cmdID, const void *data, uint len);
/frameworks/rs/driver/
DrsdRuntimeStubs.cpp699 static uint32_t SC_ToClient2(int cmdID, const void *data, uint32_t len) { in SC_ToClient2() argument
701 return rsrToClient(rsc, cmdID, data, len); in SC_ToClient2()
704 static uint32_t SC_ToClient(int cmdID) { in SC_ToClient() argument
706 return rsrToClient(rsc, cmdID, (const void *)NULL, 0); in SC_ToClient()
709 static uint32_t SC_ToClientBlocking2(int cmdID, const void *data, uint32_t len) { in SC_ToClientBlocking2() argument
711 return rsrToClientBlocking(rsc, cmdID, data, len); in SC_ToClientBlocking2()
714 static uint32_t SC_ToClientBlocking(int cmdID) { in SC_ToClientBlocking() argument
716 return rsrToClientBlocking(rsc, cmdID, (const void *)NULL, 0); in SC_ToClientBlocking()
1584 uint32_t rsSendToClient(int cmdID) { in rsSendToClient() argument
1585 return SC_ToClient(cmdID); in rsSendToClient()
[all …]