Home
last modified time | relevance | path

Searched refs:DownloadService (Results 1 – 4 of 4) sorted by relevance

/packages/modules/CaptivePortalLogin/src/com/android/captiveportallogin/
DCaptivePortalLoginActivity.java22 import static com.android.captiveportallogin.DownloadService.isDirectlyOpenType;
164 private DownloadService.DownloadServiceBinder mDownloadService = null;
178 mDownloadService = (DownloadService.DownloadServiceBinder) binder;
185 final DownloadService.ProgressCallback mProgressCallback =
186 new DownloadService.ProgressCallback() {
208 if (reason == DownloadService.DOWNLOAD_ABORTED_REASON_FILE_TOO_LARGE) {
1088 new Intent(CaptivePortalLoginActivity.this, DownloadService.class); in onDownloadStart()
1092 startService(new Intent(getApplicationContext(), DownloadService.class)); in onDownloadStart()
1114 final Intent createFileIntent = DownloadService.makeCreateFileIntent( in onDownloadStart()
DDownloadService.java66 public class DownloadService extends Service { class
67 private static final String TAG = DownloadService.class.getSimpleName();
133 final Intent cancelIntent = new Intent(context, DownloadService.class) in DownloadTask()
341 Log.e(DownloadService.class.getSimpleName(), "Download error", e); in processDownload()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt45 import com.android.captiveportallogin.DownloadService.DOWNLOAD_ABORTED_REASON_FILE_TOO_LARGE
46 import com.android.captiveportallogin.DownloadService.DownloadServiceBinder
47 import com.android.captiveportallogin.DownloadService.ProgressCallback
444 Intent(context, DownloadService::class.java), in createTestDirectlyOpenFile()
DCaptivePortalLoginActivityTest.java39 import static com.android.captiveportallogin.DownloadService.DOWNLOAD_ABORTED_REASON_FILE_TOO_LARGE;
144 private @Spy DownloadService mDownloadService = new DownloadService();
148 private static DownloadService.DownloadServiceBinder sDownloadServiceBinder;
288 sDownloadServiceBinder = mock(DownloadService.DownloadServiceBinder.class); in setUp()