Home
last modified time | relevance | path

Searched refs:callbackExecutor (Results 1 – 2 of 2) sorted by relevance

/external/downloader/src/main/java/com/google/android/downloader/
DCronetUrlEngine.java51 private final Executor callbackExecutor; field in CronetUrlEngine
62 public CronetUrlEngine(CronetEngine cronetEngine, Executor callbackExecutor) { in CronetUrlEngine() argument
64 this.callbackExecutor = callbackExecutor; in CronetUrlEngine()
72 cronetEngine.newUrlRequestBuilder(url, callback, callbackExecutor); in createRequest()
/external/downloader/src/example/java/com/google/android/downloader/example/
DDownloaderTestActivity.java72 private ExecutorService callbackExecutor; field in DownloaderTestActivity
87 callbackExecutor = Executors.newSingleThreadExecutor(); in onCreate()
116 .withIOExecutor(callbackExecutor) in createDownloaderBuilder()
151 callbackExecutor.shutdown(); in onDestroy()