/external/downloader/src/test/java/com/google/android/downloader/ |
D | OkHttp3UrlEngineTest.java | 37 private MockWebServerUrlEngineTestHelper testHelper; field in OkHttp3UrlEngineTest 45 testHelper = new MockWebServerUrlEngineTestHelper(temporaryFolder, dispatchExecutorService); in setUp() 57 testHelper.tearDown(); in tearDown() 64 testHelper.executeRequest_normalResponse_succeeds(engine); in executeRequest_normalResponse_succeeds() 69 testHelper.executeRequest_responseThrottled_succeeds(engine); in executeRequest_responseThrottled_succeeds() 74 testHelper.executeRequest_largeResponse_succeeds(engine, 1024 * 1024); in executeRequest_largeResponse_succeeds() 79 testHelper.executeRequest_closeBeforeWrite_failsAborted(engine); in executeRequest_closeBeforeWrite_failsAborted() 84 testHelper.executeRequest_serverError_failsInternalError(engine); in executeRequest_serverError_failsInternalError() 89 testHelper.executeRequest_networkError_failsInternalError(engine); in executeRequest_networkError_failsInternalError() 94 testHelper.executeRequest_writeError_failsInternalError(engine); in executeRequest_writeError_failsInternalError() [all …]
|
D | OkHttp2UrlEngineTest.java | 37 private MockWebServerUrlEngineTestHelper testHelper; field in OkHttp2UrlEngineTest 45 testHelper = new MockWebServerUrlEngineTestHelper(temporaryFolder, dispatchExecutorService); in setUp() 57 testHelper.tearDown(); in tearDown() 64 testHelper.executeRequest_normalResponse_succeeds(engine); in executeRequest_normalResponse_succeeds() 69 testHelper.executeRequest_responseThrottled_succeeds(engine); in executeRequest_responseThrottled_succeeds() 74 testHelper.executeRequest_largeResponse_succeeds(engine, 1024 * 1024); in executeRequest_largeResponse_succeeds() 79 testHelper.executeRequest_closeBeforeWrite_failsAborted(engine); in executeRequest_closeBeforeWrite_failsAborted() 84 testHelper.executeRequest_serverError_failsInternalError(engine); in executeRequest_serverError_failsInternalError() 89 testHelper.executeRequest_networkError_failsInternalError(engine); in executeRequest_networkError_failsInternalError() 94 testHelper.executeRequest_writeError_failsInternalError(engine); in executeRequest_writeError_failsInternalError() [all …]
|
D | CronetUrlEngineTest.java | 43 private MockWebServerUrlEngineTestHelper testHelper; field in CronetUrlEngineTest 50 testHelper = new MockWebServerUrlEngineTestHelper(temporaryFolder, testingExecutorService); in setUp() 58 testHelper.tearDown(); in tearDown() 63 testHelper.executeRequest_normalResponse_succeeds(engine); in executeRequest_normalResponse_succeeds() 68 testHelper.executeRequest_responseThrottled_succeeds(engine); in executeRequest_responseThrottled_succeeds() 73 testHelper.executeRequest_largeResponse_succeeds(engine, CronetUrlEngine.BUFFER_SIZE_BYTES * 3); in executeRequest_largeResponse_succeeds() 78 testHelper.executeRequest_closeBeforeWrite_failsAborted(engine); in executeRequest_closeBeforeWrite_failsAborted() 83 testHelper.executeRequest_serverError_failsInternalError(engine); in executeRequest_serverError_failsInternalError() 88 testHelper.executeRequest_networkError_failsInternalError(engine); in executeRequest_networkError_failsInternalError() 93 testHelper.executeRequest_writeError_failsInternalError(engine); in executeRequest_writeError_failsInternalError() [all …]
|
D | PlatformUrlEngineTest.java | 42 private MockWebServerUrlEngineTestHelper testHelper; field in PlatformUrlEngineTest 49 testHelper = in setUp() 59 testHelper.tearDown(); in tearDown() 65 testHelper.executeRequest_normalResponse_succeeds(engine); in executeRequest_normalResponse_succeeds() 70 testHelper.executeRequest_responseThrottled_succeeds(engine); in executeRequest_responseThrottled_succeeds() 75 testHelper.executeRequest_largeResponse_succeeds( in executeRequest_largeResponse_succeeds() 81 testHelper.executeRequest_closeBeforeWrite_failsAborted(engine); in executeRequest_closeBeforeWrite_failsAborted() 86 testHelper.executeRequest_serverError_failsInternalError(engine); in executeRequest_serverError_failsInternalError() 91 testHelper.executeRequest_networkError_failsInternalError(engine); in executeRequest_networkError_failsInternalError() 96 testHelper.executeRequest_writeError_failsInternalError(engine); in executeRequest_writeError_failsInternalError() [all …]
|
/external/grpc-grpc-java/examples/src/main/java/io/grpc/examples/routeguide/ |
D | RouteGuideClient.java | 48 private TestHelper testHelper; field in RouteGuideClient 77 if (testHelper != null) { in getFeature() 78 testHelper.onMessage(feature); in getFeature() 82 if (testHelper != null) { in getFeature() 83 testHelper.onRpcError(e); in getFeature() 117 if (testHelper != null) { in listFeatures() 118 testHelper.onMessage(feature); in listFeatures() 123 if (testHelper != null) { in listFeatures() 124 testHelper.onRpcError(e); in listFeatures() 143 if (testHelper != null) { in recordRoute() [all …]
|
/external/skia/tests/ |
D | VkYcbcrSamplerTest.cpp | 31 VkTestHelper testHelper(false); in DEF_GPUTEST() local 32 if (!testHelper.init()) { in DEF_GPUTEST() 37 VkYcbcrSamplerHelper ycbcrHelper(testHelper.directContext()); in DEF_GPUTEST() 47 sk_sp<SkImage> srcImage = SkImage::MakeFromTexture(testHelper.directContext(), in DEF_GPUTEST() 59 testHelper.directContext(), SkBudgeted::kNo, in DEF_GPUTEST() 120 VkTestHelper testHelper(false); in DEF_GPUTEST() local 121 if (!testHelper.init()) { in DEF_GPUTEST() 126 VkYcbcrSamplerHelper ycbcrHelper(testHelper.directContext()); in DEF_GPUTEST() 131 GrBackendTexture texture = testHelper.directContext()->createBackendTexture( in DEF_GPUTEST()
|
/external/grpc-grpc-java/examples/src/test/java/io/grpc/examples/routeguide/ |
D | RouteGuideClientTest.java | 68 private final TestHelper testHelper = mock(TestHelper.class); field in RouteGuideClientTest 97 client.setTestHelper(testHelper); in setUp() 131 verify(testHelper).onMessage(responseFeature); in getFeature() 132 verify(testHelper, never()).onRpcError(any(Throwable.class)); in getFeature() 159 verify(testHelper).onRpcError(errorCaptor.capture()); in getFeature_error() 196 verify(testHelper).onMessage(responseFeature1); in listFeatures() 197 verify(testHelper).onMessage(responseFeature2); in listFeatures() 198 verify(testHelper, never()).onRpcError(any(Throwable.class)); in listFeatures() 235 verify(testHelper).onMessage(responseFeature1); in listFeatures_error() 236 verify(testHelper).onRpcError(errorCaptor.capture()); in listFeatures_error() [all …]
|
/external/angle/src/libANGLE/renderer/d3d/d3d9/ |
D | Fence9.cpp | 44 return testHelper(GetImplAs<Context9>(context), true, outFinished); in test() 52 ANGLE_TRY(testHelper(GetImplAs<Context9>(context), true, &finished)); in finish() 59 angle::Result FenceNV9::testHelper(Context9 *context9, in testHelper() function in rx::FenceNV9
|
D | Fence9.h | 32 angle::Result testHelper(Context9 *context9, bool flushCommandBuffer, GLboolean *outFinished);
|
/external/toolchain-utils/bestflags/ |
D | pipeline_worker_test.py | 38 def testHelper(self): member in PipelineWorkerTest
|