Home
last modified time | relevance | path

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

/aosp12/frameworks/base/tests/CoreTests/android/core/
H A DRequestAPITest.java190 testEventHandler.expectStatus(200); in testGet()
222 testEventHandler.expectStatus(200); in testReuse()
226 testEventHandler2.expectStatus(200); in testReuse()
260 testEventHandler.expectStatus(200); in testHead()
287 testEventHandler.expectStatus(200); in testChunked()
321 testEventHandler.expectStatus(statusCode); in verifyRedirect()
344 testEventHandler.expectStatus(HttpConstants.HTTP_OK); in verifyRedirect()
392 testEventHandler.expectStatus(200); in testGetAndHead()
396 leh2.expectStatus(200); in testGetAndHead()
424 testEventHandler.expectStatus(200); in testPost()
[all …]
H A DTestEventHandler.java614 public void expectStatus() { in expectStatus() method in TestEventHandler
622 public void expectStatus(int major, int minor, int code) { in expectStatus() method in TestEventHandler
629 public void expectStatus(int code) { in expectStatus() method in TestEventHandler
/aosp12/packages/modules/DnsResolver/
H A DPrivateDnsConfigurationTest.cpp275 const auto expectStatus = [&]() { in TEST_F() local
282 expectStatus(); in TEST_F()
285 expectStatus(); in TEST_F()