/frameworks/base/wifi/java/android/net/wifi/p2p/ |
D | WifiP2pManager.java | 770 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/ |
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 | 162 char *resp = NULL; in onTransact() local 164 resp = (char *)malloc(replySize); in onTransact() 166 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); in onTransact() 173 reply->write(resp, replySize); in onTransact() 178 if (resp) { in onTransact() 179 free(resp); in onTransact()
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | DownloadManagerFunctionalTest.java | 271 final MockResponse resp = buildResponse(HTTP_REDIRECT); in testErrorTooManyRedirects() local 272 resp.setHeader("Location", uri.toString()); in testErrorTooManyRedirects() 273 enqueueResponse(resp); in testErrorTooManyRedirects() 295 final MockResponse resp = buildResponse(HTTP_REDIRECT); in testErrorHttpDataError_invalidRedirect() local 296 resp.setHeader("Location", "://blah.blah.blah.com"); in testErrorHttpDataError_invalidRedirect() 297 enqueueResponse(resp); in testErrorHttpDataError_invalidRedirect() 391 final MockResponse resp = buildResponse(HTTP_OK, blobData); in testServerDropConnection_body() local 392 resp.setHeader("Content-Length", "50000"); in testServerDropConnection_body() 393 enqueueResponse(resp); in testServerDropConnection_body()
|
D | DownloadManagerBaseTest.java | 284 protected void enqueueResponse(MockResponse resp) { in enqueueResponse() argument 285 mServer.enqueue(resp); in enqueueResponse()
|
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
D | WifiP2pServiceResponse.java | 247 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/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccController.java | 307 IccRefreshResponse resp = (IccRefreshResponse) ar.result; in onSimRefresh() local 308 Rlog.d(LOG_TAG, "onSimRefresh: " + resp); in onSimRefresh() 315 if (resp.refreshResult != IccRefreshResponse.REFRESH_RESULT_RESET || in onSimRefresh() 316 resp.aid == null) { in onSimRefresh() 317 Rlog.d(LOG_TAG, "Ignoring reset: " + resp); in onSimRefresh() 321 boolean changed = mUiccCards[index].resetAppWithAid(resp.aid); in onSimRefresh()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/ |
D | CatService.java | 395 ResponseData resp; in handleCommand() local 398 resp = new DTTZResponseData(null); in handleCommand() 399 sendTerminalResponse(cmdParams.mCmdDet, ResultCode.OK, false, 0, resp); in handleCommand() 402 resp = new LanguageResponseData(Locale.getDefault().getLanguage()); in handleCommand() 403 sendTerminalResponse(cmdParams.mCmdDet, ResultCode.OK, false, 0, resp); in handleCommand() 523 int additionalInfo, ResponseData resp) { in sendTerminalResponse() argument 575 if (resp != null) { in sendTerminalResponse() 576 resp.format(buf); in sendTerminalResponse() 938 ResponseData resp = null; in handleCmdResponse() local 964 resp = new SelectItemResponseData(resMsg.mUsersMenuSelection); in handleCmdResponse() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhone.java | 651 Message resp; in getCallForwardingOption() local 652 resp = obtainMessage(EVENT_GET_CALL_FORWARD_DONE, onComplete); in getCallForwardingOption() 656 ut.queryCallForward(getConditionFromCFReason(commandInterfaceCFReason),null,resp); in getCallForwardingOption() local 675 Message resp; in setCallForwardingOption() local 679 resp = obtainMessage(EVENT_SET_CALL_FORWARD_DONE, in setCallForwardingOption() 700 Message resp; in getCallWaiting() local 701 resp = obtainMessage(EVENT_GET_CALL_WAITING_DONE, onComplete); in getCallWaiting() 705 ut.queryCallWaiting(resp); in getCallWaiting() 714 Message resp; in setCallWaiting() local 715 resp = obtainMessage(EVENT_SET_CALL_WAITING_DONE, onComplete); in setCallWaiting() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/ |
D | GSMPhone.java | 1101 Message resp; in setVoiceMailNumber() local 1103 resp = obtainMessage(EVENT_SET_VM_NUMBER_DONE, 0, 0, onComplete); in setVoiceMailNumber() 1106 r.setVoiceMailNumber(alphaTag, mVmNumber, resp); in setVoiceMailNumber() 1163 Message resp; in getCallForwardingOption() local 1165 resp = obtainMessage(EVENT_GET_CALL_FORWARD_DONE, onComplete); in getCallForwardingOption() 1167 resp = onComplete; in getCallForwardingOption() 1169 mCi.queryCallForwardStatus(commandInterfaceCFReason,0,null,resp); in getCallForwardingOption() 1190 Message resp; in setCallForwardingOption() local 1193 resp = obtainMessage(EVENT_SET_CALL_FORWARD_DONE, in setCallForwardingOption() 1196 resp = onComplete; in setCallForwardingOption() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pServiceImpl.java | 1122 for (WifiP2pServiceResponse resp : sdRespList) { in processMessage() 1124 mPeers.get(resp.getSrcDevice().deviceAddress); in processMessage() 1125 resp.setSrcDevice(dev); in processMessage() 1126 sendServiceResponse(resp); in processMessage() 3031 private void sendServiceResponse(WifiP2pServiceResponse resp) { in sendServiceResponse() argument 3033 WifiP2pServiceRequest req = c.mReqList.get(resp.getTransactionId()); in sendServiceResponse() 3039 msg.obj = resp; in sendServiceResponse()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/ |
D | CDMAPhone.java | 909 Message resp; in setVoiceMailNumber() local 911 resp = obtainMessage(EVENT_SET_VM_NUMBER_DONE, 0, 0, onComplete); in setVoiceMailNumber() 914 r.setVoiceMailNumber(alphaTag, mVmNumber, resp); in setVoiceMailNumber()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 2839 String[] resp = (String[])ret; in processUnsolicited() local 2841 if (resp.length < 2) { in processUnsolicited() 2842 resp = new String[2]; in processUnsolicited() 2843 resp[0] = ((String[])ret)[0]; in processUnsolicited() 2844 resp[1] = null; in processUnsolicited() 2846 if (RILJ_LOGD) unsljLogMore(response, resp[0]); in processUnsolicited() 2849 new AsyncResult (null, resp, null)); in processUnsolicited()
|