Home
last modified time | relevance | path

Searched refs:response (Results 1 – 21 of 21) sorted by relevance

/development/apps/PushApiAuthenticator/src/com/example/android/pushapiauthenticator/
DMyAccountAuthenticator.java37 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
42 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, in getAuthToken() argument
47 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, in confirmCredentials() argument
52 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
60 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, in hasFeatures() argument
65 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, in updateCredentials() argument
/development/samples/InlineFillService/src/com/example/android/inlinefillservice/
DInlineFillService.java81 final FillResponse response; in onFillRequest() local
98 response = new FillResponse.Builder() in onFillRequest()
102 response = createResponse(this, fields, maxSuggestionsCount, mAuthenticateDatasets, in onFillRequest()
106 callback.onSuccess(response); in onFillRequest()
114 FillResponse.Builder response = new FillResponse.Builder(); in createResponse() local
118 response.addDataset(ResponseHelper.newLockedDataset(context, fields, packageName, i, in createResponse()
121 response.addDataset(ResponseHelper.newUnlockedDataset(context, fields, in createResponse()
128 response.addDataset(InlineRequestHelper.createInlineActionDataset(context, fields, in createResponse()
130 response.addDataset(InlineRequestHelper.createInlineActionDataset(context, fields, in createResponse()
138 response.setSaveInfo( in createResponse()
[all …]
DAuthActivity.java78 FillResponse response = in onYes() local
81 replyIntent.putExtra(EXTRA_AUTHENTICATION_RESULT, response); in onYes()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/
DAuthenticator.java64 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
68 intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response); in addAccount()
76 AccountAuthenticatorResponse response, Account account, Bundle options) { in confirmCredentials() argument
82 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
88 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, in getAuthToken() argument
121 intent.putExtra(AccountManager.KEY_ACCOUNT_AUTHENTICATOR_RESPONSE, response); in getAuthToken()
136 AccountAuthenticatorResponse response, Account account, String[] features) { in hasFeatures() argument
147 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, in updateCredentials() argument
/development/samples/DeviceAdminWhitelistedAccount/src/com/example/android/app/admin/whitelistedaccount/
DMyAuthenticator.java72 public Bundle addAccount(AccountAuthenticatorResponse response, String accountType, in addAccount() argument
79 public Bundle editProperties(AccountAuthenticatorResponse response, String accountType) { in editProperties() argument
84 public Bundle updateCredentials(AccountAuthenticatorResponse response, Account account, in updateCredentials() argument
90 public Bundle confirmCredentials(AccountAuthenticatorResponse response, Account account, in confirmCredentials() argument
96 public Bundle getAuthToken(AccountAuthenticatorResponse response, Account account, in getAuthToken() argument
107 public Bundle hasFeatures(AccountAuthenticatorResponse response, Account account, in hasFeatures() argument
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DSimpleWikiHelper.java148 JSONObject response = new JSONObject(content); in getPageContent() local
149 JSONObject query = response.getJSONObject("query"); in getPageContent()
180 HttpResponse response = client.execute(request); in getUrlContent() local
183 StatusLine status = response.getStatusLine(); in getUrlContent()
190 HttpEntity entity = response.getEntity(); in getUrlContent()
DExtendedWikiHelper.java208 JSONObject response = new JSONObject(content); in getRandomWord() local
209 JSONObject query = response.getJSONObject("query"); in getRandomWord()
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DSimpleWikiHelper.java155 JSONObject response = new JSONObject(content); in getPageContent() local
156 JSONObject query = response.getJSONObject("query"); in getPageContent()
187 HttpResponse response = client.execute(request); in getUrlContent() local
190 StatusLine status = response.getStatusLine(); in getUrlContent()
197 HttpEntity entity = response.getEntity(); in getUrlContent()
/development/samples/browseable/ElizaChat/
D_index.jd9 … messages with a quick voice response. New messages create a notification with a "Reply" action.
11 wearable opens the voice transcription UI allowing the user to speak a response.
/development/samples/SampleSyncAdapter/samplesyncadapter_server/
Ddashboard.py63 self.response.out.write(template.render(path, template_values))
150 self.response.out.write(template.render(path, template_values))
173 self.response.headers['Content-Type'] = "image/png"
174 self.response.out.write(contact.avatar)
192 self.response.out.write(template.render(path, template_values))
Dweb_services.py77 self.response.set_status(200, 'OK')
78 self.response.out.write(BaseWebServiceHandler.ACCT_AUTH_TOKEN)
83 self.response.set_status(401, 'Invalid Credentials')
105 self.response.set_status(401, 'Invalid Credentials')
162 self.response.set_status(200)
163 self.response.out.write(toJSON(updated_contacts))
/development/samples/ApiDemos/src/com/example/android/apis/view/
DSplitTouchView.java57 String response = responses[responseIndex++ % responses.length];
60 Cheeses.sCheeseStrings[position], response);
/development/tools/axl/
Daxl.py49 def sendResponse(self, response): argument
51 self.write("Content-Length: %d\r\n\r\n" % len(response))
52 if len(response) > 0:
53 self.write(response)
/development/samples/AutofillKeyboard/src/com/example/android/autofillkeyboard/
DAutofillImeService.java149 private void postPendingResponse(InlineSuggestionsResponse response) { in postPendingResponse() argument
151 final List<InlineSuggestion> inlineSuggestions = response.getInlineSuggestions(); in postPendingResponse()
282 public boolean onInlineSuggestionsResponse(InlineSuggestionsResponse response) { in onInlineSuggestionsResponse() argument
284 "onInlineSuggestionsResponse() called: " + response.getInlineSuggestions().size()); in onInlineSuggestionsResponse()
286 postPendingResponse(response); in onInlineSuggestionsResponse()
/development/samples/ApiDemos/src/com/example/android/apis/os/
DMmsMessagingDemo.java239 final byte[] response = intent.getByteArrayExtra(SmsManager.EXTRA_MMS_DATA); in handleSentResult()
240 if (response != null) { in handleSentResult()
242 response, PduParserUtil.shouldParseContentDisposition()).parse(); in handleSentResult()
282 final byte[] response = new byte[nBytes]; in handleReceivedResult()
283 final int read = reader.read(response, 0, nBytes); in handleReceivedResult()
286 response, PduParserUtil.shouldParseContentDisposition()).parse(); in handleReceivedResult()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DImageDownloader.java258 HttpResponse response = client.execute(getRequest); in doInBackground() local
259 final int statusCode = response.getStatusLine().getStatusCode(); in doInBackground()
266 final HttpEntity entity = response.getEntity(); in doInBackground()
DXmlDocumentProvider.java230 HttpResponse response = mHttpClient.execute(get); in getUriXmlPullParser() local
231 if (response.getStatusLine().getStatusCode() == HttpStatus.SC_OK) { in getUriXmlPullParser()
232 final HttpEntity entity = response.getEntity(); in getUriXmlPullParser()
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
DNetworkUtilities.java193 final String response = EntityUtils.toString(resp.getEntity()); in syncContacts() local
199 final JSONArray serverContacts = new JSONArray(response); in syncContacts()
200 Log.d(TAG, response); in syncContacts()
/development/cmds/monkey/
DREADME.NETWORK.txt32 response. The value is everything after (but not include) the colon
/development/apps/Development/src/com/android/development/
DConnectivity.java788 String response = doSocketRequest(network, randomHost, path); in onHttpRequest()
789 onHttpRequestResults(response); in onHttpRequest()
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt803 reaction - n. a response that reveals a person's feelings or attitude