/external/cronet/components/cronet/android/test/javatests/src/org/chromium/net/ |
D | CronetUrlRequestContextTest.java | 117 HttpEngine cronetEngine = new HttpEngine.Builder(getContext()).build(); in run() local 120 cronetEngine.newUrlRequestBuilder(mUrl, mCallback.getExecutor(), mCallback); in run() 134 ShutdownTestUrlRequestCallback(HttpEngine cronetEngine) { in ShutdownTestUrlRequestCallback() argument 135 mCronetEngine = cronetEngine; in ShutdownTestUrlRequestCallback() 167 final HttpEngine cronetEngine = cronetEngineBuilder.build(); in testConfigUserAgent() local 172 UrlRequest.Builder urlRequestBuilder = cronetEngine.newUrlRequestBuilder( in testConfigUserAgent() 254 final CronetUrlRequestContext cronetEngine = in testShutdownDuringInit() local 260 cronetEngine.shutdown(); in testShutdownDuringInit() 263 cronetEngine.getUrlRequestContextAdapter(); in testShutdownDuringInit() 281 final CronetUrlRequestContext cronetEngine = in testInitAndShutdownOnMainThread() [all …]
|
D | NQETest.java | 99 final ExperimentalHttpEngine cronetEngine = cronetEngineBuilder.build(); in testNotEnabled() local 106 cronetEngine.addRttListener(rttListener); in testNotEnabled() 111 cronetEngine.addThroughputListener(throughputListener); in testNotEnabled() 117 cronetEngine.newUrlRequestBuilder(mUrl, callback, callback.getExecutor()); in testNotEnabled() 124 cronetEngine.shutdown(); in testNotEnabled() 137 final ExperimentalHttpEngine cronetEngine = cronetEngineBuilder.build(); in testListenerRemoved() local 138 cronetEngine.configureNetworkQualityEstimatorForTesting(true, true, false); in testListenerRemoved() 140 cronetEngine.addRttListener(rttListener); in testListenerRemoved() 141 cronetEngine.removeRttListener(rttListener); in testListenerRemoved() 144 cronetEngine.newUrlRequestBuilder(mUrl, callback, callback.getExecutor()); in testListenerRemoved() [all …]
|
D | QuicTest.java | 96 ExperimentalHttpEngine cronetEngine = mBuilder.build(); in testQuicLoadUrl() local 105 cronetEngine.newUrlRequestBuilder(quicURL, callback, callback.getExecutor()); in testQuicLoadUrl() 131 cronetEngine.shutdown(); in testQuicLoadUrl() 145 cronetEngine = builder.build(); in testQuicLoadUrl() 148 cronetEngine.newUrlRequestBuilder(quicURL, callback2, callback2.getExecutor()); in testQuicLoadUrl() 157 cronetEngine.shutdown(); in testQuicLoadUrl() 178 ExperimentalHttpEngine cronetEngine = mBuilder.build(); in testNQEWithQuic() local 186 cronetEngine.addRttListener(rttListener); in testNQEWithQuic() 187 cronetEngine.addThroughputListener(throughputListener); in testNQEWithQuic() 189 cronetEngine.configureNetworkQualityEstimatorForTesting(true, true, true); in testNQEWithQuic() [all …]
|
D | DiskStorageTest.java | 78 HttpEngine cronetEngine = builder.build(); in testReadOnlyStorageDirectory() local 82 cronetEngine.newUrlRequestBuilder(url, callback, callback.getExecutor()); in testReadOnlyStorageDirectory() 87 cronetEngine.shutdown(); in testReadOnlyStorageDirectory() 141 HttpEngine cronetEngine = builder.build(); in testPurgeOldVersion() local 145 cronetEngine.newUrlRequestBuilder(url, callback, callback.getExecutor()); in testPurgeOldVersion() 150 cronetEngine.shutdown(); in testPurgeOldVersion() 182 HttpEngine cronetEngine = builder.build(); in testCacheVersionCurrent() local 186 cronetEngine.newUrlRequestBuilder(url, callback, callback.getExecutor()); in testCacheVersionCurrent() 191 cronetEngine.shutdown(); in testCacheVersionCurrent() 248 HttpEngine cronetEngine = builder.build(); in testEnableHttpCacheThrowsIfStoragePathNotSet() local [all …]
|
D | ExperimentalOptionsTest.java | 117 HttpEngine cronetEngine = mBuilder.build(); in testNetLog() local 118 cronetEngine.startNetLogToFile(logfile.getPath(), false); in testNetLog() 122 cronetEngine.newUrlRequestBuilder(url, callback, callback.getExecutor()); in testNetLog() 128 cronetEngine.stopNetLog(); in testNetLog() 132 cronetEngine.shutdown(); in testNetLog() 142 HttpEngine cronetEngine = mBuilder.build(); in testEnableTelemetryTrue() local 145 cronetEngine.shutdown(); in testEnableTelemetryTrue() 152 HttpEngine cronetEngine = mBuilder.build(); in testEnableTelemetryDefault() local 155 cronetEngine.shutdown(); in testEnableTelemetryDefault() 170 HttpEngine cronetEngine = mBuilder.build(); in testSetSSLKeyLogFile() local [all …]
|
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/ |
D | CronetChannelBuilder.java | 58 public static CronetChannelBuilder forAddress(String host, int port, CronetEngine cronetEngine) { in forAddress() argument 59 Preconditions.checkNotNull(cronetEngine, "cronetEngine"); in forAddress() 60 return new CronetChannelBuilder(host, port, cronetEngine); in forAddress() 80 private final CronetEngine cronetEngine; field in CronetChannelBuilder 91 private CronetChannelBuilder(String host, int port, CronetEngine cronetEngine) { in CronetChannelBuilder() argument 95 this.cronetEngine = Preconditions.checkNotNull(cronetEngine, "cronetEngine"); in CronetChannelBuilder() 189 cronetEngine, trafficStatsTagSet, trafficStatsTag, trafficStatsUidSet, trafficStatsUid), in buildTransportFactory() 255 private final CronetEngine cronetEngine; field in CronetChannelBuilder.TaggingStreamFactory 262 CronetEngine cronetEngine, in TaggingStreamFactory() argument 267 this.cronetEngine = cronetEngine; in TaggingStreamFactory() [all …]
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/cronet/src/main/java/com/google/android/exoplayer2/ext/cronet/ |
D | CronetEngineWrapper.java | 35 @Nullable private final CronetEngine cronetEngine; field in CronetEngineWrapper 61 cronetEngine = CronetUtil.buildCronetEngine(context, userAgent, preferGooglePlayServices); in CronetEngineWrapper() 69 public CronetEngineWrapper(CronetEngine cronetEngine) { in CronetEngineWrapper() argument 70 this.cronetEngine = cronetEngine; in CronetEngineWrapper() 80 return cronetEngine; in getCronetEngine()
|
D | CronetDataSource.java | 80 @Nullable private final CronetEngine cronetEngine; field in CronetDataSource.Factory 110 public Factory(CronetEngine cronetEngine, Executor executor) { in Factory() argument 111 this.cronetEngine = Assertions.checkNotNull(cronetEngine); in Factory() 135 this.cronetEngine = cronetEngineWrapper.getCronetEngine(); in Factory() 312 if (cronetEngine == null) { in createDataSource() 319 cronetEngine, in createDataSource() 395 private final CronetEngine cronetEngine; field in CronetDataSource 436 public CronetDataSource(CronetEngine cronetEngine, Executor executor) { in CronetDataSource() argument 438 cronetEngine, in CronetDataSource() 449 CronetEngine cronetEngine, in CronetDataSource() argument [all …]
|
D | CronetDataSourceFactory.java | 339 @Nullable CronetEngine cronetEngine = cronetEngineWrapper.getCronetEngine(); in createDataSourceInternal() local 340 if (cronetEngine == null) { in createDataSourceInternal() 345 cronetEngine, in createDataSourceInternal()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/cronet/src/main/java/com/google/android/exoplayer2/ext/cronet/ |
D | CronetEngineWrapper.java | 35 @Nullable private final CronetEngine cronetEngine; field in CronetEngineWrapper 61 cronetEngine = CronetUtil.buildCronetEngine(context, userAgent, preferGooglePlayServices); in CronetEngineWrapper() 69 public CronetEngineWrapper(CronetEngine cronetEngine) { in CronetEngineWrapper() argument 70 this.cronetEngine = cronetEngine; in CronetEngineWrapper() 80 return cronetEngine; in getCronetEngine()
|
D | CronetDataSource.java | 80 @Nullable private final CronetEngine cronetEngine; field in CronetDataSource.Factory 110 public Factory(CronetEngine cronetEngine, Executor executor) { in Factory() argument 111 this.cronetEngine = Assertions.checkNotNull(cronetEngine); in Factory() 135 this.cronetEngine = cronetEngineWrapper.getCronetEngine(); in Factory() 312 if (cronetEngine == null) { in createDataSource() 319 cronetEngine, in createDataSource() 399 private final CronetEngine cronetEngine; field in CronetDataSource 438 CronetEngine cronetEngine, in CronetDataSource() argument 450 this.cronetEngine = Assertions.checkNotNull(cronetEngine); in CronetDataSource() 793 cronetEngine in buildRequestBuilder()
|
D | CronetDataSourceFactory.java | 343 @Nullable CronetEngine cronetEngine = cronetEngineWrapper.getCronetEngine(); in createDataSourceInternal() local 344 if (cronetEngine == null) { in createDataSourceInternal() 349 cronetEngine, in createDataSourceInternal()
|
/external/cronet/components/cronet/android/java/src/org/chromium/net/urlconnection/ |
D | CronetURLStreamHandlerFactory.java | 51 public CronetURLStreamHandlerFactory(ExperimentalHttpEngine cronetEngine) { in CronetURLStreamHandlerFactory() argument 52 if (cronetEngine == null) { in CronetURLStreamHandlerFactory() 55 mCronetEngine = cronetEngine; in CronetURLStreamHandlerFactory()
|
D | CronetHttpURLStreamHandler.java | 31 public CronetHttpURLStreamHandler(ExperimentalHttpEngine cronetEngine) { in CronetHttpURLStreamHandler() argument 32 mCronetEngine = cronetEngine; in CronetHttpURLStreamHandler()
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/extensions/cronet/src/androidTest/java/com/google/android/exoplayer2/ext/cronet/ |
D | CronetDataSourceContractTest.java | 50 CronetEngine cronetEngine = in createDataSource() local 55 assertThat(cronetEngine).isNotNull(); in createDataSource() 56 return new CronetDataSource.Factory(cronetEngine, executorService).createDataSource(); in createDataSource()
|
/external/cronet/components/cronet/android/test/src/org/chromium/net/ |
D | MockUrlRequestJobFactory.java | 27 public MockUrlRequestJobFactory(HttpEngine cronetEngine) { in MockUrlRequestJobFactory() argument 28 mNetworkThreadTestConnector = new CronetTestUtil.NetworkThreadTestConnector(cronetEngine); in MockUrlRequestJobFactory() 31 ((CronetUrlRequestContext) cronetEngine).getUrlRequestContextAdapter()); in MockUrlRequestJobFactory()
|
D | CronetTestUtil.java | 68 public NetworkThreadTestConnector(HttpEngine cronetEngine) { in NetworkThreadTestConnector() argument 69 mRequestContext = (CronetUrlRequestContext) cronetEngine; in NetworkThreadTestConnector()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/extensions/cronet/src/androidTest/java/com/google/android/exoplayer2/ext/cronet/ |
D | CronetDataSourceContractTest.java | 50 CronetEngine cronetEngine = in createDataSource() local 55 assertThat(cronetEngine).isNotNull(); in createDataSource() 56 return new CronetDataSource.Factory(cronetEngine, executorService).createDataSource(); in createDataSource()
|
/external/downloader/src/main/java/com/google/android/downloader/ |
D | CronetUrlEngine.java | 50 private final CronetEngine cronetEngine; field in CronetUrlEngine 62 public CronetUrlEngine(CronetEngine cronetEngine, Executor callbackExecutor) { in CronetUrlEngine() argument 63 this.cronetEngine = cronetEngine; in CronetUrlEngine() 72 cronetEngine.newUrlRequestBuilder(url, callback, callbackExecutor); in createRequest()
|
/external/cronet/components/cronet/android/java/src/org/chromium/net/impl/ |
D | BidirectionalStreamBuilderImpl.java | 71 Executor executor, CronetEngineBase cronetEngine) { in BidirectionalStreamBuilderImpl() argument 82 if (cronetEngine == null) { in BidirectionalStreamBuilderImpl() 88 mCronetEngine = cronetEngine; in BidirectionalStreamBuilderImpl()
|
D | UrlRequestBuilderImpl.java | 88 CronetEngineBase cronetEngine) { in UrlRequestBuilderImpl() argument 99 if (cronetEngine == null) { in UrlRequestBuilderImpl() 105 mCronetEngine = cronetEngine; in UrlRequestBuilderImpl()
|
/external/grpc-grpc/src/objective-c/GRPCClient/private/ |
D | GRPCChannel.m | 117 cronetEngine:(stream_engine *)cronetEngine 127 grpc_cronet_secure_channel_create(cronetEngine, _host.UTF8String, _channelArgs, NULL); 170 stream_engine *engine = [GRPCCall cronetEngine]; 175 return [[GRPCChannel alloc] initWithHost:host cronetEngine:engine channelArgs:channelArgs];
|
/external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/demos/main/src/main/java/com/google/android/exoplayer2/demo/ |
D | DemoUtil.java | 91 @Nullable CronetEngine cronetEngine = CronetUtil.buildCronetEngine(context); in getHttpDataSourceFactory() local 92 if (cronetEngine != null) { in getHttpDataSourceFactory() 94 new CronetDataSource.Factory(cronetEngine, Executors.newSingleThreadExecutor()); in getHttpDataSourceFactory()
|
/external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/demos/main/src/main/java/com/google/android/exoplayer2/demo/ |
D | DemoUtil.java | 98 @Nullable CronetEngine cronetEngine = CronetUtil.buildCronetEngine(context); in getHttpDataSourceFactory() local 99 if (cronetEngine != null) { in getHttpDataSourceFactory() 101 new CronetDataSource.Factory(cronetEngine, Executors.newSingleThreadExecutor()); in getHttpDataSourceFactory()
|
/external/downloader/src/test/java/com/google/android/downloader/ |
D | CronetUrlEngineTest.java | 51 CronetEngine cronetEngine = in setUp() local 53 engine = new CronetUrlEngine(cronetEngine, executorService); in setUp()
|