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
715 response.setEntity(createEntity("<!DOCTYPE HTML>" + in getResponse()794 private static StringEntity createEntity(String content) { in createEntity() method in CtsTestServer809 return createEntity("<html><head><title>" + title + "</title></head>" + in createPage()