Home
last modified time | relevance | path

Searched refs:engineBuilder (Results 1 – 6 of 6) sorted by relevance

/external/cronet/components/cronet/android/java/src/org/chromium/net/impl/
DCronetUrlRequestContext.java278 CronetEngineBuilderImpl engineBuilder) { in createRequestContextConfigOptions() argument
281 .setQuicEnabled(engineBuilder.quicEnabled()) in createRequestContextConfigOptions()
282 .setHttp2Enabled(engineBuilder.http2Enabled()) in createRequestContextConfigOptions()
283 .setBrotliEnabled(engineBuilder.brotliEnabled()) in createRequestContextConfigOptions()
284 .setDisableCache(engineBuilder.cacheDisabled()) in createRequestContextConfigOptions()
285 .setHttpCacheMode(engineBuilder.httpCacheMode()) in createRequestContextConfigOptions()
286 .setHttpCacheMaxSize(engineBuilder.httpCacheMaxSize()) in createRequestContextConfigOptions()
287 .setMockCertVerifier(engineBuilder.mockCertVerifier()) in createRequestContextConfigOptions()
289 engineBuilder.networkQualityEstimatorEnabled()) in createRequestContextConfigOptions()
291 engineBuilder.publicKeyPinningBypassForLocalTrustAnchorsEnabled()) in createRequestContextConfigOptions()
[all …]
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/impl/
DCronetLoggerTest.java360 ExperimentalHttpEngine.Builder engineBuilder = in testMultipleEngineCreationAndTrafficInfoEngineId() local
362 engineBuilder.setExperimentalOptions(experimentalOptions); in testMultipleEngineCreationAndTrafficInfoEngineId()
364 HttpEngine engine1 = engineBuilder.build(); in testMultipleEngineCreationAndTrafficInfoEngineId()
366 HttpEngine engine2 = engineBuilder.build(); in testMultipleEngineCreationAndTrafficInfoEngineId()
405 ExperimentalHttpEngine.Builder engineBuilder = in testSuccessfulRequestNative() local
407 engineBuilder.setExperimentalOptions(experimentalOptions); in testSuccessfulRequestNative()
443 ExperimentalHttpEngine.Builder engineBuilder = in testFailedRequestNative() local
445 engineBuilder.setExperimentalOptions(experimentalOptions); in testFailedRequestNative()
482 ExperimentalHttpEngine.Builder engineBuilder = in testCanceledRequestNative() local
484 engineBuilder.setExperimentalOptions(experimentalOptions); in testCanceledRequestNative()
/external/cronet/components/cronet/
DREADME.md78 CronetEngine.Builder engineBuilder = new CronetEngine.Builder(getContext());
79 CronetEngine engine = engineBuilder.build();
128 engineBuilder.enableHttp2(true).enableQuic(true);
134 engineBuilder.enableHttpCache(
139 engineBuilder.setStoragePath(storagePathString);
140 engineBuilder.enableHttpCache(CronetEngine.Builder.HttpCache.DISK,
170 `CronetEngine.Builder` instance, `engineBuilder`
/external/protobuf/java/core/src/test/java/com/google/protobuf/
DNestedBuildersTest.java72 Engine.Builder engineBuilder = vehicleBuilder.getEngineBuilder().setLiters(20); in testMessagesAndBuilders() local
83 engineBuilder.setLiters(50); in testMessagesAndBuilders()
/external/cronet/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DNestedBuildersTest.java72 Engine.Builder engineBuilder = vehicleBuilder.getEngineBuilder().setLiters(20); in testMessagesAndBuilders() local
83 engineBuilder.setLiters(50); in testMessagesAndBuilders()
/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/
DBidirectionalStreamTest.java842 ExperimentalHttpEngine.Builder engineBuilder = in testCustomCronetEngineUserAgent() local
844 engineBuilder.setUserAgent(userAgentValue); in testCustomCronetEngineUserAgent()
846 engineBuilder, QuicTestServer.createMockCertVerifier()); in testCustomCronetEngineUserAgent()
847 ExperimentalHttpEngine engine = engineBuilder.build(); in testCustomCronetEngineUserAgent()