3ce96a061c2c6e24f4ff3bd237e18c29fc0c0108 |
|
19-Feb-2015 |
Amit Mahajan <amitmahajan@google.com> |
Adding a new param to calculateLength for SMS to indicate if called for a segment of multipart msg. Encoding type is calculated separately for entire msg vs individual segments. Change is to avoid overwriting the calculated value for individual segment based. Bug: 19399335 Change-Id: I8e89b7596e9c7440ace0486eceb1252094c373fa
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/CdmaSmsTest.java
|
48a57c9ac6516c0f34a9593d6ffd64173fdf6953 |
|
10-Jan-2013 |
Jake Hamby <jhamby@google.com> |
Add frameworks-telephony test cases for CDMA SMS. Add test cases to verify support for Shift-JIS encoding/decoding for CDMA SMS BearerData. Also test whether reserved bearer data subparameters are properly skipped. $ runtest -c com.android.internal.telephony.cdma.sms.CdmaSmsTest \ frameworks-telephony The original version of this patch did not merge from AOSP to the internal tree because of changes to mock RIL files that have been removed. This patch contains only the change to CdmaSmsTest.java. Change-Id: Ib51d99c73c636467b970327e5c6af2d6a289c651
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/CdmaSmsTest.java
|
115632cc56f813bd21543f8532c763d7d2968046 |
|
31-Aug-2012 |
Jake Hamby <jhamby@google.com> |
Fix CDMA decoding of multipart UTF-16 SMS messages. 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
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/CdmaSmsTest.java
|
0825495a331bb44df395a0cdb79fab85e68db5d5 |
|
12-Jul-2012 |
Wink Saville <wink@google.com> |
Create telephony-common telephony-common was created by moving some of frameworks/base/telephony to: frameworks/opt/telephony Change-Id: I32cbb5eec1fa239c1587e055c8f7ef4fc48fb62c
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/cdma/sms/CdmaSmsTest.java
|