summaryrefslogtreecommitdiffstats
path: root/telephony
Commit message (Collapse)AuthorAgeFilesLines
* Process the response of RIL_REQUEST_REPORT_SMS_MEMORY_STATUS.Jaikumar Ganesh2009-06-101-0/+1
|
* Add additional parameters to SETUP_DATA_CALL and SMS response.Jaikumar Ganesh2009-06-102-4/+13
| | | | | | | 1. The authType should be specified in the APN database. This was hardcoded to 3 in the qmi driver. We currently set it to 3 in the RIL till the apn database side changes are done. 2. RIL_SEND_SMS response has errorCode as a new field,
* Merge change 3686 into donutAndroid (Google) Code Review2009-06-102-2/+8
|\ | | | | | | | | * changes: Fix cleanupConnection when switching from wifi.
| * Fix cleanupConnection when switching from wifi.Jaikumar Ganesh2009-06-092-2/+8
| | | | | | | | Post a message for tearDown data connection when switching from wifi.
* | Cleanup whitespace.Wink Saville2009-06-0942-329/+329
|/
* Merge change 3530 into donutAndroid (Google) Code Review2009-06-085-4/+28
|\ | | | | | | | | * changes: Add RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING & reportStkServiceIsRunning.
| * Add RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING & reportStkServiceIsRunning.Wink Saville2009-06-085-4/+28
| | | | | | | | | | These are used to notify the vendor ril that the StkService is running and ready to receive RIL_UNSOL_STK_XXX commands.
* | Report device storage status (for SMS) to RIL.jsh2009-06-081-7/+33
|/ | | | | | | | | | 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).
* Motorola changes from 090602 through 090605Wink Saville2009-06-0720-392/+1097
| | | | | | | | | | | The changes from 090602 update frameworks/base to support 3way calling and call waiting. The changes from 090603 completed the CdmaInformationRecords class but the original changes submitted has been simplified, toString added and a bug fixed where the notifications where not being handled properly. The changes from 090605 added Prl Version, apn fixes.
* Merge change 3305 into donutAndroid (Google) Code Review2009-06-051-2/+1
|\ | | | | | | | | * changes: Fix parameter mismatch for a couple of RIL commands.
| * Fix parameter mismatch for a couple of RIL commands.jsh2009-06-051-2/+1
| | | | | | | | | | | | Both RIL_REQUEST_SET_SMSC_ADDRESS and RIL_REQUEST_CDMA_FLASH take a string as a parameter. But RIL.java was sending down an array of strings with a single element instead.
* | Update a javadoc comment suggesting the use of a deprecated class.Marco Nelissen2009-06-041-1/+1
| |
* | Merge change 3126 into donutAndroid (Google) Code Review2009-06-045-65/+63
|\ \ | | | | | | | | | | | | * changes: Fix thread safety in DataConnectionTracker.
| * | Fix thread safety in DataConnectionTracker.Jaikumar Ganesh2009-06-035-65/+63
| |/ | | | | | | | | | | | | All the methods in DataConnectionTracker should be called only through the handler. Fix this as trySetupData was being called in the broadcast receiver. Tested: Airplane mode and GPRS retry.
* | cdma getNeighboringCids to fail with an exceptionTammo Spalink2009-06-041-2/+15
|/
* Allow response payload on RIL_REQUEST errorjohnwang2009-06-021-24/+27
| | | | | | Handle response payload while RIL_REQUEST returns error. modified: gsm/GsmServiceStateTracker.java
* Merge change 1522 into donutAndroid (Google) Code Review2009-06-023-107/+240
|\ | | | | | | | | * changes: support more minor cdms sms bearer data subparameters
| * support more minor cdms sms bearer data subparametersTammo Spalink2009-06-023-107/+240
| | | | | | | | - also clean up CdmaSmsAddress
* | Merge change 2761 into donutAndroid (Google) Code Review2009-06-0213-501/+396
|\ \ | | | | | | | | | | | | * changes: TODO's from Teleca with modifications from wink.
| * | TODO's from Teleca with modifications from wink.Wink Saville2009-06-0113-501/+396
| |/
* | expose (but still hide) sms user data headersTammo Spalink2009-06-022-5/+8
|/ | | | addresses bug http://b/issue?id=1751571
* Manually merge a few fixes from cupcake and cupcake_dcm.jsh2009-06-015-24/+57
| | | | | | | 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.
* Fix concat SMS for GSM.jsh2009-05-291-1/+7
| | | | | | Bug 1883998: We only support sending 8-bit references for now. Bug 1885080: Also fix the GsmAlphabetTest, which started failing when SmsHeader was re-worked.
* Telephony support for SMS memory reporting to the network.jsh2009-05-298-49/+155
| | | | | | | | - 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).
* Enforce permissions for PhoneStateListener events.Jaikumar Ganesh2009-05-291-3/+15
| | | | | | | | PhoneStateListener events like LISTEN_CALL_STATE_CHANGED, have privacy information like phone numbers and hence, need to be protected with a permission. The permission READ_PHONE_STATE is used for this purpose. Use the permission trick to ensure backward compatability.
* Motorola additions for CDMA support without CdmaSuppConnTrackerWink Saville2009-05-2825-726/+1855
| | | | | There are corresponding changes to hardware/ril and packages/apps/Phone that are required to go with these changes.
* Check for desiredPowerState (airplane mode) before setting up data.Jaikumar Ganesh2009-05-263-9/+17
| | | | | | Check for airplane mode before trying to setup data. Send an event while switching from wifi to cell data, instead of calling trySetupData directly.
* Merge change 2347 into donutAndroid (Google) Code Review2009-05-261-4/+8
|\ | | | | | | | | * changes: Fix Disconnect path for CDMA.
| * Fix Disconnect path for CDMA.Jaikumar Ganesh2009-05-221-4/+8
| | | | | | | | | | | | | | The corresponding fix has already been made for GSM. When data state is in CONNECTING state and and we try to disable the data, we set a pending disconnect but never disconnect once we are connected.
* | Merge change 418 into donutAndroid (Google) Code Review2009-05-252-8/+24
|\ \ | | | | | | | | | | | | * changes: add additional CdmaDataConnectionTracker event logging
| * | add additional CdmaDataConnectionTracker event loggingTammo Spalink2009-05-202-8/+24
| | |
* | | added SmsMessage ConcatRef parsing validationTammo Spalink2009-05-221-3/+12
| |/ |/| | | | | | | | | | | | | | | addresses bugs: http://b/issue?id=1870607 http://b/issue?id=1688238 and prior perforce commit: http://s9/?change_num=136189
* | Make sure smsHeader != null before using it.jsh2009-05-202-2/+2
| | | | | | | | | | Fixes bug 1866578 - NPE while trying to dispatch a non-concatenated SMS with no user data header (ie, your typical SMS).
* | Merge change 1127 into donutAndroid (Google) Code Review2009-05-1912-660/+528
|\ \ | | | | | | | | | | | | * changes: SmsHeader rewrite, in preparation for migration to public API.
| * | SmsHeader rewrite, in preparation for migration to public API.Tammo Spalink2009-05-2012-660/+528
| |/ | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Fix network preference getting incorrectly set.Jaikumar Ganesh2009-05-192-13/+13
| | | | | | | | | | When the phone process crashes, we set the network preference incorrectly. Also read the default value from a system property.
* | Add a method to get the PhoneType in CellLocation.Jaikumar Ganesh2009-05-196-74/+114
| | | | | | | | | | | | CellLocation uses TelephonyManager to get the PhoneType. TelephonyManager uses the system property to get the phoneType, if the ITelephony interface is not up.
* | Telephony: Allow getCellLocation() if client has permission ACCESS_FINE_LOCATIONMike Lockwood2009-05-191-2/+3
| | | | | | | | | | | | | | ACCESS_FINE_LOCATION should imply ACCESS_COARSE_LOCATION, so either of these permissions should be sufficient to allow TelephonyManager.getCellLocation(). Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am 808f2919: AI 148962: Default language in Switzerland should be german and ↵Ramanan Rajeswaran2009-05-181-1/+1
|\ \ | |/ |/| | | | | | | | | | | | | not english. Merge commit '808f2919ee9cd9ff678ef091da0c7b703c929003' into donut * commit '808f2919ee9cd9ff678ef091da0c7b703c929003': AI 148962: Default language in Switzerland should be german and not english.
| * AI 148962: Default language in Switzerland should be german and not english.Ramanan Rajeswaran2009-05-181-1/+1
| | | | | | | | Automated import of CL 148962
* | Teleca 2b changesWink Saville2009-05-1841-546/+2612
| |
* | Tear down data, if a disconnect request is pending.Jaikumar Ganesh2009-05-151-8/+12
| | | | | | | | | | | | | | | | | | | | | | If there is a pending disconnect, and the previous connection attempt succeeds, we don't disconnect and hence the state remains in DISCONNECTING. Ex: user is on Wifi, location app calls enableApnType(SUPL) and then we set state to INITING. It then calls disableApnType(SUPL) we register a pending disconnect. When the data connection attempt is successful, we don't disconnect, as the PDP Connection State has not been set to ACTIVE and we check for this state. This fix removes the dependency on ACTIVE state check.
* | Internal APIs to get/set SMSC address.jsh2009-05-117-0/+86
| |
* | Fix Phone-based locale selection to never choose a lang-only locale.Robert Greenwalt2009-05-061-13/+8
| | | | | | | | | | This avoids us using the non-standard lang-only locale when communicating off device. Fixes 1810133.
* | clean up cdma sms creation and parsingTammo Spalink2009-05-013-215/+311
| | | | | | | | | | | | | | | | | | | | related to issue http://b/issue?id=1782245 - fixes 7bit ASCII encode and decode (previous completely broken) - also consolidates encoding of user data, and changed to match the conventions of the new data coding -- previously likely broken for several cases
* | Add RIL_UNSOL_OEM_HOOK_RAW.Jaikumar Ganesh2009-04-303-23/+38
| | | | | | | | | | Add RIL_UNSOL_OEM_HOOK_RAW for OEMs to send Unsolicitied commands from the baseband.
* | am 14533d2: AI 147720: Set default language for NL to nl.Bill Napier2009-04-281-1/+1
|\ \ | |/ | | | | | | | | | | Merge commit '14533d2652ce786f1ca84af1b54adaa201455989' into donut * commit '14533d2652ce786f1ca84af1b54adaa201455989': AI 147720: Set default language for NL to nl.
| * AI 147720: Set default language for NL to nl.Bill Napier2009-04-241-1/+1
| | | | | | | | | | | | BUG=1781746 Automated import of CL 147720
* | am 78b1511: AI 147541: Add cs as default language for cz.Bill Napier2009-04-281-2/+2
|\ \ | |/ | | | | | | | | | | Merge commit '78b1511d96f0b2123bfadf51c5c1ccf33cdd2b3d' into donut * commit '78b1511d96f0b2123bfadf51c5c1ccf33cdd2b3d': AI 147541: Add cs as default language for cz.
| * AI 147541: Add cs as default language for cz.Bill Napier2009-04-231-5/+5
| | | | | | | | | | | | BUG=1781746 Automated import of CL 147541