Lines Matching refs:Impl
19 import static android.provider.Downloads.Impl.COLUMN_CONTROL;
20 import static android.provider.Downloads.Impl.COLUMN_DELETED;
21 import static android.provider.Downloads.Impl.COLUMN_STATUS;
22 import static android.provider.Downloads.Impl.CONTROL_PAUSED;
23 import static android.provider.Downloads.Impl.STATUS_BAD_REQUEST;
24 import static android.provider.Downloads.Impl.STATUS_CANCELED;
25 import static android.provider.Downloads.Impl.STATUS_CANNOT_RESUME;
26 import static android.provider.Downloads.Impl.STATUS_FILE_ERROR;
27 import static android.provider.Downloads.Impl.STATUS_HTTP_DATA_ERROR;
28 import static android.provider.Downloads.Impl.STATUS_INSUFFICIENT_SPACE_ERROR;
29 import static android.provider.Downloads.Impl.STATUS_PAUSED_BY_APP;
30 import static android.provider.Downloads.Impl.STATUS_QUEUED_FOR_WIFI;
31 import static android.provider.Downloads.Impl.STATUS_RUNNING;
32 import static android.provider.Downloads.Impl.STATUS_SUCCESS;
33 import static android.provider.Downloads.Impl.STATUS_TOO_MANY_REDIRECTS;
34 import static android.provider.Downloads.Impl.STATUS_UNHANDLED_HTTP_CODE;
35 import static android.provider.Downloads.Impl.STATUS_UNKNOWN_ERROR;
36 import static android.provider.Downloads.Impl.STATUS_WAITING_FOR_NETWORK;
37 import static android.provider.Downloads.Impl.STATUS_WAITING_TO_RETRY;
178 values.put(Downloads.Impl.COLUMN_URI, mUri);
179 values.put(Downloads.Impl._DATA, mFileName);
180 values.put(Downloads.Impl.COLUMN_MIME_TYPE, mMimeType);
181 values.put(Downloads.Impl.COLUMN_STATUS, mStatus);
182 values.put(Downloads.Impl.COLUMN_FAILED_CONNECTIONS, mNumFailed);
184 values.put(Downloads.Impl.COLUMN_TOTAL_BYTES, mTotalBytes);
185 values.put(Downloads.Impl.COLUMN_CURRENT_BYTES, mCurrentBytes);
188 values.put(Downloads.Impl.COLUMN_LAST_MODIFICATION, mSystemFacade.currentTimeMillis());
189 values.put(Downloads.Impl.COLUMN_ERROR_MSG, mErrorMsg);
266 if (mInfo.queryDownloadStatus() == Downloads.Impl.STATUS_SUCCESS) {
322 + Downloads.Impl.statusToString(mInfoDelta.mStatus) + ": "
373 logDebug("Finished with status " + Downloads.Impl.statusToString(mInfoDelta.mStatus));
387 if (Downloads.Impl.isStatusCompleted(mInfoDelta.mStatus)) {
668 if (Downloads.Impl.isStatusError(mInfoDelta.mStatus)) {
688 } else if (Downloads.Impl.isStatusSuccess(mInfoDelta.mStatus)) {
691 if (mInfo.mDestination != Downloads.Impl.DESTINATION_FILE_URI) {
790 Downloads.Impl.STATUS_FILE_ERROR, "Failed to generate filename: " + e);
901 * {@link android.provider.Downloads.Impl#STATUS_WAITING_TO_RETRY}.