Searched defs:req (Results 1 - 9 of 9) sorted by relevance

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppObexServerSession.java582 public void onDisconnect(HeaderSet req, HeaderSet resp) { argument
H A DTestActivity.java532 public void onDisconnect(HeaderSet req, HeaderSet resp) { argument
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapObexServer.java291 public void onDisconnect(final HeaderSet req, final HeaderSet resp) { argument
293 if (V) logHeader(req);
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DPublicApiFunctionalTest.java465 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/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapObexServer.java226 public void onDisconnect(final HeaderSet req, final HeaderSet resp) { argument
228 if (V) logHeader(req);
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DBlobCache.java60 // 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/Mms/src/com/android/mms/util/
H A DBlobCache.java60 // public void lookup(LookupRequest req) throws IOException;
424 // The blob is stored in the buffer pointed by req.buffer, and the length
425 // is in stored in the req.length variable.
427 // The user can input a non-null value in req.buffer, and this method will
429 // will allocate a new buffer and assign it to req.buffer.
433 public boolean lookup(LookupRequest req) throws IOException { argument
435 if (lookupInternal(req.key, mActiveHashStart)) {
436 if (getBlob(mActiveDataFile, mFileOffset, req)) {
447 if (lookupInternal(req.key, mInactiveHashStart)) {
448 if (getBlob(mInactiveDataFile, mFileOffset, req)) {
479 getBlob(RandomAccessFile file, int offset, LookupRequest req) argument
[all...]
/packages/apps/Email/provider_src/com/android/email/service/
H A DAttachmentService.java240 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 DMediaProvider.java2082 MediaThumbRequest req = requestMediaThumbnail(path, origUri,
2084 if (req != null) {
2085 synchronized (req) {
2087 while (req.mState == MediaThumbRequest.State.WAIT) {
2088 req.wait();
2093 if (req.mState == MediaThumbRequest.State.DONE) {
2105 private boolean matchThumbRequest(MediaThumbRequest req, int pid, long id, long gid, argument
2109 return (req.mCallingPid == pid) &&
2110 (cancelAllGroupId || req.mGroupId == gid) &&
2111 (cancelAllOrigId || req
[all...]

Completed in 131 milliseconds