History log of /frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8b53bb26569395511e3dbd5f94bda74ea6b9e37c 29-Jul-2014 Xia Ying <yingxia@motorola.com> Sms7BitEncodingTranslator

Bug: 16197894
Change-Id: I389248343c4ee621a1e8980481987742623bcbe7
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
6aa799c9d555854ecac94b15967e9016c55b4340 26-Sep-2014 Amit Mahajan <amitmahajan@google.com> Change to show correct number of unheard voicemail in notification.

Bug: 17299884
Change-Id: Ie26a61cbfc2254f95686b8031a0988b9cd58609d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
299a348cd9bdcc21c5c4a6cd6c9a825e5d711908 10-Jul-2012 Uma Maheswari Ramalingam <umam@codeaurora.org> telephony : Support for voicemail in TP-UDH of SMS

Added support for processing special message indication
for voice mail in TP user data header for SMS
Spec reference: 3GPP TS 23.040 V6.8.1

CPHS method does not use message count.
0xff is used to indicate unknown message count for CPHS
Ref[Adapt requirement CDR-MWI-120, TC: GSM-BTR-1-4700]

bug: 17299884
Change-Id: I893252d5cacd5c1c8680a8ca6c3a6dba95ef3e1f
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
f3166841bf9df142e2fbd63b7647bae7da712044 15-Jul-2014 Xia Ying <yingxia@motorola.com> Add page info in each segment if carrier does not support EMS.

If EMS is not supported, framework breaks down EMS into single segment
SMS and adds page info " x/y".

In the case of UCS2 encoding type, we need 8 bytes for this, but we
only have 6 bytes from UDH, so truncate the limit for each segment by
2 bytes (1 char).

Change-Id: Ie4f7e233155ce392c14ae75946c9d62d4897013c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
4453a9310857b7b5292522d97af4ca6c64379524 17-Jul-2014 Xia Ying <yingxia@motorola.com> SMS 8-bit GSM characters decoding support

Support decoding the user data payload as pack GSM 8-bit (a GSM alphabet
string that's stored in 8-bit unpacked format) characters.

Change-Id: Iab92006db5cb218515b86dcfe65938c04e55620c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
ace9a749c5a2a5e07527f728b7331423d16c36cd 30-Oct-2013 Sukanya Rajkhowa <srajkh@codeaurora.org> SMS over IMS bug fixes

This change includes the following:
1) SMS over IMS remaining patches which address review comments

2) Fix for Bug:11378993
For MT SMS over IMS, if an application uses the createFromPdu(byte[] pdu) API
instead of createFromPdu(byte[] pdu,String format) API, we first try to create
SmsMessage from raw PDU with the format of active phone. That either returns a
valid SmsMessage object or throws a RuntimeException causing the correct format
to be used the next time. If GsmSmsAddress is not valid, we should throw
a RuntimeException which is handled by createFromPdu(byte[] pdu)

3) Fix for Bug:11424054
Register for ICC changes and handle new SMS on ICC

Bug: 11378993, 11424054
Change-Id: I94bcfcf93d8205c2916997091617899c6ebdd5e5
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
1260f1c6c909f2940989b72afe1b91fd83845eaa 14-Sep-2013 Sukanya Rajkhowa <srajkh@codeaurora.org> Support SMS over IMS

ImsSMSDispatcher is part of IccSmsInterfaceManager.
It always receives calls to send sms first and decides
whether to use ims call flow or gsm/cdma based on response
to REQUEST_IMS_REGISTRATION_STATE.

When ims is registered and sms is supported, the request also returns
sms format to use.

In case of sms over ims failure, RIL_REQUEST_IMS_SEND_SMS sets
messageRef from RIL_SMS_RESPONSE of corresponding failed MO SMS, and
sets retry field to non-zero. If voice is available, sends
RIL_REQUEST_IMS_SEND_SMS retries with data encoded based on voice tech
available. If voice is not available, sets retry counter to max and
skips retries and sends failure to client.

