Home
last modified time | relevance | path

Searched refs:TestWebData (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/tests/CoreTests/android/core/
DTestWebData.java22 public class TestWebData { class
84 public static TestWebData[] testParams = {
85 new TestWebData(52, 14000000, "test1", "text/html", false),
86 new TestWebData(52, 14000002, "test2", "unknown/unknown", false)
109 TestWebData(int length, int lastModified, String name, String type, boolean isDir) { in TestWebData() method in TestWebData
DTestWebServer.java698 if ((testNum < 0) || (testNum > TestWebData.tests.length - 1)) { in handleClient()
709 if ((testNum > 0) || (testNum < TestWebData.tests.length - 1)) { in handleClient()
722 psPrint(ps, TestWebData.testServerResponse[TestWebData.REDIRECT_301]); in handleClient()
726 psPrint(ps, TestWebData.testServerResponse[TestWebData.REDIRECT_302]); in handleClient()
729 psPrint(ps, TestWebData.testServerResponse[TestWebData.REDIRECT_303]); in handleClient()
732 psPrint(ps, TestWebData.testServerResponse[TestWebData.REDIRECT_307]); in handleClient()
787 if ((testNum < 0) || (testNum > TestWebData.tests.length - 1)) { in printStatus()
812 if (!TestWebData.testParams[testNum].testDir) { in printHeaders()
816 psPrint(ps, "Content-length: "+TestWebData.testParams[testNum].testLength); in printHeaders()
821 … Date(TestWebData.testParams[testNum].testLastModified))); in printHeaders()
[all …]
DRequestAPITest.java464 String mBody = TestWebData.postContent; in testPostWithData()