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

1234567

/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;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DDcSwitchAsyncChannel.java98 private int rspConnect(Message response) { argument
99 int retVal = response.arg1;
105 Message response = sendMessageSynchronously(REQ_CONNECT, apnRequest);
106 if ((response != null) && (response.what == RSP_CONNECT)) {
107 return rspConnect(response);
109 if (DBG) log("rspConnect error response=" + response);
114 private int rspDisconnect(Message response) { argument
115 int retVal = response
130 rspDisconnectAll(Message response) argument
156 rspIsIdle(Message response) argument
177 rspIsIdleOrDetaching(Message response) argument
[all...]
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 rspNetworkCapabilities(Message response) argument
[all...]
/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,
42 void removeAccountAsUser(in IAccountManagerResponse response, in Account account,
45 void copyAccountToUser(in IAccountManagerResponse response, in Account account,
55 void getAuthToken(in IAccountManagerResponse response, in Account account,
58 void addAccount(in IAccountManagerResponse response, String accountType,
61 void addAccountAsUser(in IAccountManagerResponse response, String accountType,
64 void updateCredentials(in IAccountManagerResponse response, in Account account,
66 void editProperties(in IAccountManagerResponse response, Strin
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCommandInterface.java175 public void setMute (boolean enableMute, Message response) { argument
179 public void getMute (Message response) { argument
229 int retry, int messageRef, Message response) {
234 Message response) {
242 public void deleteSmsOnSim(int index, Message response) { argument
246 public void deleteSmsOnRuim(int index, Message response) { argument
250 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { argument
254 public void writeSmsToRuim(int status, String pdu, Message response) { argument
308 public void queryCallWaiting(int serviceClass, Message response) { argument
313 Message response) {
228 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
233 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message response) argument
312 setCallWaiting(boolean enable, int serviceClass, Message response) argument
317 setNetworkSelectionModeAutomatic(Message response) argument
321 setNetworkSelectionModeManual( String operatorNumeric, Message response) argument
326 getNetworkSelectionMode(Message response) argument
330 getAvailableNetworks(Message response) argument
334 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message response) argument
339 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message response) argument
344 queryCLIP(Message response) argument
348 getBasebandVersion(Message response) argument
352 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument
357 queryFacilityLockForApp(String facility, String password, int serviceClass, String appId, Message response) argument
362 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument
367 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument
372 sendUSSD(String ussdString, Message response) argument
376 cancelPendingUssd(Message response) argument
384 invokeOemRilRequestRaw(byte[] data, Message response) argument
388 invokeOemRilRequestStrings(String[] strings, Message response) argument
392 setBandMode(int bandMode, Message response) argument
396 queryAvailableBandMode(Message response) argument
400 sendTerminalResponse(String contents, Message response) argument
404 sendEnvelope(String contents, Message response) argument
408 sendEnvelopeWithStatus(String contents, Message response) argument
412 handleCallSetupRequestFromSim( boolean accept, Message response) argument
417 setPreferredNetworkType(int networkType , Message response) argument
421 getPreferredNetworkType(Message response) argument
425 getNeighboringCids(Message response) argument
429 setLocationUpdates(boolean enable, Message response) argument
449 getCdmaSubscriptionSource(Message response) argument
453 getGsmBroadcastConfig(Message response) argument
457 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument
461 setGsmBroadcastActivation(boolean activate, Message response) argument
466 getDeviceIdentity(Message response) argument
470 getCDMASubscription(Message response) argument
478 queryCdmaRoamingPreference(Message response) argument
482 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument
486 setCdmaSubscriptionSource(int cdmaSubscription , Message response) argument
490 queryTTYMode(Message response) argument
494 setTTYMode(int ttyMode, Message response) argument
498 sendCDMAFeatureCode(String FeatureCode, Message response) argument
502 getCdmaBroadcastConfig(Message response) argument
506 setCdmaBroadcastConfig(CdmaSmsBroadcastConfigInfo[] configs, Message response) argument
510 setCdmaBroadcastActivation(boolean activate, Message response) argument
514 exitEmergencyCallbackMode(Message response) argument
518 supplyIccPinForApp(String pin, String aid, Message response) argument
522 supplyIccPukForApp(String puk, String newPin, String aid, Message response) argument
526 supplyIccPin2ForApp(String pin2, String aid, Message response) argument
530 supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) argument
534 changeIccPinForApp(String oldPin, String newPin, String aidPtr, Message response) argument
538 changeIccPin2ForApp(String oldPin2, String newPin2, String aidPtr, Message response) argument
543 requestIsimAuthentication(String nonce, Message response) argument
547 requestIccSimAuthentication(int authContext, String data, String aid, Message response) argument
559 setCellInfoListRate(int rateInMillis, Message response) argument
572 iccOpenLogicalChannel(String AID, Message response) argument
575 iccCloseLogicalChannel(int channel, Message response) argument
578 iccTransmitApduLogicalChannel(int channel, int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument
582 iccTransmitApduBasicChannel(int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument
586 nvReadItem(int itemID, Message response) argument
589 nvWriteItem(int itemID, String itemValue, Message response) argument
592 nvWriteCdmaPrl(byte[] preferredRoamingList, Message response) argument
595 nvResetConfig(int resetType, Message response) argument
605 setRadioCapability(RadioCapability rc, Message response) argument
609 getRadioCapability(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
230 int retry, int messageRef, Message response) {
235 Message response) {
243 public void deleteSmsOnSim(int index, Message response) { argument
247 public void deleteSmsOnRuim(int index, Message response) { argument
251 public void writeSmsToSim(int status, String smsc, String pdu, Message response) { argument
255 public void writeSmsToRuim(int status, String pdu, Message response) { argument
309 public void queryCallWaiting(int serviceClass, Message response) { argument
314 Message response) {
229 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
234 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message response) argument
313 setCallWaiting(boolean enable, int serviceClass, Message response) argument
318 setNetworkSelectionModeAutomatic(Message response) argument
322 setNetworkSelectionModeManual( String operatorNumeric, Message response) argument
327 getNetworkSelectionMode(Message response) argument
331 getAvailableNetworks(Message response) argument
335 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message response) argument
340 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message response) argument
345 queryCLIP(Message response) argument
349 getBasebandVersion(Message response) argument
353 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument
358 queryFacilityLockForApp(String facility, String password, int serviceClass, String appId, Message response) argument
363 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument
368 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument
373 sendUSSD(String ussdString, Message response) argument
377 cancelPendingUssd(Message response) argument
385 invokeOemRilRequestRaw(byte[] data, Message response) argument
389 invokeOemRilRequestStrings(String[] strings, Message response) argument
393 setBandMode(int bandMode, Message response) argument
397 queryAvailableBandMode(Message response) argument
401 sendTerminalResponse(String contents, Message response) argument
405 sendEnvelope(String contents, Message response) argument
409 sendEnvelopeWithStatus(String contents, Message response) argument
413 handleCallSetupRequestFromSim( boolean accept, Message response) argument
418 setPreferredNetworkType(int networkType , Message response) argument
422 getPreferredNetworkType(Message response) argument
426 getNeighboringCids(Message response) argument
430 setLocationUpdates(boolean enable, Message response) argument
450 getCdmaSubscriptionSource(Message response) argument
454 getGsmBroadcastConfig(Message response) argument
458 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument
462 setGsmBroadcastActivation(boolean activate, Message response) argument
467 getDeviceIdentity(Message response) argument
471 getCDMASubscription(Message response) argument
479 queryCdmaRoamingPreference(Message response) argument
483 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument
487 setCdmaSubscriptionSource(int cdmaSubscription , Message response) argument
491 queryTTYMode(Message response) argument
495 setTTYMode(int ttyMode, Message response) argument
499 sendCDMAFeatureCode(String FeatureCode, Message response) argument
503 getCdmaBroadcastConfig(Message response) argument
507 setCdmaBroadcastConfig(CdmaSmsBroadcastConfigInfo[] configs, Message response) argument
511 setCdmaBroadcastActivation(boolean activate, Message response) argument
515 exitEmergencyCallbackMode(Message response) argument
519 supplyIccPinForApp(String pin, String aid, Message response) argument
523 supplyIccPukForApp(String puk, String newPin, String aid, Message response) argument
527 supplyIccPin2ForApp(String pin2, String aid, Message response) argument
531 supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) argument
535 changeIccPinForApp(String oldPin, String newPin, String aidPtr, Message response) argument
539 changeIccPin2ForApp(String oldPin2, String newPin2, String aidPtr, Message response) argument
544 requestIsimAuthentication(String nonce, Message response) argument
548 requestIccSimAuthentication(int authContext, String data, String aid, Message response) argument
560 setCellInfoListRate(int rateInMillis, Message response) argument
573 iccOpenLogicalChannel(String AID, Message response) argument
577 iccCloseLogicalChannel(int channel, Message response) argument
581 iccTransmitApduLogicalChannel(int channel, int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument
586 iccTransmitApduBasicChannel(int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument
591 nvReadItem(int itemID, Message response) argument
595 nvWriteItem(int itemID, String itemValue, Message response) argument
599 nvWriteCdmaPrl(byte[] preferredRoamingList, Message response) argument
603 nvResetConfig(int resetType, Message response) argument
[all...]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
H A DUsimDataDownloadCommands.java46 private int mExpectingSendEnvelopeResponseSw1; // SW1/SW2 response status
47 private int mExpectingSendEnvelopeResponseSw2; // SW1/SW2 response status
83 * @param response simulated envelope response to return
85 synchronized void expectSendEnvelope(String contents, int sw1, int sw2, String response) { argument
91 mExpectingSendEnvelopeResponse = response;
108 Message response) {
114 if (response != null) {
115 AsyncResult.forMessage(response);
116 response
107 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message response) argument
122 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message response) argument
138 sendEnvelopeWithStatus(String contents, Message response) argument
310 setMute(boolean enableMute, Message response) argument
314 getMute(Message response) argument
318 getSignalStrength(Message response) argument
322 getVoiceRegistrationState(Message response) argument
326 getDataRegistrationState(Message response) argument
330 getOperator(Message response) argument
350 sendSMS(String smscPDU, String pdu, Message response) argument
354 sendSMSExpectMore(String smscPDU, String pdu, Message response) argument
358 sendCdmaSms(byte[] pdu, Message response) argument
362 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
367 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message response) argument
372 deleteSmsOnSim(int index, Message response) argument
376 deleteSmsOnRuim(int index, Message response) argument
380 writeSmsToSim(int status, String smsc, String pdu, Message response) argument
384 writeSmsToRuim(int status, String pdu, Message response) argument
388 setRadioPower(boolean on, Message response) argument
392 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message response) argument
396 iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, Message response) argument
401 queryCLIP(Message response) argument
405 getCLIR(Message response) argument
409 setCLIR(int clirMode, Message response) argument
413 queryCallWaiting(int serviceClass, Message response) argument
417 setCallWaiting(boolean enable, int serviceClass, Message response) argument
421 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message response) argument
426 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message response) argument
431 setNetworkSelectionModeAutomatic(Message response) argument
435 setNetworkSelectionModeManual(String operatorNumeric, Message response) argument
439 getNetworkSelectionMode(Message response) argument
443 getAvailableNetworks(Message response) argument
447 getBasebandVersion(Message response) argument
451 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument
456 queryFacilityLockForApp(String facility, String password, int serviceClass, String appId, Message response) argument
461 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument
466 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument
471 sendUSSD(String ussdString, Message response) argument
475 cancelPendingUssd(Message response) argument
483 setBandMode(int bandMode, Message response) argument
487 queryAvailableBandMode(Message response) argument
491 setPreferredNetworkType(int networkType, Message response) argument
495 getPreferredNetworkType(Message response) argument
499 getNeighboringCids(Message response) argument
503 setLocationUpdates(boolean enable, Message response) argument
523 invokeOemRilRequestRaw(byte[] data, Message response) argument
527 invokeOemRilRequestStrings(String[] strings, Message response) argument
531 sendTerminalResponse(String contents, Message response) argument
535 sendEnvelope(String contents, Message response) argument
539 handleCallSetupRequestFromSim(boolean accept, Message response) argument
547 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument
551 getGsmBroadcastConfig(Message response) argument
555 getDeviceIdentity(Message response) argument
559 getCDMASubscription(Message response) argument
567 sendCDMAFeatureCode(String FeatureCode, Message response) argument
575 queryCdmaRoamingPreference(Message response) argument
579 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument
583 setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response) argument
587 getCdmaSubscriptionSource(Message response) argument
591 setTTYMode(int ttyMode, Message response) argument
595 queryTTYMode(Message response) argument
612 setCdmaBroadcastConfig(CdmaSmsBroadcastConfigInfo[] configs, Message response) argument
620 exitEmergencyCallbackMode(Message response) argument
628 requestIsimAuthentication(String nonce, Message response) argument
632 requestIccSimAuthentication(String data, Message response) argument
636 getVoiceRadioTechnology(Message response) argument
644 setCellInfoListRate(int rateInMillis, Message response) argument
661 iccIOForApp(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, String aid, Message response) argument
666 iccOpenLogicalChannel(String AID, Message response) argument
670 iccCloseLogicalChannel(int channel, Message response) argument
674 iccTransmitApduLogicalChannel(int channel, int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument
679 iccTransmitApduBasicChannel(int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument
684 nvReadItem(int itemID, Message response) argument
688 nvWriteItem(int itemID, String itemValue, Message response) argument
692 nvWriteCdmaPrl(byte[] preferredRoamingList, Message response) argument
696 nvResetConfig(int resetType, 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/src/java/com/android/internal/telephony/
H A DCommandsInterface.java120 * response.obj.result is an int[2]
122 * response.obj.result[0] is IMS registration state
125 * response.obj.result[1] is of type RILConstants.GSM_PHONE or
305 * response.obj.result[0] is received signal strength (0-31, 99)
306 * response.obj.result[1] is bit error rate (0-7, 99)
354 * response.obj.result[0] is a bitmask of RIL_RESTRICTED_STATE_* values
974 * cause code returned as int[0] in Message.obj.response
986 * cause code returned as int[0] in Message.obj.response
1000 void setMute (boolean enableMute, Message response); argument
1002 void getMute (Message response); argument
1011 getSignalStrength(Message response) argument
1024 getVoiceRegistrationState(Message response) argument
1036 getDataRegistrationState(Message response) argument
1044 getOperator(Message response) argument
1081 sendSMS(String smscPDU, String pdu, Message response) argument
1091 sendSMSExpectMore(String smscPDU, String pdu, Message response) argument
1097 sendCdmaSms(byte[] pdu, Message response) argument
1110 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
1122 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message response) argument
1130 deleteSmsOnSim(int index, Message response) argument
1138 deleteSmsOnRuim(int index, Message response) argument
1153 writeSmsToSim(int status, String smsc, String pdu, Message response) argument
1155 writeSmsToRuim(int status, String pdu, Message response) argument
1157 setRadioPower(boolean on, Message response) argument
1159 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message response) argument
1161 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message response) argument
1172 acknowledgeIncomingGsmSmsWithPdu(boolean success, String ackPdu, Message response) argument
1179 iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, Message response) argument
1187 iccIOForApp(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, String aid, Message response) argument
1197 queryCLIP(Message response) argument
1215 getCLIR(Message response) argument
1223 setCLIR(int clirMode, Message response) argument
1233 queryCallWaiting(int serviceClass, Message response) argument
1241 setCallWaiting(boolean enable, int serviceClass, Message response) argument
1248 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message response) argument
1259 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message response) argument
1262 setNetworkSelectionModeAutomatic(Message response) argument
1264 setNetworkSelectionModeManual(String operatorNumeric, Message response) argument
1274 getNetworkSelectionMode(Message response) argument
1281 getAvailableNetworks(Message response) argument
1283 getBasebandVersion(Message response) argument
1296 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument
1311 queryFacilityLockForApp(String facility, String password, int serviceClass, String appId, Message response) argument
1321 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument
1334 setFacilityLockForApp(String facility, boolean lockState, String password, int serviceClass, String appId, Message response) argument
1337 sendUSSD(String ussdString, Message response) argument
1343 cancelPendingUssd(Message response) argument
1353 setBandMode(int bandMode, Message response) argument
1363 queryAvailableBandMode(Message response) argument
1371 setPreferredNetworkType(int networkType , Message response) argument
1378 getPreferredNetworkType(Message response) argument
1385 getNeighboringCids(Message response) argument
1394 setLocationUpdates(boolean enable, Message response) argument
1426 invokeOemRilRequestRaw(byte[] data, Message response) argument
1428 invokeOemRilRequestStrings(String[] strings, Message response) argument
1445 sendTerminalResponse(String contents, Message response) argument
1456 sendEnvelope(String contents, Message response) argument
1472 sendEnvelopeWithStatus(String contents, Message response) argument
1480 handleCallSetupRequestFromSim(boolean accept, Message response) argument
1496 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument
1505 getGsmBroadcastConfig(Message response) argument
1517 getDeviceIdentity(Message response) argument
1529 getCDMASubscription(Message response) argument
1536 sendCDMAFeatureCode(String FeatureCode, Message response) argument
1546 queryCdmaRoamingPreference(Message response) argument
1553 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument
1560 setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response) argument
1566 getCdmaSubscriptionSource(Message response) argument
1578 setTTYMode(int ttyMode, Message response) argument
1590 queryTTYMode(Message response) argument
1649 setCdmaBroadcastConfig(CdmaSmsBroadcastConfigInfo[] configs, Message response) argument
1665 exitEmergencyCallbackMode(Message response) argument
1695 requestIsimAuthentication(String nonce, Message response) argument
1710 requestIccSimAuthentication(int authContext, String data, String aid, Message response) argument
1746 setCellInfoListRate(int rateInMillis, Message response) argument
1799 iccOpenLogicalChannel(String AID, Message response) argument
1809 iccCloseLogicalChannel(int channel, Message response) argument
1828 iccTransmitApduLogicalChannel(int channel, int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument
1846 iccTransmitApduBasicChannel(int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument
1856 nvReadItem(int itemID, Message response) argument
1866 nvWriteItem(int itemID, String itemValue, Message response) argument
1875 nvWriteCdmaPrl(byte[] preferredRoamingList, Message response) argument
1885 nvResetConfig(int resetType, 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));
H A DImageRequest.java122 protected Response<Bitmap> parseNetworkResponse(NetworkResponse response) { argument
126 return doParse(response);
128 VolleyLog.e("Caught OOM for %d byte image, url=%s", response.data.length, getUrl());
137 private Response<Bitmap> doParse(NetworkResponse response) { argument
138 byte[] data = response.data;
178 return Response.error(new ParseError(response));
180 return Response.success(bitmap, HttpHeaderParser.parseCacheHeaders(response));
185 protected void deliverResponse(Bitmap response) { argument
186 mListener.onResponse(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/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;
/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[] where int[0] is
844 public void sendTerminalResponse(String contents, Message response) { argument
845 resultSuccess(response, null);
852 public void sendEnvelope(String contents, Message response) { argument
853 resultSuccess(response, nul
860 sendEnvelopeWithStatus(String contents, Message response) argument
868 handleCallSetupRequestFromSim( boolean accept, Message response) argument
1011 deleteSmsOnSim(int index, Message response) argument
1017 deleteSmsOnRuim(int index, Message response) argument
1023 writeSmsToSim(int status, String smsc, String pdu, Message response) argument
1029 writeSmsToRuim(int status, String pdu, Message response) argument
1070 setLocationUpdates(boolean enable, Message response) argument
1133 iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, Message response) argument
1156 queryCLIP(Message response) argument
1196 queryCallWaiting(int serviceClass, Message response) argument
1207 setCallWaiting(boolean enable, int serviceClass, Message response) argument
1317 cancelPendingUssd(Message response) argument
1328 invokeOemRilRequestRaw(byte[] data, Message response) argument
1337 invokeOemRilRequestStrings(String[] strings, Message response) argument
1501 getDeviceIdentity(Message response) argument
1508 getCDMASubscription(Message response) argument
1515 setCdmaSubscriptionSource(int cdmaSubscriptionType, Message response) argument
1521 queryCdmaRoamingPreference(Message response) argument
1527 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument
1561 setTTYMode(int ttyMode, Message response) argument
1577 queryTTYMode(Message response) argument
1586 sendCDMAFeatureCode(String FeatureCode, Message response) argument
1595 sendCdmaSms(byte[] pdu, Message response) argument
1600 setCdmaBroadcastActivation(boolean activate, Message response) argument
1606 getCdmaBroadcastConfig(Message response) argument
1612 setCdmaBroadcastConfig(CdmaSmsBroadcastConfigInfo[] configs, Message response) argument
1616 forceDataDormancy(Message response) argument
1622 setGsmBroadcastActivation(boolean activate, Message response) argument
1628 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument
1633 getGsmBroadcastConfig(Message response) argument
1638 supplyIccPinForApp(String pin, String aid, Message response) argument
1643 supplyIccPukForApp(String puk, String newPin, String aid, Message response) argument
1648 supplyIccPin2ForApp(String pin2, String aid, Message response) argument
1653 supplyIccPuk2ForApp(String puk2, String newPin2, String aid, Message response) argument
1658 changeIccPinForApp(String oldPin, String newPin, String aidPtr, Message response) argument
1663 changeIccPin2ForApp(String oldPin2, String newPin2, String aidPtr, Message response) argument
1669 requestIsimAuthentication(String nonce, Message response) argument
1674 requestIccSimAuthentication(int authContext, String data, String aid, Message response) argument
1679 getVoiceRadioTechnology(Message response) argument
1684 getCellInfoList(Message response) argument
1689 setCellInfoListRate(int rateInMillis, Message response) argument
1703 getImsRegistrationState(Message response) argument
1708 sendImsCdmaSms(byte[] pdu, int retry, int messageRef, Message response) argument
1714 sendImsGsmSms(String smscPDU, String pdu, int retry, int messageRef, Message response) argument
1720 iccOpenLogicalChannel(String AID, Message response) argument
1725 iccCloseLogicalChannel(int channel, Message response) argument
1730 iccTransmitApduLogicalChannel(int channel, int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument
1736 iccTransmitApduBasicChannel(int cla, int instruction, int p1, int p2, int p3, String data, Message response) argument
1742 nvReadItem(int itemID, Message response) argument
1747 nvWriteItem(int itemID, String itemValue, Message response) argument
1752 nvWriteCdmaPrl(byte[] preferredRoamingList, Message response) argument
1757 nvResetConfig(int resetType, 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...]
/frameworks/av/media/libstagefright/
H A DMediaCodec.cpp161 const sp<AMessage> &msg, sp<AMessage> *response) {
162 status_t err = msg->postAndAwaitResponse(response);
168 if (!(*response)->findInt32("err", &err)) {
177 sp<AMessage> response = new AMessage; local
178 response->setInt32("err", err);
179 response->postReply(replyID);
240 sp<AMessage> response; local
241 return PostAndAwaitResponse(msg, &response);
248 sp<AMessage> response; local
249 return PostAndAwaitResponse(msg, &response);
160 PostAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
272 sp<AMessage> response; local
293 sp<AMessage> response; local
312 sp<AMessage> response; local
319 sp<AMessage> response; local
326 sp<AMessage> response; local
384 sp<AMessage> response; local
415 sp<AMessage> response; local
425 sp<AMessage> response; local
446 sp<AMessage> response; local
466 sp<AMessage> response; local
476 sp<AMessage> response; local
484 sp<AMessage> response; local
491 sp<AMessage> response; local
498 sp<AMessage> response; local
512 sp<AMessage> response; local
526 sp<AMessage> response; local
542 sp<AMessage> response; local
551 sp<AMessage> response; local
607 sp<AMessage> response; local
660 sp<AMessage> response = new AMessage; local
668 sp<AMessage> response = new AMessage; local
911 sp<AMessage> response = new AMessage(); local
928 sp<AMessage> response = new AMessage(); local
1252 sp<AMessage> response = new AMessage; local
1373 sp<AMessage> response = new AMessage; local
1652 sp<AMessage> response = new AMessage; local
1683 sp<AMessage> response = new AMessage; local
2203 sp<AMessage> response; local
[all...]

Completed in 8628 milliseconds

1234567