summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* am 115632cc: Fix CDMA decoding of multipart UTF-16 SMS messages.Jake Hamby2012-08-311-20/+69
|\ | | | | | | | | * commit '115632cc56f813bd21543f8532c763d7d2968046': Fix CDMA decoding of multipart UTF-16 SMS messages.
| * Fix CDMA decoding of multipart UTF-16 SMS messages.Jake Hamby2012-08-311-20/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Recent changes to support CMAS over CDMA introduced a bug causing an exception to be thrown when decoding multipart UTF-16 encoded messages. This change fixes the exception by correctly subtracting the header size from the number of bytes to decode. It also adds more robust error handling to try to decode the maximum length possible instead of throwing an exception if the length is still larger than the user data length after subtracting the header. This also fixes a bug in the encoder, which was padding the UTF-16 user data to 16-bit alignment, which is incorrect (should be padded to an 8-bit boundary). The code happened to work because we always generated a UDH that was an even number of bytes (including length) so the padding was a no-op. The decoder works correctly. Bug: 6939151 Change-Id: I4000fa2f4703b39e5ed7e5bd8490828303ef8979
* | am 50b1206d: am cc0e5450: Merge "WspTypeDecoder: fixed decoding of content ↵Wink Saville2012-08-311-1/+21
|\ \ | |/ | | | | | | | | | | parameters" * commit '50b1206d5ab38003c0d63b7e6a3589bf00c6ceb5': WspTypeDecoder: fixed decoding of content parameters
| * am cc0e5450: Merge "WspTypeDecoder: fixed decoding of content parameters"Wink Saville2012-08-311-1/+21
| |\ | | | | | | | | | | | | * commit 'cc0e54506132e42f5e0ca2cfee0c399ba49ba149': WspTypeDecoder: fixed decoding of content parameters
| | * WspTypeDecoder: fixed decoding of content parametersJohan Redestig2012-08-301-1/+21
| | | | | | | | | | | | | | | | | | | | | The removed condition prevented any parameter to have 0 as integer value. Change-Id: Iaa8e106e49a51322c07f647f2f66bb7bd6055c89
* | | am 324dd8d1: am b8a13d30: Implement CMAS service category program results.Jake Hamby2012-07-251-3/+3
|\ \ \ | |/ / | | | | | | | | | * commit '324dd8d12e3c3df713e981119d8e88c6afefa962': Implement CMAS service category program results.
| * | Implement CMAS service category program results.Jake Hamby2012-07-251-3/+3
| |/ | | | | | | | | | | | | | | | | | | Correctly handle CDMA Service Category Program Data requests, and send the SCPT response to the message center. Parcel SCPD operations as an ArrayList instead of an array (current version will throw ClassCastException when the array is cast). Bug: 6853691 Change-Id: I949ea68891c78306059248832e59a593ab606e11
* | Merge "Revise CellInfo API's"Wink Saville2012-07-251-1/+3
|\ \ | |/ |/|
| * Revise CellInfo API'sWink Saville2012-07-181-1/+3
| | | | | | | | Change-Id: I35bc22caf4a6a2255f2ce122690823f8d602b359
| * Create telephony-commonWink Saville2012-07-1136-0/+11127
| | | | | | | | | telephony-common was created by moving some of frameworks/base/telephony to: frameworks/opt/telephony Change-Id: I32cbb5eec1fa239c1587e055c8f7ef4fc48fb62c
* Move SmsUsageMonitorShortCodeTest from frameworks/base/telephony/testsNaveen Kalla2012-07-181-0/+466
| | | | | | This test was missed out while migrating telephony code from frameworks/base. Change-Id: Id3a2add255057b8b977e48a4fa873b44c3ddc732
* Create telephony-common - DO NOT MERGEWink Saville2012-07-1736-0/+11127
telephony-common was created by moving some of frameworks/base/telephony to: frameworks/opt/telephony Change-Id: I32cbb5eec1fa239c1587e055c8f7ef4fc48fb62c