Lines Matching refs:Impl
289 Downloads.Impl._ID,
290 Downloads.Impl.COLUMN_MEDIAPROVIDER_URI,
300 Downloads.Impl.COLUMN_FILE_NAME_HINT,
301 Downloads.Impl._DATA,
518 values.put(Downloads.Impl.COLUMN_IS_PUBLIC_API, true);
522 values.put(Downloads.COLUMN_DESTINATION, Downloads.Impl.DESTINATION_FILE_URI);
541 values.put(Downloads.Impl.COLUMN_ALLOWED_NETWORK_TYPES, mAllowedNetworkTypes);
542 values.put(Downloads.Impl.COLUMN_ALLOW_ROAMING, mRoamingAllowed);
543 values.put(Downloads.Impl.COLUMN_IS_VISIBLE_IN_DOWNLOADS_UI, mIsVisibleInDownloadsUi);
552 values.put(Downloads.Impl.RequestHeaders.INSERT_KEY_PREFIX + index, headerString);
668 parts.add(statusClause("=", Downloads.Impl.STATUS_PAUSED_BY_APP));
669 parts.add(statusClause("=", Downloads.Impl.STATUS_WAITING_TO_RETRY));
670 parts.add(statusClause("=", Downloads.Impl.STATUS_WAITING_FOR_NETWORK));
671 parts.add(statusClause("=", Downloads.Impl.STATUS_QUEUED_FOR_WIFI));
684 selectionParts.add(Downloads.Impl.COLUMN_IS_VISIBLE_IN_DOWNLOADS_UI + " != '0'");
688 selectionParts.add(Downloads.Impl.COLUMN_DELETED + " != '1'");
717 private Uri mBaseUri = Downloads.Impl.CONTENT_URI;
734 mBaseUri = Downloads.Impl.ALL_DOWNLOADS_CONTENT_URI;
736 mBaseUri = Downloads.Impl.CONTENT_URI;
770 values.put(Downloads.Impl.COLUMN_DELETED, 1);
836 values.put(Downloads.Impl.COLUMN_CURRENT_BYTES, 0);
837 values.put(Downloads.Impl.COLUMN_TOTAL_BYTES, -1);
838 values.putNull(Downloads.Impl._DATA);
839 values.put(Downloads.Impl.COLUMN_STATUS, Downloads.Impl.STATUS_PENDING);
860 whereClause.append(Downloads.Impl._ID);
984 return getUnderlyingString(Downloads.Impl.COLUMN_MEDIAPROVIDER_URI);
992 long destinationType = getUnderlyingLong(Downloads.Impl.COLUMN_DESTINATION);
993 if (destinationType == Downloads.Impl.DESTINATION_FILE_URI) {
995 return getUnderlyingString(Downloads.Impl.COLUMN_FILE_NAME_HINT);
998 if (destinationType == Downloads.Impl.DESTINATION_EXTERNAL) {
1000 String localPath = getUnderlyingString(Downloads.Impl._DATA);
1008 long downloadId = getUnderlyingLong(Downloads.Impl._ID);
1019 return getUnderlyingLong(Downloads.Impl._ID);
1052 case Downloads.Impl.STATUS_WAITING_TO_RETRY:
1055 case Downloads.Impl.STATUS_WAITING_FOR_NETWORK:
1058 case Downloads.Impl.STATUS_QUEUED_FOR_WIFI:
1067 if ((400 <= status && status < Downloads.Impl.MIN_ARTIFICIAL_ERROR_STATUS)
1093 case Downloads.Impl.STATUS_CANNOT_RESUME:
1096 case Downloads.Impl.STATUS_FILE_ALREADY_EXISTS_ERROR:
1120 case Downloads.Impl.STATUS_PAUSED_BY_APP:
1121 case Downloads.Impl.STATUS_WAITING_TO_RETRY:
1122 case Downloads.Impl.STATUS_WAITING_FOR_NETWORK:
1123 case Downloads.Impl.STATUS_QUEUED_FOR_WIFI: