Searched refs:DownloadInfo (Results 1 – 6 of 6) sorted by relevance
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadNotifier.java | 119 public void updateWith(Collection<DownloadInfo> downloads) { in updateWith() 125 private void updateWithLocked(Collection<DownloadInfo> downloads) { in updateWithLocked() 129 final Multimap<String, DownloadInfo> clustered = ArrayListMultimap.create(); in updateWithLocked() 130 for (DownloadInfo info : downloads) { in updateWithLocked() 140 final Collection<DownloadInfo> cluster = clustered.get(tag); in updateWithLocked() 178 final DownloadInfo info = cluster.iterator().next(); in updateWithLocked() 213 for (DownloadInfo info : cluster) { in updateWithLocked() 242 final DownloadInfo info = cluster.iterator().next(); in updateWithLocked() 272 for (DownloadInfo info : cluster) { in updateWithLocked() 309 private static CharSequence getDownloadTitle(Resources res, DownloadInfo info) { in getDownloadTitle() [all …]
|
D | DownloadService.java | 110 private final Map<Long, DownloadInfo> mDownloads = Maps.newHashMap(); 363 final DownloadInfo.Reader reader = new DownloadInfo.Reader(resolver, cursor); in updateLocked() 369 DownloadInfo info = mDownloads.get(id); in updateLocked() 436 private DownloadInfo insertDownloadLocked(DownloadInfo.Reader reader, long now) { in insertDownloadLocked() 437 final DownloadInfo info = reader.newDownloadInfo(this, mSystemFacade, mNotifier); in insertDownloadLocked() 450 private void updateDownload(DownloadInfo.Reader reader, DownloadInfo info, long now) { in updateDownload() 462 DownloadInfo info = mDownloads.get(id); in deleteDownloadLocked() 494 final DownloadInfo info = mDownloads.get(id); in dump()
|
D | DownloadInfo.java | 52 public class DownloadInfo { class 65 public DownloadInfo newDownloadInfo( in newDownloadInfo() 67 final DownloadInfo info = new DownloadInfo(context, systemFacade, notifier); in newDownloadInfo() 73 public void updateFromDatabase(DownloadInfo info) { in updateFromDatabase() 114 private void readRequestHeaders(DownloadInfo info) { in readRequestHeaders() 139 private void addHeader(DownloadInfo info, String header, String value) { in addHeader() 261 private DownloadInfo(Context context, SystemFacade systemFacade, DownloadNotifier notifier) { in DownloadInfo() method in DownloadInfo
|
D | DownloadThread.java | 63 import com.android.providers.downloads.DownloadInfo.NetworkState; 113 private final DownloadInfo mInfo; 135 public DownloadInfoDelta(DownloadInfo info) { in DownloadInfoDelta() 208 DownloadInfo info) { in DownloadThread() 224 if (DownloadInfo.queryDownloadStatus(mContext.getContentResolver(), mId) in run()
|
D | SizeLimitActivity.java | 96 mCurrentIntent.getExtras().getBoolean(DownloadInfo.EXTRA_IS_WIFI_REQUIRED); in showDialog() 127 mCurrentIntent.getExtras().getBoolean(DownloadInfo.EXTRA_IS_WIFI_REQUIRED); in onClick()
|
D | DownloadScanner.java | 101 public void requestScan(DownloadInfo info) { in requestScan()
|