Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Exchange/src/com/android/exchange/
DEasSyncService.java434 protected boolean getValidateRedirect(EasResponse resp, HostAuth hostAuth) { in getValidateRedirect() argument
435 Header locHeader = resp.getHeader("X-MS-Location"); in getValidateRedirect()
472 EasResponse resp = sendHttpClientOptions(); in validateAccount() local
474 int code = resp.getStatus(); in validateAccount()
478 Header commands = resp.getHeader("MS-ASProtocolCommands"); in validateAccount()
479 Header versions = resp.getHeader("ms-asprotocolversions"); in validateAccount()
506 resp = sendHttpClientPost("FolderSync", s.toByteArray()); in validateAccount()
507 code = resp.getStatus(); in validateAccount()
513 } else if (resp.isProvisionError()) { in validateAccount()
520 resultCode = resp.isMissingCertificate() in validateAccount()
[all …]
DEasAccountService.java200 private boolean canHandleAccountMailboxRedirect(EasResponse resp) { in canHandleAccountMailboxRedirect() argument
204 if (ha != null && getValidateRedirect(resp, ha)) { in canHandleAccountMailboxRedirect()
252 EasResponse resp = sendHttpClientOptions(); in sync() local
254 int code = resp.getStatus(); in sync()
257 Header header = resp.getHeader("MS-ASProtocolCommands"); in sync()
259 header = resp.getHeader("ms-asprotocolversions"); in sync()
284 … } else if (code == EAS_REDIRECT_CODE && canHandleAccountMailboxRedirect(resp)) { in sync()
287 } else if (resp.isProvisionError()) { in sync()
289 } else if (resp.isAuthError()) { in sync()
297 resp.close(); in sync()
[all …]
DEasOutboxService.java439 EasResponse resp = sendHttpClientPost(cmd, inputEntity, SEND_MAIL_TIMEOUT); in sendMessage() local
442 int code = resp.getStatus(); in sendMessage()
450 new SendMailParser(resp.getInputStream(), modeTag); in sendMessage()
461 resp.close(); in sendMessage()
481 resp.close(); in sendMessage()
485 if (resp.isAuthError()) { in sendMessage()
487 } else if (resp.isProvisionError()) { in sendMessage()
494 resp.close(); in sendMessage()
/packages/apps/Exchange/src/com/android/exchange/service/
DEasAutoDiscover.java83 final EasResponse resp = getResponse(post, domain); in doAutodiscover() local
84 if (resp == null) { in doAutodiscover()
90 final int code = resp.getStatus(); in doAutodiscover()
97 final HostAuth hostAuth = parseAutodiscover(resp); in doAutodiscover()
118 resp.close(); in doAutodiscover()
179 EasResponse resp = doPost(post, true); in getResponse() local
180 if (resp == null) { in getResponse()
183 resp = doPost(post, true); in getResponse()
185 return resp; in getResponse()
197 final EasResponse resp; in doPost() local
[all …]
DEasMeetingResponder.java200 final EasResponse resp = sendHttpClientPost("MeetingResponse", s.toByteArray()); in sendResponse() local
202 final int status = resp.getStatus(); in sendResponse()
204 if (!resp.isEmpty()) { in sendResponse()
206 new MeetingResponseParser(resp.getInputStream()).parse(); in sendResponse()
218 } else if (resp.isAuthError()) { in sendResponse()
226 resp.close(); in sendResponse()
/packages/apps/Exchange/src/com/android/exchange/adapter/
DAttachmentLoader.java133 EasResponse resp = null; in loadAttachment() local
143 resp = mService.sendHttpClientPost("ItemOperations", s.toByteArray()); in loadAttachment()
152 resp = mService.sendHttpClientPost(cmd, null, EasSyncService.COMMAND_TIMEOUT); in loadAttachment()
155 int status = resp.getStatus(); in loadAttachment()
157 if (!resp.isEmpty()) { in loadAttachment()
158 InputStream is = resp.getInputStream(); in loadAttachment()
173 int len = resp.getLength(); in loadAttachment()
200 if (resp != null) { in loadAttachment()
201 resp.close(); in loadAttachment()
DEmailSyncAdapter.java431 EasResponse resp = mService.sendHttpClientPost("GetItemEstimate", in getEstimate()
434 int code = resp.getStatus(); in getEstimate()
436 if (!resp.isEmpty()) { in getEstimate()
437 InputStream is = resp.getInputStream(); in getEstimate()
445 resp.close(); in getEstimate()
/packages/apps/Nfc/src/com/android/nfc/handover/
DHandoverServer.java195 NdefMessage resp = mHandoverManager.tryHandoverRequest(handoverRequestMsg); in run() local
196 if (resp == null) { in run()
203 byte[] buffer = resp.toByteArray(); in run()
/packages/apps/Nfc/nxp/jni/
Dcom_android_nfc_NativeNfcTag.cpp1086 jbyte* resp = e->GetByteArrayElements(respBytes, NULL); in com_android_nfc_NativeNfcTag_doIsIsoDepNdefFormatable() local
1087 if (respLength == 9 && resp[7] == (jbyte)0x91 && in com_android_nfc_NativeNfcTag_doIsIsoDepNdefFormatable()
1088 resp[8] == (jbyte)0xAF) { in com_android_nfc_NativeNfcTag_doIsIsoDepNdefFormatable()
1091 e->ReleaseByteArrayElements(respBytes, (jbyte *)resp, JNI_ABORT); in com_android_nfc_NativeNfcTag_doIsIsoDepNdefFormatable()
Dcom_android_nfc_NativeNfcManager.cpp307 uint8_t resp[16]; in nfc_jni_initialize() local
457 gOutputParam.buffer = resp; in nfc_jni_initialize()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractDownloadProviderFunctionalTest.java219 void enqueueResponse(MockResponse resp) { in enqueueResponse() argument
220 mServer.enqueue(resp); in enqueueResponse()
/packages/apps/Mms/src/com/android/mms/transaction/
DRetrieveTransaction.java136 byte[] resp = getPdu(mContentLocation); in run()
139 RetrieveConf retrieveConf = (RetrieveConf) new PduParser(resp).parse(); in run()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSession.java581 public void onDisconnect(HeaderSet req, HeaderSet resp) { in onDisconnect() argument
583 resp.responseCode = ResponseCodes.OBEX_HTTP_OK; in onDisconnect()
DTestActivity.java532 public void onDisconnect(HeaderSet req, HeaderSet resp) { in onDisconnect() argument
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapObexServer.java150 public void onDisconnect(final HeaderSet req, final HeaderSet resp) { in onDisconnect() argument
154 resp.responseCode = ResponseCodes.OBEX_HTTP_OK; in onDisconnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java230 public void onDisconnect(final HeaderSet req, final HeaderSet resp) { in onDisconnect() argument
234 resp.responseCode = ResponseCodes.OBEX_HTTP_OK; in onDisconnect()
/packages/apps/Nfc/src/com/android/nfc/
DNfcService.java865 byte[] resp = doTransceiveNoLock(handle, cmd); in executeEeWipe()
866 if (resp == null) { in executeEeWipe()
/packages/inputmethods/LatinIME/dictionaries/
Dnb_wordlist.combined.gz1dictionary=main:nb,locale=nb,description=Norsk bokmål,date=1380519384 ...
Den_US_wordlist.combined.gz1dictionary=main:en_us,locale=en_US,description=English (US),date ...
Den_GB_wordlist.combined.gz1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ...
Den_wordlist.combined.gz
Dpt_BR_wordlist.combined.gz
Dnl_wordlist.combined.gz
Dcs_wordlist.combined.gz
Dda_wordlist.combined.gz1dictionary=main:da,locale=da,description=Dansk,date=1380519383, ...

12