b6c5aef338d7754194c44d7303281302017134e0 |
|
20-Jun-2017 |
fionaxu <fionaxu@google.com> |
Handle invalid destination address gracefully Bug: 37578305 Test: runtest --path frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/GsmSmsDispatcherTest.java --test-method testSendTextWithInvalidDestAddr Change-Id: I2e79acb66178586d29dc89ad018f2726ed654a85
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
4980bf4aff8d49ac4e05444a6ef40ea1536f1afb |
|
14-Feb-2017 |
Dan Willemsen <dwillemsen@google.com> |
Merge branch 'stage-telephony-refactor' into master Bug: 33644781 Change-Id: If571e3ad9432035811714e3a92d9dfff39311c61
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a |
|
10-Jul-2012 |
Wink Saville <wink@google.com> |
Create telephony-common and mms-common These have been created to reduce the size and complexity of frameworks/base. mms-common was created by moving all of frameworks/base/core/java/com/google/android/mms to: frameworks/opt/mms telephony-common was created by moving some of frameworks/base/telephony to: frameworks/opt/telephony Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
bd7836846c1e5d3610ba6c26686674d429a4316c |
|
16-Nov-2011 |
Jake Hamby <jhamby@google.com> |
am 7d4046e9: Merge "Fix 3GPP SMS send failure for 7-bit national language tables." into ics-mr0 * commit '7d4046e9b7b95e1d5de12a54109b44d8305a6fdc': Fix 3GPP SMS send failure for 7-bit national language tables.
|
87d14a1756f2ff4abdc107de35d06739245a606e |
|
15-Nov-2011 |
Jake Hamby <jhamby@google.com> |
Fix 3GPP SMS send failure for 7-bit national language tables. Fix a NullPointerException when sending a single-part SMS containing characters in one of the enabled national language tables. Also added a few log messages for several error cases to help with debugging any future problems in the SMS dispatcher. Bug: 5553544 Change-Id: I61c1cbe297b2e222027f0db7c833df6a03c2974a
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
ac09d2af145b4d820a34f5e7628bc42e2e211bdb |
|
01-Oct-2011 |
Jake Hamby <jhamby@google.com> |
Add support for SMS-PP data download to USIM. Devices supporting IMS may receive SMS-PP data download messages which are normally handled in the radio baseband. Add support to framework for these messages, passing the data to the UICC and sending the response data as part of the SMS ACK. Change-Id: I1da76982c6f8c402f82a6f535591e614f4e0de18
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
df0c2a94b51ead16a8b7c7b3159295bc978d9831 |
|
29-Sep-2011 |
sj0110.kim@samsung.com(sophia kim) <sj0110.kim@samsung.com> |
Change DCS of MO SMS to the correct value for UCS-2 encoding. An incorrect value for TP-Data-Coding-Scheme was used for MO SMS with UCS-2 encoding. According to 3GPP TS 23.038 section 4, when bit 4 is set to 0, bits 0 and 1 are reserved and have no message class meaning. We were setting those bits to 1, when they should be set to 0. This change is required to pass a GCF test case. Change-Id: If47361f95b0e14accc6220854783dcff3d82abf6
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
b7945cae5ad0feaad09378d0db77f2b3105e5235 |
|
22-Sep-2011 |
Jake Hamby <jhamby@google.com> |
Enable support for multiple SMSDispatchers in CDMALTEPhone. Refactor framework to support multiple SMSDispatcher objects on dual-mode devices that require support for both 3GPP and 3GPP2 format SMS messages. Each dispatcher registers to receive events for the appropriate message format. Note: All applications which handle incoming SMS messages by processing the SMS_RECEIVED_ACTION broadcast intent MUST pass the "format" extra from the intent into the new createPdu() method in android.telephony.SmsMessage that takes an extra format parameter. This is required in order to correctly decode the PDU on devices which require support for both 3GPP and 3GPP2 formats at the same time, such as CDMA/LTE devices and GSM/CDMA world phones. - moved code to manage device storage events from SMSDispatcher to a new class, SmsStorageMonitor, which is shared among all dispatchers. - moved code to monitor per-application outgoing SMS usage from SMSDispatcher.SmsCounter to a new class, SmsUsageMonitor, which is shared among all dispatchers. - fixed a bug that prevented CDMALTEPhone from setting the MCC/MNC operator numeric value in the telephony provider from the UICC, as GSMPhone does, when the SIM records have loaded. Change-Id: I2789ac07b6ca2948138bca7f75481f9b31514f20
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
afd28ac6ecec88065968fff66b8fc1a10e8f28ac |
|
11-May-2011 |
Jake Hamby <jhamby@google.com> |
am ee60f3fb: resolved conflicts for merge of 18cc814c to honeycomb-plus-aosp * commit 'ee60f3fb1b4e61ac8027293a658ba710e36d36b6': Enable support for SMS national language shift tables.
|
ee60f3fb1b4e61ac8027293a658ba710e36d36b6 |
|
11-May-2011 |
Jake Hamby <jhamby@google.com> |
resolved conflicts for merge of 18cc814c to honeycomb-plus-aosp Change-Id: I2b569ada3baec2dc486296623063bc2b504c5e96
|
18cc814c94edb188b73a92f0d34878d9dc054ff6 |
|
05-May-2011 |
Jake Hamby <jhamby@google.com> |
am 4d53cb02: Merge "Enable support for SMS national language shift tables." into gingerbread * commit '4d53cb02168fe35104d7e644dd9b3efd8ca4c91b': Enable support for SMS national language shift tables.
|
43a17654cf4bfe7f1ec22bd8b7b32daccdf27c09 |
|
07-Apr-2011 |
Joe Onorato <joeo@google.com> |
Remove the deprecated things from Config.java. These haven't been working since before 1.0. Change-Id: Ic2e8fa68797ea9d486f4117f3d82c98233cdab1e
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
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/java/com/android/internal/telephony/gsm/SmsMessage.java
|
aad6f806c5e3112eecc090272d76dce92a3bbcbb |
|
16-Jun-2010 |
Erik Zivkovic <erik.zivkovic@sonyericsson.com> |
Support for KSC5601 on SIM. Korean phones write to the ADN record of the SIM in a non-standard way. When UCS2 is not used, the alphaTag will be written in the KSC5601 encoding. This contribution adds support for reading that format when a Korean SIM card is used. Also adds support for KSC5601 in SMS. Change-Id: I81a4a6949359b4d23a937ac2d813bafed2b85ff6
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.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/java/com/android/internal/telephony/gsm/SmsMessage.java
|
a774f5817b5a24f5ccbb15c97fc4d5038310245b |
|
16-Aug-2010 |
Jake Hamby <jhamby@google.com> |
resolved conflicts for merge of 31202b1a to master Change-Id: Ia8ae32c5ebcd13843ed9cc82c80bf551b38e586f
|
31202b1a40e7daccf69e284492494f9ff739f324 |
|
14-Aug-2010 |
Jake Hamby <jhamby@google.com> |
am 3f442ece: Merge "Fix character count bug and Javadoc typos in SMS (with test cases)" into gingerbread Merge commit '3f442ece257d416b48f7803a4cc263f0215faa0d' into gingerbread-plus-aosp * commit '3f442ece257d416b48f7803a4cc263f0215faa0d': Fix character count bug and Javadoc typos in SMS (with test cases)
|
17f616823a562ceb3a008f91e05d43bc56d37cae |
|
13-Aug-2010 |
Jake Hamby <jhamby@google.com> |
Fix character count bug and Javadoc typos in SMS (with test cases) Fix a character count bug I discovered while working on related SMS bugs. Includes a new set of test cases to verify the fix for the buggy calculateLength() methods ("runtest frameworks-telephony"). You can also verify that the counter works properly in the Mms app by typing characters until the boundary is crossed where an additional message part is required. The counter should count down to 0 characters remaining before increasing the message count. Change-Id: I4de68b82dfc53dcae094865798f2c0235a355d43
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
a2d423a40fe1c5fd83828cfe0b836c16aa06266c |
|
14-Jul-2010 |
The Android Open Source Project <initial-contribution@android.com> |
am d7da5164: merge from open-source master Merge commit 'd7da5164ba7744992fbc893c1c812614b0d57d8c' * commit 'd7da5164ba7744992fbc893c1c812614b0d57d8c': Telephony: Process MT SMS with MTI set to 3
|
18804b3fe4133e4e5c29118eac9dc1d426220db3 |
|
26-May-2010 |
Alex Yakavenka <ayakav@codeaurora.org> |
Telephony: Process MT SMS with MTI set to 3 Change-Id: Ie57a9465d41a3bd2c625ccf6e675af400be6d294
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
2af05feaa323b70254666522e3442f5f2012e4ec |
|
07-May-2010 |
The Android Open Source Project <initial-contribution@android.com> |
am e107c141: am 9d164dc5: am f4dffd8a: merge from open-source master
|
145ff609de3206b585819ef974fab20cdc2d9f5e |
|
16-Apr-2010 |
Jake Hamby <jhamby@google.com> |
Spelling corrections and other minor cosmetic cleanups. - Fixed a bunch of typos in comments (plus a few variable names) - Removed unused import lines from telephony classes - Added @Override attribute to overriding methods - Made SmsMessage.PduParser inner class private & deleted unused constructor - Added type specifiers to declarations of ArrayList and HashMap - SimulatedCommands.getRegistrationState() had an ArrayIndexOutOfBoundsException trying to write to index 14 of a 14-element array. I removed the out-of-bounds assignment. Change-Id: I054b5156aa64ab6639028d5b45a7e688b2deee08
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
c16889dc0034daaf50b2307c4de6c16c4964f30c |
|
24-Mar-2010 |
Naveen Kalla <nkalla@codeaurora.org> |
Type Zero Sms should not be displayed/stored/notified. Type Zero messages indicated by TP_PID field set to value 0x40, should not be displayed/stored/notified. They should only be acknowledged.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
0e200c3cbed83283c79703b552fe8e3d49040f10 |
|
25-Nov-2009 |
Bai Tao <michaelbai@google.com> |
Sending UCS2 encoded SMS correctly http://b/2285139
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
1fa7fae1399f735ea15242484fb5def187e07fde |
|
24-Oct-2009 |
Gilles Duboscq <gilwooden@gmail.com> |
Make multipart message follow 3GPP TS 23.040 V9.0.0 (2009-06), section 9.2.3.24.1 : all the parts should have the same encoding. Fixes b/2040561
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
1f952a178db86559ff4bab79c4a9b5fae18096bf |
|
25-Aug-2009 |
Tammo Spalink <tammo@google.com> |
Move SMS pdu creation fully into the central Phone process. Previously pdu creation was haphazardly done sometimes by the app and sometimes centrally by the phone process -- specifically the phone process did creation for multipart texts. This change gets rid of the previous IPC interface for sending raw pdus to SMSDispatch in the phone process, and instead makes everything work like multipart messages worked before, namely the structured data is passed and pdu encoding done centrally. The motivation for this was the need to ensure that CDMA message id numbers were strictly monotonic, including across reboots, which necessitated central state in the form of a system property, which could in turn only be modified by the phone process. Hence, this (in part) addresses issue: http://buganizer/issue?id=2075760 Change-Id: I94ca207b6e657c465e8472534704db8646ee277c
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
9688c6046fdbf6a24e3541bd6342995b4605fd5d |
|
12-Aug-2009 |
Wink Saville <wink@google.com> |
Rename bcdByteToInt to gsmBcdByteToInt and beBcdByteToInt to cdmaBcdByteToInt.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
7f304d2cce936ac273aaa4d1ee998292ba5755f4 |
|
12-Aug-2009 |
jsh <jsh@google.com> |
Fix for sending 16-bit SMS message with header. Header length was missing from the PDU. This addresses http://b/issue?id=2040561
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
fc78f358cb1d1cee99758bcd6ef998a122ef27c9 |
|
11-Jun-2009 |
Tammo Spalink <tammo@google.com> |
for cdma concatenated (long) messages, replace ascii7bit with gsm7bit encoding
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
a94945d3a1cf23caf33759eb1de84195d3fcb37b |
|
03-Jun-2009 |
Tammo Spalink <tammo@google.com> |
make sms calculateLength radio-independent
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
641bb3d8dfd72f57356d39ef00256d6077c9e235 |
|
27-May-2009 |
Tammo Spalink <tammo@google.com> |
expose (but still hide) sms user data headers addresses bug http://b/issue?id=1751571
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
faf4413dffdc9079683b951736088ff2a01073a4 |
|
30-May-2009 |
jsh <jsh@google.com> |
Manually merge a few fixes from cupcake and cupcake_dcm. CL 144717: Correctly set user data payload length for non-7-bit encoded payload. CL 149058: Check for null TP-OA in SmsMessage.parseMessageBody(). CL 138094: Make sure call state (and other updates) have a chance to get processed between data setup attempts. CL 132624: Added a comment for a way to save a message to the SIM.
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
64c499113a758cf80cddfd4d0183f944a1a6645a |
|
05-May-2009 |
Tammo Spalink <tammo@google.com> |
SmsHeader rewrite, in preparation for migration to public API. See http://b/issue?id=1751571 Changes the semantics of SmsHeader from containing only opaque data to exposing occurs-once frequently-used fields together with a list of opaque fields. Also changes the coding to and from byte array to be symmetrical, whereas previous encoding had an extra length field. Cdma SmsMessage -- cleanup of code paths along with adjustments to match the new header semantics, which should address at least some of the issues with concatenated messages. See http://b/issue?id=1809759
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|
767a662ecde33c3979bf02b793d392aca0403162 |
|
02-Apr-2009 |
Wink Saville <> |
AI 144185: Integrate cdma into the main code base. Automated import of CL 144185
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/SmsMessage.java
|