HomeSort by relevance Sort by last modified time
    Searched refs:entity (Results 176 - 200 of 671) sorted by null

1 2 3 4 5 6 78 91011>>

  /external/robolectric/v1/lib/main/
httpcore-4.0.1.jar 
  /prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpcore/4.0.1/
httpcore-4.0.1.jar 
  /cts/libs/testserver/src/android/webkit/cts/
CtsTestServer.java 30 import org.apache.http.entity.ByteArrayEntity;
31 import org.apache.http.entity.FileEntity;
32 import org.apache.http.entity.InputStreamEntity;
33 import org.apache.http.entity.StringEntity;
607 ByteArrayEntity entity = new ByteArrayEntity(new byte[length]); local
608 entity.setContentType(mimeType);
610 response.setEntity(entity);
638 InputStreamEntity entity = new InputStreamEntity(in, in.available()); local
644 entity.setContentType(mimeType);
645 response.setEntity(entity);
738 StringEntity entity = new StringEntity("CACHE MANIFEST"); local
796 StringEntity entity = new StringEntity(content); local
    [all...]
TestWebServer.java 21 import org.apache.http.entity.ByteArrayEntity;
428 ByteArrayEntity entity = createEntity(response.mResponseData); local
429 httpResponse.setEntity(entity);
430 httpResponse.setHeader("Content-Length", "" + entity.getContentLength());
473 ByteArrayEntity entity = createEntity(buf.toString().getBytes()); local
474 response.setEntity(entity);
475 response.setHeader("Content-Length", "" + entity.getContentLength());
481 * Create a string entity for the given content.
484 ByteArrayEntity entity = new ByteArrayEntity(data); local
485 entity.setContentType("text/html")
    [all...]
  /external/caliper/lib/
jersey-client-1.11.jar 
  /development/samples/XmlAdapters/src/com/example/android/xmladapters/
ImageDownloader.java 266 final HttpEntity entity = response.getEntity(); local
267 if (entity != null) {
271 inputStream = entity.getContent();
292 entity.consumeContent();
  /external/apache-http/src/org/apache/http/entity/
AbstractHttpEntity.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/AbstractHttpEntity.java $
32 package org.apache.http.entity;
213 ("streaming entity does not implement consumeContent()");
InputStreamEntity.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/InputStreamEntity.java $
32 package org.apache.http.entity;
39 * A streamed entity obtaining content from an {@link InputStream InputStream}.
SerializableEntity.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/SerializableEntity.java $
32 package org.apache.http.entity;
StringEntity.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk/module-main/src/main/java/org/apache/http/entity/StringEntity.java $
32 package org.apache.http.entity;
43 * An entity whose content is retrieved from a string.
99 * Tells that this entity is not streaming.
  /external/nanohttpd/core/src/test/java/fi/iki/elonen/
HttpSSLServerTest.java 58 HttpEntity entity = response.getEntity(); local
SSLServerSocketFactoryTest.java 59 HttpEntity entity = response.getEntity(); local
  /external/tagsoup/src/org/ccil/cowan/tagsoup/
ScanHandler.java 55 Reports an entity reference or character reference.
58 public void entity(char[] buff, int offset, int length) throws SAXException; method in interface:ScanHandler
115 Returns the value of the last entity or character reference reported.
  /frameworks/base/core/java/android/app/backup/
BackupDataInput.java 31 * onBackup()} implementation. An entity is composed of a descriptive header plus a
34 * The agent must consume every entity in the data stream, otherwise the
51 * data.readEntityData(buffer, 0, dataSize); // reads the entire entity at once
95 * Extract the next entity header from the restore stream. After this method
97 * be used to inspect the entity that is now available for processing.
99 * @return <code>true</code> when there is an entity ready for consumption from the
121 * Report the key associated with the current entity in the restore stream
122 * @return the current entity's key string
129 throw new IllegalStateException("Entity header not read");
134 * Report the size in bytes of the data associated with the current entity in th
    [all...]
  /frameworks/volley/src/main/java/com/android/volley/toolbox/
