/packages/apps/Email/provider_src/com/android/email/service/ |
H A D | AttachmentService.java | 240 final DownloadRequest req = (DownloadRequest)object; 241 return req.mAttachmentId == mAttachmentId; 471 for (DownloadRequest req: inProgressRequests) { 472 debugTrace("Checking in-progress request with id: %d", req.mAttachmentId); 473 final boolean shouldCancelDownload = validateDownloadRequest(req, callbackTimeout, 476 LogUtils.w(LOG_TAG, "Cancelling DownloadRequest #%d", req.mAttachmentId); 477 service.cancelDownload(req); 530 final DownloadRequest req = mDownloadsInProgress.get(attachmentId); 531 if (req != null) { 534 req 978 tryStartDownload(final DownloadRequest req) argument 1007 startDownload(final EmailServiceProxy service, final DownloadRequest req) argument 1018 cancelDownload(final DownloadRequest req) argument [all...] |
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadScanner.java | 85 for (ScanRequest req : mPending.values()) { 86 if (nowRealtime < req.requestRealtime + SCAN_TIMEOUT) { 104 final ScanRequest req = new ScanRequest(info.mId, info.mFileName, info.mMimeType); 105 mPending.put(req.path, req); 108 req.exec(mConnection); 122 for (ScanRequest req : mPending.values()) { 123 req.exec(mConnection); 130 final ScanRequest req; 132 req [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
H A D | WallpaperCropActivity.java | 167 final LoadRequest req = (LoadRequest) msg.obj; 169 req.src.loadInBackground(new InBitmapProvider() { 206 req.result = new BitmapRegionTileSource(getContext(), req.src, mTempStorageForDecoding); 211 if (req == mCurrentLoadRequest) { 212 onLoadRequestComplete(req, 213 req.src.getLoadingState() == BitmapSource.State.LOADED); 215 addReusableBitmap(req.result); 242 protected void onLoadRequestComplete(LoadRequest req, boolean success) { argument 246 mCropView.setTileSource(req [all...] |
H A D | WallpaperPickerActivity.java | 295 LoadRequest req = new LoadRequest(); 296 req.moveToLeft = false; 297 req.touchEnabled = false; 298 req.scaleProvider = new CropViewScaleProvider() { 305 req.result = new DrawableTileSource(a.getContext(), 307 a.onLoadRequestComplete(req, true); 366 protected void onLoadRequestComplete(LoadRequest req, boolean success) { argument 367 super.onLoadRequestComplete(req, success);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
H A D | BlobCache.java | 60 // public void lookup(LookupRequest req) throws IOException; 433 // The blob is stored in the buffer pointed by req.buffer, and the length 434 // is in stored in the req.length variable. 436 // The user can input a non-null value in req.buffer, and this method will 438 // will allocate a new buffer and assign it to req.buffer. 442 public boolean lookup(LookupRequest req) throws IOException { argument 444 if (lookupInternal(req.key, mActiveHashStart)) { 445 if (getBlob(mActiveDataFile, mFileOffset, req)) { 456 if (lookupInternal(req.key, mInactiveHashStart)) { 457 if (getBlob(mInactiveDataFile, mFileOffset, req)) { 488 getBlob(RandomAccessFile file, int offset, LookupRequest req) argument [all...] |
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
H A D | ContactRecipientPhotoManager.java | 69 final BindableMediaRequest<ImageResource> req = descriptor.buildAsyncMediaRequest( 90 req.bind(IMAGE_BYTES_REQUEST_STATIC_BINDING_ID); 92 Factory.get().getMediaResourceManager().requestMediaResourceAsync(req);
|
/packages/apps/Dialer/src/com/android/dialer/contactinfo/ |
H A D | ContactInfoCache.java | 70 ContactInfoRequest req = null; 73 req = mRequests.removeFirst(); 77 if (req != null) { 79 needRedraw |= queryContactInfo(req.number, req.countryIso, req.callLogInfo);
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | StorageTest.java | 228 final DownloadManager.Request req = getRequest(); 230 req.setDestinationToSystemCache(); 232 final Download download = enqueueRequest(req);
|
H A D | PublicApiFunctionalTest.java | 465 RecordedRequest req; 470 req = takeRequest(); 471 assertNull(getHeaderValue(req, "Range")); 472 assertNull(getHeaderValue(req, "If-Match")); 478 req = takeRequest(); 479 assertEquals("bytes=2-", getHeaderValue(req, "Range")); 480 assertEquals(A, getHeaderValue(req, "If-Match")); 754 private static String getHeaderValue(RecordedRequest req, String header) { argument 756 for (String h : req.getHeaders()) {
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
H A D | EasAutoDiscover.java | 167 HttpUriRequest req; 169 req = mConnection.makeGet(requestUri); 171 req = mConnection.makePost(requestUri, getRequestEntity(), 174 return req;
|
H A D | EasOperation.java | 463 HttpUriRequest req = mConnection.makePost(requestUri, getRequestEntity(), 465 return req;
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
H A D | MmsUtils.java | 2413 * @return Both the M-Send.req and the M-Send.conf for processing in the caller 2472 * Create M-Send.req for the MMS message to be sent. 2474 * @return the M-Send.req 2483 final SendReq req = new SendReq(); 2487 req.setFrom(new EncodedStringValue(lineNumber)); 2492 req.setTo(encodedNumbers); 2496 req.setSubject(new EncodedStringValue(message.getMmsSubject())); 2499 req.setDate(timestampMillis / 1000L); 2502 req.setBody(bodyInfo.mPduBody); 2504 req [all...] |
/packages/providers/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 2097 MediaThumbRequest req = requestMediaThumbnail(path, origUri, 2099 if (req != null) { 2100 synchronized (req) { 2102 while (req.mState == MediaThumbRequest.State.WAIT) { 2103 req.wait(); 2108 if (req.mState == MediaThumbRequest.State.DONE) { 2120 private boolean matchThumbRequest(MediaThumbRequest req, int pid, long id, long gid, argument 2124 return (req.mCallingPid == pid) && 2125 (cancelAllGroupId || req.mGroupId == gid) && 2126 (cancelAllOrigId || req [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
H A D | BluetoothPbapObexServer.java | 230 public void onDisconnect(final HeaderSet req, final HeaderSet resp) { argument 232 if (V) logHeader(req);
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppObexServerSession.java | 585 public void onDisconnect(HeaderSet req, HeaderSet resp) { argument
|
H A D | TestActivity.java | 532 public void onDisconnect(HeaderSet req, HeaderSet resp) { argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapObexServer.java | 379 public void onDisconnect(final HeaderSet req, final HeaderSet resp) { argument 381 if (V) logHeader(req);
|