/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 | 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...] |
/frameworks/base/core/tests/coretests/src/android/net/http/ |
H A D | DefaultHttpClientTest.java | 61 * response was sent. http://b/2612240 87 private String contentToString(HttpResponse response) throws IOException { argument 90 Reader reader = new InputStreamReader(response.getEntity().getContent());
|
H A D | AbstractProxyTest.java | 65 .setBody("this response comes via HTTPS")); 75 HttpResponse response = httpClient.execute( 77 assertEquals("this response comes via HTTPS", contentToString(response)); 115 .setBody("this response comes via a proxy"); 124 HttpResponse response = httpProxyClient.execute(request); 125 assertEquals("this response comes via a proxy", contentToString(response)); 157 .setBody("this response comes via a secure proxy")); 169 HttpResponse response 278 contentToString(HttpResponse response) 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 | 23 * This class can represent the final response to an AT command line, and also 28 * line are stored in a string array. The final response is stored as an 30 * final response is sent from multiple commands chained into a single command 48 * response array. 58 * single line response. 59 * @param response The single line response. 61 public AtCommandResult(String response) { argument 63 addResponse(response); 71 * Add another line to the response 73 addResponse(String response) argument [all...] |
/frameworks/base/media/libstagefright/foundation/ |
H A D | ALooperRoster.cpp | 156 const sp<AMessage> &msg, sp<AMessage> *response) { 166 response->clear(); 175 *response = mReplies.valueAt(index); 155 postAndAwaitResponse( const sp<AMessage> &msg, sp<AMessage> *response) argument
|
/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 247 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 | DataConnectionAc.java | 124 public boolean rspIsInactive(Message response) { argument 125 boolean retVal = response.arg1 == 1; 134 Message response = sendMessageSynchronously(REQ_IS_INACTIVE); 135 if ((response != null) && (response.what == RSP_IS_INACTIVE)) { 136 return rspIsInactive(response); 138 log("rspIsInactive error response=" + response); 155 * @param response Message 158 public int rspCid(Message response) { argument 192 rspRefCount(Message response) argument 226 rspApnSetting(Message response) argument 262 rspLinkProperties(Message response) argument 314 rspUpdateLinkPropertiesDataCallState(Message response) argument 352 rspLinkCapabilities(Message response) argument 455 rspApnList(Message response) argument 517 rspReconnectIntent(Message response) argument [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
H A D | NetInitiatedActivity.java | 138 private void sendUserResponse(int response) { argument 139 if (DEBUG) Log.d(TAG, "sendUserResponse, response: " + response); 142 locationManager.sendNiResponse(notificationId, response);
|
/frameworks/base/keystore/java/android/security/ |
H A D | KeyChain.java | 100 public static final String EXTRA_RESPONSE = "response"; 218 * @param response Callback to invoke when the request completes; 231 public static void choosePrivateKeyAlias(Activity activity, KeyChainAliasCallback response, argument 254 if (response == null) { 255 throw new NullPointerException("response == null"); 258 intent.putExtra(EXTRA_RESPONSE, new AliasResponse(response));
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
H A D | UsimDataDownloadHandler.java | 68 return Activity.RESULT_OK; // we will send SMS ACK/ERROR based on UICC response 157 * Handle the response to the ENVELOPE command. 158 * @param response UICC response encoded as hexadecimal digits. First two bytes are the 161 private void sendSmsAckForEnvelopeResponse(IccIoResult response, int dcs, int pid) { argument 162 int sw1 = response.sw1; 163 int sw2 = response.sw2; 167 Log.d(TAG, "USIM data download succeeded: " + response.toString()); 174 Log.e(TAG, "USIM data download failed: " + response.toString()); 177 Log.e(TAG, "Unexpected SW1/SW2 response fro [all...] |
H A D | GsmSMSDispatcher.java | 195 return Activity.RESULT_OK; // acknowledge after response from write to USIM 298 protected void acknowledgeLastIncomingSms(boolean success, int result, Message response) { argument 299 mCm.acknowledgeLastIncomingGsmSms(success, resultToCause(result), response);
|
/frameworks/base/core/tests/utillib/src/coretestutils/http/ |
H A D | MockWebServer.java | 94 public void enqueue(MockResponse response) { argument 95 responseQueue.add(response); 169 MockResponse response = computeResponse(request); 170 writeResponse(out, response); 171 if (response.shouldCloseConnectionAfter()) { 268 * Returns a response to satisfy {@code request}. 277 private void writeResponse(OutputStream out, MockResponse response) throws IOException { argument 278 out.write((response.getStatus() + "\r\n").getBytes(ASCII)); 279 boolean doCloseConnectionAfterHeader = (response.getCloseConnectionAfterHeader() != null); 282 String closeConnectionAfterHeader = response [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
H A D | CDMALTEPhone.java | 144 Message response) { 145 // wrap the response message in our own message along with 148 nsm.message = response; 249 public void getAvailableNetworks(Message response) { argument 250 mCM.getAvailableNetworks(response); 143 selectNetworkManually(OperatorInfo network, Message response) argument
|
H A D | CdmaSMSDispatcher.java | 325 protected void acknowledgeLastIncomingSms(boolean success, int result, Message response) { argument 332 mCm.acknowledgeLastIncomingCdmaSms(success, causeCode, response);
|
/frameworks/base/libs/utils/ |
H A D | Looper.cpp | 180 const Response& response = mResponses.itemAt(mResponseIndex++); local 181 ALooper_callbackFunc callback = response.request.callback; 183 int ident = response.request.ident; 184 int fd = response.request.fd; 185 int events = response.events; 186 void* data = response.request.data; 404 // Invoke all response callbacks. 406 const Response& response = mResponses.itemAt(i); local 407 ALooper_callbackFunc callback = response.request.callback; 409 int fd = response 509 Response response; local [all...] |
/frameworks/base/media/libstagefright/rtsp/ |
H A D | ARTSPConnection.cpp | 542 LOGE("Error reading rtsp response. (%s)", strerror(errno)); 624 sp<ARTSPResponse> response = new ARTSPResponse; local 625 response->mStatusLine = statusLine; 627 LOGI("status: %s", response->mStatusLine.c_str()); 629 ssize_t space1 = response->mStatusLine.find(" "); 633 ssize_t space2 = response->mStatusLine.find(" ", space1 + 1); 640 if (!IsRTSPVersion(AString(response->mStatusLine, 0, space1))) { 643 response->mStatusLine, 645 response->mStatusLine.size() - space2 - 1))); 649 response 763 AString response; local 825 findPendingRequest( const sp<ARTSPResponse> &response, ssize_t *index) const argument 854 notifyResponseListener( const sp<ARTSPResponse> &response) argument 878 parseAuthMethod(const sp<ARTSPResponse> &response) argument [all...] |
H A D | MyTransmitter.h | 265 void authenticate(const sp<ARTSPResponse> &response) { argument 266 ssize_t i = response->mHeaders.indexOfKey("www-authenticate"); 269 AString value = response->mHeaders.valueAt(i); 336 request->append("response=\""); 374 CHECK(msg->findObject("response", &obj)); 375 sp<ARTSPResponse> response; local 378 response = static_cast<ARTSPResponse *>(obj.get()); 379 CHECK(response != NULL); 381 if (response->mStatusCode == 401) { 388 authenticate(response); 463 sp<ARTSPResponse> response; local 553 sp<ARTSPResponse> response; local 742 sp<ARTSPResponse> response; local 771 sp<ARTSPResponse> response; local [all...] |
/frameworks/base/media/mtp/ |
H A D | MtpDevice.cpp | 657 MtpResponseCode response = readResponse(); local 658 if (response == MTP_RESPONSE_OK) 757 MtpResponseCode response = readResponse(); local 758 if (response == MTP_RESPONSE_OK) 793 LOGD("got response packet instead of data packet"); 794 // we got a response packet rather than data
|
/frameworks/base/tools/layoutlib/bridge/src/android/webkit/ |
H A D | WebView.java | 224 public void documentHasImages(Message response) { argument
|