Searched refs:response (Results 1 - 25 of 122) sorted by relevance

12345

/frameworks/base/core/java/android/net/
H A DParseException.java24 public String response; field in class:ParseException
26 ParseException(String response) { argument
27 this.response = response;
H A DPacProxySelector.java65 String response = null;
73 response = mProxyService.resolvePacFile(uri.getHost(), urlString);
77 if (response == null) {
81 return parseResponse(response);
84 private static List<Proxy> parseResponse(String response) { argument
85 String[] split = response.split(";");
/frameworks/base/tools/preload/loadclass/
H A DLoadClass.java59 StringBuilder response = new StringBuilder("DECAFBAD");
64 response.append(',').append(memoryInfo.nativeSharedDirty);
65 response.append(',').append(memoryInfo.dalvikSharedDirty);
66 response.append(',').append(memoryInfo.otherSharedDirty);
67 response.append(',').append(memoryInfo.nativePrivateDirty);
68 response.append(',').append(memoryInfo.dalvikPrivateDirty);
69 response.append(',').append(memoryInfo.otherPrivateDirty);
71 response.append(',').append(allocCount);
72 response.append(',').append(allocSize);
73 response
[all...]
/frameworks/base/core/java/android/accounts/
H A DIAccountAuthenticator.aidl31 void addAccount(in IAccountAuthenticatorResponse response, String accountType,
37 void confirmCredentials(in IAccountAuthenticatorResponse response, in Account account,
43 void getAuthToken(in IAccountAuthenticatorResponse response, in Account account,
49 void getAuthTokenLabel(in IAccountAuthenticatorResponse response, String authTokenType);
54 void updateCredentials(in IAccountAuthenticatorResponse response, in Account account,
60 void editProperties(in IAccountAuthenticatorResponse response, String accountType);
66 void hasFeatures(in IAccountAuthenticatorResponse response, in Account account,
72 void getAccountRemovalAllowed(in IAccountAuthenticatorResponse response, in Account account);
77 void getAccountCredentialsForCloning(in IAccountAuthenticatorResponse response,
84 void addAccountFromCredentials(in IAccountAuthenticatorResponse response, i
[all...]
H A DAbstractAccountAuthenticator.java103 * and return the result via that response when the activity finishes (or whenever else the
118 public void addAccount(IAccountAuthenticatorResponse response, String accountType, argument
129 new AccountAuthenticatorResponse(response),
136 response.onResult(result);
139 handleException(response, "addAccount", accountType, e);
143 public void confirmCredentials(IAccountAuthenticatorResponse response, argument
151 new AccountAuthenticatorResponse(response), account, options);
158 response.onResult(result);
161 handleException(response, "confirmCredentials", account.toString(), e);
165 public void getAuthTokenLabel(IAccountAuthenticatorResponse response, argument
187 getAuthToken(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument
212 updateCredentials(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument
237 editProperties(IAccountAuthenticatorResponse response, String accountType) argument
251 hasFeatures(IAccountAuthenticatorResponse response, Account account, String[] features) argument
265 getAccountRemovalAllowed(IAccountAuthenticatorResponse response, Account account) argument
279 getAccountCredentialsForCloning(IAccountAuthenticatorResponse response, Account account) argument
294 addAccountFromCredentials(IAccountAuthenticatorResponse response, Account account, Bundle accountCredentials) argument
312 handleException(IAccountAuthenticatorResponse response, String method, String data, Exception e) argument
367 editProperties(AccountAuthenticatorResponse response, String accountType) argument
390 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument
410 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument
431 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
461 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
481 hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) argument
500 getAccountRemovalAllowed(AccountAuthenticatorResponse response, Account account) argument
518 getAccountCredentialsForCloning(final AccountAuthenticatorResponse response, final Account account) argument
542 addAccountFromCredentials(final AccountAuthenticatorResponse response, Account account, Bundle accountCredentials) argument
[all...]
H A DIAccountManager.aidl37 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features);
38 void getAccountsByFeatures(in IAccountManagerResponse response, String accountType, in String[] features);
40 void removeAccount(in IAccountManagerResponse response, in Account account);
49 void getAuthToken(in IAccountManagerResponse response, in Account account,
52 void addAccount(in IAccountManagerResponse response, String accountType,
55 void updateCredentials(in IAccountManagerResponse response, in Account account,
57 void editProperties(in IAccountManagerResponse response, String accountType,
59 void confirmCredentialsAsUser(in IAccountManagerResponse response, in Account account,
61 void getAuthTokenLabel(in IAccountManagerResponse response, String accountType,
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcAsyncChannel.java133 public boolean rspIsInactive(Message response) { argument
134 boolean retVal = response.arg1 == 1;
146 Message response = sendMessageSynchronously(REQ_IS_INACTIVE);
147 if ((response != null) && (response.what == RSP_IS_INACTIVE)) {
148 value = rspIsInactive(response);
150 log("rspIsInactive error response=" + response);
171 * @param response Message
174 public int rspCid(Message response) { argument
214 rspApnSetting(Message response) argument
256 rspLinkProperties(Message response) argument
324 rspLinkCapabilities(Message response) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/
H A DSipCommandInterface.java176 public void setMute (boolean enableMute, Message response) { argument
180 public void getMute (Message response) { argument
226 int retry, int messageRef, Message response) {
231 Message response) {
239 public void deleteSmsOnSim(int index, Message response) { argument
243 public void deleteSmsOnRuim(int index, Message response) { argument
247 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { argument
251 public void writeSmsToRuim(int status, String pdu, Message response) { argument
305 public void queryCallWaiting(int serviceClass, Message response) { argument
310 Message response) {
225 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
230 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message response) argument
309 setCallWaiting(boolean enable, int serviceClass, Message response) argument
314 setNetworkSelectionModeAutomatic(Message response) argument
318 setNetworkSelectionModeManual( String operatorNumeric, Message response) argument
323 getNetworkSelectionMode(Message response) argument
327 getAvailableNetworks(Message response) argument
331 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message response) argument
336 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message response) argument
341 queryCLIP(Message response) argument
345 getBasebandVersion(Message response) argument
349 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument
354 queryFacilityLockForApp(String facility, String password, int serviceClass, String appId, Message response) argument
359 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument
364 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument
369 sendUSSD(String ussdString, Message response) argument
373 cancelPendingUssd(Message response) argument
381 invokeOemRilRequestRaw(byte[] data, Message response) argument
385 invokeOemRilRequestStrings(String[] strings, Message response) argument
389 setBandMode(int bandMode, Message response) argument
393 queryAvailableBandMode(Message response) argument
397 sendTerminalResponse(String contents, Message response) argument
401 sendEnvelope(String contents, Message response) argument
405 sendEnvelopeWithStatus(String contents, Message response) argument
409 handleCallSetupRequestFromSim( boolean accept, Message response) argument
414 setPreferredNetworkType(int networkType , Message response) argument
418 getPreferredNetworkType(Message response) argument
422 getNeighboringCids(Message response) argument
426 setLocationUpdates(boolean enable, Message response) argument
446 getCdmaSubscriptionSource(Message response) argument
450 getGsmBroadcastConfig(Message response) argument
454 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument
458 setGsmBroadcastActivation(boolean activate, Message response) argument
463 getDeviceIdentity(Message response) argument
467 getCDMASubscription(Message response) argument
475 queryCdmaRoamingPreference(Message response) argument
479 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument
483 setCdmaSubscriptionSource(int cdmaSubscription , Message response) argument
487 queryTTYMode(Message response) argument
491 setTTYMode(int ttyMode, Message response) argument
495 sendCDMAFeatureCode(String FeatureCode, Message response) argument
499 getCdmaBroadcastConfig(Message response) argument
503 setCdmaBroadcastConfig(CdmaSmsBroadcastConfigInfo[] configs, Message response) argument
507 setCdmaBroadcastActivation(boolean activate, Message response) argument
511 exitEmergencyCallbackMode(Message response) argument
515 supplyIccPinForApp(String pin, String aid, Message response) argument
519 supplyIccPukForApp(String puk, String newPin, String aid, Message response) argument
523 supplyIccPin2ForApp(String pin2, String aid, Message response) argument
527 supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) argument
531 changeIccPinForApp(String oldPin, String newPin, String aidPtr, Message response) argument
535 changeIccPin2ForApp(String oldPin2, String newPin2, String aidPtr, Message response) argument
540 requestIsimAuthentication(String nonce, Message response) argument
552 setCellInfoListRate(int rateInMillis, Message response) argument
[all...]
/frameworks/volley/src/com/android/volley/
H A DExecutorDelivery.java31 * Creates a new response delivery interface.
45 * Creates a new response delivery interface, mockable version
54 public void postResponse(Request<?> request, Response<?> response) { argument
55 postResponse(request, response, null);
59 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { argument
61 request.addMarker("post-response");
62 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, runnable));
68 Response<?> response = Response.error(error);
69 mResponsePoster.execute(new ResponseDeliveryRunnable(request, response, null));
82 public ResponseDeliveryRunnable(Request request, Response response, Runnabl argument
[all...]
H A DResponseDelivery.java21 * Parses a response from the network or cache and delivers it.
23 public void postResponse(Request<?> request, Response<?> response); argument
26 * Parses a response from the network or cache and delivers it. The provided
29 public void postResponse(Request<?> request, Response<?> response, Runnable runnable); argument
H A DVolleyError.java30 public VolleyError(NetworkResponse response) { argument
31 networkResponse = response;
H A DAuthFailureError.java38 public AuthFailureError(NetworkResponse response) { argument
39 super(response);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java47 private int mExpectingSendEnvelopeResponseSw1; // SW1/SW2 response status
48 private int mExpectingSendEnvelopeResponseSw2; // SW1/SW2 response status
84 * @param response simulated envelope response to return
86 synchronized void expectSendEnvelope(String contents, int sw1, int sw2, String response) { argument
92 mExpectingSendEnvelopeResponse = response;
109 Message response) {
115 if (response != null) {
116 AsyncResult.forMessage(response);
117 response
108 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message response) argument
123 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message response) argument
139 sendEnvelopeWithStatus(String contents, Message response) argument
311 setMute(boolean enableMute, Message response) argument
315 getMute(Message response) argument
319 getSignalStrength(Message response) argument
323 getVoiceRegistrationState(Message response) argument
327 getDataRegistrationState(Message response) argument
331 getOperator(Message response) argument
351 sendSMS(String smscPDU, String pdu, Message response) argument
355 sendCdmaSms(byte[] pdu, Message response) argument
359 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
364 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message response) argument
369 deleteSmsOnSim(int index, Message response) argument
373 deleteSmsOnRuim(int index, Message response) argument
377 writeSmsToSim(int status, String smsc, String pdu, Message response) argument
381 writeSmsToRuim(int status, String pdu, Message response) argument
385 setRadioPower(boolean on, Message response) argument
389 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message response) argument
393 iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, Message response) argument
398 queryCLIP(Message response) argument
402 getCLIR(Message response) argument
406 setCLIR(int clirMode, Message response) argument
410 queryCallWaiting(int serviceClass, Message response) argument
414 setCallWaiting(boolean enable, int serviceClass, Message response) argument
418 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message response) argument
423 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message response) argument
428 setNetworkSelectionModeAutomatic(Message response) argument
432 setNetworkSelectionModeManual(String operatorNumeric, Message response) argument
436 getNetworkSelectionMode(Message response) argument
440 getAvailableNetworks(Message response) argument
444 getBasebandVersion(Message response) argument
448 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument
453 queryFacilityLockForApp(String facility, String password, int serviceClass, String appId, Message response) argument
458 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument
463 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument
468 sendUSSD(String ussdString, Message response) argument
472 cancelPendingUssd(Message response) argument
480 setBandMode(int bandMode, Message response) argument
484 queryAvailableBandMode(Message response) argument
488 setPreferredNetworkType(int networkType, Message response) argument
492 getPreferredNetworkType(Message response) argument
496 getNeighboringCids(Message response) argument
500 setLocationUpdates(boolean enable, Message response) argument
520 invokeOemRilRequestRaw(byte[] data, Message response) argument
524 invokeOemRilRequestStrings(String[] strings, Message response) argument
528 sendTerminalResponse(String contents, Message response) argument
532 sendEnvelope(String contents, Message response) argument
536 handleCallSetupRequestFromSim(boolean accept, Message response) argument
544 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument
548 getGsmBroadcastConfig(Message response) argument
552 getDeviceIdentity(Message response) argument
556 getCDMASubscription(Message response) argument
564 sendCDMAFeatureCode(String FeatureCode, Message response) argument
572 queryCdmaRoamingPreference(Message response) argument
576 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument
580 setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response) argument
584 getCdmaSubscriptionSource(Message response) argument
588 setTTYMode(int ttyMode, Message response) argument
592 queryTTYMode(Message response) argument
609 setCdmaBroadcastConfig(CdmaSmsBroadcastConfigInfo[] configs, Message response) argument
617 exitEmergencyCallbackMode(Message response) argument
625 requestIsimAuthentication(String nonce, Message response) argument
629 getVoiceRadioTechnology(Message response) argument
637 setCellInfoListRate(int rateInMillis, Message response) argument
645 iccIOForApp(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, String aid, Message response) argument
[all...]
/frameworks/volley/src/com/android/volley/toolbox/
H A DStringRequest.java28 * A canned request for retrieving the response body at a given URL as a String.
38 * @param listener Listener to receive the String response
51 * @param listener Listener to receive the String response
59 protected void deliverResponse(String response) { argument
60 mListener.onResponse(response);
64 protected Response<String> parseNetworkResponse(NetworkResponse response) { argument
67 parsed = new String(response.data, HttpHeaderParser.parseCharset(response.headers));
69 parsed = new String(response.data);
71 return Response.success(parsed, HttpHeaderParser.parseCacheHeaders(response));
[all...]
H A DJsonArrayRequest.java31 * A request for retrieving a {@link JSONArray} response body at a given URL.
38 * @param listener Listener to receive the JSON response
46 protected Response<JSONArray> parseNetworkResponse(NetworkResponse response) { argument
49 new String(response.data, HttpHeaderParser.parseCharset(response.headers));
51 HttpHeaderParser.parseCacheHeaders(response));
H A DJsonObjectRequest.java31 * A request for retrieving a {@link JSONObject} response body at a given URL, allowing for an
42 * @param listener Listener to receive the JSON response
64 protected Response<JSONObject> parseNetworkResponse(NetworkResponse response) { argument
67 new String(response.data, HttpHeaderParser.parseCharset(response.headers));
69 HttpHeaderParser.parseCacheHeaders(response));
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DAdnRecordCache.java122 private void sendErrorResponse(Message response, String errString) { argument
123 if (response != null) {
125 AsyncResult.forMessage(response).exception = e;
126 response.sendToTarget();
137 * @param response message to be posted when done
138 * response.exception hold the exception in error
141 Message response) {
145 sendErrorResponse(response, "EF is not known ADN-like EF:" + efid);
151 sendErrorResponse(response, "Have pending update for EF:" + efid);
155 mUserWriteResponse.put(efid, response);
140 updateAdnByIndex(int efid, AdnRecord adn, int recordIndex, String pin2, Message response) argument
176 updateAdnBySearch(int efid, AdnRecord oldAdn, AdnRecord newAdn, String pin2, Message response) argument
246 requestLoadAllAdnLike(int efid, int extensionEf, Message response) argument
[all...]
H A DIccFileHandler.java55 // Byte order received in response to COMMAND_GET_RESPONSE
150 Message response
155 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response);
168 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_IMG_DONE,
175 null, null, mAid, response);
188 Message response
192 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response);
205 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_DONE,
209 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response);
223 Message response
310 sendResult(Message response, Object result, Throwable ex) argument
320 processException(Message response, AsyncResult ar) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DCommandsInterface.java114 * response.obj.result is an int[2]
116 * response.obj.result[0] is registration state
119 * response.obj.result[1] is of type const RIL_IMS_SMS_Format,
279 * response.obj.result[0] is received signal strength (0-31, 99)
280 * response.obj.result[1] is bit error rate (0-7, 99)
328 * response.obj.result[0] is a bitmask of RIL_RESTRICTED_STATE_* values
901 * cause code returned as int[0] in Message.obj.response
913 * cause code returned as int[0] in Message.obj.response
927 void setMute (boolean enableMute, Message response); argument
929 void getMute (Message response); argument
938 getSignalStrength(Message response) argument
951 getVoiceRegistrationState(Message response) argument
963 getDataRegistrationState(Message response) argument
971 getOperator(Message response) argument
1008 sendSMS(String smscPDU, String pdu, Message response) argument
1014 sendCdmaSms(byte[] pdu, Message response) argument
1027 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
1039 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message response) argument
1047 deleteSmsOnSim(int index, Message response) argument
1055 deleteSmsOnRuim(int index, Message response) argument
1070 writeSmsToSim(int status, String smsc, String pdu, Message response) argument
1072 writeSmsToRuim(int status, String pdu, Message response) argument
1074 setRadioPower(boolean on, Message response) argument
1076 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message response) argument
1078 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message response) argument
1089 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message response) argument
1096 iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, Message response) argument
1104 iccIOForApp(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, String aid, Message response) argument
1114 queryCLIP(Message response) argument
1132 getCLIR(Message response) argument
1140 setCLIR(int clirMode, Message response) argument
1150 queryCallWaiting(int serviceClass, Message response) argument
1158 setCallWaiting(boolean enable, int serviceClass, Message response) argument
1165 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message response) argument
1176 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message response) argument
1179 setNetworkSelectionModeAutomatic(Message response) argument
1181 setNetworkSelectionModeManual(String operatorNumeric, Message response) argument
1191 getNetworkSelectionMode(Message response) argument
1198 getAvailableNetworks(Message response) argument
1200 getBasebandVersion(Message response) argument
1213 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument
1228 queryFacilityLockForApp(String facility, String password, int serviceClass, String appId, Message response) argument
1238 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument
1251 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument
1254 sendUSSD(String ussdString, Message response) argument
1260 cancelPendingUssd(Message response) argument
1270 setBandMode(int bandMode, Message response) argument
1279 queryAvailableBandMode(Message response) argument
1293 setPreferredNetworkType(int networkType , Message response) argument
1300 getPreferredNetworkType(Message response) argument
1307 getNeighboringCids(Message response) argument
1316 setLocationUpdates(boolean enable, Message response) argument
1348 invokeOemRilRequestRaw(byte[] data, Message response) argument
1350 invokeOemRilRequestStrings(String[] strings, Message response) argument
1362 sendTerminalResponse(String contents, Message response) argument
1373 sendEnvelope(String contents, Message response) argument
1389 sendEnvelopeWithStatus(String contents, Message response) argument
1397 handleCallSetupRequestFromSim(boolean accept, Message response) argument
1413 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument
1422 getGsmBroadcastConfig(Message response) argument
1434 getDeviceIdentity(Message response) argument
1446 getCDMASubscription(Message response) argument
1453 sendCDMAFeatureCode(String FeatureCode, Message response) argument
1463 queryCdmaRoamingPreference(Message response) argument
1470 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument
1477 setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response) argument
1483 getCdmaSubscriptionSource(Message response) argument
1495 setTTYMode(int ttyMode, Message response) argument
1507 queryTTYMode(Message response) argument
1566 setCdmaBroadcastConfig(CdmaSmsBroadcastConfigInfo[] configs, Message response) argument
1582 exitEmergencyCallbackMode(Message response) argument
1610 requestIsimAuthentication(String nonce, Message response) argument
1646 setCellInfoListRate(int rateInMillis, Message response) argument
[all...]
H A DRIL.java369 // not getting a response and release the wake lock.
374 // least DEFAULT_WAKE_LOCK_TIMEOUT but no response.
376 // Note: Keep mRequestList so that delayed response
377 // can still be handled when response finally comes.
1075 setMute (boolean enableMute, Message response) { argument
1077 = RILRequest.obtain(RIL_REQUEST_SET_MUTE, response);
1090 getMute (Message response) { argument
1092 = RILRequest.obtain(RIL_REQUEST_GET_MUTE, response);
1299 public void deleteSmsOnSim(int index, Message response) { argument
1301 response);
1314 deleteSmsOnRuim(int index, Message response) argument
1329 writeSmsToSim(int status, String smsc, String pdu, Message response) argument
1347 writeSmsToRuim(int status, String pdu, Message response) argument
1570 queryCallWaiting(int serviceClass, Message response) argument
1585 setCallWaiting(boolean enable, int serviceClass, Message response) argument
1601 setNetworkSelectionModeAutomatic(Message response) argument
1613 setNetworkSelectionModeManual(String operatorNumeric, Message response) argument
1628 getNetworkSelectionMode(Message response) argument
1640 getAvailableNetworks(Message response) argument
1652 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message response) argument
1673 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message response) argument
1693 queryCLIP(Message response) argument
1705 getBasebandVersion(Message response) argument
1716 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument
1723 queryFacilityLockForApp(String facility, String password, int serviceClass, String appId, Message response) argument
1745 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument
1752 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument
1778 sendUSSD(String ussdString, Message response) argument
1796 cancelPendingUssd(Message response) argument
1818 invokeOemRilRequestRaw(byte[] data, Message response) argument
1832 invokeOemRilRequestStrings(String[] strings, Message response) argument
1850 setBandMode(int bandMode, Message response) argument
1871 queryAvailableBandMode(Message response) argument
1885 sendTerminalResponse(String contents, Message response) argument
1899 sendEnvelope(String contents, Message response) argument
1913 sendEnvelopeWithStatus(String contents, Message response) argument
1928 handleCallSetupRequestFromSim( boolean accept, Message response) argument
1957 setPreferredNetworkType(int networkType , Message response) argument
1977 getPreferredNetworkType(Message response) argument
1990 getNeighboringCids(Message response) argument
2003 setLocationUpdates(boolean enable, Message response) argument
2072 getGsmBroadcastConfig(Message response) argument
2084 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument
2113 setGsmBroadcastActivation(boolean activate, Message response) argument
3808 unsljLog(int response) argument
3812 unsljLogMore(int response, String more) argument
3816 unsljLogRet(int response, Object ret) argument
3820 unsljLogvRet(int response, Object ret) argument
3828 getDeviceIdentity(Message response) argument
3838 getCDMASubscription(Message response) argument
3856 queryCdmaRoamingPreference(Message response) argument
3869 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument
3886 setCdmaSubscriptionSource(int cdmaSubscription , Message response) argument
3903 getCdmaSubscriptionSource(Message response) argument
3916 queryTTYMode(Message response) argument
3929 setTTYMode(int ttyMode, Message response) argument
3947 sendCDMAFeatureCode(String FeatureCode, Message response) argument
3959 getCdmaBroadcastConfig(Message response) argument
3966 setCdmaBroadcastConfig(CdmaSmsBroadcastConfigInfo[] configs, Message response) argument
4001 setCdmaBroadcastActivation(boolean activate, Message response) argument
4016 exitEmergencyCallbackMode(Message response) argument
4025 requestIsimAuthentication(String nonce, Message response) argument
4051 setCellInfoListRate(int rateInMillis, Message response) argument
[all...]
/frameworks/volley/tests/src/com/android/volley/mock/
H A DMockResponseDelivery.java35 public void postResponse(Request<?> request, Response<?> response) { argument
37 responsePosted = response;
41 public void postResponse(Request<?> request, Response<?> response, Runnable runnable) { argument
43 responsePosted = response;
H A DMockRequest.java64 protected void deliverResponse(byte[] response) { argument
96 protected Response<byte[]> parseNetworkResponse(NetworkResponse response) { argument
98 return Response.success(response.data, CacheTestUtils.makeRandomCacheEntry(response.data));
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp86 const sp<AMessage> &msg, sp<AMessage> *response) {
87 status_t err = msg->postAndAwaitResponse(response);
93 if (!(*response)->findInt32("err", &err)) {
152 sp<AMessage> response; local
153 return PostAndAwaitResponse(msg, &response);
176 sp<AMessage> response; local
177 return PostAndAwaitResponse(msg, &response);
184 sp<AMessage> response; local
185 status_t err = PostAndAwaitResponse(msg, &response);
189 bool found = response
85 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
203 sp<AMessage> response; local
210 sp<AMessage> response; local
217 sp<AMessage> response; local
240 sp<AMessage> response; local
271 sp<AMessage> response; local
281 sp<AMessage> response; local
302 sp<AMessage> response; local
322 sp<AMessage> response; local
330 sp<AMessage> response; local
337 sp<AMessage> response; local
344 sp<AMessage> response; local
358 sp<AMessage> response; local
374 sp<AMessage> response; local
383 sp<AMessage> response; local
390 sp<AMessage> response; local
410 sp<AMessage> response = new AMessage; local
420 sp<AMessage> response = new AMessage; local
434 sp<AMessage> response = new AMessage; local
449 sp<AMessage> response = new AMessage; local
457 sp<AMessage> response = new AMessage; local
606 sp<AMessage> response = new AMessage; local
653 sp<AMessage> response = new AMessage(); local
670 sp<AMessage> response = new AMessage(); local
918 sp<AMessage> response = new AMessage; local
957 sp<AMessage> response = new AMessage; local
980 sp<AMessage> response = new AMessage; local
1021 sp<AMessage> response = new AMessage; local
1039 sp<AMessage> response = new AMessage; local
1071 sp<AMessage> response = new AMessage; local
1105 sp<AMessage> response = new AMessage; local
1119 sp<AMessage> response = new AMessage; local
1150 sp<AMessage> response = new AMessage; local
1165 sp<AMessage> response = new AMessage; local
1174 sp<AMessage> response = new AMessage; local
1193 sp<AMessage> response = new AMessage; local
1224 sp<AMessage> response = new AMessage; local
1239 sp<AMessage> response = new AMessage; local
1248 sp<AMessage> response = new AMessage; local
1260 sp<AMessage> response = new AMessage; local
1278 sp<AMessage> response = new AMessage; local
1312 sp<AMessage> response = new AMessage; local
1335 sp<AMessage> response = new AMessage; local
1342 sp<AMessage> response = new AMessage; local
1369 sp<AMessage> response = new AMessage; local
1376 sp<AMessage> response = new AMessage; local
1392 sp<AMessage> response = new AMessage; local
1763 sp<AMessage> response; local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedCommands.java756 * cause code returned as Integer in Message.obj.response
793 * response.obj is an AsyncResult
794 * response.obj.result is an int[2]
795 * response.obj.result[0] is received signal strength (0-31, 99)
796 * response.obj.result[1] is bit error rate (0-7, 99)
824 * ((AsyncResult)response.obj).result is an int[] with every
843 public void sendTerminalResponse(String contents, Message response) { argument
844 resultSuccess(response, null);
851 public void sendEnvelope(String contents, Message response) { argument
852 resultSuccess(response, nul
859 sendEnvelopeWithStatus(String contents, Message response) argument
867 handleCallSetupRequestFromSim( boolean accept, Message response) argument
997 deleteSmsOnSim(int index, Message response) argument
1003 deleteSmsOnRuim(int index, Message response) argument
1009 writeSmsToSim(int status, String smsc, String pdu, Message response) argument
1015 writeSmsToRuim(int status, String pdu, Message response) argument
1056 setLocationUpdates(boolean enable, Message response) argument
1119 iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, Message response) argument
1142 queryCLIP(Message response) argument
1182 queryCallWaiting(int serviceClass, Message response) argument
1193 setCallWaiting(boolean enable, int serviceClass, Message response) argument
1289 cancelPendingUssd(Message response) argument
1300 invokeOemRilRequestRaw(byte[] data, Message response) argument
1309 invokeOemRilRequestStrings(String[] strings, Message response) argument
1473 getDeviceIdentity(Message response) argument
1480 getCDMASubscription(Message response) argument
1487 setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response) argument
1493 queryCdmaRoamingPreference(Message response) argument
1499 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument
1533 setTTYMode(int ttyMode, Message response) argument
1549 queryTTYMode(Message response) argument
1558 sendCDMAFeatureCode(String FeatureCode, Message response) argument
1567 sendCdmaSms(byte[] pdu, Message response) argument
1572 setCdmaBroadcastActivation(boolean activate, Message response) argument
1578 getCdmaBroadcastConfig(Message response) argument
1584 setCdmaBroadcastConfig(CdmaSmsBroadcastConfigInfo[] configs, Message response) argument
1588 forceDataDormancy(Message response) argument
1594 setGsmBroadcastActivation(boolean activate, Message response) argument
1600 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument
1605 getGsmBroadcastConfig(Message response) argument
1610 supplyIccPinForApp(String pin, String aid, Message response) argument
1615 supplyIccPukForApp(String puk, String newPin, String aid, Message response) argument
1620 supplyIccPin2ForApp(String pin2, String aid, Message response) argument
1625 supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) argument
1630 changeIccPinForApp(String oldPin, String newPin, String aidPtr, Message response) argument
1635 changeIccPin2ForApp(String oldPin2, String newPin2, String aidPtr, Message response) argument
1641 requestIsimAuthentication(String nonce, Message response) argument
1646 getVoiceRadioTechnology(Message response) argument
1651 getCellInfoList(Message response) argument
1656 setCellInfoListRate(int rateInMillis, Message response) argument
1666 getImsRegistrationState(Message response) argument
1671 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message response) argument
1677 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp88 const sp<AMessage> &msg, sp<AMessage> *response) {
89 status_t err = msg->postAndAwaitResponse(response);
95 if (response == NULL || !(*response)->findInt32("err", &err)) {
108 sp<AMessage> response; local
109 return PostAndAwaitResponse(msg, &response);
115 sp<AMessage> response; local
116 return PostAndAwaitResponse(msg, &response);
122 sp<AMessage> response; local
123 return PostAndAwaitResponse(msg, &response);
87 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
129 sp<AMessage> response; local
177 sp<AMessage> response = new AMessage; local
336 sp<AMessage> response = new AMessage; local
356 sp<AMessage> response = new AMessage; local
1135 AString response = "RTSP/1.0 200 OK\\r\\n"; local
1299 AString response = "RTSP/1.0 200 OK\\r\\n"; local
1379 AString response = "RTSP/1.0 200 OK\\r\\n"; local
1431 AString response = "RTSP/1.0 200 OK\\r\\n"; local
1461 AString response = "RTSP/1.0 200 OK\\r\\n"; local
1517 sp<AMessage> response = new AMessage; local
1537 AString response = "RTSP/1.0 200 OK\\r\\n"; local
1564 AString response = "RTSP/1.0 200 OK\\r\\n"; local
1573 AppendCommonResponse( AString *response, int32_t cseq, int32_t playbackSessionID) argument
1602 AString response; local
[all...]

Completed in 4191 milliseconds

12345