summaryrefslogtreecommitdiffstats
path: root/telephony
Commit message (Collapse)AuthorAgeFilesLines
* 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
| * AI 146123: Change Belfast to DublinRamanan Rajeswaran2009-04-141-1/+1
| | | | | | | | | | | | BUG=1788466 Automated import of CL 146123
| * AI 145993: Fix Phone-oriented default-locale selection.Robert Greenwalt2009-04-131-6/+6
| | | | | | | | | | | | | | | | When several locales for a given language are available we were always selecting the first. BUG=1785986 Automated import of CL 145993
| * AI 145892: Add Ireland, Switzerland, New Zealand, South Africa to MccTableRamanan Rajeswaran2009-04-131-5/+4
| | | | | | | | | | | | BUG=1786030 Automated import of CL 145892
| * AI 145383: API review: clean up a bunch of @hides that have been pending API ↵Dianne Hackborn2009-04-091-12/+0
| | | | | | | | | | | | | | | | | | review. Either expose them, or official hide them with an explanation for why. BUG=1779439 Automated import of CL 145383
| * AI 143898: Attempt to set the device Locale (if not already set) at phoneRobert Greenwalt2009-03-312-46/+98
| | | | | | | | | | | | | | | | | | | | init based on the phone's reported carrier ID. Uses a core system resource string-array to contain the mapping of carrier ID -> default locale. This should be set per project in an overlay. BUG=1731384 Automated import of CL 143898
| * Automated import from //branches/cupcake/...@142924,142924John Wang2009-03-262-3/+52
| |
| * Automated import from //branches/cupcake/...@142334,142334John Huang2009-03-241-1/+2
| |
| * auto import from //branches/cupcake_rel/...@141571The Android Open Source Project2009-03-193-4/+95
| |
* | enable additional cdma sms fields and user data encodingsTammo Spalink2009-04-283-118/+288
| | | | | | | | | | | | enable ia5 and octet user data encodings properly expose parsed user data support additional bearer data subparameter types
* | Merge change 531 into donutAndroid (Google) Code Review2009-04-242-24/+102
|\ \ | | | | | | | | | | | | * changes: Teleca 090414 & 090423 patches for CDMA to complete phase1 work.
| * | Teleca 090414 & 090423 patches for CDMA to complete phase1 work.Wink Saville2009-04-242-24/+102
| | |