/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
D | UsimDataDownloadCommands.java | 85 synchronized void expectSendEnvelope(String contents, int sw1, int sw2, String response) { in expectSendEnvelope() argument 91 mExpectingSendEnvelopeResponse = response; in expectSendEnvelope() 108 Message response) { in acknowledgeLastIncomingGsmSms() argument 114 if (response != null) { in acknowledgeLastIncomingGsmSms() 115 AsyncResult.forMessage(response); in acknowledgeLastIncomingGsmSms() 116 response.sendToTarget(); in acknowledgeLastIncomingGsmSms() 123 Message response) { in acknowledgeIncomingGsmSmsWithPdu() argument 130 if (response != null) { in acknowledgeIncomingGsmSmsWithPdu() 131 AsyncResult.forMessage(response); in acknowledgeIncomingGsmSmsWithPdu() 132 response.sendToTarget(); in acknowledgeIncomingGsmSmsWithPdu() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | DcSwitchAsyncChannel.java | 77 public int rspConnect(Message response) { in rspConnect() argument 78 int retVal = response.arg1; in rspConnect() 84 Message response = sendMessageSynchronously(REQ_CONNECT, type); in connectSync() local 85 if ((response != null) && (response.what == RSP_CONNECT)) { in connectSync() 86 return rspConnect(response); in connectSync() 88 log("rspConnect error response=" + response); in connectSync() 98 public int rspDisconnect(Message response) { in rspDisconnect() argument 99 int retVal = response.arg1; in rspDisconnect() 105 Message response = sendMessageSynchronously(REQ_DISCONNECT, type); in disconnectSync() local 106 if ((response != null) && (response.what == RSP_DISCONNECT)) { in disconnectSync() [all …]
|
D | DcAsyncChannel.java | 133 public boolean rspIsInactive(Message response) { in rspIsInactive() argument 134 boolean retVal = response.arg1 == 1; in rspIsInactive() 146 Message response = sendMessageSynchronously(REQ_IS_INACTIVE); in isInactiveSync() local 147 if ((response != null) && (response.what == RSP_IS_INACTIVE)) { in isInactiveSync() 148 value = rspIsInactive(response); in isInactiveSync() 150 log("rspIsInactive error response=" + response); in isInactiveSync() 174 public int rspCid(Message response) { in rspCid() argument 175 int retVal = response.arg1; in rspCid() 186 Message response = sendMessageSynchronously(REQ_GET_CID); in getCidSync() local 187 if ((response != null) && (response.what == RSP_GET_CID)) { in getCidSync() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/ |
D | ImsPhoneCommandInterface.java | 174 public void setMute (boolean enableMute, Message response) { in setMute() argument 178 public void getMute (Message response) { in getMute() argument 228 int retry, int messageRef, Message response) { in sendImsGsmSms() argument 233 Message response) { in sendImsCdmaSms() argument 241 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 245 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument 249 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument 253 public void writeSmsToRuim(int status, String pdu, Message response) { in writeSmsToRuim() argument 307 public void queryCallWaiting(int serviceClass, Message response) { in queryCallWaiting() argument 312 Message response) { in setCallWaiting() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
D | SipCommandInterface.java | 176 public void setMute (boolean enableMute, Message response) { in setMute() argument 180 public void getMute (Message response) { in getMute() argument 230 int retry, int messageRef, Message response) { in sendImsGsmSms() argument 235 Message response) { in sendImsCdmaSms() argument 243 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 247 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument 251 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument 255 public void writeSmsToRuim(int status, String pdu, Message response) { in writeSmsToRuim() argument 309 public void queryCallWaiting(int serviceClass, Message response) { in queryCallWaiting() argument 314 Message response) { in setCallWaiting() argument [all …]
|
/frameworks/base/core/java/android/accounts/ |
D | AbstractAccountAuthenticator.java | 118 public void addAccount(IAccountAuthenticatorResponse response, String accountType, in addAccount() argument 129 new AccountAuthenticatorResponse(response), in addAccount() 136 response.onResult(result); in addAccount() 139 handleException(response, "addAccount", accountType, e); in addAccount() 143 public void confirmCredentials(IAccountAuthenticatorResponse response, in confirmCredentials() argument 151 new AccountAuthenticatorResponse(response), account, options); in confirmCredentials() 158 response.onResult(result); in confirmCredentials() 161 handleException(response, "confirmCredentials", account.toString(), e); in confirmCredentials() 165 public void getAuthTokenLabel(IAccountAuthenticatorResponse response, in getAuthTokenLabel() argument 181 response.onResult(result); in getAuthTokenLabel() [all …]
|
D | IAccountAuthenticator.aidl | 31 void addAccount(in IAccountAuthenticatorResponse response, String accountType, in addAccount() argument 37 void confirmCredentials(in IAccountAuthenticatorResponse response, in Account account, in confirmCredentials() argument 43 void getAuthToken(in IAccountAuthenticatorResponse response, in Account account, in getAuthToken() argument 49 void getAuthTokenLabel(in IAccountAuthenticatorResponse response, String authTokenType); in getAuthTokenLabel() argument 54 void updateCredentials(in IAccountAuthenticatorResponse response, in Account account, in updateCredentials() argument 60 void editProperties(in IAccountAuthenticatorResponse response, String accountType); in editProperties() argument 66 void hasFeatures(in IAccountAuthenticatorResponse response, in Account account, in hasFeatures() argument 72 void getAccountRemovalAllowed(in IAccountAuthenticatorResponse response, in Account account); in getAccountRemovalAllowed() argument 77 void getAccountCredentialsForCloning(in IAccountAuthenticatorResponse response, in getAccountCredentialsForCloning() argument 84 void addAccountFromCredentials(in IAccountAuthenticatorResponse response, in Account account, in addAccountFromCredentials() argument
|
D | IAccountManager.aidl | 37 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features); in hasFeatures() argument 38 …void getAccountsByFeatures(in IAccountManagerResponse response, String accountType, in String[] fe… in getAccountsByFeatures() argument 40 void removeAccount(in IAccountManagerResponse response, in Account account); in removeAccount() argument 41 void removeAccountAsUser(in IAccountManagerResponse response, in Account account, int userId); in removeAccountAsUser() argument 50 void getAuthToken(in IAccountManagerResponse response, in Account account, in getAuthToken() argument 53 void addAccount(in IAccountManagerResponse response, String accountType, in addAccount() argument 56 void addAccountAsUser(in IAccountManagerResponse response, String accountType, in addAccountAsUser() argument 59 void updateCredentials(in IAccountManagerResponse response, in Account account, in updateCredentials() argument 61 void editProperties(in IAccountManagerResponse response, String accountType, in editProperties() argument 63 void confirmCredentialsAsUser(in IAccountManagerResponse response, in Account account, in confirmCredentialsAsUser() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CommandsInterface.java | 971 void setMute (boolean enableMute, Message response); in setMute() argument 973 void getMute (Message response); in getMute() argument 982 void getSignalStrength (Message response); in getSignalStrength() argument 995 void getVoiceRegistrationState (Message response); in getVoiceRegistrationState() argument 1007 void getDataRegistrationState (Message response); in getDataRegistrationState() argument 1015 void getOperator(Message response); in getOperator() argument 1052 void sendSMS (String smscPDU, String pdu, Message response); in sendSMS() argument 1062 void sendSMSExpectMore (String smscPDU, String pdu, Message response); in sendSMSExpectMore() argument 1068 void sendCdmaSms(byte[] pdu, Message response); in sendCdmaSms() argument 1082 Message response); in sendImsGsmSms() argument [all …]
|
D | RIL.java | 1132 setMute (boolean enableMute, Message response) { in setMute() argument 1134 = RILRequest.obtain(RIL_REQUEST_SET_MUTE, response); in setMute() 1147 getMute (Message response) { in getMute() argument 1149 = RILRequest.obtain(RIL_REQUEST_GET_MUTE, response); in getMute() 1379 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 1381 response); in deleteSmsOnSim() 1394 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument 1396 response); in deleteSmsOnRuim() 1409 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument 1413 response); in writeSmsToSim() [all …]
|
D | Phone.java | 1070 void getAvailableNetworks(Message response); in getAvailableNetworks() argument 1081 void setNetworkSelectionModeAutomatic(Message response); in setNetworkSelectionModeAutomatic() argument 1092 Message response); in selectNetworkManually() argument 1100 void setPreferredNetworkType(int networkType, Message response); in setPreferredNetworkType() argument 1107 void getPreferredNetworkType(Message response); in getPreferredNetworkType() argument 1135 void getNeighboringCids(Message response); in getNeighboringCids() argument 1214 void invokeOemRilRequestRaw(byte[] data, Message response); in invokeOemRilRequestRaw() argument 1230 void invokeOemRilRequestStrings(String[] strings, Message response); in invokeOemRilRequestStrings() argument 1243 void getDataCallList(Message response); in getDataCallList() argument 1277 void setBandMode(int bandMode, Message response); in setBandMode() argument [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
D | SimulatedCommands.java | 844 public void sendTerminalResponse(String contents, Message response) { in sendTerminalResponse() argument 845 resultSuccess(response, null); in sendTerminalResponse() 852 public void sendEnvelope(String contents, Message response) { in sendEnvelope() argument 853 resultSuccess(response, null); in sendEnvelope() 860 public void sendEnvelopeWithStatus(String contents, Message response) { in sendEnvelopeWithStatus() argument 861 resultSuccess(response, null); in sendEnvelopeWithStatus() 869 boolean accept, Message response) { in handleCallSetupRequestFromSim() argument 870 resultSuccess(response, null); in handleCallSetupRequestFromSim() 1011 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument 1013 unimplemented(response); in deleteSmsOnSim() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | IccFileHandler.java | 150 Message response in loadEFLinearFixed() local 155 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFLinearFixed() 168 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_IMG_DONE, in loadEFImgLinearFixed() local 175 null, null, mAid, response); in loadEFImgLinearFixed() 188 Message response in getEFLinearRecordSize() local 192 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in getEFLinearRecordSize() 205 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_DONE, in loadEFLinearFixedAll() local 209 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFLinearFixedAll() 223 Message response = obtainMessage(EVENT_GET_BINARY_SIZE_DONE, in loadEFTransparent() local 227 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); in loadEFTransparent() [all …]
|
D | AdnRecordCache.java | 122 private void sendErrorResponse(Message response, String errString) { in sendErrorResponse() argument 123 if (response != null) { in sendErrorResponse() 125 AsyncResult.forMessage(response).exception = e; in sendErrorResponse() 126 response.sendToTarget(); in sendErrorResponse() 141 Message response) { in updateAdnByIndex() argument 145 sendErrorResponse(response, "EF is not known ADN-like EF:" + efid); in updateAdnByIndex() 151 sendErrorResponse(response, "Have pending update for EF:" + efid); in updateAdnByIndex() 155 mUserWriteResponse.put(efid, response); in updateAdnByIndex() 177 String pin2, Message response) { in updateAdnBySearch() argument 183 sendErrorResponse(response, "EF is not known ADN-like EF:" + efid); in updateAdnBySearch() [all …]
|
/frameworks/base/tools/preload/loadclass/ |
D | LoadClass.java | 59 StringBuilder response = new StringBuilder("DECAFBAD"); in main() local 64 response.append(',').append(memoryInfo.nativeSharedDirty); in main() 65 response.append(',').append(memoryInfo.dalvikSharedDirty); in main() 66 response.append(',').append(memoryInfo.otherSharedDirty); in main() 67 response.append(',').append(memoryInfo.nativePrivateDirty); in main() 68 response.append(',').append(memoryInfo.dalvikPrivateDirty); in main() 69 response.append(',').append(memoryInfo.otherPrivateDirty); in main() 71 response.append(',').append(allocCount); in main() 72 response.append(',').append(allocSize); in main() 73 response.append(',').append(freedCount); in main() [all …]
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | WifiDisplaySource.cpp | 88 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse() argument 89 status_t err = msg->postAndAwaitResponse(response); in PostAndAwaitResponse() 95 if (response == NULL || !(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 108 sp<AMessage> response; in start() local 109 return PostAndAwaitResponse(msg, &response); in start() 115 sp<AMessage> response; in stop() local 116 return PostAndAwaitResponse(msg, &response); in stop() 122 sp<AMessage> response; in pause() local 123 return PostAndAwaitResponse(msg, &response); in pause() 129 sp<AMessage> response; in resume() local [all …]
|
/frameworks/volley/src/com/android/volley/ |
D | ExecutorDelivery.java | 54 public void postResponse(Request<?> request, Response<?> response) { in postResponse() argument 55 postResponse(request, response, null); in postResponse() 59 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { in postResponse() argument 62 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, runnable)); in postResponse() 68 Response<?> response = Response.error(error); in postError() local 69 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, null)); in postError() 82 public ResponseDeliveryRunnable(Request request, Response response, Runnable runnable) { in ResponseDeliveryRunnable() argument 84 mResponse = response; in ResponseDeliveryRunnable()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTSPConnection.cpp | 634 sp<ARTSPResponse> response = new ARTSPResponse; in receiveRTSPReponse() local 635 response->mStatusLine = statusLine; in receiveRTSPReponse() 637 ALOGI("status: %s", response->mStatusLine.c_str()); in receiveRTSPReponse() 639 ssize_t space1 = response->mStatusLine.find(" "); in receiveRTSPReponse() 643 ssize_t space2 = response->mStatusLine.find(" ", space1 + 1); in receiveRTSPReponse() 650 if (!IsRTSPVersion(AString(response->mStatusLine, 0, space1))) { in receiveRTSPReponse() 653 response->mStatusLine, in receiveRTSPReponse() 655 response->mStatusLine.size() - space2 - 1))); in receiveRTSPReponse() 659 response->mStatusCode = 0; in receiveRTSPReponse() 662 response->mStatusLine, space1 + 1, space2 - space1 - 1); in receiveRTSPReponse() [all …]
|
/frameworks/av/cmds/stagefright/ |
D | SimplePlayer.cpp | 48 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse() argument 49 status_t err = msg->postAndAwaitResponse(response); in PostAndAwaitResponse() 55 if (!(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 64 sp<AMessage> response; in setDataSource() local 65 return PostAndAwaitResponse(msg, &response); in setDataSource() 79 sp<AMessage> response; in setSurface() local 80 return PostAndAwaitResponse(msg, &response); in setSurface() 85 sp<AMessage> response; in prepare() local 86 return PostAndAwaitResponse(msg, &response); in prepare() 91 sp<AMessage> response; in start() local [all …]
|
/frameworks/volley/src/com/android/volley/toolbox/ |
D | StringRequest.java | 59 protected void deliverResponse(String response) { in deliverResponse() argument 60 mListener.onResponse(response); in deliverResponse() 64 protected Response<String> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse() argument 67 parsed = new String(response.data, HttpHeaderParser.parseCharset(response.headers)); in parseNetworkResponse() 69 parsed = new String(response.data); in parseNetworkResponse() 71 return Response.success(parsed, HttpHeaderParser.parseCacheHeaders(response)); in parseNetworkResponse()
|
D | ImageRequest.java | 122 protected Response<Bitmap> parseNetworkResponse(NetworkResponse response) { in parseNetworkResponse() argument 126 return doParse(response); in parseNetworkResponse() 128 VolleyLog.e("Caught OOM for %d byte image, url=%s", response.data.length, getUrl()); in parseNetworkResponse() 137 private Response<Bitmap> doParse(NetworkResponse response) { in doParse() argument 138 byte[] data = response.data; in doParse() 178 return Response.error(new ParseError(response)); in doParse() 180 return Response.success(bitmap, HttpHeaderParser.parseCacheHeaders(response)); in doParse() 185 protected void deliverResponse(Bitmap response) { in deliverResponse() argument 186 mListener.onResponse(response); in deliverResponse()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodec.cpp | 161 const sp<AMessage> &msg, sp<AMessage> *response) { in PostAndAwaitResponse() argument 162 status_t err = msg->postAndAwaitResponse(response); in PostAndAwaitResponse() 168 if (!(*response)->findInt32("err", &err)) { in PostAndAwaitResponse() 177 sp<AMessage> response = new AMessage; in PostReplyWithError() local 178 response->setInt32("err", err); in PostReplyWithError() 179 response->postReply(replyID); in PostReplyWithError() 240 sp<AMessage> response; in init() local 241 return PostAndAwaitResponse(msg, &response); in init() 248 sp<AMessage> response; in setCallback() local 249 return PostAndAwaitResponse(msg, &response); in setCallback() [all …]
|
/frameworks/base/core/java/android/net/ |
D | ParseException.java | 24 public String response; field in ParseException 26 ParseException(String response) { in ParseException() argument 27 this.response = response; in ParseException()
|
/frameworks/base/docs/html/training/volley/ |
D | request-custom.jd | 31 Most requests have ready-to-use implementations in the toolbox; if your response is a string, 40 {@code <T>} represents the type of parsed response 41 the request expects. So if your parsed response is a string, for example, 53 <p>A {@code Response} encapsulates a parsed response for delivery, for a given type 60 NetworkResponse response) { 62 String json = new String(response.data, 63 HttpHeaderParser.parseCharset(response.headers)); 65 HttpHeaderParser.parseCacheHeaders(response)); 76 contains the response payload as a byte[], HTTP status code, and response headers.</li> 78 response object and cache metadata or an error, such as in the case of a parse failure.</li> [all …]
|
/frameworks/base/core/java/android/net/http/ |
D | RequestHandle.java | 225 String response = computeBasicAuthResponse(username, password); in setupBasicAuthResponse() local 227 HttpLog.v("setupBasicAuthResponse(): response: " + response); in setupBasicAuthResponse() 229 mHeaders.put(authorizationHeader(isProxy), "Basic " + response); in setupBasicAuthResponse() local 245 String response = computeDigestAuthResponse( in setupDigestAuthResponse() local 248 HttpLog.v("setupDigestAuthResponse(): response: " + response); in setupDigestAuthResponse() 250 mHeaders.put(authorizationHeader(isProxy), "Digest " + response); in setupDigestAuthResponse() local 316 String response = ""; in computeDigestAuthResponse() local 317 response += "username=" + doubleQuote(username) + ", "; in computeDigestAuthResponse() 318 response += "realm=" + doubleQuote(realm) + ", "; in computeDigestAuthResponse() 319 response += "nonce=" + doubleQuote(nonce) + ", "; in computeDigestAuthResponse() [all …]
|