Searched refs:createEntity (Results 1 – 2 of 2) sorted by relevance
428 ByteArrayEntity entity = createEntity(response.mResponseData); in getResponse()473 ByteArrayEntity entity = createEntity(buf.toString().getBytes()); in createResponse()483 private ByteArrayEntity createEntity(byte[] data) { in createEntity() method in TestWebServer
778 response.setEntity(createEntity("<!DOCTYPE HTML>" + in getResponse()857 private static StringEntity createEntity(String content) { in createEntity() method in CtsTestServer872 return createEntity("<html><head><title>" + title + "</title></head>" + in createPage()