929ca5e49760c3d5af8c7455cd38e29336b5e262 |
|
12-Oct-2011 |
Jake Hamby <jhamby@google.com> |
Fix bug in CDMA WDP datagram handling (fixes incoming MMS). CDMA WDP datagram handling was refactored to use the same method that handles concatenated SMS messages. WDP datagram sequence numbers start at 0, but GSM/CDMA concatenated sequence numbers start at 1. Changed SMSDispatcher.processMessagePart() to count from 0 when handling WDP datagrams. Also changed CdmaSMSDispatcher.processCdmaWapPdu() to correctly decode segment numbers > 127 (signed byte conversion bug) and to reject PDUs with an out-of-range segment number (invalid ranges are already rejected for regular concatenated messages). Bug: 5433331 Change-Id: I25c9567769de8edca789c0d1707d4916a4c46885
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.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/SMSDispatcher.java
|
d4f1bacca50a74a74a02bf6a242bb22c495e4034 |
|
09-Jun-2011 |
Jake Hamby <jhamby@google.com> |
resolved conflicts for merge of 7ca13deb to master Change-Id: If34814d6c70cf63eca9bd816845389f6785518ae
|
7d259626d009a45195ec341646ce06658b842e40 |
|
08-Jun-2011 |
Jake Hamby <jhamby@google.com> |
resolved conflicts for merge of 0cb17a52 to honeycomb-plus-aosp Change-Id: I784e6d1946fa708f63becece070c7090cec6f1e2
|
ab79ee4adcbc6eb9fb9c509766753f65d3857739 |
|
27-Apr-2011 |
Jake Hamby <jhamby@google.com> |
Enable full support for SMS Cell Broadcast. Implement full support for SMS Cell Broadcast (3GPP TS 23.041). Includes support for ETWS and CMAS emergency message types. Includes GSM and UMTS support (CDMA will be added later). Note: the change to GsmAlphabet.java is only necessary if the SMS national languages support patch has been applied. If that change has not been applied, then the changes to GsmAlphabet.java in this patch set can safely be ignored. Change-Id: Ia0362c53695b8ef9a0982f558f1cffa912def34b
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
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/SMSDispatcher.java
|
9d7d62801ddb206d2ea96d74864a9edfe54d2eee |
|
12-Mar-2011 |
Wink Saville <wink@google.com> |
Do not merge: Revert the revert of "LTE Changes for Telephony including Multiple PDN support and IPV6 support" This reverts commit eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7 and is the first of the LTE commits in master being back ported to the LTE branch. Change-Id: I17d4a1b779ed74bc7dfb409d2c1a30f60fdb27c7
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
eca208fae6d1b6ae9c8c0e42eee092e86dbddbb7 |
|
03-Mar-2011 |
Wink Saville <wink@google.com> |
DO NOT MERGE: Revert "LTE Changes for Telephony including Multiple PDN support and IPV6 support" This reverts commit 2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82. Change-Id: Ifc4e9aaccb54e065a36380710694cd6e4d347636
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
2b8bcfe5b74e1a34d136f4ff46e3c94397f38f82 |
|
25-Feb-2011 |
Wink Saville <wink@google.com> |
LTE Changes for Telephony including Multiple PDN support and IPV6 support Added init for CDMAPhone.java Change-Id: I2392b5ad3382ee1993537b8477ef00dd036c6fe9
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
48fe5c3a86435a401fa88b43e15b84e29e660173 |
|
10-Feb-2011 |
Wink Saville <wink@google.com> |
am bdce3d2c: am 01a5eba8: am 6e25789f: Merge "Telephony: Fix cb sms implementation" * commit 'bdce3d2c3516612bfd3a9e5f259a892d1a595f19': Telephony: Fix cb sms implementation
|
f7de51cc4d623cb661e5bef2ea80f6bdc9609cbd |
|
09-Feb-2011 |
Alex Yakavenka <ayakav@codeaurora.org> |
Telephony: Fix cb sms implementation Change-Id: Ie2a678e3ab99f0d5b9dd68cc4a79e1c5a58ecbe2
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
db71bda6f696aff6047e6c26c32e0c08bf6851bc |
|
03-Feb-2011 |
Jean-Baptiste Queru <jbq@google.com> |
Merge from gingerbread Change-Id: I6b895012db6b96666dc3257b1f2e430925981188
|
b6bf10e4bd2c17838a00091c3b8efb2f91ce3457 |
|
03-Feb-2011 |
Jean-Baptiste Queru <jbq@google.com> |
Merge 917d9ea1 Change-Id: I7c92b0dbff44375b714e99b9cdc7052628db8ecb
|
917d9ea1ebec4d61f9de585d83debcf2cb2873dd |
|
03-Feb-2011 |
Jean-Baptiste Queru <jbq@google.com> |
am 8444023f: Merge from open-source gingerbread * commit '8444023f351b22816f6827d3314ff81b3533e3d9': Fix the Multi-page SMS sending error to several receipents
|
b9ef00ea2f66fa0287e5ac921f296c21ab57717f |
|
03-Feb-2011 |
Sang-Jun Park <sj2202.park@samsung.com> |
Fix the Multi-page SMS sending error to several receipents Change-Id: Iefde94b638413e3c1761f17c3065b20a044e5958 Signed-off-by: Sang-Jun Park <sj2202.park@samsung.com>
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
cde0233512f8dbbc62238e90c850c310894e3972 |
|
07-Jan-2011 |
Wink Saville <wink@google.com> |
Add telephony.sms.receive and telephony.sms.send properties. The purpose of these properties is to allow, at boot time, the enable and disabling of receiving and sending of SMS messages. These properties are used to initialize two booleans within [Gsm|Cdma]SMSDispatcher code. The two booleans are initialized to the value of config_sms_capable and when config_sms_capable is false the device can neither receive nor send SMS. Under some conditions, such as testing, it could be desirable to send and or receive SMS messages on a device where config_sms_capable is false. With the addition of these two properties it is now possible to use /data/local.prop to control the booleans independently. bug: 3315489 Change-Id: I83fe6f2da7d66ff720f28b696d8d76ec388706c0
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
c049f9ad5b4f5bc32f368646e624aef7707b7252 |
|
10-Dec-2010 |
John Wang <johnwang@google.com> |
Block SMS service for non-sms-capable device. If device doesn't support sms service, SMSDispatcher will ignore incoming SMS in dispatching messge and return ERROR_NO_SERVICE in sending sms messgae. bug: 3250029 bug: 3038102 Change-Id: Ic72a9192aa128c43cf31da04907620bc680656c6
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
8503144665894f1b5008f540e0cf36c948c763ef |
|
23-Nov-2010 |
Jean-Baptiste Queru <jbq@google.com> |
resolved conflicts for merge of 8484e57f to master Change-Id: I6a8cc70250fd2be9a1e9a728940a1e9f5721a653
|
8484e57f3006dd3aa925792e6414387c233c1a8d |
|
23-Nov-2010 |
Jean-Baptiste Queru <jbq@google.com> |
resolved conflicts for merge of e4ae7fc3 to gingerbread-plus-aosp Change-Id: I2e0a0ed622bc4c32d79936b30ebbf9068b3bdee8
|
95bc625e294e14a651321b5172f31406cdebbefb |
|
19-Nov-2010 |
Henrik Hall <henrik.hall@sonyericsson.com> |
Enabling cell broadcast (SMS-CB) support in the platform. Adding a simple API enabling applications to control SMS-CB reception. Implementing parsing, assembly and dispatching of SMS-CB messages over GSM. Change-Id: Iee841605a45a3af60c7602af175056afb03a38da
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
94bf9431e5464c7757890abfe0716997151f153f |
|
08-Sep-2010 |
Jake Hamby <jhamby@google.com> |
am e7578344: am 5872e9d7: Merge "Allow incoming SMS until internal storage is almost full." into gingerbread Merge commit 'e75783440a55fb0a5ef75066be94a11898f652f0' * commit 'e75783440a55fb0a5ef75066be94a11898f652f0': Allow incoming SMS until internal storage is almost full.
|
bb3716332321e22537a5015be13e2229fb9b90bc |
|
24-Aug-2010 |
Jake Hamby <jhamby@google.com> |
Allow incoming SMS until internal storage is almost full. Fix for bug 2382830: new incoming SMS should not be rejected when running low on internal phone storage. Testing revealed that the /data partition should have at least 256 KiB available in order to prevent random app crashes (including system apps) due to SQLite transaction failures. With 256 KiB free, the device should safely boot without storage full errors. This takes into account the 36-40 KiB that the YAFFS2 filesystem reports as available even after the partition has been completely filled. I've set the default full threshold to 1 MiB to provide a generous safety margin. For this bug, I changed the DeviceStorageMonitorService demon to send two new hidden notifications for device storage "full" and "not full", when the free space falls below the full threshold (default 1 MiB, but configurable as a system setting), in addition to the existing storage low/okay notifications sent when the storage crosses the threshold of 90% full (also configurable). The SMS code was changed to use these new notifications so that it can accept messages until the data partition has been filled to the maximum safe capacity rather than stopping when it hits 90% full. There should be no negative impact on battery life because the additional check in the storage polling service should be offset by an optimization to cache the free threshold values which were previously being computed every time through the loop. While testing this change, I discovered that SMSDispatcher was being instantiated twice, the first time in GSMPhone/CDMAPhone, and the second time in SimSmsInterfaceManager / RuimSmsInterfaceManager. Changed the code to pass the original SMSDispatcher to the Sim/RuimSmsInterfaceManager constructor. Change-Id: Ie0c6d05294778ab6ee42e0fa01313af96d824c77
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
d218526bf6e2309580a4640e9591480a5c159c5f |
|
23-Aug-2010 |
Jake Hamby <jhamby@google.com> |
am d457053a: am 07936528: Merge "Cosmetic cleanups to SMSDispatcher classes." into gingerbread Merge commit 'd457053aab0763764da5b9c3e6e84e5b2935ea88' * commit 'd457053aab0763764da5b9c3e6e84e5b2935ea88': Cosmetic cleanups to SMSDispatcher classes.
|
059fe88115ccb70d9870698e490ed5b4c88da50c |
|
20-Aug-2010 |
Jake Hamby <jhamby@google.com> |
Cosmetic cleanups to SMSDispatcher classes. Cleaned up some typos and other small fixes in SMSDispatcher in preparation for checking in my SMS bug fixes. This change doesn't fix any bugs, but it shouldn't introduce any either. - Removed unused import statements - Removed unused private constants and fields - Fixed typos in Java comments and private constants - Added generic type parameter to mSTrackers ArrayList - Removed unnecessary casts - Fixed indentation of mResultReceiver in SMSDispatcher - Removed call to get unused smsc in CDMA sendSMS() - Changed "|=" to "=" in boolean assignment where the variable was initialized to false (thus the two operators are equivalent) Change-Id: Ic19a63a7ef5cdccc7be86043c2a1b863ec8af652
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
24d9c149c831f9793002af67f9e5436e415dfbea |
|
12-May-2010 |
The Android Open Source Project <initial-contribution@android.com> |
am fc97669a: am 72a6af1a: am 7d952644: merge from open-source master
|
7d9526445c8631f347c7bf7d944e5bb1dc35b0b5 |
|
12-May-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: Ib5ea9745c2b652d64646e3e28c12e63815321ff9
|
18573e9281d6e5621fa1663dac29b558291913d7 |
|
29-Mar-2010 |
Naveen Kalla <nkalla@codeaurora.org> |
Support to display message when operation is blocked due to FDN being enabled The terminal disallows USSD, SMS, Voice Call and Supplementary services operations for numbers not in the Fixed Dialing Number (FDN) list when the FDN service is enabled. FDN_CHECK_FAILURE error is sent from the RIL and the message needs to be displayed to indicate the failure. Change-Id: I49bd63f69a3f0201125b17cd16db2e8fcf93ddc3
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
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/SMSDispatcher.java
|
02034d3568fb3b984e8d185d70e18ba19e592ba3 |
|
22-Mar-2010 |
The Android Open Source Project <initial-contribution@android.com> |
merge from open-source master Change-Id: Ie60db5faf407344b8fbe3d5c1e7c01e927ff251e
|
1a61b586b59243dab6c70984ab4418451f7d78fa |
|
04-Mar-2010 |
Naveen Kalla <nkalla@codeaurora.org> |
Retry pending memory status update to modem when radio is ON. When radio is powered off / airplane mode, memory status updates are ignored by RIL. With this fix, pending memory status updates are sent again when radio is powered back on.
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
edc5189c33de03f3e2f5f73edc0e007992b933c9 |
|
07-Jan-2010 |
Doug Zongker <dougz@android.com> |
change remaining frameworks/base Gservices to Secure settings Change-Id: I61bdb05a2526523700c2833154d5a4133881ef10
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
4219797afc2f5369c27cf7be752e9bc3bdb8057d |
|
20-Oct-2009 |
jsh <jsh@google.com> |
Log exception if we hit an error parsing an incoming SMS message. This will help debug b/2197566. We should have been logging the error anyway.
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
a01726a7fdd872cd8e1e8a9dfa52fb9cdbf01019 |
|
28-Aug-2009 |
jsh <jsh@google.com> |
Some fixes to SMS processing in the framework. Always process class 0 and other unstored SMS (eg, MWI). We were rejecting all SMS messages in storage full situations, but certain messages do not require storage. Also, notify apps when the framework rejects MT SMS, with new SMS_REJECTED_ACTION intent. b/2066775 b/2015906
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.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/SMSDispatcher.java
|
51b2b33219a0e97ed1e5ea75dabe4113a38871b9 |
|
21-Aug-2009 |
Yong Liu <yong.liu@motorola.com> |
MO SMS fail after sending 100 messages After sending 100 messages, SMSDispatcher always displays dialog to user to confirm the sending. If the user sends messages too fast then there will be more than one dialogs waiting for the response, but SMSDisptcher can only handle one.
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
d1cb1d22af0775a7c030822e04db1c9ecad9beab |
|
06-Aug-2009 |
jsh <jsh@google.com> |
Bubble up SMS send fail error code to the app. Framework portion of the fix for http://b/1978375: We'll pass up the error code returned by the RIL on send failure.
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
5c7d9e8194900a2b1699cd57f95b22ca5f7b9be2 |
|
16-Jun-2009 |
David Krause <david.krause@motorola.com> |
CDMA incoming MMS fixes Need to correctly interpret WAP Datagram data. Specifically the source and destination ports are only included in the 1st segment, not subsequent segments but the original implementation was looking for the ports for all segments.
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
3960ced4638fdb24ddf904fcb6734dae0959671e |
|
23-Jun-2009 |
jsh <jsh@google.com> |
Fix SMS Ack. There were a few places where we were not sending SMS ack. This change fixes that, and helps ensure that we don't miss any others. Also fix a bug I introduced in RIL.java for CDMA SMS ACK (it uses RIL_CDMA_SMS_Ack and not int[]).
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
2563a3ac05dd3cf8a07203ae682c243f2e793137 |
|
09-Jun-2009 |
Wink Saville <wink@google.com> |
Cleanup whitespace.
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
52f2825c29293a85984f188f5dd5e230d589b29d |
|
06-Jun-2009 |
jsh <jsh@google.com> |
Report device storage status (for SMS) to RIL. Indicate SMS memory available/not available based on DEVICE_STORAGE_OK/FULL intents, and immediately NAK with MEMORY_FULL if we've received a DEVICE_STORAGE_FULL notification. This may end up being a short term solution, as the messaging app is getting re-worked in Eclair, which may change the way we want to handle memory full reporting (ie, more app involvement).
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.java
|
867641ece36e2fd17faaea79cf19506ab17177c6 |
|
28-May-2009 |
jsh <jsh@google.com> |
Telephony support for SMS memory reporting to the network. - Use ordered broadcast to allow receivers to set a result code. - Ack SMS with result code. - New RIL command to report memory status. - Fixed a typo in a Gservices setting. - Merge in CL 137895 (hold a wake lock while broadcasting SMS_RECEIVED).
/frameworks/base/telephony/java/com/android/internal/telephony/SMSDispatcher.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/SMSDispatcher.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/SMSDispatcher.java
|