summaryrefslogtreecommitdiffstats
path: root/telephony
Commit message (Collapse)AuthorAgeFilesLines
* Merge change 20683Android (Google) Code Review2009-08-112-3/+11
|\ | | | | | | | | * changes: Add operator name in network selection.
| * Add operator name in network selection.johnwang2009-08-102-3/+11
| | | | | | | | | | | | | | Save the operator name during network selection. The name will be used by UI to provide network selection notification. See bug 1414247. modified: java/com/android/internal/telephony/PhoneBase.java modified: java/com/android/internal/telephony/gsm/GSMPhone.java
* | 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.
* Add ro.telephony.disable-call check in dialing.johnwang2009-08-103-7/+18
| | | | | | | | | | | | When ro.telephony.disable-call is set to true the phone disable actual calls. It provides a way to test in user-debug builds for stability runs. See bug 2031157. modified: java/com/android/internal/telephony/TelephonyProperties.java modified: java/com/android/internal/telephony/cdma/CdmaCallTracker.java modified: java/com/android/internal/telephony/gsm/GsmCallTracker.java modified: java/com/android/internal/telephony/TelephonyProperties.java modified: java/com/android/internal/telephony/cdma/CdmaCallTracker.java modified: java/com/android/internal/telephony/gsm/GsmCallTracker.java
* Make GSM 7-bit encoding properly deal with initial padding.Tammo Spalink2009-08-102-112/+132
| | | | | | | For CDMA, clean up the GSM encapsulation to properly align user data payload after the user data header. Addresses http://buganizer/issue?id=2007011
* Add configurable data-retry.Wink Saville2009-08-094-51/+445
| | | | | | | Add RetryManager and change GsmDataConnectionTracker and CdmaDataConnectionTracker to use it. Add TelephonyUtilsTest which tests RetryManager.
* CDMA voicemail notification fixesChristian Gustafsson2009-08-092-2/+3
| | | | | | | | | | | 1. Convert the voicemail count of a VM notification from BCD to decimal. That way the user will not be notified of 16 new VM when there are only 10. Ref: 3GPP2 C.S0015-B / 4.5.12 Number of Messages. 2. Allow VMN-95 notifications without "User Data" to be processed. Only mandatory items for VMN-95 are "Message Identifier" and "Number of Messages". Ref: 3GPP2 C.S0015-B / 4.3.5 Voice Mail Notification.
* Revert "Disable data call in emergency call"Wink Saville2009-08-082-33/+0
| | | | | | | Temporary rollback of this change, for now the radio can prevent data traffic, but that's not the desired long-term solution. This reverts commit 79ef673d56e2599932b8b7f13695d23b4df54d09.
* Touch activation screen shown up fixJinghui Guo2009-08-075-0/+98
| | | | | | | | | | | | | | | | | | | | During the time of OTA activation screen startup, the app needs to get MIN by calling getCdmaMin(). The issue in current code is that OTA app calls getCdmaMin() before framework gets MIN data from lower layer. To fix this issue, framework will be providing the following new APIs to applications for checking if MIN data is ready: 1. isMinInfoReady(): Check if mMin variable in getCdmaMin() has been assigned a non-null value. 2. registerForSubscriptionInfoReady(): Apps uses this API to register for notification. 3. unregisterForSubscriptionInfoReady(): This API is used by apps to unregister notification. Framework will be sending out the notification in the following situations: 1. when mMin is assigned a non-null MIN value; 2. When app calls register API and MIN is ready.
* Bubble up SMS send fail error code to the app.jsh2009-08-062-17/+33
| | | | | Framework portion of the fix for http://b/1978375: We'll pass up the error code returned by the RIL on send failure.
* Fix the issue of datacall not being reinitiated after exitingLibin Tang2009-08-051-0/+2
| | | | Emergency Callback Mode.
* fix CDMA SMS ASCII decode and mappingTammo Spalink2009-08-052-7/+7
|
* Merge change 9684Android (Google) Code Review2009-08-045-2/+7
|\ | | | | | | | | * changes: Add a DISCONNECTING call state.
| * Add a DISCONNECTING call state.jsh2009-08-045-2/+7
| | | | | | | | | | | | | | | | This indicates to the UI that the hangup command has been received by the Telephony layer and passed down to the RIL, but we have not yet been notified of a successful DISCONNECT. Addresses http://b/issue?id=1659876.
* | Fix WPS Queued pip tone not working issue.Tang@Motorola.com2009-08-031-1/+15
|/ | | | | | The alert pitch included in the signal information record should not be involved in the calculation for Pip tone type mapping.
* relax ia5 parsing, and combine with asciiTammo Spalink2009-08-032-48/+29
|
* Handle SMS during CDMA emergency callback modeRichard Meng2009-07-311-0/+21
| | | | | If in emergency callback mode, any 3rd party application tries to send Message using telephony API, return a NO_SERVICE error code.
* Add technology and authentication type in setupDataCall.johnwang2009-07-316-19/+38
| | | | | | | | | | | SetupDataCall needs radio technology parameter to identify CDMA and GSM type. 0 means CDMA and 1 means GSM. The values are different from GSM_PHONE and CDMA_PHONE. Add authType parameter to identify PAP/CHAP authentication. Currently the authType is set to use both PAP and CHAP in CDMA phone. modified: telephony/java/com/android/internal/telephony/CommandsInterface.java modified: telephony/java/com/android/internal/telephony/RIL.java modified: telephony/java/com/android/internal/telephony/RILConstants.java modified: telephony/java/com/android/internal/telephony/cdma/CdmaDataConnection.java modified: telephony/java/com/android/internal/telephony/gsm/PdpConnection.java modified: telephony/java/com/android/internal/telephony/test/SimulatedCommands.java
* Second word lost when SMS is received from emailSatish Roddom2009-07-301-9/+3
| | | | | | | | When SMS is sent from a email address, Email Gateway server sends a string containing from address, message text. Current code is treating the first word as from_address, second word as subject and rest of the string as message_body. Because of this second word is getting stored in separate variable and not as part of message text, so second word is always lost.
* Merge change 9260Android (Google) Code Review2009-07-301-18/+19
|\ | | | | | | | | * changes: Fix crash while dialing "*228;1"
| * Fix crash while dialing "*228;1"Libin Tang2009-07-301-18/+19
| |
* | am 1247a644: Merge change 9243 into donutAndroid (Google) Code Review2009-07-301-8/+0
|\ \ | | | | | | | | | | | | | | | | | | Merge commit '1247a6444bb9f006e0b9def5cd15d626785424bb' * commit '1247a6444bb9f006e0b9def5cd15d626785424bb': Clean up RIL_SIM_* in RILConstants
| * | Clean up RIL_SIM_* in RILConstantsJohn Wang2009-07-301-8/+0
| | | | | | | | | | | | | | | | | | GET_SIM_STATUS now returns structure RIL_CardStatus. So RIL_SIM_* status are obsoleted. modified: java/com/android/internal/telephony/RILConstants.java
* | | Merge branch 'master' of ↵Android (Google) Code Review2009-07-301-28/+71
|\ \ \ | | | | | | | | | | | | ssh://android-git.corp.google.com:29418/platform/frameworks/base
| * | | Fix CDMA ERI/roaming indicator issuesLibin Tang2009-07-301-28/+71
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | - If the SID is not in NAM and PRL, the phone should use default Roaming Indicator - If a system is acquired that matches the NAM but does NOT match the PRL, the device shall display a FLASHING roaming indicator - Handle corner cases for PRL is not loaded / Home SID is not programmed - Reorganize the ERI logic
* | | am 0da3bdb4: Fix public API caused due to CDMA changes.Jaikumar Ganesh2009-07-304-44/+44
|\ \ \ | |/ / |/| / | |/ | | | | | | Merge commit '0da3bdb476086db02a1076780676b21e239c79d6' * commit '0da3bdb476086db02a1076780676b21e239c79d6': Fix public API caused due to CDMA changes.
| * Fix public API caused due to CDMA changes.Jaikumar Ganesh2009-07-304-44/+44
| |
* | Represent SID/NID in decimal format.johnwang2009-07-302-4/+14
| | | | | | | | | | | | | | Interpret SID/NID ad decimal and add try/catch block to prevent crashing in wrong format. Update SID/NID comments. modified: java/com/android/internal/telephony/CommandsInterface.java modified: java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java
* | am b307c894: Fix bug 1994955 where PHONE_TYPE_CDMA was 0 and it should be 2 ↵Wink Saville2009-07-302-2/+3
|\ \ | |/ | | | | | | | | | | | | | | 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-292-2/+3
| | | | | | | | | | | | | | | | | | | | | | 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.
* | CDMA Message Waiting Indication supportyong liu2009-07-293-3/+25
| | | | | | | | | | Add support for Message Waiting Info Record defined in 3GPP2 C.S-0005 and used for voice mail count by some CDMA networks
* | Fix wrong Singal Strength interpretation.Yong Zhang2009-07-291-4/+4
| | | | | | | | | | | | The issue this change fixes is that phone status bar shows full signal strength bar even when phone is in bad signal area. The root cause is that the signal strenth is incorrectly interpreted.
* | Merge change 9054Android (Google) Code Review2009-07-293-4/+6
|\ \ | | | | | | | | | | | | * changes: Increase waiting time for data disable action in setPowerStateToDesired().
| * | Increase waiting time for data disable action in setPowerStateToDesired().Yong Zhang2009-07-293-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | The issue this change fixes is that phone did not send MIP deregisteration and LCP termination message when user powered down phone while data call was in dormant state. The root cause is Framework Telephony did not wait long enough before it sent the request to power off the radio. The fix is to increase the waiting timer.
* | | Disable data call in emergency callJinghui Guo2009-07-292-0/+33
|/ /
* | allow illegal subparam sizes for CDMA SMSTammo Spalink2009-07-291-116/+295
| | | | | | | | addresses http://buganizer/issue?id=2008358
* | Voicemail number setting is throwing exceptionrepo sync2009-07-281-0/+1
| |
* | Merge change 8745Android (Google) Code Review2009-07-271-1/+1
|\ \ | | | | | | | | | | | | * changes: Refix the MT call screen stuck issue. The issue this change fixes can be reproduced by following steps: 1. Originate and connect a call to remote party #1 that is not in Contacts. 2. Receive a call from the remote party #2 that is not in Contacts, the call waiting tone is sounded and the call waiting screen is displayed. 3. Press menu key and ignore the call, and the call waiting screen is dismissed and the remote party #2 is forwarded to voice mail. When we ignore the incoming call, Phone gets stuck with incoming call screen.
| * | Refix the MT call screen stuck issue.Ling Li2009-07-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The issue this change fixes can be reproduced by following steps: 1. Originate and connect a call to remote party #1 that is not in Contacts. 2. Receive a call from the remote party #2 that is not in Contacts, the call waiting tone is sounded and the call waiting screen is displayed. 3. Press menu key and ignore the call, and the call waiting screen is dismissed and the remote party #2 is forwarded to voice mail. When we ignore the incoming call, Phone gets stuck with incoming call screen. The fix is to update the phone state before notifying the state change in hangup() function.
* | | 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
| |
| * DO NOT MERGE. Implement IMSI function for CDMA phonesWink Saville2009-07-163-41/+110
| | | | | | | | | | | | | | | | Includes support to get the MCC and MNC from system properties, since they are known to be unreliable from the network. This is known to conflict with master and will be added by hand so as not to break the build.
* | Fix the issue of new call failing in 3-way call scenario.Jinghui Guo2009-07-271-0/+1
| | | | | | | | | | | | | | | | | | | | The issue this change fixes can be reproduced by: 1. place an MO call; 2. place the second MO call; 3. hangup from the other end for one of the calls so there is only one call connected; 4. try to place another call. This issue is that the new call would fail.
* | Fix for unknown number issue in CDMA call waitingAnna Markova2009-07-272-3/+19
| | | | | | | | | | | | During a call, if 2nd call is received, the 2nd remote party number should be properly displayed in case numberPresentation is set to ALLOWED
* | added non-numeric cdma sms address supportTammo Spalink2009-07-274-35/+156
| | | | | | | | addresses bug http://buganizer/issue?id=1992198
* | Fix for missing call drop notice in CDMA modeSatish.Kulkarni2009-07-253-4/+11
| | | | | | | | | | | | | | In case the cdma modem indicates unspecified error as a reason for a dropped call, then the cause was wrongly being translated to NORMAL call in DisconnectCause. This has been fixed to report ERROR_UNSPECIFIED as DisconnectCause in Connection.java.
* | Add method in Phone interface to check whether data is enabled.Wink Saville2009-07-244-0/+19
| | | | | | | | | | This adds isDataConnectivityEnabled to allow test methods to query the data connectivity state.
* | Fix bug# 1997056johnwang2009-07-232-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | The SID and NID in CDMA_SUBSCRIPTION are in hexadecimal format. So change the parseInt() in CdmaServiceStateTracker and add comments in CommandsInterface. modified: java/com/android/internal/telephony/CommandsInterface.java modified: java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java modified: java/com/android/internal/telephony/RIL.java modified: java/com/android/internal/telephony/CommandsInterface.java modified: java/com/android/internal/telephony/cdma/CdmaServiceStateTracker.java modified: java/com/android/internal/telephony/RIL.java
* | Fix remote caller ID unknow issue in 3 way callJinghui Guo2009-07-211-2/+2
| |
* | Merge change 7709Android (Google) Code Review2009-07-171-11/+3
|\ \ | | | | | | | | | | | | * changes: Fix MT Call screen stuck issue.