Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 2 of 2) sorted by relevance

/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
DNetworkUtilities.java106 final HttpResponse resp; in authenticate() local
122 resp = getHttpClient().execute(post); in authenticate()
124 if (resp.getStatusLine().getStatusCode() == HttpStatus.SC_OK) { in authenticate()
125 InputStream istream = (resp.getEntity() != null) ? resp.getEntity().getContent() in authenticate()
136 Log.e(TAG, "Error authenticating" + resp.getStatusLine()); in authenticate()
192 final HttpResponse resp = getHttpClient().execute(post); in syncContacts() local
193 final String response = EntityUtils.toString(resp.getEntity()); in syncContacts()
194 if (resp.getStatusLine().getStatusCode() == HttpStatus.SC_OK) { in syncContacts()
208 if (resp.getStatusLine().getStatusCode() == HttpStatus.SC_UNAUTHORIZED) { in syncContacts()
212 Log.e(TAG, "Server error in sending dirty contacts: " + resp.getStatusLine()); in syncContacts()
/development/vendor_snapshot/
Dupdate.py821 resp = input('Directory {} already exists. IT WILL BE REMOVED.\n'
823 if resp == 'yes':
825 elif resp == 'no':
829 raise ValueError('Did not understand: ' + resp)