Home
last modified time | relevance | path

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

/frameworks/base/wifi/java/android/net/wifi/p2p/
DWifiP2pManager.java770 WifiP2pServiceResponse resp = (WifiP2pServiceResponse) message.obj; in handleMessage() local
771 handleServiceResponse(resp); in handleMessage()
797 private void handleServiceResponse(WifiP2pServiceResponse resp) { in handleServiceResponse() argument
798 if (resp instanceof WifiP2pDnsSdServiceResponse) { in handleServiceResponse()
799 handleDnsSdServiceResponse((WifiP2pDnsSdServiceResponse)resp); in handleServiceResponse()
800 } else if (resp instanceof WifiP2pUpnpServiceResponse) { in handleServiceResponse()
802 handleUpnpServiceResponse((WifiP2pUpnpServiceResponse)resp); in handleServiceResponse()
806 mServRspListener.onServiceAvailable(resp.getServiceType(), in handleServiceResponse()
807 resp.getRawData(), resp.getSrcDevice()); in handleServiceResponse()
812 private void handleUpnpServiceResponse(WifiP2pUpnpServiceResponse resp) { in handleUpnpServiceResponse() argument
[all …]
/frameworks/av/media/libmedia/
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.cpp168 char *resp = NULL; in onTransact() local
170 resp = (char *)calloc(replySize, 1); in onTransact()
171 if (resp == NULL) { in onTransact()
177 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); in onTransact()
185 reply->write(resp, replySize); in onTransact()
191 if (resp) { in onTransact()
192 free(resp); in onTransact()
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/
DWifiP2pServiceResponse.java247 WifiP2pServiceResponse resp; in newInstance() local
249 resp = WifiP2pDnsSdServiceResponse.newInstance(status, in newInstance()
252 resp = WifiP2pUpnpServiceResponse.newInstance(status, in newInstance()
255 resp = new WifiP2pServiceResponse(type, status, transId, dev, data); in newInstance()
257 if (resp != null && resp.getStatus() == Status.SUCCESS) { in newInstance()
258 respList.add(resp); in newInstance()
/frameworks/base/core/tests/coretests/src/android/app/
DDownloadManagerFunctionalTest.java272 final MockResponse resp = buildResponse(HTTP_REDIRECT); in testErrorTooManyRedirects() local
273 resp.setHeader("Location", uri.toString()); in testErrorTooManyRedirects()
274 enqueueResponse(resp); in testErrorTooManyRedirects()
296 final MockResponse resp = buildResponse(HTTP_REDIRECT); in testRelativeRedirect() local
297 resp.setHeader("Location", ":" + uri.getSchemeSpecificPart()); in testRelativeRedirect()
298 enqueueResponse(resp); in testRelativeRedirect()
402 final MockResponse resp = buildResponse(HTTP_OK, blobData); in testServerDropConnection_body() local
403 resp.setHeader("Content-Length", "50000"); in testServerDropConnection_body()
404 enqueueResponse(resp); in testServerDropConnection_body()
DDownloadManagerBaseTest.java283 protected void enqueueResponse(MockResponse resp) { in enqueueResponse() argument
284 mServer.enqueue(resp); in enqueueResponse()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java701 Message resp; in getOutgoingCallerIdDisplay() local
702 resp = obtainMessage(EVENT_GET_CLIR_DONE, onComplete); in getOutgoingCallerIdDisplay()
706 ut.queryCLIR(resp); in getOutgoingCallerIdDisplay()
715 Message resp; in setOutgoingCallerIdDisplay() local
719 resp = obtainMessage(EVENT_SET_CLIR_DONE, clirMode, 0, onComplete); in setOutgoingCallerIdDisplay()
722 ut.updateCLIR(clirMode, resp); in setOutgoingCallerIdDisplay()
734 Message resp; in getCallForwardingOption() local
735 resp = obtainMessage(EVENT_GET_CALL_FORWARD_DONE, onComplete); in getCallForwardingOption()
739 ut.queryCallForward(getConditionFromCFReason(commandInterfaceCFReason), null, resp); in getCallForwardingOption() local
768 Message resp; in setCallForwardingOption() local
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCatService.java408 ResponseData resp; in handleCommand() local
411 resp = new DTTZResponseData(null); in handleCommand()
412 sendTerminalResponse(cmdParams.mCmdDet, ResultCode.OK, false, 0, resp); in handleCommand()
415 resp = new LanguageResponseData(Locale.getDefault().getLanguage()); in handleCommand()
416 sendTerminalResponse(cmdParams.mCmdDet, ResultCode.OK, false, 0, resp); in handleCommand()
537 int additionalInfo, ResponseData resp) { in sendTerminalResponse() argument
589 if (resp != null) { in sendTerminalResponse()
590 resp.format(buf); in sendTerminalResponse()
951 ResponseData resp = null; in handleCmdResponse() local
978 resp = new SelectItemResponseData(resMsg.mUsersMenuSelection); in handleCmdResponse()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccController.java313 IccRefreshResponse resp = (IccRefreshResponse) ar.result; in onSimRefresh() local
314 Rlog.d(LOG_TAG, "onSimRefresh: " + resp); in onSimRefresh()
321 if (resp.refreshResult != IccRefreshResponse.REFRESH_RESULT_RESET) { in onSimRefresh()
322 Rlog.d(LOG_TAG, "Ignoring non reset refresh: " + resp); in onSimRefresh()
326 Rlog.d(LOG_TAG, "Handling refresh reset: " + resp); in onSimRefresh()
328 boolean changed = mUiccCards[index].resetAppWithAid(resp.aid); in onSimRefresh()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java1524 Message resp; in setVoiceMailNumber() local
1526 resp = obtainMessage(EVENT_SET_VM_NUMBER_DONE, 0, 0, onComplete); in setVoiceMailNumber()
1529 r.setVoiceMailNumber(alphaTag, mVmNumber, resp); in setVoiceMailNumber()
1588 Message resp; in getCallForwardingOption() local
1590 resp = obtainMessage(EVENT_GET_CALL_FORWARD_DONE, onComplete); in getCallForwardingOption()
1592 resp = onComplete; in getCallForwardingOption()
1594 mCi.queryCallForwardStatus(commandInterfaceCFReason, 0, null, resp); in getCallForwardingOption()
1620 Message resp; in setCallForwardingOption() local
1623 resp = obtainMessage(EVENT_SET_CALL_FORWARD_DONE, in setCallForwardingOption()
1626 resp = onComplete; in setCallForwardingOption()
[all …]
DRIL.java3152 String[] resp = (String[])ret; in processUnsolicited() local
3154 if (resp.length < 2) { in processUnsolicited()
3155 resp = new String[2]; in processUnsolicited()
3156 resp[0] = ((String[])ret)[0]; in processUnsolicited()
3157 resp[1] = null; in processUnsolicited()
3159 if (RILJ_LOGD) unsljLogMore(response, resp[0]); in processUnsolicited()
3162 new AsyncResult (null, resp, null)); in processUnsolicited()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pServiceImpl.java1230 for (WifiP2pServiceResponse resp : sdRespList) { in processMessage()
1232 mPeers.get(resp.getSrcDevice().deviceAddress); in processMessage()
1233 resp.setSrcDevice(dev); in processMessage()
1234 sendServiceResponse(resp); in processMessage()
3130 private void sendServiceResponse(WifiP2pServiceResponse resp) { in sendServiceResponse() argument
3132 WifiP2pServiceRequest req = c.mReqList.get(resp.getTransactionId()); in sendServiceResponse()
3138 msg.obj = resp; in sendServiceResponse()
/frameworks/base/docs/html-intl/intl/es/distribute/tools/
Dlaunch-checklist.jd980 y respóndeles a los usuarios cuando estos dediquen tiempo a escribirte un correo electrónico.