/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
H A D | DownloadScanner.java | 106 for (ScanRequest req : mPending.values()) { 107 if (nowRealtime < req.requestRealtime + SCAN_TIMEOUT) { 122 public void requestScan(ScanRequest req) { argument 123 if (LOGV) Log.v(TAG, "requestScan() for " + req.path); 125 mPending.put(req.path, req); 128 req.exec(mConnection); 142 for (ScanRequest req : mPending.values()) { 143 req.exec(mConnection); 150 final ScanRequest req; [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
H A D | BluetoothOppObexServerSession.java | 573 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/pbapclient/ |
H A D | BluetoothPbapObexSession.java | 192 private void executeRequest(BluetoothPbapRequest req) { argument 194 req.execute(mClientSession); 200 if (req.isSuccess()) { 201 mSessionHandler.obtainMessage(OBEX_SESSION_REQUEST_COMPLETED, req).sendToTarget(); 203 mSessionHandler.obtainMessage(OBEX_SESSION_REQUEST_FAILED, req).sendToTarget();
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
H A D | WallpaperCropActivity.java | 162 final LoadRequest req = (LoadRequest) msg.obj; 165 if (req.src == null) { 175 req.result = new DrawableTileSource(this, 180 req.src.loadInBackground(new InBitmapProvider() { 217 req.result = new BitmapRegionTileSource(WallpaperCropActivity.this, req.src, 219 loadSuccess = req.src.getLoadingState() == BitmapSource.State.LOADED; 226 if (req == mCurrentLoadRequest) { 227 onLoadRequestComplete(req, loadSuccess); 229 addReusableBitmap(req 267 onLoadRequestComplete(LoadRequest req, boolean success) argument [all...] |
H A D | WallpaperPickerActivity.java | 115 protected void onLoadRequestComplete(LoadRequest req, boolean success) { argument 116 super.onLoadRequestComplete(req, success);
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
H A D | PublicApiFunctionalTest.java | 469 RecordedRequest req; 474 req = takeRequest(); 475 assertNull(getHeaderValue(req, "Range")); 476 assertNull(getHeaderValue(req, "If-Match")); 482 req = takeRequest(); 483 assertEquals("bytes=2-", getHeaderValue(req, "Range")); 484 assertEquals(A, getHeaderValue(req, "If-Match")); 778 private static String getHeaderValue(RecordedRequest req, String header) { argument 780 for (String h : req.getHeaders()) {
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
H A D | BluetoothMapObexServer.java | 380 public void onDisconnect(final HeaderSet req, final HeaderSet resp) { argument 382 if (V) logHeader(req);
|
/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/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/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/MediaProvider/src/com/android/providers/media/ |
H A D | MediaProvider.java | 2113 MediaThumbRequest req = requestMediaThumbnail(path, origUri, 2115 if (req != null) { 2116 synchronized (req) { 2118 while (req.mState == MediaThumbRequest.State.WAIT) { 2119 req.wait(); 2124 if (req.mState == MediaThumbRequest.State.DONE) { 2136 private boolean matchThumbRequest(MediaThumbRequest req, int pid, long id, long gid, argument 2140 return (req.mCallingPid == pid) && 2141 (cancelAllGroupId || req.mGroupId == gid) && 2142 (cancelAllOrigId || req [all...] |