Home
last modified time | relevance | path

Searched refs:entity (Results 1 – 7 of 7) sorted by relevance

/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/
DHasCoverage.java28 public int compare(HasCoverage entity, HasCoverage otherEntity) { in compare() argument
29 int lhsPct = Math.round(entity.getCoveragePercentage()); in compare()
34 Integer.compare(otherEntity.getMemberSize(), entity.getMemberSize()); in compare()
/cts/libs/testserver/src/android/webkit/cts/
DCtsTestServer.java30 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]); in getResponse() local
608 entity.setContentType(mimeType); in getResponse()
610 response.setEntity(entity); in getResponse()
638 InputStreamEntity entity = new InputStreamEntity(in, in.available()); in getResponse() local
644 entity.setContentType(mimeType); in getResponse()
645 response.setEntity(entity); in getResponse()
[all …]
DTestWebServer.java21 import org.apache.http.entity.ByteArrayEntity;
428 ByteArrayEntity entity = createEntity(response.mResponseData); in getResponse() local
429 httpResponse.setEntity(entity); in getResponse()
430 httpResponse.setHeader("Content-Length", "" + entity.getContentLength()); in getResponse()
473 ByteArrayEntity entity = createEntity(buf.toString().getBytes()); in createResponse() local
474 response.setEntity(entity); in createResponse()
475 response.setHeader("Content-Length", "" + entity.getContentLength()); in createResponse()
484 ByteArrayEntity entity = new ByteArrayEntity(data); in createEntity() local
485 entity.setContentType("text/html"); in createEntity()
486 return entity; in createEntity()
/cts/tests/tests/security/src/android/security/cts/
DBrowserTest.java188 for (HttpEntity entity : mWebServer.getRequestEntities()) { in testBrowserPrivateDataAccess()
189 len += entity.getContentLength(); in testBrowserPrivateDataAccess()
/cts/tests/tests/provider/src/android/provider/cts/
DCalendarTest.java1072 Entity entity = ei.next(); in testEventsEntityQuery() local
1073 ContentValues values = entity.getEntityValues(); in testEventsEntityQuery()
1074 ArrayList<Entity.NamedContentValues> subvalues = entity.getSubValues(); in testEventsEntityQuery()
1110 Entity entity = ei.next(); in testEventsEntityQuery() local
1152 Entity entity = ei.next(); in testCalendarEntityQuery() local
1788 final Entity entity = iterator.next(); in testEventColors() local
1789 final ContentValues values = entity.getEntityValues(); in testEventColors()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java529 HttpEntity entity = ((HttpEntityEnclosingRequest) request).getEntity();
530 String entityString = EntityUtils.toString(entity);
/cts/tools/dex-tools/dex/
Dclasses.out.dex45924 public static org.apache.http.entity.AbstractHttpEntity getCompressedEntity(
46046 private final org.apache.http.impl.entity.EntitySerializer entityserializer
117576 public abstract class org.apache.http.entity.AbstractHttpEntity extends java.lang.Object implements…
117615 public class com.android.internal.http.multipart.MultipartEntity extends org.apache.http.entity.Abs…
145432 public class org.apache.http.entity.StringEntity extends org.apache.http.entity.AbstractHttpEntity …
145462 public class org.apache.http.client.entity.UrlEncodedFormEntity extends org.apache.http.entity.Stri…
145642 private org.apache.http.HttpEntity entity
146303 public class org.apache.http.entity.HttpEntityWrapper extends java.lang.Object implements org.apach…
146347 public class org.apache.http.conn.BasicManagedEntity extends org.apache.http.entity.HttpEntityWrapp…
147911 public class org.apache.http.entity.BasicHttpEntity extends org.apache.http.entity.AbstractHttpEnti…
[all …]