Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/
DIEffectClient.cpp123 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()
DIEffect.cpp175 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/
DWifiP2pManager.java823 WifiP2pServiceResponse resp = (WifiP2pServiceResponse) message.obj; in handleMessage() local
824 handleServiceResponse(resp); in handleMessage()
850 private void handleServiceResponse(WifiP2pServiceResponse resp) { in handleServiceResponse() argument
851 if (resp instanceof WifiP2pDnsSdServiceResponse) { in handleServiceResponse()
852 handleDnsSdServiceResponse((WifiP2pDnsSdServiceResponse)resp); in handleServiceResponse()
853 } else if (resp instanceof WifiP2pUpnpServiceResponse) { in handleServiceResponse()
855 handleUpnpServiceResponse((WifiP2pUpnpServiceResponse)resp); in handleServiceResponse()
859 mServRspListener.onServiceAvailable(resp.getServiceType(), in handleServiceResponse()
860 resp.getRawData(), resp.getSrcDevice()); in handleServiceResponse()
865 private void handleUpnpServiceResponse(WifiP2pUpnpServiceResponse resp) { in handleUpnpServiceResponse() argument
[all …]
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceResponse.java239 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/
DDownloadManagerFunctionalTest.java273 final MockResponse resp = buildResponse(HTTP_REDIRECT); in testErrorTooManyRedirects() local
274 resp.setHeader("Location", uri.toString()); in testErrorTooManyRedirects()
275 enqueueResponse(resp); in testErrorTooManyRedirects()
297 final MockResponse resp = buildResponse(HTTP_REDIRECT); in testRelativeRedirect() local
298 resp.setHeader("Location", ":" + uri.getSchemeSpecificPart()); in testRelativeRedirect()
299 enqueueResponse(resp); in testRelativeRedirect()
403 final MockResponse resp = buildResponse(HTTP_OK, blobData); in testServerDropConnection_body() local
404 resp.setHeader("Content-Length", "50000"); in testServerDropConnection_body()
405 enqueueResponse(resp); in testServerDropConnection_body()
DDownloadManagerBaseTest.java286 protected void enqueueResponse(MockResponse resp) { in enqueueResponse() argument
287 mServer.enqueue(resp); in enqueueResponse()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java857 Message resp; in getOutgoingCallerIdDisplay() local
858 resp = obtainMessage(EVENT_GET_CLIR_DONE, onComplete); in getOutgoingCallerIdDisplay()
862 ut.queryCLIR(resp); in getOutgoingCallerIdDisplay()
871 Message resp; in setOutgoingCallerIdDisplay() local
875 resp = obtainMessage(EVENT_SET_CLIR_DONE, clirMode, 0, onComplete); in setOutgoingCallerIdDisplay()
878 ut.updateCLIR(clirMode, resp); in setOutgoingCallerIdDisplay()
890 Message resp; in getCallForwardingOption() local
891 resp = obtainMessage(EVENT_GET_CALL_FORWARD_DONE, onComplete); in getCallForwardingOption()
895 ut.queryCallForward(getConditionFromCFReason(commandInterfaceCFReason), null, resp); in getCallForwardingOption() local
926 Message resp; in setCallForwardingOption() local
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java417 ResponseData resp; in handleCommand() local
420 resp = new DTTZResponseData(null); in handleCommand()
421 sendTerminalResponse(cmdParams.mCmdDet, ResultCode.OK, false, 0, resp); in handleCommand()
424 resp = new LanguageResponseData(Locale.getDefault().getLanguage()); in handleCommand()
425 sendTerminalResponse(cmdParams.mCmdDet, ResultCode.OK, false, 0, resp); in handleCommand()
559 int additionalInfo, ResponseData resp) { in sendTerminalResponse() argument
611 if (resp != null) { in sendTerminalResponse()
612 resp.format(buf); in sendTerminalResponse()
980 ResponseData resp = null; in handleCmdResponse() local
1007 resp = new SelectItemResponseData(resMsg.mUsersMenuSelection); in handleCmdResponse()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccController.java628 IccRefreshResponse resp = (IccRefreshResponse) ar.result; in onSimRefresh() local
629 log("onSimRefresh: " + resp); in onSimRefresh()
630 sLocalLog.log("onSimRefresh: " + resp); in onSimRefresh()
632 if (resp == null) { in onSimRefresh()
644 switch(resp.refreshResult) { in onSimRefresh()
649 changed = uiccCard.resetAppWithAid(resp.aid); in onSimRefresh()
655 if (changed && resp.refreshResult == IccRefreshResponse.REFRESH_RESULT_RESET) { in onSimRefresh()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java1682 Message resp; in setVoiceMailNumber() local
1684 resp = obtainMessage(EVENT_SET_VM_NUMBER_DONE, 0, 0, onComplete); in setVoiceMailNumber()
1687 r.setVoiceMailNumber(alphaTag, mVmNumber, resp); in setVoiceMailNumber()
1742 Message resp; in getCallForwardingOption() local
1744 resp = obtainMessage(EVENT_GET_CALL_FORWARD_DONE, onComplete); in getCallForwardingOption()
1746 resp = onComplete; in getCallForwardingOption()
1749 CommandsInterface.SERVICE_CLASS_VOICE, null, resp); in getCallForwardingOption()
1775 Message resp; in setCallForwardingOption() local
1778 resp = obtainMessage(EVENT_SET_CALL_FORWARD_DONE, in setCallForwardingOption()
1781 resp = onComplete; in setCallForwardingOption()
[all …]
DRadioIndication.java194 String[] resp = new String[2]; in onUssd() local
195 resp[0] = "" + ussdModeType; in onUssd()
196 resp[1] = msg; in onUssd()
198 mRil.mUSSDRegistrant.notifyRegistrant(new AsyncResult (null, resp, null)); in onUssd()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1381 for (WifiP2pServiceResponse resp : sdRespList) { in processMessage()
1383 mPeers.get(resp.getSrcDevice().deviceAddress); in processMessage()
1384 resp.setSrcDevice(dev); in processMessage()
1385 sendServiceResponse(resp); in processMessage()
3424 private void sendServiceResponse(WifiP2pServiceResponse resp) { in sendServiceResponse() argument
3425 if (resp == null) { in sendServiceResponse()
3430 WifiP2pServiceRequest req = c.mReqList.get(resp.getTransactionId()); in sendServiceResponse()
3436 msg.obj = resp; in sendServiceResponse()