/frameworks/base/core/java/android/net/ |
H A D | ParseException.java | 24 public String response; field in class:ParseException 26 ParseException(String response) { argument 27 this.response = response;
|
/frameworks/base/tools/preload/loadclass/ |
H A D | LoadClass.java | 59 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/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | DataConnectionAc.java | 169 public boolean rspIsInactive(Message response) { argument 170 boolean retVal = response.arg1 == 1; 179 Message response = sendMessageSynchronously(REQ_IS_INACTIVE); 180 if ((response != null) && (response.what == RSP_IS_INACTIVE)) { 181 return rspIsInactive(response); 183 log("rspIsInactive error response=" + response); 200 * @param response Message 203 public int rspCid(Message response) { argument 237 rspRefCount(Message response) argument 271 rspApnSetting(Message response) argument 307 rspLinkProperties(Message response) argument 359 rspUpdateLinkPropertiesDataCallState(Message response) argument 397 rspLinkCapabilities(Message response) argument 500 rspApnList(Message response) argument 562 rspReconnectIntent(Message response) argument [all...] |
H A D | IccFileHandler.java | 54 // Byte order received in response to COMMAND_GET_RESPONSE 149 Message response 154 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); 167 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_IMG_DONE, 174 null, null, mAid, response); 187 Message response 191 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); 204 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_DONE, 208 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, mAid, response); 222 Message response 308 sendResult(Message response, Object result, Throwable ex) argument [all...] |
H A D | AdnRecordCache.java | 123 private void sendErrorResponse(Message response, String errString) { argument 124 if (response != null) { 126 AsyncResult.forMessage(response).exception = e; 127 response.sendToTarget(); 138 * @param response message to be posted when done 139 * response.exception hold the exception in error 142 Message response) { 146 sendErrorResponse(response, "EF is not known ADN-like EF:" + efid); 152 sendErrorResponse(response, "Have pending update for EF:" + efid); 156 userWriteResponse.put(efid, response); 141 updateAdnByIndex(int efid, AdnRecord adn, int recordIndex, String pin2, Message response) argument 177 updateAdnBySearch(int efid, AdnRecord oldAdn, AdnRecord newAdn, String pin2, Message response) argument 247 requestLoadAllAdnLike(int efid, int extensionEf, Message response) argument [all...] |
H A D | CommandsInterface.java | 266 * response.obj.result[0] is received signal strength (0-31, 99) 267 * response.obj.result[1] is bit error rate (0-7, 99) 315 * response.obj.result[0] is a bitmask of RIL_RESTRICTED_STATE_* values 888 * cause code returned as int[0] in Message.obj.response 900 * cause code returned as int[0] in Message.obj.response 914 void setMute (boolean enableMute, Message response); argument 916 void getMute (Message response); argument 919 * response.obj is an AsyncResult 920 * response.obj.result is an int[2] 921 * response 925 getSignalStrength(Message response) argument 938 getVoiceRegistrationState(Message response) argument 950 getDataRegistrationState(Message response) argument 958 getOperator(Message response) argument 995 sendSMS(String smscPDU, String pdu, Message response) argument 1001 sendCdmaSms(byte[] pdu, Message response) argument 1009 deleteSmsOnSim(int index, Message response) argument 1017 deleteSmsOnRuim(int index, Message response) argument 1032 writeSmsToSim(int status, String smsc, String pdu, Message response) argument 1034 writeSmsToRuim(int status, String pdu, Message response) argument 1036 setRadioPower(boolean on, Message response) argument 1038 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message response) argument 1040 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message response) argument 1051 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message response) argument 1058 iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, Message response) argument 1066 iccIOForApp(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, String aid, Message response) argument 1076 queryCLIP(Message response) argument 1094 getCLIR(Message response) argument 1102 setCLIR(int clirMode, Message response) argument 1112 queryCallWaiting(int serviceClass, Message response) argument 1120 setCallWaiting(boolean enable, int serviceClass, Message response) argument 1127 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message response) argument 1138 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message response) argument 1141 setNetworkSelectionModeAutomatic(Message response) argument 1143 setNetworkSelectionModeManual(String operatorNumeric, Message response) argument 1153 getNetworkSelectionMode(Message response) argument 1160 getAvailableNetworks(Message response) argument 1162 getBasebandVersion(Message response) argument 1175 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument 1190 queryFacilityLockForApp(String facility, String password, int serviceClass, String appId, Message response) argument 1200 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument 1213 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument 1216 sendUSSD(String ussdString, Message response) argument 1222 cancelPendingUssd(Message response) argument 1232 setBandMode(int bandMode, Message response) argument 1241 queryAvailableBandMode(Message response) argument 1255 setPreferredNetworkType(int networkType , Message response) argument 1262 getPreferredNetworkType(Message response) argument 1269 getNeighboringCids(Message response) argument 1278 setLocationUpdates(boolean enable, Message response) argument 1310 invokeOemRilRequestRaw(byte[] data, Message response) argument 1312 invokeOemRilRequestStrings(String[] strings, Message response) argument 1324 sendTerminalResponse(String contents, Message response) argument 1335 sendEnvelope(String contents, Message response) argument 1351 sendEnvelopeWithStatus(String contents, Message response) argument 1359 handleCallSetupRequestFromSim(boolean accept, Message response) argument 1375 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument 1384 getGsmBroadcastConfig(Message response) argument 1396 getDeviceIdentity(Message response) argument 1408 getCDMASubscription(Message response) argument 1415 sendCDMAFeatureCode(String FeatureCode, Message response) argument 1425 queryCdmaRoamingPreference(Message response) argument 1432 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument 1439 setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response) argument 1445 getCdmaSubscriptionSource(Message response) argument 1457 setTTYMode(int ttyMode, Message response) argument 1469 queryTTYMode(Message response) argument 1545 exitEmergencyCallbackMode(Message response) argument 1573 requestIsimAuthentication(String nonce, Message response) argument [all...] |
H A D | RIL.java | 228 // The number of requests sent out but waiting for response. It increases while 229 // sending request and decreases while handling response. It should match 383 // not getting a response and release the wake lock. 389 // least DEFAULT_WAKE_LOCK_TIMEOUT but no response. 393 // Note: Keep mRequestList so that delayed response 394 // can still be handled when response finally comes. 398 + " There still msg waitng for response"); 420 // is the expected time to get response, all requests 1076 setMute (boolean enableMute, Message response) { argument 1078 = RILRequest.obtain(RIL_REQUEST_SET_MUTE, response); 1090 getMute(Message response) argument 1249 deleteSmsOnSim(int index, Message response) argument 1265 deleteSmsOnRuim(int index, Message response) argument 1281 writeSmsToSim(int status, String smsc, String pdu, Message response) argument 1300 writeSmsToRuim(int status, String pdu, Message response) argument 1513 queryCallWaiting(int serviceClass, Message response) argument 1527 setCallWaiting(boolean enable, int serviceClass, Message response) argument 1542 setNetworkSelectionModeAutomatic(Message response) argument 1553 setNetworkSelectionModeManual(String operatorNumeric, Message response) argument 1567 getNetworkSelectionMode(Message response) argument 1578 getAvailableNetworks(Message response) argument 1589 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message response) argument 1609 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message response) argument 1628 queryCLIP(Message response) argument 1639 getBasebandVersion(Message response) argument 1650 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument 1657 queryFacilityLockForApp(String facility, String password, int serviceClass, String appId, Message response) argument 1679 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument 1686 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument 1711 sendUSSD(String ussdString, Message response) argument 1724 cancelPendingUssd(Message response) argument 1744 invokeOemRilRequestRaw(byte[] data, Message response) argument 1757 invokeOemRilRequestStrings(String[] strings, Message response) argument 1774 setBandMode(int bandMode, Message response) argument 1794 queryAvailableBandMode(Message response) argument 1807 sendTerminalResponse(String contents, Message response) argument 1820 sendEnvelope(String contents, Message response) argument 1833 sendEnvelopeWithStatus(String contents, Message response) argument 1847 handleCallSetupRequestFromSim( boolean accept, Message response) argument 1875 setPreferredNetworkType(int networkType , Message response) argument 1894 getPreferredNetworkType(Message response) argument 1906 getNeighboringCids(Message response) argument 1918 setLocationUpdates(boolean enable, Message response) argument 1982 getGsmBroadcastConfig(Message response) argument 1993 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument 2021 setGsmBroadcastActivation(boolean activate, Message response) argument 3665 unsljLog(int response) argument 3669 unsljLogMore(int response, String more) argument 3673 unsljLogRet(int response, Object ret) argument 3677 unsljLogvRet(int response, Object ret) argument 3684 getDeviceIdentity(Message response) argument 3693 getCDMASubscription(Message response) argument 3710 queryCdmaRoamingPreference(Message response) argument 3722 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument 3738 setCdmaSubscriptionSource(int cdmaSubscription , Message response) argument 3755 getCdmaSubscriptionSource(Message response) argument 3767 queryTTYMode(Message response) argument 3779 setTTYMode(int ttyMode, Message response) argument 3796 sendCDMAFeatureCode(String FeatureCode, Message response) argument 3807 getCdmaBroadcastConfig(Message response) argument 3814 setCdmaBroadcastConfig(int[] configValuesArray, Message response) argument 3826 setCdmaBroadcastActivation(boolean activate, Message response) argument 3840 exitEmergencyCallbackMode(Message response) argument 3848 requestIsimAuthentication(String nonce, Message response) argument [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/sip/ |
H A D | SipCommandInterface.java | 141 public void setMute (boolean enableMute, Message response) { argument 144 public void getMute (Message response) { argument 178 public void deleteSmsOnSim(int index, Message response) { argument 181 public void deleteSmsOnRuim(int index, Message response) { argument 184 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { argument 187 public void writeSmsToRuim(int status, String pdu, Message response) { argument 229 public void queryCallWaiting(int serviceClass, Message response) { argument 233 Message response) { 236 public void setNetworkSelectionModeAutomatic(Message response) { argument 240 String operatorNumeric, Message response) { 232 setCallWaiting(boolean enable, int serviceClass, Message response) argument 239 setNetworkSelectionModeManual( String operatorNumeric, Message response) argument 243 getNetworkSelectionMode(Message response) argument 246 getAvailableNetworks(Message response) argument 249 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message response) argument 253 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message response) argument 257 queryCLIP(Message response) argument 260 getBasebandVersion(Message response) argument 264 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument 269 queryFacilityLockForApp(String facility, String password, int serviceClass, String appId, Message response) argument 274 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument 279 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument 283 sendUSSD(String ussdString, Message response) argument 286 cancelPendingUssd(Message response) argument 292 invokeOemRilRequestRaw(byte[] data, Message response) argument 295 invokeOemRilRequestStrings(String[] strings, Message response) argument 298 setBandMode(int bandMode, Message response) argument 301 queryAvailableBandMode(Message response) argument 304 sendTerminalResponse(String contents, Message response) argument 307 sendEnvelope(String contents, Message response) argument 310 sendEnvelopeWithStatus(String contents, Message response) argument 313 handleCallSetupRequestFromSim( boolean accept, Message response) argument 317 setPreferredNetworkType(int networkType , Message response) argument 320 getPreferredNetworkType(Message response) argument 323 getNeighboringCids(Message response) argument 326 setLocationUpdates(boolean enable, Message response) argument 342 getCdmaSubscriptionSource(Message response) argument 345 getGsmBroadcastConfig(Message response) argument 348 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument 351 setGsmBroadcastActivation(boolean activate, Message response) argument 355 getDeviceIdentity(Message response) argument 358 getCDMASubscription(Message response) argument 364 queryCdmaRoamingPreference(Message response) argument 367 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument 370 setCdmaSubscriptionSource(int cdmaSubscription , Message response) argument 373 queryTTYMode(Message response) argument 376 setTTYMode(int ttyMode, Message response) argument 379 sendCDMAFeatureCode(String FeatureCode, Message response) argument 382 getCdmaBroadcastConfig(Message response) argument 385 setCdmaBroadcastConfig(int[] configValuesArray, Message response) argument 388 setCdmaBroadcastActivation(boolean activate, Message response) argument 391 exitEmergencyCallbackMode(Message response) argument 395 supplyIccPinForApp(String pin, String aid, Message response) argument 399 supplyIccPukForApp(String puk, String newPin, String aid, Message response) argument 403 supplyIccPin2ForApp(String pin2, String aid, Message response) argument 407 supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) argument 411 changeIccPinForApp(String oldPin, String newPin, String aidPtr, Message response) argument 415 changeIccPin2ForApp(String oldPin2, String newPin2, String aidPtr, Message response) argument 419 requestIsimAuthentication(String nonce, Message response) argument [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadCommands.java | 45 private int mExpectingSendEnvelopeResponseSw1; // SW1/SW2 response status 46 private int mExpectingSendEnvelopeResponseSw2; // SW1/SW2 response status 82 * @param response simulated envelope response to return 84 synchronized void expectSendEnvelope(String contents, int sw1, int sw2, String response) { argument 90 mExpectingSendEnvelopeResponse = response; 107 Message response) { 113 if (response != null) { 114 AsyncResult.forMessage(response); 115 response 106 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message response) argument 121 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message response) argument 137 sendEnvelopeWithStatus(String contents, Message response) argument 309 setMute(boolean enableMute, Message response) argument 313 getMute(Message response) argument 317 getSignalStrength(Message response) argument 321 getVoiceRegistrationState(Message response) argument 325 getDataRegistrationState(Message response) argument 329 getOperator(Message response) argument 349 sendSMS(String smscPDU, String pdu, Message response) argument 353 sendCdmaSms(byte[] pdu, Message response) argument 357 deleteSmsOnSim(int index, Message response) argument 361 deleteSmsOnRuim(int index, Message response) argument 365 writeSmsToSim(int status, String smsc, String pdu, Message response) argument 369 writeSmsToRuim(int status, String pdu, Message response) argument 373 setRadioPower(boolean on, Message response) argument 377 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message response) argument 381 iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, Message response) argument 386 queryCLIP(Message response) argument 390 getCLIR(Message response) argument 394 setCLIR(int clirMode, Message response) argument 398 queryCallWaiting(int serviceClass, Message response) argument 402 setCallWaiting(boolean enable, int serviceClass, Message response) argument 406 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message response) argument 411 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message response) argument 416 setNetworkSelectionModeAutomatic(Message response) argument 420 setNetworkSelectionModeManual(String operatorNumeric, Message response) argument 424 getNetworkSelectionMode(Message response) argument 428 getAvailableNetworks(Message response) argument 432 getBasebandVersion(Message response) argument 436 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument 441 queryFacilityLockForApp(String facility, String password, int serviceClass, String appId, Message response) argument 446 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument 451 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument 456 sendUSSD(String ussdString, Message response) argument 460 cancelPendingUssd(Message response) argument 468 setBandMode(int bandMode, Message response) argument 472 queryAvailableBandMode(Message response) argument 476 setPreferredNetworkType(int networkType, Message response) argument 480 getPreferredNetworkType(Message response) argument 484 getNeighboringCids(Message response) argument 488 setLocationUpdates(boolean enable, Message response) argument 508 invokeOemRilRequestRaw(byte[] data, Message response) argument 512 invokeOemRilRequestStrings(String[] strings, Message response) argument 516 sendTerminalResponse(String contents, Message response) argument 520 sendEnvelope(String contents, Message response) argument 524 handleCallSetupRequestFromSim(boolean accept, Message response) argument 532 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument 536 getGsmBroadcastConfig(Message response) argument 540 getDeviceIdentity(Message response) argument 544 getCDMASubscription(Message response) argument 548 sendCDMAFeatureCode(String FeatureCode, Message response) argument 556 queryCdmaRoamingPreference(Message response) argument 560 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument 564 setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response) argument 568 getCdmaSubscriptionSource(Message response) argument 572 setTTYMode(int ttyMode, Message response) argument 576 queryTTYMode(Message response) argument 601 exitEmergencyCallbackMode(Message response) argument 609 requestIsimAuthentication(String nonce, Message response) argument 613 getVoiceRadioTechnology(Message response) argument 621 iccIOForApp(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, String aid, Message response) argument [all...] |
/frameworks/base/core/java/android/accounts/ |
H A D | IAccountAuthenticator.aidl | 31 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);
|
H A D | AbstractAccountAuthenticator.java | 103 * 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 280 handleException(IAccountAuthenticatorResponse response, String method, String data, Exception e) argument 335 editProperties(AccountAuthenticatorResponse response, String accountType) argument 358 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument 378 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument 399 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 429 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 449 hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) argument 468 getAccountRemovalAllowed(AccountAuthenticatorResponse response, Account account) argument [all...] |
H A D | IAccountManager.aidl | 35 void hasFeatures(in IAccountManagerResponse response, in Account account, in String[] features); 36 void getAccountsByFeatures(in IAccountManagerResponse response, String accountType, in String[] features); 38 void removeAccount(in IAccountManagerResponse response, in Account account); 47 void getAuthToken(in IAccountManagerResponse response, in Account account, 50 void addAcount(in IAccountManagerResponse response, String accountType, 53 void updateCredentials(in IAccountManagerResponse response, in Account account, 55 void editProperties(in IAccountManagerResponse response, String accountType, 57 void confirmCredentialsAsUser(in IAccountManagerResponse response, in Account account, 59 void getAuthTokenLabel(in IAccountManagerResponse response, String accountType,
|
/frameworks/support/volley/src/com/android/volley/ |
H A D | ExecutorDelivery.java | 31 * 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 D | ResponseDelivery.java | 21 * 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 D | VolleyError.java | 30 public VolleyError(NetworkResponse response) { argument 31 networkResponse = response;
|
H A D | AuthFailureError.java | 38 public AuthFailureError(NetworkResponse response) { argument 39 super(response);
|
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | StringRequest.java | 28 * A canned request for retrieving the response body at a given URL as a String. 36 * @param listener Listener to receive the String response 45 protected void deliverResponse(String response) { argument 46 mListener.onResponse(response); 50 protected Response<String> parseNetworkResponse(NetworkResponse response) { argument 53 parsed = new String(response.data, HttpHeaderParser.parseCharset(response.headers)); 55 parsed = new String(response.data); 57 return Response.success(parsed, HttpHeaderParser.parseCacheHeaders(response));
|
H A D | JsonArrayRequest.java | 31 * 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 D | JsonObjectRequest.java | 31 * A request for retrieving a {@link JSONObject} response body at a given URL, allowing for an 41 * @param listener Listener to receive the JSON response 50 protected Response<JSONObject> parseNetworkResponse(NetworkResponse response) { argument 53 new String(response.data, HttpHeaderParser.parseCharset(response.headers)); 55 HttpHeaderParser.parseCacheHeaders(response));
|
/frameworks/support/volley/tests/src/com/android/volley/mock/ |
H A D | MockResponseDelivery.java | 35 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 D | MockRequest.java | 64 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 D | MediaCodec.cpp | 79 const sp<AMessage> &msg, sp<AMessage> *response) { 80 status_t err = msg->postAndAwaitResponse(response); 86 if (!(*response)->findInt32("err", &err)) { 129 sp<AMessage> response; local 130 return PostAndAwaitResponse(msg, &response); 153 sp<AMessage> response; local 154 return PostAndAwaitResponse(msg, &response); 160 sp<AMessage> response; local 161 return PostAndAwaitResponse(msg, &response); 167 sp<AMessage> response; local 78 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument 174 sp<AMessage> response; local 197 sp<AMessage> response; local 228 sp<AMessage> response; local 238 sp<AMessage> response; local 259 sp<AMessage> response; local 279 sp<AMessage> response; local 287 sp<AMessage> response; local 294 sp<AMessage> response; local 310 sp<AMessage> response; local 319 sp<AMessage> response; local 326 sp<AMessage> response; local 346 sp<AMessage> response = new AMessage; local 356 sp<AMessage> response = new AMessage; local 370 sp<AMessage> response = new AMessage; local 385 sp<AMessage> response = new AMessage; local 393 sp<AMessage> response = new AMessage; local 524 sp<AMessage> response = new AMessage; local 776 sp<AMessage> response = new AMessage; local 815 sp<AMessage> response = new AMessage; local 838 sp<AMessage> response = new AMessage; local 877 sp<AMessage> response = new AMessage; local 898 sp<AMessage> response = new AMessage; local 920 sp<AMessage> response = new AMessage; local 948 sp<AMessage> response = new AMessage; local 979 sp<AMessage> response = new AMessage; local 994 sp<AMessage> response = new AMessage; local 1003 sp<AMessage> response = new AMessage; local 1022 sp<AMessage> response = new AMessage; local 1053 sp<AMessage> response = new AMessage; local 1068 sp<AMessage> response = new AMessage; local 1077 sp<AMessage> response = new AMessage; local 1089 sp<AMessage> response = new AMessage; local 1123 sp<AMessage> response = new AMessage; local 1146 sp<AMessage> response = new AMessage; local 1153 sp<AMessage> response = new AMessage; local [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 725 * cause code returned as Integer in Message.obj.response 756 * response.obj is an AsyncResult 757 * response.obj.result is an int[2] 758 * response.obj.result[0] is received signal strength (0-31, 99) 759 * response.obj.result[1] is bit error rate (0-7, 99) 785 * ((AsyncResult)response.obj).result is an int[] with every 802 public void sendTerminalResponse(String contents, Message response) { argument 803 resultSuccess(response, null); 809 public void sendEnvelope(String contents, Message response) { argument 810 resultSuccess(response, nul 816 sendEnvelopeWithStatus(String contents, Message response) argument 823 handleCallSetupRequestFromSim( boolean accept, Message response) argument 944 deleteSmsOnSim(int index, Message response) argument 949 deleteSmsOnRuim(int index, Message response) argument 954 writeSmsToSim(int status, String smsc, String pdu, Message response) argument 959 writeSmsToRuim(int status, String pdu, Message response) argument 994 setLocationUpdates(boolean enable, Message response) argument 1048 iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, Message response) argument 1069 queryCLIP(Message response) argument 1106 queryCallWaiting(int serviceClass, Message response) argument 1116 setCallWaiting(boolean enable, int serviceClass, Message response) argument 1201 cancelPendingUssd(Message response) argument 1210 invokeOemRilRequestRaw(byte[] data, Message response) argument 1218 invokeOemRilRequestStrings(String[] strings, Message response) argument 1367 getDeviceIdentity(Message response) argument 1373 getCDMASubscription(Message response) argument 1379 setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response) argument 1384 queryCdmaRoamingPreference(Message response) argument 1389 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument 1419 setTTYMode(int ttyMode, Message response) argument 1434 queryTTYMode(Message response) argument 1442 sendCDMAFeatureCode(String FeatureCode, Message response) argument 1450 sendCdmaSms(byte[] pdu, Message response) argument 1454 setCdmaBroadcastActivation(boolean activate, Message response) argument 1459 getCdmaBroadcastConfig(Message response) argument 1464 setCdmaBroadcastConfig(int[] configValuesArray, Message response) argument 1469 forceDataDormancy(Message response) argument 1474 setGsmBroadcastActivation(boolean activate, Message response) argument 1479 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument 1483 getGsmBroadcastConfig(Message response) argument 1488 supplyIccPinForApp(String pin, String aid, Message response) argument 1493 supplyIccPukForApp(String puk, String newPin, String aid, Message response) argument 1498 supplyIccPin2ForApp(String pin2, String aid, Message response) argument 1503 supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) argument 1508 changeIccPinForApp(String oldPin, String newPin, String aidPtr, Message response) argument 1513 changeIccPin2ForApp(String oldPin2, String newPin2, String aidPtr, Message response) argument 1518 requestIsimAuthentication(String nonce, Message response) argument 1522 getVoiceRadioTechnology(Message response) argument [all...] |
/frameworks/opt/telephony/mockril/src/com/android/internal/telephony/mockril/ |
H A D | MockRilController.java | 72 * Get control response 73 * @return Msg if response is received, else return null. 76 Msg response = null; 78 response = Msg.recv(mRilChannel); 80 Log.v(TAG, "receive response for getRadioState() error: " + e.getStackTrace()); 83 return response; 93 Msg response = getCtrlResponse(); 94 if (response == null) { 95 Log.v(TAG, "failed to get response"); 98 response [all...] |
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | WifiDisplaySource.cpp | 69 const sp<AMessage> &msg, sp<AMessage> *response) { 70 status_t err = msg->postAndAwaitResponse(response); 76 if (response == NULL || !(*response)->findInt32("err", &err)) { 89 sp<AMessage> response; local 90 return PostAndAwaitResponse(msg, &response); 96 sp<AMessage> response; local 97 return PostAndAwaitResponse(msg, &response); 103 sp<AMessage> response; local 104 return PostAndAwaitResponse(msg, &response); 68 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument 110 sp<AMessage> response; local 160 sp<AMessage> response = new AMessage; local 313 sp<AMessage> response = new AMessage; local 333 sp<AMessage> response = new AMessage; local 1032 AString response = "RTSP/1.0 200 OK\\r\\n"; local 1184 AString response = "RTSP/1.0 200 OK\\r\\n"; local 1251 AString response = "RTSP/1.0 200 OK\\r\\n"; local 1297 AString response = "RTSP/1.0 200 OK\\r\\n"; local 1327 AString response = "RTSP/1.0 200 OK\\r\\n"; local 1383 sp<AMessage> response = new AMessage; local 1403 AString response = "RTSP/1.0 200 OK\\r\\n"; local 1430 AString response = "RTSP/1.0 200 OK\\r\\n"; local 1439 AppendCommonResponse( AString *response, int32_t cseq, int32_t playbackSessionID) argument 1468 AString response; local [all...] |