/frameworks/av/media/libaudioclient/ |
D | IEffectClient.cpp | 123 char *resp = NULL; in onTransact() local 125 resp = (char *)malloc(replySize); in onTransact() 126 data.read(resp, replySize); in onTransact() 128 commandExecuted(cmdCode, cmdSize, cmd, replySize, resp); in onTransact() 132 if (resp) { in onTransact() 133 free(resp); in onTransact()
|
D | IEffect.cpp | 175 char *resp = NULL; in onTransact() local 182 resp = (char *)calloc(replySize, 1); in onTransact() 183 if (resp == NULL) { in onTransact() 189 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); in onTransact() 197 reply->write(resp, replySize); in onTransact() 203 if (resp) { in onTransact() 204 free(resp); in onTransact()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pManager.java | 989 WifiP2pServiceResponse resp = (WifiP2pServiceResponse) message.obj; in handleMessage() local 990 handleServiceResponse(resp); in handleMessage() 1047 private void handleServiceResponse(WifiP2pServiceResponse resp) { in handleServiceResponse() argument 1048 if (resp instanceof WifiP2pDnsSdServiceResponse) { in handleServiceResponse() 1049 handleDnsSdServiceResponse((WifiP2pDnsSdServiceResponse)resp); in handleServiceResponse() 1050 } else if (resp instanceof WifiP2pUpnpServiceResponse) { in handleServiceResponse() 1052 handleUpnpServiceResponse((WifiP2pUpnpServiceResponse)resp); in handleServiceResponse() 1056 mServRspListener.onServiceAvailable(resp.getServiceType(), in handleServiceResponse() 1057 resp.getRawData(), resp.getSrcDevice()); in handleServiceResponse() 1062 private void handleUpnpServiceResponse(WifiP2pUpnpServiceResponse resp) { in handleUpnpServiceResponse() argument [all …]
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pServiceResponse.java | 239 WifiP2pServiceResponse resp; in newInstance() local 241 resp = WifiP2pDnsSdServiceResponse.newInstance(status, in newInstance() 244 resp = WifiP2pUpnpServiceResponse.newInstance(status, in newInstance() 247 resp = new WifiP2pServiceResponse(type, status, transId, dev, data); in newInstance() 249 if (resp != null && resp.getStatus() == Status.SUCCESS) { in newInstance() 250 respList.add(resp); in newInstance()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerFunctionalTest.java | 274 final MockResponse resp = buildResponse(HTTP_REDIRECT); in testErrorTooManyRedirects() local 275 resp.setHeader("Location", uri.toString()); in testErrorTooManyRedirects() 276 enqueueResponse(resp); in testErrorTooManyRedirects() 298 final MockResponse resp = buildResponse(HTTP_REDIRECT); in testRelativeRedirect() local 299 resp.setHeader("Location", ":" + uri.getSchemeSpecificPart()); in testRelativeRedirect() 300 enqueueResponse(resp); in testRelativeRedirect() 404 final MockResponse resp = buildResponse(HTTP_OK, blobData); in testServerDropConnection_body() local 405 resp.setHeader("Content-Length", "50000"); in testServerDropConnection_body() 406 enqueueResponse(resp); in testServerDropConnection_body()
|
D | DownloadManagerBaseTest.java | 289 protected void enqueueResponse(MockResponse resp) { in enqueueResponse() argument 290 mServer.enqueue(resp); in enqueueResponse()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CatService.java | 419 ResponseData resp; in handleCommand() local 422 resp = new DTTZResponseData(null); in handleCommand() 423 sendTerminalResponse(cmdParams.mCmdDet, ResultCode.OK, false, 0, resp); in handleCommand() 426 resp = new LanguageResponseData(Locale.getDefault().getLanguage()); in handleCommand() 427 sendTerminalResponse(cmdParams.mCmdDet, ResultCode.OK, false, 0, resp); in handleCommand() 569 int additionalInfo, ResponseData resp) { in sendTerminalResponse() argument 621 if (resp != null) { in sendTerminalResponse() 622 resp.format(buf); in sendTerminalResponse() 990 ResponseData resp = null; in handleCmdResponse() local 1017 resp = new SelectItemResponseData(resMsg.mUsersMenuSelection); in handleCmdResponse() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhone.java | 1105 Message resp; in getOutgoingCallerIdDisplay() local 1107 resp = obtainMessage(EVENT_GET_CLIR_DONE, ss); in getOutgoingCallerIdDisplay() 1111 ut.queryCLIR(resp); in getOutgoingCallerIdDisplay() 1120 Message resp; in setOutgoingCallerIdDisplay() local 1125 resp = obtainMessage(EVENT_SET_CLIR_DONE, ss); in setOutgoingCallerIdDisplay() 1128 ut.updateCLIR(clirMode, resp); in setOutgoingCallerIdDisplay() 1136 Message resp; in queryCLIP() local 1138 resp = obtainMessage(EVENT_GET_CLIP_DONE, ss); in queryCLIP() 1143 ut.queryCLIP(resp); in queryCLIP() 1163 Message resp; in getCallForwardingOption() local [all …]
|
/frameworks/base/core/java/android/net/ |
D | DnsResolver.java | 494 DnsResponse resp = null; in registerFDListener() 501 resp = resNetworkResult(fd); // Closes fd, marks it invalid. in registerFDListener() 511 answerCallback.onAnswer(resp.answerbuf, resp.rcode); in registerFDListener()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccController.java | 1109 IccRefreshResponse resp = (IccRefreshResponse) ar.result; in onSimRefresh() local 1110 logWithLocalLog("onSimRefresh: index " + index + ", " + resp); in onSimRefresh() 1112 if (resp == null) { in onSimRefresh() 1124 switch(resp.refreshResult) { in onSimRefresh() 1128 changed = uiccCard.resetAppWithAid(resp.aid, true /* reset */); in onSimRefresh() 1132 changed = uiccCard.resetAppWithAid(resp.aid, false /* initialize */); in onSimRefresh() 1138 if (changed && resp.refreshResult == IccRefreshResponse.REFRESH_RESULT_RESET) { in onSimRefresh()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceParameterizedTest.java | 299 IpSecConfig config, IpSecTransformResponse resp) throws Exception { in verifyTransformNetdCalledForCreatingSA() argument 300 verifyTransformNetdCalledForCreatingSA(config, resp, 0); in verifyTransformNetdCalledForCreatingSA() 304 IpSecConfig config, IpSecTransformResponse resp, int encapSocketPort) throws Exception { in verifyTransformNetdCalledForCreatingSA() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaPhone.java | 2015 Message resp; in setVoiceMailNumber() local 2017 resp = obtainMessage(EVENT_SET_VM_NUMBER_DONE, 0, 0, onComplete); in setVoiceMailNumber() 2026 r.setVoiceMailNumber(alphaTag, mVmNumber, resp); in setVoiceMailNumber() 2116 Message resp; in getCallForwardingOption() local 2118 resp = obtainMessage(EVENT_GET_CALL_FORWARD_DONE, onComplete); in getCallForwardingOption() 2120 resp = onComplete; in getCallForwardingOption() 2122 mCi.queryCallForwardStatus(commandInterfaceCFReason, serviceClass, null, resp); in getCallForwardingOption() 2159 Message resp; in setCallForwardingOption() local 2162 resp = obtainMessage(EVENT_SET_CALL_FORWARD_DONE, in setCallForwardingOption() 2165 resp = onComplete; in setCallForwardingOption() [all …]
|
D | RadioIndication.java | 203 String[] resp = new String[2]; in onUssd() local 204 resp[0] = "" + ussdModeType; in onUssd() 205 resp[1] = msg; in onUssd() 207 mRil.mUSSDRegistrant.notifyRegistrant(new AsyncResult (null, resp, null)); in onUssd()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 1670 for (WifiP2pServiceResponse resp : sdRespList) { in processMessage() 1672 mPeers.get(resp.getSrcDevice().deviceAddress); in processMessage() 1673 resp.setSrcDevice(dev); in processMessage() 1674 sendServiceResponse(resp); in processMessage() 4024 private void sendServiceResponse(WifiP2pServiceResponse resp) { in sendServiceResponse() argument 4025 if (resp == null) { in sendServiceResponse() 4030 WifiP2pServiceRequest req = c.mReqList.get(resp.getTransactionId()); in sendServiceResponse() 4036 msg.obj = resp; in sendServiceResponse()
|