BasicNetwork.java 227 private byte[] entityToBytes(HttpEntity entity) throws IOException, ServerError {
229 new PoolingByteArrayOutputStream(mPool, (int) entity.getContentLength());
232 InputStream in = entity.getContent();
245 entity.consumeContent();
247 // This can happen if there was an exception above that left the entity in
  /external/chromium-trace/catapult/dashboard/dashboard/
migrate_test_names.py 9 * Create a new TestMetadata entity with the new name.
53 # Creating a new entity with one of these properties will result in an error.
96 """Starts migration of old TestMetadata entity names to new ones.
146 """Adds a task to the task queue to migrate a TestMetadata entity
150 test: A TestMetadata entity.
257 old_test_key_urlsafe: Key of old TestMetadata entity in urlsafe form.
258 new_test_key_urlsafe: Key of new TestMetadata entity in urlsafe form.
323 old_parent_key: TestMetadata entity key of the test to move from.
324 new_parent_key: TestMetadata entity key of the test to move to.
346 old_parent_key: TestMetadata entity key of the test to move from
    [all...]
  /prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpcore/4.3.1/
httpcore-4.3.1.jar 
  /external/clang/lib/Sema/
SemaAccess.cpp 150 AccessTarget(const AccessedEntity &Entity)
151 : AccessedEntity(Entity) {
    [all...]
  /packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/
TextUtilities.java 56 // HTML character entity references as defined in HTML 4
373 // entity to a single character. When Java allows multiple return values, we can make this
425 // Handle a possible HTML entity here
427 // indicating how many characters were eaten from the entity
466 String entity = null; local
467 // Isolate the entity
470 entity = text.substring(pos, i);
474 if (entity == null) {
475 // This wasn't really an HTML entity
478 // Skip count is the length of the entity
    [all...]
  /prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpcore/4.2.1/
httpcore-4.2.1.jar 
  /prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpcore/4.2.5/
httpcore-4.2.5.jar 
  /external/apache-http/src/org/apache/http/impl/client/
DefaultRequestDirector.java 87 import org.apache.http.entity.BufferedHttpEntity;
427 "with a non-repeatable request entity");
496 HttpEntity entity = response.getEntity(); local
497 if (entity != null) {
498 entity.consumeContent();
500 // entity consumed above is not an auto-release entity,
521 // check for entity, release connection if possible
529 // install an auto-release entity
530 HttpEntity entity = response.getEntity() local
786 HttpEntity entity = response.getEntity(); local
808 HttpEntity entity = response.getEntity(); local
    [all...]
AbstractHttpClient.java 664 HttpEntity entity = response.getEntity(); local
665 if (entity != null) {
667 entity.consumeContent();
692 HttpEntity entity = response.getEntity(); local
693 if (entity != null) {
695 entity.consumeContent();
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/
DefaultRequestDirector.java 49 import org.apache.http.entity.BufferedHttpEntity;
450 "with a non-repeatable request entity. The cause lists the " +
454 "with a non-repeatable request entity.");
530 HttpEntity entity = response.getEntity(); local
531 if (entity != null) {
532 entity.consumeContent();
534 // entity consumed above is not an auto-release entity,
558 // check for entity, release connection if possible
566 // install an auto-release entity
567 HttpEntity entity = response.getEntity(); local
800 HttpEntity entity = response.getEntity(); local
822 HttpEntity entity = response.getEntity(); local
    [all...]
  /external/apache-http/android/src/android/net/http/
Connection.java 514 private boolean keepAlive(HttpEntity entity,
523 if (entity != null) {
524 if (entity.getContentLength() < 0) {
525 if (!entity.isChunked() || ver.lessEquals(HttpVersion.HTTP_1_0)) {
542 void setCanPersist(HttpEntity entity, ProtocolVersion ver, int connType) {
543 mCanPersist = keepAlive(entity, ver, connType, mHttpContext);

Completed in 1871 milliseconds

1 2 3 4 5 6 78 91011>>