Home
last modified time | relevance | path

Searched refs:checkConnectivity (Results 1 – 5 of 5) sorted by relevance

/external/downloader/src/test/java/com/google/android/downloader/
DAndroidConnectivityHandlerTest.java86 ListenableFuture<Void> result = connectivityHandler.checkConnectivity(DownloadConstraints.NONE); in checkConnectivity_noConnectivityRequired()
101 connectivityHandler.checkConnectivity(DownloadConstraints.NETWORK_CONNECTED); in checkConnectivity_noNetwork()
122 connectivityHandler.checkConnectivity(DownloadConstraints.NETWORK_CONNECTED); in checkConnectivity_networkNotConnected()
143 connectivityHandler.checkConnectivity(DownloadConstraints.NETWORK_UNMETERED); in checkConnectivity_wrongNetworkType()
164 connectivityHandler.checkConnectivity( in checkConnectivity_anyNetworkType()
188 connectivityHandler.checkConnectivity( in checkConnectivity_unknownNetworkType()
209 connectivityHandler.checkConnectivity(DownloadConstraints.NETWORK_UNMETERED); in checkConnectivity_requiredNetworkConnected_wifiOnly()
230 connectivityHandler.checkConnectivity(DownloadConstraints.NETWORK_CONNECTED); in checkConnectivity_requiredNetworkConnected_wifiOrCellular()
254 connectivityHandler.checkConnectivity(DownloadConstraints.NETWORK_CONNECTED); in checkConnectivity_requiredNetworkConnected_sdk23()
276 connectivityHandler.checkConnectivity(DownloadConstraints.NETWORK_CONNECTED); in checkConnectivity_networkChange()
[all …]
DDownloaderTest.java969 public ListenableFuture<Void> checkConnectivity(DownloadConstraints constraints) { in checkConnectivity() method in DownloaderTest.AlwaysConnected
997 public ListenableFuture<Void> checkConnectivity(DownloadConstraints constraints) { in checkConnectivity() method in DownloaderTest.ManualConnectivity
/external/downloader/src/main/java/com/google/android/downloader/
DConnectivityHandler.java32 ListenableFuture<Void> checkConnectivity(DownloadConstraints constraints); in checkConnectivity() method
DDownloader.java477 ListenableFuture<Void> connectivityFuture = checkConnectivity(request); in maybeRunQueuedDownloads()
765 private ListenableFuture<Void> checkConnectivity(DownloadRequest request) { in checkConnectivity() method
770 return connectivityHandler.checkConnectivity(request.downloadConstraints()); in checkConnectivity()
DAndroidConnectivityHandler.java90 public ListenableFuture<Void> checkConnectivity(DownloadConstraints constraints) { in checkConnectivity() method in AndroidConnectivityHandler