History log of /frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmAlphabetTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ee60f3fb1b4e61ac8027293a658ba710e36d36b6 11-May-2011 Jake Hamby <jhamby@google.com> resolved conflicts for merge of 18cc814c to honeycomb-plus-aosp

Change-Id: I2b569ada3baec2dc486296623063bc2b504c5e96
b49a73dfc4c9817bba1f227e9330555acdf9b56f 16-Mar-2011 Jake Hamby <jhamby@google.com> Enable support for SMS national language shift tables.

Add support for encoding and decoding SMS 7 bit user data using the
national language shift tables defined in 3GPP TS 23.038 (GSM/UMTS only),
including the new tables added in Release 9 for Indic languages.

Decoding is always supported, but encoding is only enabled for the
specific language tables added to the new integer array resources
"config_sms_enabled_single_shift_tables" and
"config_sms_enabled_locking_shift_tables" defined in
frameworks/base/core/res/res/values/config.xml. The default empty arrays
should be overridden in an OEM overlay for the specific nationalities where
SMS national language shift table encoding is allowed/mandated (e.g. Turkey).
GsmAlphabet.countGsmSeptets() will try to find the most efficient encoding
among all combinations of enabled locking shift and single shift tables.
If no 7 bit encoding is possible, 16 bit UCS-2 encoding will be used.

This change also fixes a bug in the decoder: when an escape septet
is followed by a septet with no entry in the extension (single shift)
table, TS 23.038 Table 6.2.1.1 states that the MS shall display
the character in the main GSM 7 bit default alphabet table, or the
active national language locking shift table. Previously, we were
decoding this sequence as a space character. Two consecutive escape
septets will continue to decode as a space character, according to
Note 1 of table 6.2.1.1.

Change-Id: I4dab3f0ffe39f3df2064ed93c9c05f26e274d18b
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmAlphabetTest.java
b55df4471ed55a0e91dee79304f3b1209ffa4b35 05-Aug-2010 Sang-il, Lee <gendoh@google.com> Support MBCS characters in contacts and SMS messages that are stored in SIM cards.

Change-Id: I0438c5748a47512fc2a0e4b89ac85e30e3f5c6de
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmAlphabetTest.java
cbcd9be4104b3872902898b84fae92d1623fd8f1 20-Apr-2010 Jake Hamby <jhamby@google.com> Fix a few more Javadoc typos.

Change-Id: Id43fe2551ef53c1a0a779c6101ea0bc7c23e1f93
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmAlphabetTest.java
22e31e5b609136d5bf7d77b1dccd6b042b83ebdf 07-Jan-2010 Neal Nguyen <tommyn@google.com> Moving framework core tests closer to their source files.

Phase 2 of test case cleanup; distributing CoreTests files closer to their respective sources under frameworks.
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/GsmAlphabetTest.java