Home
last modified time | relevance | path

Searched refs:setHeader (Results 1 – 5 of 5) sorted by relevance

/cts/tests/autofillservice/src/android/autofillservice/cts/
DFillResponseTest.java91 () -> new FillResponse.Builder().setHeader(mHeader).setAuthentication(mIds, in testBuilder_setAuthentication_illegalState()
100 assertThrows(NullPointerException.class, () -> new FillResponse.Builder().setHeader(null)); in testBuilder_setHeaderOrFooterInvalid()
108 assertThrows(IllegalStateException.class, () -> builder.setHeader(mHeader)); in testBuilder_setHeaderOrFooterAfterAuthentication()
109 assertThrows(IllegalStateException.class, () -> builder.setHeader(mFooter)); in testBuilder_setHeaderOrFooterAfterAuthentication()
239 () -> new FillResponse.Builder().setHeader(mHeader).build()); in testBuilder_build_headerOrFooterWithoutDatasets()
259 assertThrows(IllegalStateException.class, () -> mBuilder.setHeader(mHeader)); in testNoMoreInteractionsAfterBuild()
DCannedFillResponse.java243 builder.setHeader(mHeader); in asFillResponse()
463 public Builder setHeader(RemoteViews header) { in setHeader() method in CannedFillResponse.Builder
DLoginActivityTest.java444 builder.setHeader(createPresentation(expectedHeader)); in autofillOneDatasetTest()
/cts/libs/testserver/src/android/webkit/cts/
DTestWebServer.java430 httpResponse.setHeader("Content-Length", "" + entity.getContentLength()); in getResponse()
475 response.setHeader("Content-Length", "" + entity.getContentLength()); in createResponse()
DCtsTestServer.java648 response.setHeader("Content-Length", "" + entity.getContentLength()); in getResponse()
747 response.setHeader("Content-Type", "text/cache-manifest"); in getResponse()
821 response.setHeader("Content-Length", Integer.toString(numBytes)); in createTestDownloadResponse()