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

1234

/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_ssession/src/
H A DSYNCML_DM_SingleChoiceAlert.cc32 response.action = XPL_DM_ALERT_RES_TIMEOUT;
49 return XPL_DM_ShowSingleChoiceAlert(maxDisplayTime, msg, choices, defaultResponse, &response);
54 return response.action;
73 DmSprintf((char *)selection, "%d", response.response );
H A DSYNCML_DM_TextInputAlert.cc35 response.action = XPL_DM_ALERT_RES_TIMEOUT;
65 maxLength, inputType, echoType, &response );
70 response.response.replaceAll(' ','+');
78 return response.action;
92 userResponse.push_back(response.response);
H A DSYNCML_DM_MultipleChoiceAlert.cc32 response.action = XPL_DM_ALERT_RES_TIMEOUT;
48 return XPL_DM_ShowMultipleChoiceAlert(maxDisplayTime, msg, choices, defaultResponses, &response);
96 return response.action;
110 userResponse = response.responses;
/packages/apps/OMA-DM/engine/dmlib/portlib/generic/
H A Dxpl_dm_ServerAlert.h34 DMString response; member in struct:__anon146
40 INT32 response; member in struct:__anon147
91 * @param response hold user's response action and input data.
101 XPL_DM_ALERT_TEXTINPUT_RES_T * response );
112 * @param response hold user's response action and selected choice.
120 XPL_DM_ALERT_SCHOICE_RES_T * response );
131 * @param defaultResponses holds default response in an array of string representation of
133 * @param response hol
[all...]
/packages/apps/OMA-DM/engine/xpl/hdr/
H A Dxpl_dm_ServerAlert.h30 DMString response; member in struct:__anon178
36 INT32 response; member in struct:__anon179
87 * @param response hold user's response action and input data.
97 XPL_DM_ALERT_TEXTINPUT_RES_T * response );
108 * @param response hold user's response action and selected choice.
116 XPL_DM_ALERT_SCHOICE_RES_T * response );
127 * @param defaultResponses holds default response in an array of string representation of
129 * @param response hol
[all...]
/packages/apps/Nfc/tests/src/com/android/nfc/snep/
H A DSnepBasicTests.java55 SnepMessage response = null;
58 response = client.getMessage();
63 assertNotNull(response);
64 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField());
86 SnepMessage response = null;
89 response = client.getMessage();
94 assertNotNull(response);
95 assertEquals(SnepMessage.RESPONSE_SUCCESS, response.getField());
117 SnepMessage response = null;
120 response
[all...]
/packages/apps/Email/src/com/android/email/mail/store/
H A DImapConnection.java72 /** # of command/response lines to log upon crash. */
162 // NOTE: An IMAP response MUST be processed before issuing any new IMAP
163 // requests. Subsequent requests may destroy previous response data. As
221 * Sets the capability flags according to the response provided by the server.
296 * command, a response will be read which MUST be a continuation request.
312 // Otherwise, read the response from the previous part of the command
313 ImapResponse response = readResponse();
315 if (!response.isContinuationRequest()) {
339 ImapResponse response;
341 response
[all...]
H A DPop3Store.java175 String response;
176 while ((response = mTransport.readLine(false)) != null) {
177 parser.parseMultiLine(response);
241 String response = executeSimpleCommand("STAT");
242 String[] parts = response.split(" ");
393 String response = executeSimpleCommand("UIDL " + msgNum);
394 if (!parser.parseSingleLine(response)) {
402 String response = executeSimpleCommand("UIDL");
403 while ((response = mTransport.readLine(false)) != null) {
404 if (!parser.parseMultiLine(response)) {
463 parseSingleLine(String response) argument
495 parseMultiLine(String response) argument
[all...]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
H A DMockRespondMatrixCursor.java44 final Bundle response = new Bundle();
49 return response;
54 // For each of the keys in the request, we want to see if there is a mock response for the
60 response.putParcelable(key, (Parcelable)responseData);
64 return response;
/packages/apps/Email/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/OMA-DM/engine/jni/
H A DDMServiceAlert.cc123 XPL_DM_ALERT_RES_T *response,
167 *response = defaultResponse;
170 *response = (XPL_DM_ALERT_RES_T) r;
186 * @param response hold user's response action and input data.
197 XPL_DM_ALERT_TEXTINPUT_RES_T * response,
243 response->action = (XPL_DM_ALERT_RES_T) a;
245 response->response = defaultResponse;
248 response
121 showConfirmAlert(INT32 maxDisplayTime, const DMString& msg, XPL_DM_ALERT_RES_T defaultResponse, XPL_DM_ALERT_RES_T *response, INT32 title, INT32 icon) argument
191 showTextInputAlert( INT32 maxDisplayTime, const DMString& msg, const DMString& defaultResponse, INT32 maxLength, XPL_DM_ALERT_INPUT_T inputType, XPL_DM_ALERT_ECHO_T echoType, XPL_DM_ALERT_TEXTINPUT_RES_T * response, INT32 title, INT32 icon) argument
255 showSingleChoiceAlert(INT32 maxDisplayTime, const DMString& msg, const DMStringVector& choices, INT32 defaultResponse, XPL_DM_ALERT_SCHOICE_RES_T* response, INT32 title, INT32 icon) argument
317 showMultipleChoiceAlert(INT32 maxDisplayTime, const DMString& msg, const DMStringVector& choices, const DMStringVector& defaultResponses, XPL_DM_ALERT_MCHOICE_RES_T* response, INT32 title, INT32 icon) argument
[all...]
H A DDMServiceAlert.h132 * \param[out] response user's action will be returned here.
136 XPL_DM_ALERT_RES_T defaultResponse, XPL_DM_ALERT_RES_T* response,
148 * \param[out] response hold user's response action and input data.
153 XPL_DM_ALERT_ECHO_T echoType, XPL_DM_ALERT_TEXTINPUT_RES_T* response,
163 * \param[out] response hold user's response action and selected choice.
168 XPL_DM_ALERT_SCHOICE_RES_T* response, INT32 title = DM_SERVICE_ALERT_TITLE_NULL,
179 * \param[out] response hold user's response actio
[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/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/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 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 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.java63 protected int handleResponse(final EasResponse response) throws argument
65 final int code = response.getStatus();
67 InputStream is = response.getInputStream();
/packages/apps/OMA-DM/engine/dmlib/dmengine/dm_ssession/hdr/
H A DSYNCML_DM_MultipleChoiceAlert.H48 XPL_DM_ALERT_MCHOICE_RES_T response; member in class:SYNCML_DM_MultipleChoiceAlert
H A DSYNCML_DM_SingleChoiceAlert.H46 INT32 defaultResponse; // the default response
47 XPL_DM_ALERT_SCHOICE_RES_T response; member in class:SYNCML_DM_SingleChoiceAlert
H A DSYNCML_DM_TextInputAlert.H45 DMString defaultResponse; // the default response
49 XPL_DM_ALERT_TEXTINPUT_RES_T response; member in class:SYNCML_DM_TextInputAlert
/packages/apps/Exchange/src/com/android/exchange/
H A DEasResponse.java36 * Encapsulate a response to an HTTP POST
42 // Microsoft-defined HTTP response indicating a redirect to a "better" server.
60 private EasResponse(final HttpResponse response, argument
62 mResponse = response;
63 mEntity = (response == null) ? null : mResponse.getEntity();
69 int status = response.getStatusLine().getStatusCode();
83 final HttpResponse response = client.execute(request);
84 return new EasResponse(response, connManager, reqTime);
96 * @return Whether this response indicates an authentication error.
103 * @return Whether this response indicate
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DQuickResponseSettings.java54 for (String response : mResponses) {
57 et.setTitle(response); // Display Text
58 et.setText(response); // Value to edit
/packages/services/Mms/src/com/android/mms/service/
H A DDownloadRequest.java89 protected void updateStatus(Context context, int result, byte[] response) { argument
91 storeInboxMessage(context, result, response);
96 * Transfer the received response to the caller (for download requests write to content uri)
99 * @param response the pdu to transfer
102 protected boolean transferResponse(Intent fillIn, final byte[] response) { argument
103 return mRequestManager.writePduToContentUri(mContentUri, response);
106 private void storeInboxMessage(Context context, int result, byte[] response) { argument
107 if (response == null || response.length < 1) {
112 final GenericPdu pdu = (new PduParser(response))
[all...]

Completed in 3213 milliseconds

1234