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