Home
last modified time | relevance | path

Searched refs:responseCode (Results 1 – 25 of 26) sorted by relevance

12

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java339 int responseCode = -1; in sendFile() local
424 responseCode = putOperation.getResponseCode(); in sendFile()
426 if (responseCode == ResponseCodes.OBEX_HTTP_CONTINUE in sendFile()
427 || responseCode == ResponseCodes.OBEX_HTTP_OK) { in sendFile()
435 Log.i(TAG, "Remote reject, Response code is " + responseCode); in sendFile()
446 responseCode = putOperation.getResponseCode(); in sendFile()
447 if (V) Log.v(TAG, "Response code is " + responseCode); in sendFile()
448 if (responseCode != ResponseCodes.OBEX_HTTP_CONTINUE in sendFile()
449 && responseCode != ResponseCodes.OBEX_HTTP_OK) { in sendFile()
471 if (responseCode == ResponseCodes.OBEX_HTTP_FORBIDDEN in sendFile()
[all …]
DBluetoothOppObexServerSession.java575 resp.responseCode = ResponseCodes.OBEX_HTTP_OK; in onDisconnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java392 int responseCode = -1; in sendEventHandler() local
399 return responseCode; in sendEventHandler()
480 responseCode = putOperation.getResponseCode(); in sendEventHandler()
481 if (responseCode != -1) { in sendEventHandler()
482 if (V) Log.v(TAG, "Put response code " + responseCode); in sendEventHandler()
483 if (responseCode != ResponseCodes.OBEX_HTTP_OK) { in sendEventHandler()
484 Log.i(TAG, "Response error code is " + responseCode); in sendEventHandler()
496 return responseCode; in sendEventHandler()
DBluetoothMapObexServer.java383 resp.responseCode = ResponseCodes.OBEX_HTTP_OK; in onDisconnect()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/network/
DBlockingHttpClient.java80 final int responseCode = mConnection.getResponseCode(); in execute() local
81 if (responseCode != HttpURLConnection.HTTP_OK) { in execute()
82 Log.w(TAG, "Response error: " + responseCode + ", Message: " in execute()
84 if (responseCode == HttpURLConnection.HTTP_UNAUTHORIZED) { in execute()
87 throw new HttpException(responseCode); in execute()
/packages/services/Telephony/src/com/android/phone/
DHfaLogic.java192 private void sendFinalResponse(int responseCode, String errorCode) { in sendFinalResponse() argument
195 extraStuff.putExtra(OtaUtils.EXTRA_OTASP_RESULT_CODE, responseCode); in sendFinalResponse()
197 if (responseCode == OTASP_FAILURE && errorCode != null) { in sendFinalResponse()
203 + responseCode); in sendFinalResponse()
/packages/apps/Email/provider_src/com/android/email/mail/store/
DImapConnection.java349 final String responseCode = response.getResponseCodeOrEmpty().getString(); in getCommandResponses() local
353 if (ImapConstants.UNAVAILABLE.equals(responseCode)) { in getCommandResponses()
357 throw new ImapException(toString, status, alert, responseCode); in getCommandResponses()
571 final String responseCode = response.getResponseCodeOrEmpty().getString(); in getOAuthResponse() local
572 if (ImapConstants.UNAVAILABLE.equals(responseCode)) { in getOAuthResponse()
DImapFolder.java295 String responseCode = copyResponse.getStringOrEmpty(0).getString(); in copyMessages() local
296 if (ImapConstants.COPYUID.equals(responseCode)) { in copyMessages()
1243 final ImapString responseCode = response.getResponseCodeOrEmpty(); in doSelect() local
1244 if (responseCode.is(ImapConstants.READ_ONLY)) { in doSelect()
1246 } else if (responseCode.is(ImapConstants.READ_WRITE)) { in doSelect()
DImapStore.java669 String responseCode) { in ImapException() argument
673 mResponseCode = responseCode; in ImapException()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DBluetoothPbapRequestPullVcardEntry.java76 protected void checkResponseCode(int responseCode) throws IOException { in checkResponseCode() argument
80 if (responseCode != ResponseCodes.OBEX_HTTP_NOT_FOUND && in checkResponseCode()
81 responseCode != ResponseCodes.OBEX_HTTP_NOT_ACCEPTABLE) { in checkResponseCode()
DBluetoothPbapRequest.java125 protected void checkResponseCode(int responseCode) throws IOException { in checkResponseCode() argument
/packages/services/Mms/src/com/android/mms/service/
DMmsHttpClient.java183 final int responseCode = connection.getResponseCode(); in execute() local
185 LogUtil.d(requestId, "HTTP: " + responseCode + " " + responseMessage); in execute()
189 if (responseCode / 100 != 2) { in execute()
190 throw new MmsHttpException(responseCode, responseMessage); in execute()
/packages/apps/Messaging/src/android/support/v7/mms/
DMmsHttpClient.java185 final int responseCode = connection.getResponseCode(); in execute() local
187 Log.d(MmsService.TAG, "HTTP: " + responseCode + " " + responseMessage); in execute()
191 if (responseCode / 100 != 2) { in execute()
192 throw new MmsHttpException(responseCode, responseMessage); in execute()
/packages/services/Telephony/src/com/android/phone/common/mail/store/
DImapConnection.java240 final String responseCode = response.getResponseCodeOrEmpty().getString(); in getCommandResponses() local
244 if (ImapConstants.UNAVAILABLE.equals(responseCode)) { in getCommandResponses()
248 throw new ImapException(toString, status, alert, responseCode); in getCommandResponses()
DImapStore.java137 String responseCode) { in ImapException() argument
141 mResponseCode = responseCode; in ImapException()
DImapFolder.java727 final ImapString responseCode = response.getResponseCodeOrEmpty(); in doSelect() local
728 if (responseCode.is(ImapConstants.READ_ONLY)) { in doSelect()
730 } else if (responseCode.is(ImapConstants.READ_WRITE)) { in doSelect()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java455 final int responseCode = conn.getResponseCode(); in executeDownload() local
456 switch (responseCode) { in executeDownload()
480 if (responseCode == HTTP_MOVED_PERM) { in executeDownload()
505 responseCode, conn.getResponseMessage()); in executeDownload()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DMapStepsFolder.java131 int responseCode = op.getResponseCode(); in validate() local
132 Assert.assertEquals(ResponseCodes.OBEX_HTTP_OK, responseCode); in validate()
DMapStepsConvo.java230 int responseCode = op.getResponseCode(); in validate() local
231 Assert.assertEquals(ResponseCodes.OBEX_HTTP_OK, responseCode); in validate()
DSdpManagerTest.java187 assertEquals(response.responseCode, ResponseCodes.OBEX_HTTP_OK); in testSdpSearchClient()
213 assertEquals(response.responseCode, ResponseCodes.OBEX_HTTP_OK); in testSdpSearchClient()
DObexTest.java328 int responseCode = op.getResponseCode(); in validate() local
329 Log.i(TAG, "response code: " + responseCode); in validate()
DObexTestServer.java73 reply.responseCode = result; in onDisconnect()
DMapObexTestServer.java128 reply.responseCode = result; in onDisconnect()
DSdpManagerTestServer.java93 reply.responseCode = result; in onDisconnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java234 resp.responseCode = ResponseCodes.OBEX_HTTP_OK; in onDisconnect()

12