Searched refs:entity (Results 1 – 9 of 9) sorted by relevance
28 public int compare(HasCoverage entity, HasCoverage otherEntity) { in compare() argument29 int lhsPct = Math.round(entity.getCoveragePercentage()); in compare()36 diff = Integer.compare(otherEntity.getMemberSize(), entity.getMemberSize()); in compare()40 return entity.getName().compareTo(otherEntity.getName()); in compare()
35 protected Table(String name, Entity<E> entity) { in Table() argument37 mEntity = entity; in Table()53 public abstract ContentValues buildContentValues(E entity); in buildContentValues() argument
39 import org.apache.http.entity.ByteArrayEntity;40 import org.apache.http.entity.FileEntity;41 import org.apache.http.entity.InputStreamEntity;42 import org.apache.http.entity.StringEntity;608 ByteArrayEntity entity = new ByteArrayEntity(new byte[length]); in getResponse() local609 entity.setContentType(mimeType); in getResponse()611 response.setEntity(entity); in getResponse()639 InputStreamEntity entity = new InputStreamEntity(in, in.available()); in getResponse() local645 entity.setContentType(mimeType); in getResponse()646 response.setEntity(entity); in getResponse()[all …]
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()
244 final String entity = selection.getEntity(i); in assertValidResult() local245 assertNotNull(entity); in assertValidResult()246 final float confidenceScore = selection.getConfidenceScore(entity); in assertValidResult()256 final String entity = classification.getEntity(i); in assertValidResult() local257 assertNotNull(entity); in assertValidResult()258 final float confidenceScore = classification.getConfidenceScore(entity); in assertValidResult()
355 private void assertAppOrTokenUsed(String entity, boolean expected) throws Exception { in assertAppOrTokenUsed() argument358 failMessage = entity + " not found in list of active activities and tokens"; in assertAppOrTokenUsed()360 failMessage = entity + " found in list of active activities and tokens"; in assertAppOrTokenUsed()370 if (active.equals(entity)) { in assertAppOrTokenUsed()
1224 private void assertAppOrTokenUsed(String entity, boolean expected) throws IOException { in assertAppOrTokenUsed() argument1231 if (active.equals(entity)) { in assertAppOrTokenUsed()1237 assertTrue(entity + " not found in list of active activities and tokens\n" in assertAppOrTokenUsed()1240 assertFalse(entity + " found in list of active activities and tokens\n" in assertAppOrTokenUsed()
1073 Entity entity = ei.next(); in testEventsEntityQuery() local1074 ContentValues values = entity.getEntityValues(); in testEventsEntityQuery()1075 ArrayList<Entity.NamedContentValues> subvalues = entity.getSubValues(); in testEventsEntityQuery()1111 Entity entity = ei.next(); in testEventsEntityQuery() local1153 Entity entity = ei.next(); in testCalendarEntityQuery() local1789 final Entity entity = iterator.next(); in testEventColors() local1790 final ContentValues values = entity.getEntityValues(); in testEventColors()
378 HttpEntity entity = ((HttpEntityEnclosingRequest) request).getEntity(); in testPostUrlWithNetworkUrl() local379 String entityString = EntityUtils.toString(entity); in testPostUrlWithNetworkUrl()