Searched refs:entity (Results 1 – 6 of 6) sorted by relevance
28 public int compare(HasCoverage entity, HasCoverage otherEntity) { in compare() argument29 int lhsPct = Math.round(entity.getCoveragePercentage()); in compare()34 Integer.compare(otherEntity.getMemberSize(), entity.getMemberSize()); in compare()
21 import org.apache.http.entity.ByteArrayEntity;428 ByteArrayEntity entity = createEntity(response.mResponseData); in getResponse() local429 httpResponse.setEntity(entity); in getResponse()430 httpResponse.setHeader("Content-Length", "" + entity.getContentLength()); in getResponse()473 ByteArrayEntity entity = createEntity(buf.toString().getBytes()); in createResponse() local474 response.setEntity(entity); in createResponse()475 response.setHeader("Content-Length", "" + entity.getContentLength()); in createResponse()484 ByteArrayEntity entity = new ByteArrayEntity(data); in createEntity() local485 entity.setContentType("text/html"); in createEntity()486 return entity; in createEntity()
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;672 ByteArrayEntity entity = new ByteArrayEntity(new byte[length]); in getResponse() local673 entity.setContentType(mimeType); in getResponse()675 response.setEntity(entity); in getResponse()703 InputStreamEntity entity = new InputStreamEntity(in, in.available()); in getResponse() local709 entity.setContentType(mimeType); in getResponse()710 response.setEntity(entity); in getResponse()[all …]
191 for (HttpEntity entity : mWebServer.getRequestEntities()) { in testBrowserPrivateDataAccess()192 len += entity.getContentLength(); in testBrowserPrivateDataAccess()
1072 Entity entity = ei.next(); in testEventsEntityQuery() local1073 ContentValues values = entity.getEntityValues(); in testEventsEntityQuery()1074 ArrayList<Entity.NamedContentValues> subvalues = entity.getSubValues(); in testEventsEntityQuery()1110 Entity entity = ei.next(); in testEventsEntityQuery() local1152 Entity entity = ei.next(); in testCalendarEntityQuery() local1788 final Entity entity = iterator.next(); in testEventColors() local1789 final ContentValues values = entity.getEntityValues(); in testEventColors()
489 HttpEntity entity = ((HttpEntityEnclosingRequest) request).getEntity();490 String entityString = EntityUtils.toString(entity);