Searched defs:response (Results 1 - 25 of 67) sorted by relevance

123

/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
H A DISeqStepValidator.java12 boolean validate(SeqStep step, HeaderSet response, Operation op) argument
H A DMapStepsConvo.java203 public boolean validate(SeqStep step, HeaderSet response, Operation op) argument
212 response = op.getReceivedHeader();
213 byte[] appParamsRaw = (byte[])response.getHeader(HeaderSet.APPLICATION_PARAMETER);
H A DMapStepsFolder.java112 public boolean validate(SeqStep step, HeaderSet response, Operation op) argument
120 response = op.getReceivedHeader();
121 byte[] appParamsRaw = (byte[])response.getHeader(HeaderSet.APPLICATION_PARAMETER);
H A DSeqStep.java25 /* The headers to send in the response - and validate on client side */
48 /* Arrays to hold expected sequence of request/response packets. */
53 (without waiting for a response) */
61 public boolean validate(HeaderSet response, Operation op) throws IOException { argument
63 return mValidator.validate(this, response, op);
72 public void clientPostAction(HeaderSet response, Operation op) throws IOException { argument
74 mClientPostAction.execute(this, response, op);
84 public void addObexPacketSet(ObexPacket request, ObexPacket response) { argument
86 mResponsePackets.add(response);
/packages/apps/Exchange/src/com/android/exchange/eas/
H A DEasSettings.java69 protected int handleResponse(final EasResponse response) throws IOException { argument
70 return new SettingsParser(response.getInputStream()).parse()
H A DEasOptions.java84 protected int handleResponse(final EasResponse response) { argument
85 final Header commands = response.getHeader("MS-ASProtocolCommands");
86 final Header versions = response.getHeader("ms-asprotocolversions");
89 LogUtils.e(LOG_TAG, "OPTIONS response without commands or versions");
H A DEasSearchGal.java64 protected int handleResponse(final EasResponse response) throws argument
66 final int code = response.getStatus();
68 InputStream is = response.getInputStream();
H A DEasFolderSync.java167 protected int handleResponse(final EasResponse response) argument
169 if (!response.isEmpty()) {
171 response.getInputStream(), mAccount, mStatusOnly).parse();
H A DEasMoveItems.java69 // response, which will stop trying this iteration and force the rest of the
80 // We got a 200 response with an empty payload. It's not clear we ought to
130 protected int handleResponse(final EasResponse response) throws IOException { argument
131 if (!response.isEmpty()) {
132 final MoveItemsParser parser = new MoveItemsParser(response.getInputStream());
143 private void processResponse(final MessageMove request, final MoveResponse response) { argument
149 if (response.sourceMessageId == null) {
150 // The response didn't contain SrcMsgId, despite it being required.
152 "MoveItems response for message %d has no SrcMsgId, using request's server id",
156 sourceMessageId = response
[all...]
H A DEasSearch.java144 protected int handleResponse(final EasResponse response) argument
146 if (response.isEmpty()) {
149 final InputStream is = response.getInputStream();
H A DEasSyncBase.java104 protected int handleResponse(final EasResponse response) argument
108 mMailbox, response.getInputStream());
114 // This indicates a compressed response which was empty, which is OK.
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
H A DBlockingHttpClient.java41 * Interface that handles processing the response for a request.
49 * @param response An input stream that can be used to read the HTTP response.
51 T onSuccess(InputStream response) throws IOException; argument
62 * @param responseProcessor A processor for the HTTP response.
/packages/services/Telephony/src/com/android/services/telephony/activation/
H A DSimActivationManager.java24 * or fails. When done, sends back a response if needed.
40 public void runActivation(int trigger, Response response) { argument
49 if (response != null) {
50 response.onResponse(TelephonyManager.SIM_ACTIVATION_RESULT_COMPLETE);
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DWebAddress.java141 public String response; field in class:WebAddress.ParseException
143 ParseException(String response) { argument
144 this.response = response;
/packages/apps/Exchange/src/com/android/exchange/utility/
H A DWbxmlResponseLogger.java39 * response from Exchange can be viewed for debugging purposes.
73 public void process(HttpResponse response, HttpContext context) throws IOException { argument
75 // Wrap the HttpEntity so the response InputStream can be requested and processed
77 response.setEntity(new BufferedHttpEntity(response.getEntity()));
79 // Now grab the wrapped HttpEntity so that you safely can process the response w/o
80 // affecting the core response processing module.
81 final HttpEntity entity = response.getEntity();
83 LogUtils.d(TAG, "wbxml response: [TOO MUCH DATA TO INCLUDE]");
95 final InputStream unwrappedIs = response
[all...]
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
H A DActionService.java49 * Process a response from the BackgroundWorker in the ActionService
52 final Action action, final Bundle response) {
53 ActionServiceImpl.handleResponseFromBackgroundWorker(action, response);
51 handleResponseFromBackgroundWorker( final Action action, final Bundle response) argument
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/network/
H A DBlockingHttpClientTests.java103 byte[] response = new byte[100];
104 rand.nextBytes(response);
106 when(mMockHttpConnection.getInputStream()).thenReturn(new ByteArrayInputStream(response));
109 new FakeSuccessResponseProcessor(response);
118 byte[] response = new byte[100];
119 rand.nextBytes(response);
122 when(mMockHttpConnection.getInputStream()).thenReturn(new ByteArrayInputStream(response));
125 new FakeSuccessResponseProcessor(response);
133 public Void onSuccess(InputStream response) { argument
149 public Void onSuccess(InputStream response) { argument
[all...]
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/
H A DTestAuthenticator.java62 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument
82 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, argument
95 AccountAuthenticatorResponse response, Account account, Bundle options) {
101 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument
115 AccountAuthenticatorResponse response, Account account, String[] features) {
126 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, argument
94 confirmCredentials( AccountAuthenticatorResponse response, Account account, Bundle options) argument
114 hasFeatures( AccountAuthenticatorResponse response, Account account, String[] features) argument
/packages/apps/Email/provider_src/com/android/email/service/
H A DEasTestAuthenticatorService.java48 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument
72 intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response);
79 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, argument
85 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument
90 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, argument
102 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, argument
108 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, argument
H A DAuthenticatorService.java56 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, argument
114 intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response);
121 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, argument
127 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { argument
132 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, argument
144 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, argument
150 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, argument
/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
H A DImapResponseParserTest.java83 "* a\r\n" // shortest response
322 * Parser shouldn't crash for any response. Should just throw IO/MessagingException.
351 private static void expectMessagingException(String response) throws Exception { argument
352 final ImapResponseParser p = generateParser(100000, response);
355 fail("Didn't throw Exception: response='" + response + "'");
366 * OK response with a long message that contains special chars. (including tabs)
/packages/apps/Messaging/src/android/support/v7/mms/
H A DDownloadRequest.java53 protected boolean transferResponse(Context context, Intent fillIn, byte[] response) { argument
54 return writePduToContentUri(context, mPduUri, response);
H A DSendRequest.java41 // Max send response PDU size in bytes (exceeding this may cause problem with
64 final byte[] response) {
66 if (response != null && fillIn != null) {
67 if (response.length > MAX_SEND_RESPONSE_SIZE) {
68 // If the response PDU is too large, it won't be able to fit in
72 fillIn.putExtra(SmsManager.EXTRA_MMS_DATA, response);
63 transferResponse(final Context context, final Intent fillIn, final byte[] response) argument
/packages/services/Telecomm/src/com/android/server/telecom/
H A DRespondViaSmsManager.java81 * @param response An object to receive an async reply, which will be called from
85 public void loadCannedTextMessages(final Response<Void, List<String>> response, argument
121 response.onResult(null, textMessages);
/packages/apps/Email/provider_src/com/android/email/mail/internet/
H A DOAuthAuthenticator.java141 final HttpResponse response;
142 response = mClient.execute(post);
143 final int status = response.getStatusLine().getStatusCode();
145 return parseResponse(response);
158 private AuthenticationResult parseResponse(HttpResponse response) throws IOException, argument
161 response.getEntity().getContent(), "UTF-8"));

Completed in 572 milliseconds

123