Searched refs:StopRequestException (Results 1 – 3 of 3) sorted by relevance
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadThread.java | 204 public void writeToDatabaseOrThrow() throws StopRequestException { in writeToDatabaseOrThrow() 208 throw new StopRequestException(STATUS_PAUSED_BY_APP, "Download paused!"); in writeToDatabaseOrThrow() 210 throw new StopRequestException(STATUS_CANCELED, "Download deleted or missing!"); in writeToDatabaseOrThrow() 287 throw new StopRequestException(STATUS_WAITING_FOR_NETWORK, in run() 314 } catch (StopRequestException e) { in run() 406 private void executeDownload() throws StopRequestException { in executeDownload() 414 throw new StopRequestException(STATUS_BAD_REQUEST, e); in executeDownload() 423 throw new StopRequestException(STATUS_UNKNOWN_ERROR, "Unable to create SSLContext."); in executeDownload() 430 throw new StopRequestException(STATUS_BAD_REQUEST, in executeDownload() 458 throw new StopRequestException( in executeDownload() [all …]
|
D | StopRequestException.java | 28 class StopRequestException extends Exception { class 31 public StopRequestException(int finalStatus, String message) { in StopRequestException() method in StopRequestException 36 public StopRequestException(int finalStatus, Throwable t) { in StopRequestException() method in StopRequestException 41 public StopRequestException(int finalStatus, String message, Throwable t) { in StopRequestException() method in StopRequestException 50 public static StopRequestException throwUnhandledHttpError(int code, String message) in throwUnhandledHttpError() 51 throws StopRequestException { in throwUnhandledHttpError() 54 throw new StopRequestException(code, error); in throwUnhandledHttpError() 56 throw new StopRequestException(STATUS_UNHANDLED_REDIRECT, error); in throwUnhandledHttpError() 58 throw new StopRequestException(STATUS_UNHANDLED_HTTP_CODE, error); in throwUnhandledHttpError()
|
D | StorageUtils.java | 91 throws IOException, StopRequestException { in ensureAvailableSpace() 136 throw new StopRequestException(STATUS_INSUFFICIENT_SPACE_ERROR, in ensureAvailableSpace()
|