/frameworks/base/core/java/android/net/ |
H A D | ParseException.java | 25 public String response; field in class:ParseException 27 ParseException(String response) { argument 28 this.response = response;
|
/frameworks/base/core/java/android/accounts/ |
H A D | AccountManagerResponse.java | 25 * Used to return a response to the AccountManager. 32 public AccountManagerResponse(IAccountManagerResponse response) { argument 33 mResponse = response;
|
H A D | AccountAuthenticatorResponse.java | 36 /* package private */ AccountAuthenticatorResponse(IAccountAuthenticatorResponse response) { argument 37 mAccountAuthenticatorResponse = response;
|
H A D | AbstractAccountAuthenticator.java | 104 * and return the result via that response when the activity finishes (or whenever else the 119 public void addAccount(IAccountAuthenticatorResponse response, String accountType, argument 130 new AccountAuthenticatorResponse(response), 137 response.onResult(result); 143 response.onError(AccountManager.ERROR_CODE_NETWORK_ERROR, e.getMessage()); 148 response.onError(AccountManager.ERROR_CODE_UNSUPPORTED_OPERATION, 153 public void confirmCredentials(IAccountAuthenticatorResponse response, argument 161 new AccountAuthenticatorResponse(response), account, options); 168 response.onResult(result); 174 response 184 getAuthTokenLabel(IAccountAuthenticatorResponse response, String authTokenType) argument 218 getAuthToken(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument 251 updateCredentials(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument 284 editProperties(IAccountAuthenticatorResponse response, String accountType) argument 299 hasFeatures(IAccountAuthenticatorResponse response, Account account, String[] features) argument 316 getAccountRemovalAllowed(IAccountAuthenticatorResponse response, Account account) argument 363 editProperties(AccountAuthenticatorResponse response, String accountType) argument 386 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument 406 confirmCredentials(AccountAuthenticatorResponse response, Account account, Bundle options) argument 427 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 457 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 477 hasFeatures(AccountAuthenticatorResponse response, Account account, String[] features) argument 496 getAccountRemovalAllowed(AccountAuthenticatorResponse response, Account account) argument [all...] |
H A D | AccountManagerService.java | 456 public void hasFeatures(IAccountManagerResponse response, argument 458 if (response == null) throw new IllegalArgumentException("response is null"); 464 new TestFeaturesSession(response, account, features).bind(); 474 public TestFeaturesSession(IAccountManagerResponse response, argument 476 super(response, account.type, false /* expectActivityLaunch */, 491 IAccountManagerResponse response = getResponseAndClose(); 492 if (response != null) { 501 response.onResult(newResult); 505 Log.v(TAG, "failure while notifying response", 518 removeAccount(IAccountManagerResponse response, Account account) argument 532 RemoveAccountSession(IAccountManagerResponse response, Account account) argument 793 onResult(IAccountManagerResponse response, Bundle result) argument 805 getAuthToken(IAccountManagerResponse response, final Account account, final String authTokenType, final boolean notifyOnAuthFailure, final boolean expectActivityLaunch, final Bundle loginOptions) argument 915 newGrantCredentialsPermissionIntent(Account account, int uid, AccountAuthenticatorResponse response, String authTokenType, String authTokenLabel) argument 977 addAcount(final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle options) argument 1006 confirmCredentials(IAccountManagerResponse response, final Account account, final Bundle options, final boolean expectActivityLaunch) argument 1028 updateCredentials(IAccountManagerResponse response, final Account account, final String authTokenType, final boolean expectActivityLaunch, final Bundle loginOptions) argument 1055 editProperties(IAccountManagerResponse response, final String accountType, final boolean expectActivityLaunch) argument 1083 GetAccountsByTypeAndFeatureSession(IAccountManagerResponse response, String type, String[] features) argument 1174 getAccountsByFeatures(IAccountManagerResponse response, String type, String[] features) argument 1247 Session(IAccountManagerResponse response, String accountType, boolean expectActivityLaunch, boolean stripAuthTokenFromResult) argument [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
H A D | TestHttpClient.java | 105 HttpResponse response = this.httpexecutor.execute(request, conn, this.context); 106 response.setParams( 107 new DefaultedHttpParams(response.getParams(), this.params)); 108 this.httpexecutor.postProcess(response, this.httpproc, this.context); 109 return response; 112 public boolean keepAlive(final HttpResponse response) { argument 113 return this.connStrategy.keepAlive(response, this.context);
|
/frameworks/base/core/java/android/bluetooth/ |
H A D | AtCommandResult.java | 25 * This class can represent the final response to an AT command line, and also 30 * line are stored in a string array. The final response is stored as an 32 * final response is sent from multiple commands chained into a single command 50 * response array. 60 * single line response. 61 * @param response The single line response. 63 public AtCommandResult(String response) { argument 65 addResponse(response); 73 * Add another line to the response 75 addResponse(String response) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | NetInitiatedActivity.java | 120 private void sendUserResponse(int response) { argument 121 if (DEBUG) Log.d(TAG, "sendUserResponse, response: " + response); 124 locationManager.sendNiResponse(notificationId, response);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
H A D | AdnRecordLoader.java | 69 * Resulting AdnRecord is placed in response.obj.result 70 * or response.obj.exception is set 74 Message response) { 78 this.userResponse = response; 88 * Resulting ArrayList<adnRecord> is placed in response.obj.result 89 * or response.obj.exception is set 93 Message response) { 96 this.userResponse = response; 114 * @param response will be sent to its handler when completed 118 String pin2, Message response) { 73 loadFromEF(int ef, int extensionEF, int recordNumber, Message response) argument 92 loadAllFromEF(int ef, int extensionEF, Message response) argument 117 updateEF(AdnRecord adn, int ef, int extensionEF, int recordNumber, String pin2, Message response) 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 231 requestLoadAllAdnLike(int efid, int extensionEf, Message response) argument [all...] |
H A D | IccFileHandler.java | 54 // Byte order received in response to COMMAND_GET_RESPONSE 144 Message response 149 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, response); 162 Message response = obtainMessage(EVENT_READ_IMG_DONE, 169 GET_RESPONSE_EF_IMG_SIZE_BYTES, null, null, response); 182 Message response 186 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, response); 199 Message response = obtainMessage(EVENT_GET_RECORD_SIZE_DONE, 203 0, 0, GET_RESPONSE_EF_SIZE_BYTES, null, null, response); 217 Message response 276 sendResult(Message response, Object result, Throwable ex) argument [all...] |
H A D | SMSDispatcher.java | 860 * @param response 863 protected abstract void activateCellBroadcastSms(int activate, Message response); argument 868 * @param response 872 protected abstract void getCellBroadcastSmsConfig(Message response); argument 881 * @param response 884 protected abstract void setCellBroadcastConfig(int[] configValuesArray, Message response); argument 890 * @param response callback message sent when operation completes. 893 int result, Message response); 900 * @param response callback message sent when operation completes. 903 int result, Message response) { 892 acknowledgeLastIncomingSms(boolean success, int result, Message response) argument 902 notifyAndAcknowledgeLastIncomingSms(boolean success, int result, Message response) argument [all...] |
H A D | PhoneBase.java | 442 public void restoreSavedNetworkSelection(Message response) { argument 448 mCM.setNetworkSelectionModeAutomatic(response); 450 mCM.setNetworkSelectionModeManual(networkSelection, response); 658 public void queryCdmaRoamingPreference(Message response) { argument 659 mCM.queryCdmaRoamingPreference(response); 665 public void setCdmaRoamingPreference(int cdmaRoamingType, Message response) { argument 666 mCM.setCdmaRoamingPreference(cdmaRoamingType, response); 672 public void setCdmaSubscription(int cdmaSubscriptionType, Message response) { argument 673 mCM.setCdmaSubscription(cdmaSubscriptionType, response); 679 public void setPreferredNetworkType(int networkType, Message response) { argument 683 getPreferredNetworkType(Message response) argument 715 setBandMode(int bandMode, Message response) argument 719 queryAvailableBandMode(Message response) argument 723 invokeOemRilRequestRaw(byte[] data, Message response) argument 727 invokeOemRilRequestStrings(String[] strings, Message response) argument [all...] |
H A D | PhoneProxy.java | 531 public void getAvailableNetworks(Message response) { argument 532 mActivePhone.getAvailableNetworks(response); 535 public void setNetworkSelectionModeAutomatic(Message response) { argument 536 mActivePhone.setNetworkSelectionModeAutomatic(response); 539 public void selectNetworkManually(NetworkInfo network, Message response) { argument 540 mActivePhone.selectNetworkManually(network, response); 543 public void setPreferredNetworkType(int networkType, Message response) { argument 544 mActivePhone.setPreferredNetworkType(networkType, response); 547 public void getPreferredNetworkType(Message response) { argument 548 mActivePhone.getPreferredNetworkType(response); 551 getNeighboringCids(Message response) argument 567 invokeOemRilRequestRaw(byte[] data, Message response) argument 571 invokeOemRilRequestStrings(String[] strings, Message response) argument 575 getDataCallList(Message response) argument 603 setBandMode(int bandMode, Message response) argument 607 queryAvailableBandMode(Message response) argument 619 queryCdmaRoamingPreference(Message response) argument 623 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument 627 setCdmaSubscription(int cdmaSubscriptionType, Message response) argument 719 activateCellBroadcastSms(int activate, Message response) argument 723 getCellBroadcastSmsConfig(Message response) argument 727 setCellBroadcastSmsConfig(int[] configValuesArray, Message response) argument [all...] |
H A D | CommandsInterface.java | 312 * response.obj.result[0] is received signal strength (0-31, 99) 313 * response.obj.result[1] is bit error rate (0-7, 99) 359 * response.obj.result[0] is a bitmask of RIL_RESTRICTED_STATE_* values 793 * cause code returned as int[0] in Message.obj.response 805 * cause code returned as int[0] in Message.obj.response 819 void setMute (boolean enableMute, Message response); argument 821 void getMute (Message response); argument 824 * response.obj is an AsyncResult 825 * response.obj.result is an int[2] 826 * response 830 getSignalStrength(Message response) argument 843 getRegistrationState(Message response) argument 855 getGPRSRegistrationState(Message response) argument 863 getOperator(Message response) argument 900 sendSMS(String smscPDU, String pdu, Message response) argument 906 sendCdmaSms(byte[] pdu, Message response) argument 914 deleteSmsOnSim(int index, Message response) argument 922 deleteSmsOnRuim(int index, Message response) argument 937 writeSmsToSim(int status, String smsc, String pdu, Message response) argument 939 writeSmsToRuim(int status, String pdu, Message response) argument 948 setupDefaultPDP(String apn, String user, String password, Message response) argument 955 deactivateDefaultPDP(int cid, Message response) argument 957 setRadioPower(boolean on, Message response) argument 959 acknowledgeLastIncomingGsmSms(boolean success, int cause, Message response) argument 961 acknowledgeLastIncomingCdmaSms(boolean success, int cause, Message response) argument 968 iccIO(int command, int fileid, String path, int p1, int p2, int p3, String data, String pin2, Message response) argument 978 queryCLIP(Message response) argument 996 getCLIR(Message response) argument 1004 setCLIR(int clirMode, Message response) argument 1014 queryCallWaiting(int serviceClass, Message response) argument 1022 setCallWaiting(boolean enable, int serviceClass, Message response) argument 1029 setCallForward(int action, int cfReason, int serviceClass, String number, int timeSeconds, Message response) argument 1040 queryCallForwardStatus(int cfReason, int serviceClass, String number, Message response) argument 1043 setNetworkSelectionModeAutomatic(Message response) argument 1045 setNetworkSelectionModeManual(String operatorNumeric, Message response) argument 1055 getNetworkSelectionMode(Message response) argument 1062 getAvailableNetworks(Message response) argument 1064 getBasebandVersion(Message response) argument 1077 queryFacilityLock(String facility, String password, int serviceClass, Message response) argument 1087 setFacilityLock(String facility, boolean lockState, String password, int serviceClass, Message response) argument 1091 sendUSSD(String ussdString, Message response) argument 1097 cancelPendingUssd(Message response) argument 1107 setBandMode(int bandMode, Message response) argument 1116 queryAvailableBandMode(Message response) argument 1124 setPreferredNetworkType(int networkType , Message response) argument 1131 getPreferredNetworkType(Message response) argument 1138 getNeighboringCids(Message response) argument 1147 setLocationUpdates(boolean enable, Message response) argument 1179 invokeOemRilRequestRaw(byte[] data, Message response) argument 1181 invokeOemRilRequestStrings(String[] strings, Message response) argument 1193 sendTerminalResponse(String contents, Message response) argument 1204 sendEnvelope(String contents, Message response) argument 1212 handleCallSetupRequestFromSim(boolean accept, Message response) argument 1228 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument 1237 getGsmBroadcastConfig(Message response) argument 1249 getDeviceIdentity(Message response) argument 1261 getCDMASubscription(Message response) argument 1268 sendCDMAFeatureCode(String FeatureCode, Message response) argument 1278 queryCdmaRoamingPreference(Message response) argument 1285 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument 1292 setCdmaSubscription(int cdmaSubscriptionType, Message response) argument 1300 setTTYMode(int ttyMode, Message response) argument 1309 queryTTYMode(Message response) argument 1382 exitEmergencyCallbackMode(Message response) argument [all...] |
H A D | Phone.java | 499 * Sends user response to a USSD REQUEST message. An MmiCode instance 500 * representing this response is sent to handlers registered with 503 * @param ussdMessge Message to send in the response. 837 * this api can send single character and multiple character, also, this api has response 1021 * On completion, <code>response.obj</code> is set to an AsyncResult with 1024 * <li><code>response.obj.result</code> will be a <code>List</code> of 1026 * <li><code>response.obj.exception</code> will be set with an exception 1030 void getAvailableNetworks(Message response); argument 1036 * @param response The message to dispatch when the network selection 1042 void setNetworkSelectionModeAutomatic(Message response); argument 1052 selectNetworkManually(NetworkInfo network, Message response) argument 1061 setPreferredNetworkType(int networkType, Message response) argument 1068 getPreferredNetworkType(Message response) argument 1096 getNeighboringCids(Message response) argument 1170 invokeOemRilRequestRaw(byte[] data, Message response) argument 1186 invokeOemRilRequestStrings(String[] strings, Message response) argument 1199 getDataCallList(Message response) argument 1240 setBandMode(int bandMode, Message response) argument 1249 queryAvailableBandMode(Message response) argument 1266 queryCdmaRoamingPreference(Message response) argument 1273 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument 1280 setCdmaSubscription(int cdmaSubscriptionType, Message response) argument 1470 activateCellBroadcastSms(int activate, Message response) argument 1478 getCellBroadcastSmsConfig(Message response) argument 1488 setCellBroadcastSmsConfig(int[] configValuesArray, Message response) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | CdmaSMSDispatcher.java | 457 protected void acknowledgeLastIncomingSms(boolean success, int result, Message response){ argument 467 mCm.acknowledgeLastIncomingCdmaSms(success, causeCode, response); 477 protected void activateCellBroadcastSms(int activate, Message response) { argument 478 mCm.setCdmaBroadcastActivation((activate == 0), response); 482 protected void getCellBroadcastSmsConfig(Message response) { argument 483 mCm.getCdmaBroadcastConfig(response); 487 protected void setCellBroadcastConfig(int[] configValuesArray, Message response) { argument 488 mCm.setCdmaBroadcastConfig(configValuesArray, response);
|
H A D | CDMAPhone.java | 377 setNetworkSelectionModeAutomatic(Message response) { argument 471 Message response) { 549 getNeighboringCids(Message response) { argument 558 if (response != null) { 561 AsyncResult.forMessage(response).exception = ce; 562 response.sendToTarget(); 649 public void getAvailableNetworks(Message response) { argument 665 public void getDataCallList(Message response) { argument 666 mCM.getDataCallList(response); 1120 * @param response Callbac 470 selectNetworkManually(com.android.internal.telephony.gsm.NetworkInfo network, Message response) argument 1122 activateCellBroadcastSms(int activate, Message response) argument 1131 getCellBroadcastSmsConfig(Message response) argument 1140 setCellBroadcastSmsConfig(int[] configValuesArray, Message response) argument [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | GsmSMSDispatcher.java | 339 protected void acknowledgeLastIncomingSms(boolean success, int result, Message response){ argument 342 mCm.acknowledgeLastIncomingGsmSms(success, resultToCause(result), response); 347 protected void activateCellBroadcastSms(int activate, Message response) { argument 350 response.recycle(); 354 protected void getCellBroadcastSmsConfig(Message response){ argument 357 response.recycle(); 361 protected void setCellBroadcastConfig(int[] configValuesArray, Message response) { argument 364 response.recycle();
|
H A D | GSMPhone.java | 986 getAvailableNetworks(Message response) { argument 987 mCM.getAvailableNetworks(response); 1003 setNetworkSelectionModeAutomatic(Message response) { argument 1004 // wrap the response message in our own message along with 1008 nsm.message = response; 1022 Message response) { 1023 // wrap the response message in our own message along with 1026 nsm.message = response; 1037 getNeighboringCids(Message response) { argument 1038 mCM.getNeighboringCids(response); 1021 selectNetworkManually(com.android.internal.telephony.gsm.NetworkInfo network, Message response) argument 1053 getDataCallList(Message response) argument 1469 activateCellBroadcastSms(int activate, Message response) argument 1473 getCellBroadcastSmsConfig(Message response) argument 1477 setCellBroadcastSmsConfig(int[] configValuesArray, Message response) argument [all...] |
/frameworks/base/libs/audioflinger/ |
H A D | AudioDumpInterface.cpp | 195 AudioParameter response; local 202 response = AudioParameter(mPolicyCommands); 203 response.addInt(String8("test_cmd_policy"), 1); 205 response.addInt(String8("test_cmd_policy"), 0); 212 response.add(String8("test_cmd_file_name"), mFileName); 216 String8 keyValuePairs = response.toString();
|
/frameworks/base/cmds/keystore/ |
H A D | keystore.c | 226 * it will be treated as a response code and transmitted to the client. Note 527 int8_t response; local 530 if ((response = process(request)) > 0) { 531 send_code(response); 532 response = -response; 536 cred.uid, request, -response, old_state, state, retry);
|
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 224 public void documentHasImages(Message response) { argument
|
/frameworks/base/core/jni/ |
H A D | android_location_GpsLocationProvider.cpp | 490 jint notifId, jint response) 495 sGpsNiInterface->respond(notifId, response); 489 android_location_GpsLocationProvider_send_ni_response(JNIEnv* env, jobject obj, jint notifId, jint response) argument
|
/frameworks/base/telephony/java/com/android/internal/telephony/test/ |
H A D | SimulatedCommands.java | 336 * (AsyncResult)response.obj).result will be an Integer representing 709 * cause code returned as Integer in Message.obj.response 740 * response.obj is an AsyncResult 741 * response.obj.result is an int[2] 742 * response.obj.result[0] is received signal strength (0-31, 99) 743 * response.obj.result[1] is bit error rate (0-7, 99) 769 * ((AsyncResult)response.obj).result is an int[] with every 786 public void sendTerminalResponse(String contents, Message response) { argument 787 resultSuccess(response, null); 793 public void sendEnvelope(String contents, Message response) { argument 800 handleCallSetupRequestFromSim( boolean accept, Message response) argument 922 deleteSmsOnSim(int index, Message response) argument 927 deleteSmsOnRuim(int index, Message response) argument 932 writeSmsToSim(int status, String smsc, String pdu, Message response) argument 937 writeSmsToRuim(int status, String pdu, Message response) argument 980 setLocationUpdates(boolean enable, Message response) argument 1047 queryCLIP(Message response) argument 1084 queryCallWaiting(int serviceClass, Message response) argument 1094 setCallWaiting(boolean enable, int serviceClass, Message response) argument 1179 cancelPendingUssd(Message response) argument 1188 invokeOemRilRequestRaw(byte[] data, Message response) argument 1196 invokeOemRilRequestStrings(String[] strings, Message response) argument 1345 getDeviceIdentity(Message response) argument 1351 getCDMASubscription(Message response) argument 1357 setCdmaSubscription(int cdmaSubscriptionType, Message response) argument 1362 queryCdmaRoamingPreference(Message response) argument 1367 setCdmaRoamingPreference(int cdmaRoamingType, Message response) argument 1394 setTTYMode(int ttyMode, Message response) argument 1407 queryTTYMode(Message response) argument 1415 sendCDMAFeatureCode(String FeatureCode, Message response) argument 1423 sendCdmaSms(byte[] pdu, Message response) argument 1427 setCdmaBroadcastActivation(boolean activate, Message response) argument 1432 getCdmaBroadcastConfig(Message response) argument 1437 setCdmaBroadcastConfig(int[] configValuesArray, Message response) argument 1442 forceDataDormancy(Message response) argument 1447 setGsmBroadcastActivation(boolean activate, Message response) argument 1452 setGsmBroadcastConfig(SmsBroadcastConfigInfo[] config, Message response) argument 1456 getGsmBroadcastConfig(Message response) argument [all...] |