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

/packages/apps/Exchange/src/com/android/exchange/adapter/
H A DAttachmentLoader.java54 public AttachmentLoader(EasSyncService service, PartRequest req) { argument
57 mAttachment = req.mAttachment;
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapObexServer.java149 public void onDisconnect(final HeaderSet req, final HeaderSet resp) { argument
151 if (V) logHeader(req);
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
H A DBluetoothOppObexServerSession.java581 public void onDisconnect(HeaderSet req, HeaderSet resp) { argument
H A DTestActivity.java532 public void onDisconnect(HeaderSet req, HeaderSet resp) { argument
/packages/apps/Email/emailsync/src/com/android/emailsync/
H A DAbstractSyncService.java283 public void addRequest(Request req) { argument
284 if (!mRequestQueue.contains(req)) {
285 mRequestQueue.offer(req);
289 public void removeRequest(Request req) { argument
290 mRequestQueue.remove(req);
H A DSyncManager.java1227 private void requestSync(Mailbox m, int reason, Request req) { argument
1242 if (req != null) {
1243 service.addRequest(req);
1990 static public void sendMessageRequest(Request req) { argument
1993 Message msg = Message.restoreMessageWithId(ssm, req.mMessageId);
2014 sendRequest(mailboxId, req);
2017 static public void sendRequest(long mailboxId, Request req) { argument
2022 startManualSync(mailboxId, SYNC_SERVICE_PART_REQUEST, req);
2025 service.addRequest(req);
2055 static public void startManualSync(long mailboxId, int reason, Request req) { argument
[all...]
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
H A DPublicApiFunctionalTest.java466 RecordedRequest req;
471 req = takeRequest();
472 assertNull(getHeaderValue(req, "Range"));
473 assertNull(getHeaderValue(req, "If-Match"));
479 req = takeRequest();
480 assertEquals("bytes=2-", getHeaderValue(req, "Range"));
481 assertEquals(A, getHeaderValue(req, "If-Match"));
755 private static String getHeaderValue(RecordedRequest req, String header) { argument
757 for (String h : req.getHeaders()) {
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
H A DBluetoothPbapObexServer.java229 public void onDisconnect(final HeaderSet req, final HeaderSet resp) { argument
231 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;
422 // The blob is stored in the buffer pointed by req.buffer, and the length
423 // is in stored in the req.length variable.
425 // The user can input a non-null value in req.buffer, and this method will
427 // will allocate a new buffer and assign it to req.buffer.
431 public boolean lookup(LookupRequest req) throws IOException { argument
433 if (lookupInternal(req.key, mActiveHashStart)) {
434 if (getBlob(mActiveDataFile, mFileOffset, req)) {
445 if (lookupInternal(req.key, mInactiveHashStart)) {
446 if (getBlob(mInactiveDataFile, mFileOffset, req)) {
477 getBlob(RandomAccessFile file, int offset, LookupRequest req) argument
[all...]
/packages/apps/Email/src/com/android/email/service/
H A DAttachmentDownloadService.java229 DownloadRequest req = (DownloadRequest)object;
230 return req.attachmentId == attachmentId;
283 DownloadRequest req = findDownloadRequest(att.mId);
290 if (req != null) {
296 remove(req);
302 if (req == null) {
303 req = new DownloadRequest(context, att);
304 add(req);
310 req.priority + ", priority time " + req
485 tryStartDownload(DownloadRequest req) argument
535 startDownload(EmailServiceProxy service, DownloadRequest req) argument
545 cancelDownload(DownloadRequest req) argument
[all...]
/packages/apps/Exchange/src/com/android/exchange/
H A DEasSyncService.java722 String req = os.toString();
752 post.setEntity(new StringEntity(req));
1066 * @param req the request (message id and "to" mailbox id)
1069 protected void messageMoveRequest(MessageMoveRequest req) throws IOException { argument
1071 Message msg = Message.restoreMessageWithId(mContext, req.mMessageId);
1084 Mailbox dstMailbox = Mailbox.restoreMailboxWithId(mContext, req.mMailboxId);
1106 ContentUris.withAppendedId(Message.CONTENT_URI, req.mMessageId),
1113 ContentUris.withAppendedId(Message.CONTENT_URI, req.mMessageId),
1121 Message.UPDATED_CONTENT_URI, req.mMessageId), null, null);
1141 * @param req th
1144 sendMeetingResponse(MeetingResponseRequest req) argument
[all...]
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DMediaProvider.java2039 MediaThumbRequest req = requestMediaThumbnail(path, origUri,
2041 if (req == null) {
2044 synchronized (req) {
2046 while (req.mState == MediaThumbRequest.State.WAIT) {
2047 req.wait();
2052 if (req.mState == MediaThumbRequest.State.DONE) {
2062 private boolean matchThumbRequest(MediaThumbRequest req, int pid, long id, long gid, argument
2066 return (req.mCallingPid == pid) &&
2067 (cancelAllGroupId || req.mGroupId == gid) &&
2068 (cancelAllOrigId || req
[all...]

Completed in 290 milliseconds