Home
last modified time | relevance | path

Searched refs:entity (Results 1 – 8 of 8) 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/hostsidetests/inputmethodservice/deviceside/lib/src/android/inputmethodservice/cts/db/
DTable.java33 protected Table(final String name, final Entity<E> entity) { in Table() argument
35 mEntity = entity; in Table()
42 public abstract ContentValues buildContentValues(final E entity); in buildContentValues() argument
/cts/tests/tests/view/src/android/view/textclassifier/cts/
DTextClassificationManagerTest.java176 final String entity = selection.getEntity(i); in assertValidResult() local
177 assertNotNull(entity); in assertValidResult()
178 final float confidenceScore = selection.getConfidenceScore(entity); in assertValidResult()
188 final String entity = classification.getEntity(i); in assertValidResult() local
189 assertNotNull(entity); in assertValidResult()
190 final float confidenceScore = classification.getConfidenceScore(entity); in assertValidResult()
/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;
608 ByteArrayEntity entity = new ByteArrayEntity(new byte[length]); in getResponse() local
609 entity.setContentType(mimeType); in getResponse()
611 response.setEntity(entity); in getResponse()
639 InputStreamEntity entity = new InputStreamEntity(in, in.available()); in getResponse() local
645 entity.setContentType(mimeType); in getResponse()
646 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.java196 for (HttpEntity entity : mWebServer.getRequestEntities()) { in testBrowserPrivateDataAccess()
197 len += entity.getContentLength(); in testBrowserPrivateDataAccess()
/cts/tests/tests/provider/src/android/provider/cts/
DCalendarTest.java1073 Entity entity = ei.next(); in testEventsEntityQuery() local
1074 ContentValues values = entity.getEntityValues(); in testEventsEntityQuery()
1075 ArrayList<Entity.NamedContentValues> subvalues = entity.getSubValues(); in testEventsEntityQuery()
1111 Entity entity = ei.next(); in testEventsEntityQuery() local
1153 Entity entity = ei.next(); in testCalendarEntityQuery() local
1789 final Entity entity = iterator.next(); in testEventColors() local
1790 final ContentValues values = entity.getEntityValues(); in testEventColors()
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebViewTest.java553 HttpEntity entity = ((HttpEntityEnclosingRequest) request).getEntity();
554 String entityString = EntityUtils.toString(entity);