Home
last modified time | relevance | path

Searched refs:response (Results 1 – 25 of 274) sorted by relevance

1234567891011

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
DUsimDataDownloadCommands.java85 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/
DDcSwitchAsyncChannel.java98 private int rspConnect(Message response) { in rspConnect() argument
99 int retVal = response.arg1; in rspConnect()
105 Message response = sendMessageSynchronously(REQ_CONNECT, apnRequest); in connectSync() local
106 if ((response != null) && (response.what == RSP_CONNECT)) { in connectSync()
107 return rspConnect(response); in connectSync()
109 if (DBG) log("rspConnect error response=" + response); in connectSync()
114 private int rspDisconnect(Message response) { in rspDisconnect() argument
115 int retVal = response.arg1; in rspDisconnect()
121 Message response = sendMessageSynchronously(REQ_DISCONNECT, apnRequest); in disconnectSync() local
122 if ((response != null) && (response.what == RSP_DISCONNECT)) { in disconnectSync()
[all …]
DDcAsyncChannel.java133 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/
DImsPhoneCommandInterface.java175 public void setMute (boolean enableMute, Message response) { in setMute() argument
179 public void getMute (Message response) { in getMute() argument
229 int retry, int messageRef, Message response) { in sendImsGsmSms() argument
234 Message response) { in sendImsCdmaSms() argument
242 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument
246 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument
250 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument
254 public void writeSmsToRuim(int status, String pdu, Message response) { in writeSmsToRuim() argument
308 public void queryCallWaiting(int serviceClass, Message response) { in queryCallWaiting() argument
313 Message response) { in setCallWaiting() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
DSipCommandInterface.java176 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/
DAbstractAccountAuthenticator.java118 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 …]
DIAccountAuthenticator.aidl31 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
DIAccountManager.aidl37 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
42 void removeAccountAsUser(in IAccountManagerResponse response, in Account account, in removeAccountAsUser() argument
45 void copyAccountToUser(in IAccountManagerResponse response, in Account account, in copyAccountToUser() argument
55 void getAuthToken(in IAccountManagerResponse response, in Account account, in getAuthToken() argument
58 void addAccount(in IAccountManagerResponse response, String accountType, in addAccount() argument
61 void addAccountAsUser(in IAccountManagerResponse response, String accountType, in addAccountAsUser() argument
64 void updateCredentials(in IAccountManagerResponse response, in Account account, in updateCredentials() argument
66 void editProperties(in IAccountManagerResponse response, String accountType, in editProperties() argument
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCommandsInterface.java1000 void setMute (boolean enableMute, Message response); in setMute() argument
1002 void getMute (Message response); in getMute() argument
1011 void getSignalStrength (Message response); in getSignalStrength() argument
1024 void getVoiceRegistrationState (Message response); in getVoiceRegistrationState() argument
1036 void getDataRegistrationState (Message response); in getDataRegistrationState() argument
1044 void getOperator(Message response); in getOperator() argument
1081 void sendSMS (String smscPDU, String pdu, Message response); in sendSMS() argument
1091 void sendSMSExpectMore (String smscPDU, String pdu, Message response); in sendSMSExpectMore() argument
1097 void sendCdmaSms(byte[] pdu, Message response); in sendCdmaSms() argument
1111 Message response); in sendImsGsmSms() argument
[all …]
DRIL.java1136 setMute (boolean enableMute, Message response) { in setMute() argument
1138 = RILRequest.obtain(RIL_REQUEST_SET_MUTE, response); in setMute()
1151 getMute (Message response) { in getMute() argument
1153 = RILRequest.obtain(RIL_REQUEST_GET_MUTE, response); in getMute()
1383 public void deleteSmsOnSim(int index, Message response) { in deleteSmsOnSim() argument
1385 response); in deleteSmsOnSim()
1398 public void deleteSmsOnRuim(int index, Message response) { in deleteSmsOnRuim() argument
1400 response); in deleteSmsOnRuim()
1413 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { in writeSmsToSim() argument
1417 response); in writeSmsToSim()
[all …]
DPhone.java1100 void getAvailableNetworks(Message response); in getAvailableNetworks() argument
1111 void setNetworkSelectionModeAutomatic(Message response); in setNetworkSelectionModeAutomatic() argument
1122 Message response); in selectNetworkManually() argument
1131 void getNetworkSelectionMode(Message response); in getNetworkSelectionMode() argument
1139 void setPreferredNetworkType(int networkType, Message response); in setPreferredNetworkType() argument
1146 void getPreferredNetworkType(Message response); in getPreferredNetworkType() argument
1174 void getNeighboringCids(Message response); in getNeighboringCids() argument
1253 void invokeOemRilRequestRaw(byte[] data, Message response); in invokeOemRilRequestRaw() argument
1269 void invokeOemRilRequestStrings(String[] strings, Message response); in invokeOemRilRequestStrings() argument
1282 void getDataCallList(Message response); in getDataCallList() argument
[all …]
DPhoneProxy.java876 public void getAvailableNetworks(Message response) { in getAvailableNetworks() argument
877 mActivePhone.getAvailableNetworks(response); in getAvailableNetworks()
881 public void setNetworkSelectionModeAutomatic(Message response) { in setNetworkSelectionModeAutomatic() argument
882 mActivePhone.setNetworkSelectionModeAutomatic(response); in setNetworkSelectionModeAutomatic()
886 public void getNetworkSelectionMode(Message response) { in getNetworkSelectionMode() argument
887 mActivePhone.getNetworkSelectionMode(response); in getNetworkSelectionMode()
891 public void selectNetworkManually(OperatorInfo network, Message response) { in selectNetworkManually() argument
892 mActivePhone.selectNetworkManually(network, response); in selectNetworkManually()
896 public void setPreferredNetworkType(int networkType, Message response) { in setPreferredNetworkType() argument
897 mActivePhone.setPreferredNetworkType(networkType, response); in setPreferredNetworkType()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
DSimulatedCommands.java844 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/
DIccFileHandler.java150 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 …]
DAdnRecordCache.java122 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/
DLoadClass.java59 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/
DWifiDisplaySource.cpp88 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/av/media/libstagefright/rtsp/
DARTSPConnection.cpp634 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/
DSimplePlayer.cpp48 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/
DExecutorDelivery.java54 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/
DMediaCodec.cpp161 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/volley/src/com/android/volley/toolbox/
DStringRequest.java59 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()
/frameworks/base/docs/html/training/volley/
Drequest-custom.jd31 Most requests have ready-to-use implementations in the toolbox; if your response is a string,
40 {@code &lt;T&gt;} 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/
DParseException.java24 public String response; field in ParseException
26 ParseException(String response) { in ParseException() argument
27 this.response = response; in ParseException()
/frameworks/base/core/java/android/net/http/
DRequestHandle.java225 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 …]

1234567891011