/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 | 286 protected void enqueueResponse(MockResponse resp) { in enqueueResponse() argument 287 mServer.enqueue(resp); in enqueueResponse()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CatService.java | 421 ResponseData resp; in handleCommand() local 424 resp = new DTTZResponseData(null); in handleCommand() 425 sendTerminalResponse(cmdParams.mCmdDet, ResultCode.OK, false, 0, resp); in handleCommand() 428 resp = new LanguageResponseData(Locale.getDefault().getLanguage()); in handleCommand() 429 sendTerminalResponse(cmdParams.mCmdDet, ResultCode.OK, false, 0, resp); in handleCommand() 571 int additionalInfo, ResponseData resp) { in sendTerminalResponse() argument 623 if (resp != null) { in sendTerminalResponse() 624 resp.format(buf); in sendTerminalResponse() 992 ResponseData resp = null; in handleCmdResponse() local 1019 resp = new SelectItemResponseData(resMsg.mUsersMenuSelection); in handleCmdResponse() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhone.java | 926 Message resp; in getOutgoingCallerIdDisplay() local 927 resp = obtainMessage(EVENT_GET_CLIR_DONE, onComplete); in getOutgoingCallerIdDisplay() 931 ut.queryCLIR(resp); in getOutgoingCallerIdDisplay() 940 Message resp; in setOutgoingCallerIdDisplay() local 944 resp = obtainMessage(EVENT_SET_CLIR_DONE, clirMode, 0, onComplete); in setOutgoingCallerIdDisplay() 947 ut.updateCLIR(clirMode, resp); in setOutgoingCallerIdDisplay() 960 Message resp; in getCallForwardingOption() local 961 resp = obtainMessage(EVENT_GET_CALL_FORWARD_DONE, onComplete); in getCallForwardingOption() 965 ut.queryCallForward(getConditionFromCFReason(commandInterfaceCFReason), null, resp); in getCallForwardingOption() local 997 Message resp; in setCallForwardingOption() local [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccController.java | 936 IccRefreshResponse resp = (IccRefreshResponse) ar.result; in onSimRefresh() local 937 log("onSimRefresh: " + resp); in onSimRefresh() 938 sLocalLog.log("onSimRefresh: " + resp); in onSimRefresh() 940 if (resp == null) { in onSimRefresh() 952 switch(resp.refreshResult) { in onSimRefresh() 956 changed = uiccCard.resetAppWithAid(resp.aid, true /* reset */); in onSimRefresh() 960 changed = uiccCard.resetAppWithAid(resp.aid, false /* initialize */); in onSimRefresh() 966 if (changed && resp.refreshResult == IccRefreshResponse.REFRESH_RESULT_RESET) { in onSimRefresh()
|
/frameworks/base/core/java/android/net/ |
D | DnsResolver.java | 485 DnsResponse resp = null; in registerFDListener() 492 resp = resNetworkResult(fd); // Closes fd, marks it invalid. in registerFDListener() 502 answerCallback.onAnswer(resp.answerbuf, resp.rcode); in registerFDListener()
|
/frameworks/base/tests/net/java/com/android/server/ |
D | IpSecServiceParameterizedTest.java | 296 IpSecConfig config, IpSecTransformResponse resp) throws Exception { in verifyTransformNetdCalledForCreatingSA() argument 297 verifyTransformNetdCalledForCreatingSA(config, resp, 0); in verifyTransformNetdCalledForCreatingSA() 301 IpSecConfig config, IpSecTransformResponse resp, int encapSocketPort) throws Exception { in verifyTransformNetdCalledForCreatingSA() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | GsmCdmaPhone.java | 1845 Message resp; in setVoiceMailNumber() local 1847 resp = obtainMessage(EVENT_SET_VM_NUMBER_DONE, 0, 0, onComplete); in setVoiceMailNumber() 1856 r.setVoiceMailNumber(alphaTag, mVmNumber, resp); in setVoiceMailNumber() 1921 Message resp; in getCallForwardingOption() local 1923 resp = obtainMessage(EVENT_GET_CALL_FORWARD_DONE, onComplete); in getCallForwardingOption() 1925 resp = onComplete; in getCallForwardingOption() 1928 CommandsInterface.SERVICE_CLASS_VOICE, null, resp); in getCallForwardingOption() 1954 Message resp; in setCallForwardingOption() local 1957 resp = obtainMessage(EVENT_SET_CALL_FORWARD_DONE, in setCallForwardingOption() 1960 resp = onComplete; in setCallForwardingOption() [all …]
|
D | RadioIndication.java | 195 String[] resp = new String[2]; in onUssd() local 196 resp[0] = "" + ussdModeType; in onUssd() 197 resp[1] = msg; in onUssd() 199 mRil.mUSSDRegistrant.notifyRegistrant(new AsyncResult (null, resp, null)); in onUssd()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 1651 for (WifiP2pServiceResponse resp : sdRespList) { in processMessage() 1653 mPeers.get(resp.getSrcDevice().deviceAddress); in processMessage() 1654 resp.setSrcDevice(dev); in processMessage() 1655 sendServiceResponse(resp); in processMessage() 3989 private void sendServiceResponse(WifiP2pServiceResponse resp) { in sendServiceResponse() argument 3990 if (resp == null) { in sendServiceResponse() 3995 WifiP2pServiceRequest req = c.mReqList.get(resp.getTransactionId()); in sendServiceResponse() 4001 msg.obj = resp; in sendServiceResponse()
|