Searched refs:req2 (Results 1 – 1 of 1) sorted by relevance
266 public int compare(DownloadRequest req1, DownloadRequest req2) { in compare() argument268 if (req1.mPriority != req2.mPriority) { in compare()269 res = (req1.mPriority < req2.mPriority) ? -1 : 1; in compare()271 if (req1.mCreatedTime == req2.mCreatedTime) { in compare()274 res = (req1.mCreatedTime < req2.mCreatedTime) ? -1 : 1; in compare()