Home
last modified time | relevance | path

Searched refs:req (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Mms/src/com/android/mms/transaction/
DHttpUtils.java123 HttpRequest req = null; in httpConnection() local
133 req = post; in httpConnection()
136 req = new HttpGet(url); in httpConnection()
151 req.setParams(params); in httpConnection()
154 req.addHeader(HDR_KEY_ACCEPT, HDR_VALUE_ACCEPT); in httpConnection()
160 req.addHeader(xWapProfileTagName, xWapProfileUrl); in httpConnection()
189 req.addHeader(name, value); in httpConnection()
194 req.addHeader(HDR_KEY_ACCEPT_LANGUAGE, HDR_VALUE_ACCEPT_LANGUAGE); in httpConnection()
196 HttpResponse response = client.execute(target, req); in httpConnection()
/packages/apps/Email/src/com/android/exchange/
DAbstractSyncService.java289 public void addPartRequest(PartRequest req) { in addPartRequest() argument
291 mPartRequests.add(req); in addPartRequest()
296 public void removePartRequest(PartRequest req) { in removePartRequest() argument
298 mPartRequests.remove(req); in removePartRequest()
DEasSyncService.java305 protected void getAttachment(PartRequest req) throws IOException { in getAttachment() argument
306 Attachment att = req.att; in getAttachment()
318 File f = (req.destination != null) in getAttachment()
319 ? new File(req.destination) in getAttachment()
320 : createUniqueFileInternal(req.destination, att.mFileName); in getAttachment()
332 mPendingPartRequest = req; in getAttachment()
375 String contentUriString = (req.contentUriString != null) in getAttachment()
376 ? req.contentUriString in getAttachment()
999 PartRequest req = null; in sync() local
1004 req = mPartRequests.get(0); in sync()
[all …]
DSyncManager.java1292 private void startService(Mailbox m, int reason, PartRequest req) { in startService() argument
1301 if (req != null) { in startService()
1302 service.addPartRequest(req); in startService()
1669 static public void partRequest(PartRequest req) {
1671 Message msg = Message.restoreMessageWithId(INSTANCE, req.emailId);
1679 service = startManualSync(mailboxId, SYNC_SERVICE_PART_REQUEST, req);
1682 service.addPartRequest(req);
1736 static public AbstractSyncService startManualSync(long mailboxId, int reason, PartRequest req) { in startManualSync() argument
1744 INSTANCE.startService(m, reason, req); in startManualSync()
/packages/apps/IM/src/com/android/im/imps/
DHttpDataChannel.java375 HttpPost req = new HttpPost(mPostUri); in trySend() local
376 req.addHeader(mContentTypeHeader); in trySend()
378 req.addHeader(mMsisdnHeader); in trySend()
381 req.setEntity(entity); in trySend()
393 HttpResponse res = mHttpClient.execute(req); in trySend()
DImpsContactListManager.java475 Primitive req = new Primitive(ImpsTags.ListManage_Request); in buildListManageRequest() local
476 req.addElement(((ImpsAddress)list.getAddress()).toPrimitiveElement()); in buildListManageRequest()
477 req.addElement(ImpsTags.ReceiveList, false); in buildListManageRequest()
481 PrimitiveElement addList = req.addElement(ImpsTags.AddNickList); in buildListManageRequest()
492 PrimitiveElement removeList = req.addElement(ImpsTags.RemoveNickList); in buildListManageRequest()
501 PrimitiveElement requestProps = req.addElement(ImpsTags.ContactListProperties); in buildListManageRequest()
505 return req; in buildListManageRequest()
/packages/apps/Mms/src/com/android/mms/data/
DWorkingMessage.java1095 SendReq req = new SendReq(); in makeSendReq() local
1098 req.setTo(encodedNumbers); in makeSendReq()
1102 req.setSubject(new EncodedStringValue(subject.toString())); in makeSendReq()
1105 req.setDate(System.currentTimeMillis() / 1000L); in makeSendReq()
1107 return req; in makeSendReq()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaProvider.java925 MediaThumbRequest req = requestMediaThumbnail(path, origUri, in waitForThumbnailReady() local
927 synchronized (req) { in waitForThumbnailReady()
929 while (req.mState == MediaThumbRequest.State.WAIT) { in waitForThumbnailReady()
930 req.wait(); in waitForThumbnailReady()
935 if (req.mState == MediaThumbRequest.State.DONE) { in waitForThumbnailReady()
1619 MediaThumbRequest req = new MediaThumbRequest( in requestMediaThumbnail() local
1621 mMediaThumbQueue.add(req); in requestMediaThumbnail()
1625 return req; in requestMediaThumbnail()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java226 public void onDisconnect(final HeaderSet req, final HeaderSet resp) { in onDisconnect() argument
228 if (V) logHeader(req); in onDisconnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSession.java536 public void onDisconnect(HeaderSet req, HeaderSet resp) { in onDisconnect() argument
DTestActivity.java534 public void onDisconnect(HeaderSet req, HeaderSet resp) { in onDisconnect() argument