Bug: 9626411

Change-Id: I4c63c8fc0eb2191847b509e66772e3de27d491ed
Signed-off-by: Ed Tam <etam@google.com>

Conflicts:
src/java/com/android/internal/telephony/gsm/GSMPhone.java
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
22d85a8e3a575a6d01d2c788587971657dfe20c6 23-Feb-2013 Wink Saville <wink@google.com> Clean up member variables.

Change-Id: Ib60f350131ade626aca682407ea0b4377b16f6c6
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
cbaa45bbf2cab852b6c9c3a887e9f803d4e857ea 23-Feb-2013 Wink Saville <wink@google.com> Clean up

- Add @Overrides where needed.
- Update javadoc comments
- Remove extra semi-colons
- Rename DataConnection.java to DataConnectionBase.java
- Rename GsmDataConnection.java to DataConnection.java
- Add defaults to switch statements
- Remove/fix most "if (false)" statements. Fixed by using a CONSTANT
- Fix hidden variables by hoisting to base class or renaming
- Tweak some debug output

Change-Id: If38de2fdeaacafbf40cdfd7f84dc5c52030ba2a3
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
945e169166e9fd4bcb145d23dffb7c7b68cd6208 15-Aug-2012 Björn Ekberg <bjorn.ekberg.x@sonymobile.com> Fix for storing CPHS MWI messages with store type

CPHS MWI messages of store type were treated as discard type.
This resulted in that no CPHS MWI messages with text was ever
shown to the user.

Change-Id: I42f80a084c35a813933052d4a676e16b2c4e2d9d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
2cbcc15677797f5879cf8c907876b366b034d433 27-Dec-2012 Bin Li <libin@marvell.com> Telephony: Add support for SMS-SUBMIT.

Change-Id: I2b0887ae6b28decb38576cac60f1314ff8b73e1d
Signed-off-by: Bin Li <libin@marvell.com>
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
d720945f2be5ea5fe0faf67e67d9ea0e184eba67 01-Aug-2012 Alex Yakavenka <ayakav@codeaurora.org> Telephony: Move uicc classes into uicc package

Reduce constructor visibility to package where
possible

Dependent Changes:
I3b718b9aea1f21c7906c8243b4ca0db6af495a08
I80204a2f3dc57cac875abeab390bb9db7a636ff7
Ib9c19e8b157dc7ec74eb14baca5bd3b5caf08c47

Change-Id: Ib4f43374c041cb5eaf2e3883e5ea28b2eb2c9a69
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
ded9c0af7fa49504c047275ed34c2d3b22bf0c3a 07-Dec-2012 Wink Saville <wink@google.com> Use Rlog

Change-Id: Ie013f51215de8380b8de74161b6056b010711cfd
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
56c949ded0e352444806dd04bbca1895a2c75a9b 04-Sep-2012 Huanze Lan <huanze.lan@sonyericsson.com> Handle the case when TP-PI reserved bits are set

Discard settings according to 3GPP TS 23.040,
9.2.3.27 TP-Parameter-Indicator (TP-PI).

Usually operators will set this byte to 0 to indicate
there is no more data, but a few operators sets a
reserved bit to 1 to indicate there is no more data instead,
so we need to handle this case also.

Change-Id: I58abc2473c79b65795be186182927c603b35305e
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
5ad6947b2d955a4e972d556090922d77aa6a2641 09-Aug-2011 Rekha Kumar <rekhak@codeaurora.org> Telephony: Fix MT SMS with invalid TOA field causing crash issue

Throw FormatException when type of number is incorrect and handle it

Change-Id: I305ea1c9e4fee29c84caefec7d7564d46228851d
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java
c38bb60d867c5d61d90b7179a9ed2b2d1848124f 12-Jul-2012 Wink Saville <wink@google.com> Create telephony-common - DO NOT MERGE

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: I32cbb5eec1fa239c1587e055c8f7ef4fc48fb62c
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/SmsMessage.java