Home
last modified time | relevance | path

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

/frameworks/base/libs/rs/
DrsThreadIO.cpp57 void * ThreadIO::coreHeader(uint32_t cmdID, size_t dataLen) { in coreHeader() argument
62 hdr.cmdID = cmdID; in coreHeader()
66 mCoreCommandID = cmdID; in coreHeader()
125 uint32_t cmdID = 0; in playCoreCommands() local
139 const void * data = mToCore.get(&cmdID, &cmdSize, delay); in playCoreCommands()
150 if (cmdID >= (sizeof(gPlaybackFuncs) / sizeof(void *))) { in playCoreCommands()
151 rsAssert(cmdID < (sizeof(gPlaybackFuncs) / sizeof(void *))); in playCoreCommands()
152 LOGE("playCoreCommands error con %p, cmd %i", con, cmdID); in playCoreCommands()
155 gPlaybackFuncs[cmdID](con, data, cmdSize << 2); in playCoreCommands()
166 …const uint32_t *d = (const uint32_t *)mToClient.get(&mLastClientHeader.cmdID, (uint32_t*)&bytesDat… in getClientHeader()
[all …]
DrsThreadIO.h58 …bool sendToClient(RsMessageToClientType cmdID, uint32_t usrID, const void *data, size_t dataLen, b…
64 uint32_t cmdID; member
68 uint32_t cmdID; member
DrsScriptC_Lib.cpp144 uint32_t rsrToClient(Context *rsc, Script *sc, int cmdID, void *data, int len) { in rsrToClient() argument
146 return rsc->sendMessageToClient(data, RS_MESSAGE_TO_CLIENT_USER, cmdID, len, false); in rsrToClient()
149 uint32_t rsrToClientBlocking(Context *rsc, Script *sc, int cmdID, void *data, int len) { in rsrToClientBlocking() argument
151 return rsc->sendMessageToClient(data, RS_MESSAGE_TO_CLIENT_USER, cmdID, len, true); in rsrToClientBlocking()
DrsRuntime.h132 uint32_t rsrToClient(Context *, Script *, int cmdID, void *data, int len);
133 uint32_t rsrToClientBlocking(Context *, Script *, int cmdID, void *data, int len);
149 uint32_t rsrToClient(Context *, Script *, int cmdID, void *data, int len);
150 uint32_t rsrToClientBlocking(Context *, Script *, int cmdID, void *data, int len);
DrsContext.h142 …bool sendMessageToClient(const void *data, RsMessageToClientType cmdID, uint32_t subID, size_t len…
DrsContext.cpp557 bool Context::sendMessageToClient(const void *data, RsMessageToClientType cmdID, in sendMessageToClient() argument
560 return mIO.sendToClient(cmdID, subID, data, len, waitForSpace); in sendMessageToClient()
/frameworks/base/libs/rs/driver/
DrsdRuntimeStubs.cpp405 static uint32_t SC_ToClient2(int cmdID, void *data, int len) { in SC_ToClient2() argument
407 return rsrToClient(rsc, sc, cmdID, data, len); in SC_ToClient2()
410 static uint32_t SC_ToClient(int cmdID) { in SC_ToClient() argument
412 return rsrToClient(rsc, sc, cmdID, NULL, 0); in SC_ToClient()
415 static uint32_t SC_ToClientBlocking2(int cmdID, void *data, int len) { in SC_ToClientBlocking2() argument
417 return rsrToClientBlocking(rsc, sc, cmdID, data, len); in SC_ToClientBlocking2()
420 static uint32_t SC_ToClientBlocking(int cmdID) { in SC_ToClientBlocking() argument
422 return rsrToClientBlocking(rsc, sc, cmdID, NULL, 0); in SC_ToClientBlocking()
/frameworks/base/libs/rs/scriptc/
Drs_core.rsh48 rsSendToClient(int cmdID);
53 rsSendToClient(int cmdID, const void *data, uint len);
59 rsSendToClientBlocking(int cmdID);
64 rsSendToClientBlocking(int cmdID, const void *data, uint len);