summaryrefslogtreecommitdiffstats
path: root/telephony/java/android
Commit message (Collapse)AuthorAgeFilesLines
* Fix the issue of incorrect conversion of the plus sign in a dial string.Tang@Motorola.com2009-08-121-0/+274
| | | | | | | | | | The issue is that the plus sign in a dial string is always converted to the IDP (International Dial Prefix). This fix implements a plus sign conversion mechanism based on the default telephone numbering system that the phone is activated and the current telephone number system that the phone is camped on. Currently, we only support the cases where the default and current telephone numbering system are NANP.
* Update getNumberFromIntent() to read from both providers.Jeff Sharkey2009-08-111-5/+14
| | | | | | | | This method is used by the Phone app to decode ACTION_CALL Intents, resolving to a real phone number. Because the columns are changing with the new provider, I added logic to query using the correct columns for the authority of the requested Uri.
* Bubble up SMS send fail error code to the app.jsh2009-08-061-16/+28
| | | | | Framework portion of the fix for http://b/1978375: We'll pass up the error code returned by the RIL on send failure.
* am 0da3bdb4: Fix public API caused due to CDMA changes.Jaikumar Ganesh2009-07-303-44/+43
|\ | | | | | | | | | | | | Merge commit '0da3bdb476086db02a1076780676b21e239c79d6' * commit '0da3bdb476086db02a1076780676b21e239c79d6': Fix public API caused due to CDMA changes.
| * Fix public API caused due to CDMA changes.Jaikumar Ganesh2009-07-303-44/+43
| |
* | am b307c894: Fix bug 1994955 where PHONE_TYPE_CDMA was 0 and it should be 2 ↵Wink Saville2009-07-301-1/+1
|\ \ | |/ | | | | | | | | | | | | | | and added RILConstants.NO_PHONE. Merge commit 'b307c8945d4bf8d843445f3cc6d727f4e43d90f0' * commit 'b307c8945d4bf8d843445f3cc6d727f4e43d90f0': Fix bug 1994955 where PHONE_TYPE_CDMA was 0 and it should be 2 and added RILConstants.NO_PHONE.
| * Fix bug 1994955 where PHONE_TYPE_CDMA was 0 and it should be 2 and added ↵Wink Saville2009-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | RILConstants.NO_PHONE. This bug originally reported that PHONE_TYPE_CDMA needed to be 2 because it was public. But as far as I can tell it has never been public and it is still marked @hide so is not public now. There is a bug in that PHONE_TYPE_NONE and PHONE_TYPE_CDMA were both 0. But this doesn't appear to have been a problem because PHONE_TYPE_NONE doesn't looked to be used anywhere except in TelephonyManagerTest.
* | am ecbbecf6: Merge change 8620 into donutAndroid (Google) Code Review2009-07-271-9/+6
|\ \ | |/ | | | | | | | | | | Merge commit 'ecbbecf6c535e7f3e1d072d43766a95aa18ee464' * commit 'ecbbecf6c535e7f3e1d072d43766a95aa18ee464': Fix swapped gsm/cdma function dispatch, and 7bit text fragmentation.
| * Fix swapped gsm/cdma function dispatch, and 7bit text fragmentation.Tammo Spalink2009-07-271-9/+6
| |
| * Merge change 6935 into donutAndroid (Google) Code Review2009-07-131-3/+45
| |\ | | | | | | | | | | | | * changes: DO NOT MERGE: backporting from master:
| | * DO NOT MERGE: backporting from master:Mike Lockwood2009-07-131-3/+45
| | | | | | | | | | | | | | | | | | CDMA: Add Network ID and System ID to CdmaCellLocation. Signed-off-by: Mike Lockwood <lockwood@android.com>
* | | am aa459370: Update javadoc for TelephonyManager.getNetwork* for CDMA.jsh2009-07-131-4/+10
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit 'aa4593706e4586fb4dfa6bd00d49c6f6159cbe0f' * commit 'aa4593706e4586fb4dfa6bd00d49c6f6159cbe0f': Update javadoc for TelephonyManager.getNetwork* for CDMA.
| * | Update javadoc for TelephonyManager.getNetwork* for CDMA.jsh2009-07-131-4/+10
| |/ | | | | | | | | These are unreliable for CDMA, so note it in the javadoc. Also update for the corresponding TelephonyProperties.
* | CDMA: Add Network ID and System ID to CdmaCellLocation.Mike Lockwood2009-07-121-3/+45
| | | | | | | | Signed-off-by: Mike Lockwood <lockwood@android.com>
* | am daa5a215: Merge change 5810 into donutAndroid (Google) Code Review2009-07-011-2/+8
|\ \ | |/ | | | | | | | | | | Merge commit 'daa5a21562cb4b1fda21400bc638be4d6b7f5825' * commit 'daa5a21562cb4b1fda21400bc638be4d6b7f5825': Fix bug 1930055 of NullPointerException.
| * Merge change 5810 into donutAndroid (Google) Code Review2009-06-301-2/+8
| |\ | | | | | | | | | | | | * changes: Fix bug 1930055 of NullPointerException.
| | * Fix bug 1930055 of NullPointerException.John Wang2009-06-301-2/+8
| | | | | | | | | | | | | | | | | | The NullPointerException in getCallState is caused by the restarting of phone process. getITelephony() was not ready to be used at that moment. modified: java/android/telephony/TelephonyManager.java
* | | am 8aadf7ae: Merge change 5359 into donutAndroid (Google) Code Review2009-07-011-59/+46
|\ \ \ | |/ / | | | | | | | | | | | | | | | Merge commit '8aadf7ae278961926de5452a46863503303735cf' * commit '8aadf7ae278961926de5452a46863503303735cf': fix potential string index problems in PhoneNumberUtils.numberToCalledPartyBCDHelper
| * | fix potential string index problems in ↵Tammo Spalink2009-06-291-59/+46
| |/ | | | | | | | | | | PhoneNumberUtils.numberToCalledPartyBCDHelper addresses http://buganizer/issue?id=1489784
* | am d48388ab: Merge change 5344 into donutAndroid (Google) Code Review2009-06-251-0/+15
|\ \ | |/ | | | | | | | | | | Merge commit 'd48388ab8239d2b0f4b8a9a4189fe9eeddddedca' * commit 'd48388ab8239d2b0f4b8a9a4189fe9eeddddedca': frameworks/base: CDMA voicemail support
| * frameworks/base: CDMA voicemail supportDavid Krause2009-06-241-0/+15
| |
* | am 8696d703: Merge change 3874 into donutAndroid (Google) Code Review2009-06-182-80/+110
|\ \ | |/ | | | | | | | | | | Merge commit '8696d7030af6f0d58859f1027c423143b67f9fb4' * commit '8696d7030af6f0d58859f1027c423143b67f9fb4': for cdma concatenated (long) messages, replace ascii7bit with gsm7bit encoding
| * for cdma concatenated (long) messages, replace ascii7bit with gsm7bit encodingTammo Spalink2009-06-182-80/+110
| |
* | am 0b774530: Merge change 3015 into donutAndroid (Google) Code Review2009-06-111-16/+18
|\ \ | |/ | | | | | | | | | | Merge commit '0b77453076a22569f24318d194b378b68f11a63e' * commit '0b77453076a22569f24318d194b378b68f11a63e': make sms calculateLength radio-independent
| * make sms calculateLength radio-independentTammo Spalink2009-06-111-16/+18
| |
* | am ce8436f5: Merge change 3593 into donutAndroid (Google) Code Review2009-06-094-23/+23
|\ \ | |/ | | | | | | | | | | Merge commit 'ce8436f52e7f2c80f94e43d80d28cc962b7ff83b' * commit 'ce8436f52e7f2c80f94e43d80d28cc962b7ff83b': Cleanup whitespace.
| * Cleanup whitespace.Wink Saville2009-06-094-23/+23
| |
* | am 641bb3d8: expose (but still hide) sms user data headersTammo Spalink2009-06-021-3/+8
|\ \ | |/ | | | | | | | | | | Merge commit '641bb3d8dfd72f57356d39ef00256d6077c9e235' * commit '641bb3d8dfd72f57356d39ef00256d6077c9e235': expose (but still hide) sms user data headers
| * expose (but still hide) sms user data headersTammo Spalink2009-06-021-3/+8
| | | | | | | | addresses bug http://b/issue?id=1751571
* | am a3d28bd5: Merge change 520 into donutAndroid (Google) Code Review2009-05-291-3/+15
|\ \ | |/ | | | | | | | | | | Merge commit 'a3d28bd5c278f750c70f2b87fce23df221cd4a01' * commit 'a3d28bd5c278f750c70f2b87fce23df221cd4a01': Enforce permissions for PhoneStateListener events.
| * 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.
* | Stop the NANP number formatter from putting dashes in shortcodes.Ficus Kirkpatrick2009-05-261-0/+5
|/ | | | | This changes the result of PhoneNumberUtils.formatNumber("46645") from "466-45" to "46645".
* Merge change 1127 into donutAndroid (Google) Code Review2009-05-192-5/+8
|\ | | | | | | | | * changes: SmsHeader rewrite, in preparation for migration to public API.
| * SmsHeader rewrite, in preparation for migration to public API.Tammo Spalink2009-05-202-5/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Add a method to get the PhoneType in CellLocation.Jaikumar Ganesh2009-05-192-35/+55
| | | | | | | | | | | | 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>
* Teleca 2b changesWink Saville2009-05-186-28/+482
|
* AI 145778: Manual merge changes 145382-145384 from cupcake.Andy Stadler2009-04-101-12/+0
| | | | Automated import of CL 145778
* AI 144593: Fix GSM cell location updates.Mike Lockwood2009-04-051-2/+2
| | | | | | BUG=1761611 Automated import of CL 144593
* AI 144185: Integrate cdma into the main code base.Wink Saville2009-04-0213-1584/+2016
| | | | Automated import of CL 144185
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0315-0/+5260
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-0315-5236/+0
|
* auto import from //depot/cupcake/@132589The Android Open Source Project2009-03-031-26/+2
|
* auto import from //depot/cupcake/@137055The Android Open Source Project2009-03-021-2/+26
|
* auto import from //branches/cupcake/...@130745The Android Open Source Project2009-02-101-5/+3
|
* Code drop from //branches/cupcake/...@124589The Android Open Source Project2008-12-177-104/+643
|
* Initial ContributionThe Android Open Source Project2008-10-2112-0/+4699