summaryrefslogtreecommitdiffstats
path: root/obex
Commit message (Collapse)AuthorAgeFilesLines
* Fix connection ID issue in Obex libTao Liejun2009-09-152-7/+7
| | | | ConnectionID should be consistent in one Obex session.
* Improve Obex compatibilityJackson Fan2009-08-192-1/+6
| | | | | Handle headers with excessive whilespace Send correct reponse code when client abort onPut
* Fix a bug introduced in obex cleanupTao Liejun2009-07-151-1/+1
| | | | | Avoid exception when an empty array is passed to convert to Unicode Before cleanup, there used to be an empty try/catch
* Fix minor obex bugs and re-format the commentsTao Liejun2009-07-1417-841/+493
| | | | | | | | | | re-format comments move connectible to connectable remove unnecessary throws remove not-used function ClientOperation.readResponse() fix client abort case for PUT set mOpen for PrivateOutputStream add to platform.xml
* Obex library cleanup, third passTao Liejun2009-07-0717-1395/+1118
| | | | | | | | - Change variable namings - Remove interface public modifier - Move 2 duplicate methods to ObexSession - Removed unused code and variables - Use static variables for some protocol defines
* Obex library cleanup, second pass.Nick Pelly2009-06-305-184/+152
| | | | | | | | | | | | | | o Use mMemberField variable naming as per style guide o ClientSession.trans is only used in the ctor, doesn't need to be a member o Rename connectionOpen to mOpen and isConnected to mObexConnected to reduce confusion o Refactor duplicated code into helper functions (setRequestActive()) o Fix whitespace around comment blocks o Change unnecessary public scope's to package private (eg setRequestInactive()) o Remove a redundant factory method ClientSession.createHeaderSet() o Rename OPTIMIZATION to TODO to match Android style o Rename java.io.IOException to IOException o Be consistent with variable naming - use header not headers
* Obex library cleanup, first pass.Nick Pelly2009-06-3020-717/+288
| | | | | | | | | | | | | | | | o Add Android.mk file. o Add @hide so it is not exposed in the public API. It is not yet in shape. o Prefer @throws to @exception o Do not use @version. This is meaningless in Android. o Prefer classes 'final' unless explicitly allowing inheritance (See "Effective Java" item 15) o Prefer CamelCaps java naming even for acronyms (OBEXHelper -> ObexHelper) o Use the built-in MD5 library. o Move ObexConstants into ObexHelper. o Remove unused variables. o Prefer stricter access priveleges. Most importantly, avoid public fields. o Don't use 'import java.io.*'. Name each class explicitly. o Delete commented out code. If its not used then remove it.
* Add javax.obex library, contributed by Motorola.Nick Pelly2009-06-3019-0/+7269
Based of a JSR-82 reference implementation. This check-in is 'as-is' from the source provided June 25. This code does not conform to Android style and quality guidelines. I will be working with Motorola to improve it. If it does not see substantial improvement in the Eclair timeframe it will be deleted.