Home
last modified time | relevance | path

Searched refs:replyData (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/obex/javax/obex/
DServerSession.java400 byte[] replyData = new byte[totalLength]; in handleSetPathRequest()
401 replyData[0] = (byte)code; in handleSetPathRequest()
402 replyData[1] = (byte)(totalLength >> 8); in handleSetPathRequest()
403 replyData[2] = (byte)totalLength; in handleSetPathRequest()
405 System.arraycopy(head, 0, replyData, 3, head.length); in handleSetPathRequest()
411 mOutput.write(replyData); in handleSetPathRequest()
500 byte[] replyData; in handleDisconnectRequest()
502 replyData = new byte[3 + head.length]; in handleDisconnectRequest()
504 replyData = new byte[3]; in handleDisconnectRequest()
506 replyData[0] = (byte)code; in handleDisconnectRequest()
[all …]
/frameworks/av/media/libeffects/hapticgenerator/
DEffectHapticGenerator.cpp467 void *cmdData, uint32_t *replySize, void *replyData) { in HapticGenerator_Command() argument
478 if (replyData == nullptr || replySize == nullptr || *replySize != sizeof(int)) { in HapticGenerator_Command()
481 *(int *) replyData = HapticGenerator_Init(context); in HapticGenerator_Command()
486 || replyData == nullptr || replySize == nullptr || *replySize != sizeof(int)) { in HapticGenerator_Command()
489 *(int *) replyData = HapticGenerator_Configure( in HapticGenerator_Command()
500 cmdData, *replySize, replyData); in HapticGenerator_Command()
506 replySize ? *replySize : 0, replyData); in HapticGenerator_Command()
508 || replyData == nullptr || replySize == nullptr || in HapticGenerator_Command()
513 *(int *) replyData = HapticGenerator_SetParameter( in HapticGenerator_Command()
519 if (replyData == nullptr || replySize == nullptr || *replySize != sizeof(int)) { in HapticGenerator_Command()
[all …]
DEffectHapticGenerator.h127 void *replyData);
/frameworks/av/media/libaudioclient/include/media/
DAudioEffect.h513 void *replyData);
554 const std::vector<uint8_t>& replyData);
583 const std::vector<uint8_t>& replyData) override { in commandExecuted() argument
586 effect->commandExecuted(cmdCode, cmdData, replyData); in commandExecuted()
/frameworks/av/media/libeffects/proxy/
DEffectProxy.cpp148 pContext->replyData = (char *)malloc(PROXY_REPLY_SIZE_DEFAULT); in EffectProxyCreate()
163 free(pContext->replyData); in EffectProxyRelease()
311 pContext->replyData = (char *)realloc(pContext->replyData, tmpSize); in Effect_command()
337 subReplyData[i] = pReplyData == NULL ? NULL : pContext->replyData; in Effect_command()
DEffectProxy.h77 char* replyData; // temporary buffer for non active sub effect command reply member
/frameworks/native/libs/binder/
DRpcState.cpp678 CommandData replyData(sizeof(RpcWireReply) + reply.dataSize()); in processTransactInternal() local
679 if (!replyData.valid()) { in processTransactInternal()
682 memcpy(replyData.data() + 0, &rpcReply, sizeof(RpcWireReply)); in processTransactInternal()
683 memcpy(replyData.data() + sizeof(RpcWireReply), reply.data(), reply.dataSize()); in processTransactInternal()
685 if (replyData.size() > std::numeric_limits<uint32_t>::max()) { in processTransactInternal()
693 .bodySize = static_cast<uint32_t>(replyData.size()), in processTransactInternal()
699 if (!rpcSend(fd, "reply body", replyData.data(), replyData.size())) { in processTransactInternal()
/frameworks/av/media/libaudioclient/aidl/android/media/
DIEffectClient.aidl45 oneway void commandExecuted(int cmdCode, in byte[] cmdData, in byte[] replyData); in commandExecuted() argument
/frameworks/av/media/libaudioclient/
DAudioEffect.cpp291 void *replyData) in command() argument
305 if (replySize == NULL || *replySize != sizeof(status_t) || replyData == NULL) { in command()
322 memcpy(replyData, response.data(), response.size()); in command()
328 status = *(status_t *)replyData; in command()
511 const std::vector<uint8_t>& replyData) in commandExecuted() argument
513 if (cmdData.empty() || replyData.empty()) { in commandExecuted()
520 cmd->status = *reinterpret_cast<const int32_t *>(replyData.data()); in commandExecuted()
/frameworks/av/services/audioflinger/
DEffects.h355 const std::vector<uint8_t>& replyData);
DEffects.cpp2007 const std::vector<uint8_t>& replyData) in commandExecuted() argument
2010 mEffectClient->commandExecuted(cmdCode, cmdData, replyData); in commandExecuted()
/frameworks/av/media/libaudioclient/fuzzer/
Daudioflinger_fuzzer.cpp383 const std::vector<uint8_t> &replyData __unused) override { in commandExecuted()