Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexClientSession.java339 int responseCode = -1; in sendFile() local
432 responseCode = putOperation.getResponseCode(); in sendFile()
434 if (responseCode == ResponseCodes.OBEX_HTTP_CONTINUE in sendFile()
435 || responseCode == ResponseCodes.OBEX_HTTP_OK) { in sendFile()
443 Log.i(TAG, "Remote reject, Response code is " + responseCode); in sendFile()
455 responseCode = putOperation.getResponseCode(); in sendFile()
456 if (V) Log.v(TAG, "Response code is " + responseCode); in sendFile()
457 if (responseCode != ResponseCodes.OBEX_HTTP_CONTINUE in sendFile()
458 && responseCode != ResponseCodes.OBEX_HTTP_OK) { in sendFile()
476 if (responseCode == ResponseCodes.OBEX_HTTP_FORBIDDEN in sendFile()
[all …]
DBluetoothOppObexServerSession.java584 resp.responseCode = ResponseCodes.OBEX_HTTP_OK; in onDisconnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMnsObexClient.java269 int responseCode = -1; in sendEventHandler() local
276 return responseCode; in sendEventHandler()
357 responseCode = putOperation.getResponseCode(); in sendEventHandler()
358 if (responseCode != -1) { in sendEventHandler()
359 if (V) Log.v(TAG, "Put response code " + responseCode); in sendEventHandler()
360 if (responseCode != ResponseCodes.OBEX_HTTP_OK) { in sendEventHandler()
361 Log.i(TAG, "Response error code is " + responseCode); in sendEventHandler()
373 return responseCode; in sendEventHandler()
DBluetoothMapObexServer.java295 resp.responseCode = ResponseCodes.OBEX_HTTP_OK; in onDisconnect()
/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/services/Mms/src/com/android/mms/service/
DMmsHttpClient.java174 final int responseCode = connection.getResponseCode(); in execute() local
176 Log.d(MmsService.TAG, "HTTP: " + responseCode + " " + responseMessage); in execute()
180 if (responseCode / 100 != 2) { in execute()
181 throw new MmsHttpException(responseCode, responseMessage); in execute()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadThread.java367 final int responseCode = conn.getResponseCode(); in executeDownload() local
368 switch (responseCode) { in executeDownload()
392 if (responseCode == HTTP_MOVED_PERM) { in executeDownload()
417 responseCode, conn.getResponseMessage()); in executeDownload()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/
DBluetoothPbapObexServer.java230 resp.responseCode = ResponseCodes.OBEX_HTTP_OK; in onDisconnect()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java3298 /*package*/native boolean atResponseCodeNative(int responseCode, int errorCode, in atResponseCodeNative() argument