/packages/apps/Email/provider_src/com/android/email/service/ |
D | AttachmentService.java | 240 final DownloadRequest req = (DownloadRequest)object; in equals() 241 return req.mAttachmentId == mAttachmentId; in equals() 471 for (DownloadRequest req: inProgressRequests) { in watchdogAlarm() 472 debugTrace("Checking in-progress request with id: %d", req.mAttachmentId); in watchdogAlarm() 473 final boolean shouldCancelDownload = validateDownloadRequest(req, callbackTimeout, in watchdogAlarm() 476 LogUtils.w(LOG_TAG, "Cancelling DownloadRequest #%d", req.mAttachmentId); in watchdogAlarm() 477 service.cancelDownload(req); in watchdogAlarm() 530 final DownloadRequest req = mDownloadsInProgress.get(attachmentId); in loadAttachmentStatus() local 531 if (req != null) { in loadAttachmentStatus() 534 req.mLastStatusCode, statusCode); in loadAttachmentStatus() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/ |
D | BluetoothPbapClient.java | 405 BluetoothPbapRequest req = (BluetoothPbapRequest) msg.obj; in handleMessage() local 407 if (req instanceof BluetoothPbapRequestPullPhoneBookSize) { in handleMessage() 409 } else if (req instanceof BluetoothPbapRequestPullVcardListingSize) { in handleMessage() 411 } else if (req instanceof BluetoothPbapRequestPullPhoneBook) { in handleMessage() 413 } else if (req instanceof BluetoothPbapRequestPullVcardListing) { in handleMessage() 415 } else if (req instanceof BluetoothPbapRequestPullVcardEntry) { in handleMessage() 417 } else if (req instanceof BluetoothPbapRequestSetPath) { in handleMessage() 426 BluetoothPbapRequest req = (BluetoothPbapRequest) msg.obj; in handleMessage() local 428 if (req instanceof BluetoothPbapRequestPullPhoneBookSize) { in handleMessage() 429 int size = ((BluetoothPbapRequestPullPhoneBookSize) req).getSize(); in handleMessage() [all …]
|
D | BluetoothPbapObexSession.java | 192 private void executeRequest(BluetoothPbapRequest req) { in executeRequest() argument 194 req.execute(mClientSession); in executeRequest() 200 if (req.isSuccess()) { in executeRequest() 201 mSessionHandler.obtainMessage(OBEX_SESSION_REQUEST_COMPLETED, req).sendToTarget(); in executeRequest() 203 mSessionHandler.obtainMessage(OBEX_SESSION_REQUEST_FAILED, req).sendToTarget(); in executeRequest()
|
D | PbapPCEClient.java | 384 PullRequest req = (PullRequest) msg.obj; in handleMessage() local 385 req.onPullComplete(); in handleMessage()
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadScanner.java | 106 for (ScanRequest req : mPending.values()) { in hasPendingScans() 107 if (nowRealtime < req.requestRealtime + SCAN_TIMEOUT) { in hasPendingScans() 122 public void requestScan(ScanRequest req) { in requestScan() argument 123 if (LOGV) Log.v(TAG, "requestScan() for " + req.path); in requestScan() 125 mPending.put(req.path, req); in requestScan() 128 req.exec(mConnection); in requestScan() 142 for (ScanRequest req : mPending.values()) { in onMediaScannerConnected() 143 req.exec(mConnection); in onMediaScannerConnected() 150 final ScanRequest req; in onScanCompleted() local 152 req = mPending.remove(path); in onScanCompleted() [all …]
|
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
D | WallpaperCropActivity.java | 186 final LoadRequest req = (LoadRequest) msg.obj; in handleMessage() local 188 req.src.loadInBackground(new InBitmapProvider() { in handleMessage() 225 req.result = new BitmapRegionTileSource(getContext(), req.src, mTempStorageForDecoding); in handleMessage() 230 if (req == mCurrentLoadRequest) { in handleMessage() 231 onLoadRequestComplete(req, in handleMessage() 232 req.src.getLoadingState() == BitmapSource.State.LOADED); in handleMessage() 234 addReusableBitmap(req.result); in handleMessage() 263 protected void onLoadRequestComplete(LoadRequest req, boolean success) { in onLoadRequestComplete() argument 267 mCropView.setTileSource(req.result, null); in onLoadRequestComplete() 268 mCropView.setTouchEnabled(req.touchEnabled); in onLoadRequestComplete() [all …]
|
D | WallpaperPickerActivity.java | 346 LoadRequest req = new LoadRequest(); in onClick() local 347 req.moveToLeft = false; in onClick() 348 req.touchEnabled = false; in onClick() 349 req.scaleAndOffsetProvider = new CropViewScaleAndOffsetProvider(); in onClick() 350 req.result = new DrawableTileSource(a.getContext(), in onClick() 352 a.onLoadRequestComplete(req, true); in onClick() 471 protected void onLoadRequestComplete(LoadRequest req, boolean success) { 472 super.onLoadRequestComplete(req, success);
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | BlobCache.java | 442 public boolean lookup(LookupRequest req) throws IOException { in lookup() argument 444 if (lookupInternal(req.key, mActiveHashStart)) { in lookup() 445 if (getBlob(mActiveDataFile, mFileOffset, req)) { in lookup() 456 if (lookupInternal(req.key, mInactiveHashStart)) { in lookup() 457 if (getBlob(mInactiveDataFile, mFileOffset, req)) { in lookup() 460 if (mActiveBytes + BLOB_HEADER_SIZE + req.length > mMaxBytes in lookup() 467 insertInternal(req.key, req.buffer, req.length); in lookup() 489 LookupRequest req) throws IOException { in getBlob() argument 502 if (blobKey != req.key) { in getBlob() 517 if (req.buffer == null || req.buffer.length < length) { in getBlob() [all …]
|
/packages/apps/Dialer/src/com/android/dialer/contactinfo/ |
D | ContactInfoCache.java | 70 ContactInfoRequest req = null; in run() 73 req = mRequests.removeFirst(); in run() 77 if (req != null) { in run() 79 needRedraw |= queryContactInfo(req.number, req.countryIso, req.callLogInfo); in run()
|
/packages/apps/Messaging/src/com/android/messaging/ui/contact/ |
D | ContactRecipientPhotoManager.java | 69 final BindableMediaRequest<ImageResource> req = descriptor.buildAsyncMediaRequest( in populatePhotoBytesAsync() 90 req.bind(IMAGE_BYTES_REQUEST_STATIC_BINDING_ID); in populatePhotoBytesAsync() 92 Factory.get().getMediaResourceManager().requestMediaResourceAsync(req); in populatePhotoBytesAsync()
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | PublicApiFunctionalTest.java | 469 RecordedRequest req; in testEtagChanged() local 474 req = takeRequest(); in testEtagChanged() 475 assertNull(getHeaderValue(req, "Range")); in testEtagChanged() 476 assertNull(getHeaderValue(req, "If-Match")); in testEtagChanged() 482 req = takeRequest(); in testEtagChanged() 483 assertEquals("bytes=2-", getHeaderValue(req, "Range")); in testEtagChanged() 484 assertEquals(A, getHeaderValue(req, "If-Match")); in testEtagChanged() 778 private static String getHeaderValue(RecordedRequest req, String header) { in getHeaderValue() argument 780 for (String h : req.getHeaders()) { in getHeaderValue()
|
D | StorageTest.java | 230 final DownloadManager.Request req = getRequest(); in prepareAndRunDownload() local 232 req.setDestinationToSystemCache(); in prepareAndRunDownload() 234 final Download download = enqueueRequest(req); in prepareAndRunDownload()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 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.setMessageSize(bodyInfo.mMessageSize); 2506 req.setMessageClass(PduHeaders.MESSAGE_CLASS_PERSONAL_STR.getBytes()); 2508 req.setExpiry(expiryTime); 2510 req.setPriority(priority); [all …]
|
/packages/providers/MediaProvider/src/com/android/providers/media/ |
D | MediaProvider.java | 2101 MediaThumbRequest req = requestMediaThumbnail(path, origUri, in waitForThumbnailReady() local 2103 if (req != null) { in waitForThumbnailReady() 2104 synchronized (req) { in waitForThumbnailReady() 2106 while (req.mState == MediaThumbRequest.State.WAIT) { in waitForThumbnailReady() 2107 req.wait(); in waitForThumbnailReady() 2112 if (req.mState == MediaThumbRequest.State.DONE) { in waitForThumbnailReady() 2124 private boolean matchThumbRequest(MediaThumbRequest req, int pid, long id, long gid, in matchThumbRequest() argument 2128 return (req.mCallingPid == pid) && in matchThumbRequest() 2129 (cancelAllGroupId || req.mGroupId == gid) && in matchThumbRequest() 2130 (cancelAllOrigId || req.mOrigId == id) && in matchThumbRequest() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | BluetoothPbapObexServer.java | 230 public void onDisconnect(final HeaderSet req, final HeaderSet resp) { in onDisconnect() argument 232 if (V) logHeader(req); in onDisconnect()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | TestActivity.java | 532 public void onDisconnect(HeaderSet req, HeaderSet resp) { in onDisconnect() argument
|
D | BluetoothOppObexServerSession.java | 573 public void onDisconnect(HeaderSet req, HeaderSet resp) { in onDisconnect() argument
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapObexServer.java | 379 public void onDisconnect(final HeaderSet req, final HeaderSet resp) { in onDisconnect() argument 381 if (V) logHeader(req); in onDisconnect()
|
/packages/services/Car/bluetooth/bt-map-service/ |
D | bt_hci_startup_issues.txt | 13770 <3>[ 8.169006] diag: unable to alloc USB req for ch 1 err:-19 13771 <3>[ 8.169036] diag: unable to alloc USB req for ch 4 err:-19
|