summaryrefslogtreecommitdiffstats
path: root/telephony
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit '270226b0' into manualmergeWink Saville2013-08-292-0/+26
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '270226b0': Add support for handling mobile provisioning networks. Conflicts: core/java/android/net/CaptivePortalTracker.java core/java/android/net/ConnectivityManager.java core/java/android/net/IConnectivityManager.aidl core/java/android/net/MobileDataStateTracker.java core/res/AndroidManifest.xml services/java/com/android/server/ConnectivityService.java Change-Id: I3925004011bb1243793c4c1b963d923dc2b00cb5
| * am 8cb2f42e: am 948282b0: Add support for handling mobile provisioning networks.Wink Saville2013-08-292-0/+26
| |\ | | | | | | | | | | | | * commit '8cb2f42eea2ef3b249528aa7913fc7a6dfc6b741': Add support for handling mobile provisioning networks.
| | * Add support for handling mobile provisioning networks.Wink Saville2013-08-292-0/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a sim is new or it has expired it needs to be provisioned with the carrier. Basically provisioning is associating a sim with a user account. When a sim isn't provisioned then operators will restrict access to the network and only allow certain addresses or services to be used. This set of changes allows two types of provisioning networks to be recognized. The first is a network that causes all DNS lookups to be redirected to a different address than was intended. This is exemplified by how T-Mobile works. The second technique uses a special apn for provisioning. An example is AT&T where lwaactivate is the provisioning apn and broadband is the normal apn. We first try broadband and if we are unable to connect we try lwaactivate. When we see the activate we identify it as special and the ApnContext.isProvisioningApn will return true. In the future our plan is to create a new network type that can be added to the apn list, but for now it identified by name. Here is a list of significant changes: - CaptivePortalTracker now only test WiFi networks instead of all networks - checkMobileProvisioning checks for provisioning networks and doesn't try to ping. - IConnectivityManager.aidl changes: * getProvisioningOrActiveNetworkInfo was added to and used by Manage mobile plan in WirelessSettings so even when there is no active network it will still allow provisioning. Otherwise it would report no internet connection. * setSignInErrorNotificationVisible is used by both CaptiviePortalTracker and checkMobileProvisioning so they use the same code for the notifications. * checkMobileProvisioning was simplified to have only a timeout as returning the result is now harder as we abort simultaneous call otherwise we'd could get into loops because we now check every time we connect to mobile. - Enhanced MDST to handle the provisioning network. - Added CONNECTED_TO_PROVISIONING_NETWORK to NetworkInfo to make a new state so we don't announce to the world we're connected. - TelephonyIntents.ACTION_DATA_CONNECTION_CONNECTED_TO_PROVISIONING_APN is sent by the low level data connection code to notify Connectivity Service that a provisioning apn has connected. This allows CS to handle the connection differently than a normal connection. Bug: 10328264 Change-Id: I3925004011bb1243793c4c1b963d923dc2b00cb5
* | | Protecting against NPE with null country detector.Santos Cordon2013-08-271-1/+1
| | | | | | | | | | | | | | | bug:10514454 Change-Id: I316c47eddbe4929599866a3f9da9129d0056e3e2
* | | Add network type TYPE_MOBILE_IA.Wink Saville2013-07-292-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a network type for establishing connections to the apn used for the initial connection. Enable some debug for now. Bug: 8733613 Change-Id: Ia627ac0cf5715660b6d02bb13a83d46ec1727b87
* | | Merge "Add carrier setup app integration"Evan Charlton2013-07-151-0/+17
|\ \ \
| * | | Add carrier setup app integrationEvan Charlton2013-06-271-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add an intent to invoke a native carrier setup app. This is paired with the INVOKE_CARRIER_SETUP permission, though it is up to the app to enforce that callers hold this permission. Change-Id: I317a40675de7e9587de23c028459be2331a2f8a2
* | | | Merge commit '3b5d686e' into fix-merge-conflictWink Saville2013-07-011-0/+1
|\ \ \ \ | | |/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '3b5d686e': Add checkMobileProvisioning to ConnectivityService. Conflicts: services/java/com/android/server/ConnectivityService.java Change-Id: Ieceb9c8f4aa4fa99258e56a720b4c74512369458
| * | | am c45f2e05: am 59046f40: Merge "Add checkMobileProvisioning to ↵Wink Saville2013-07-011-0/+1
| |\ \ \ | | | |/ | | |/| | | | | | | | | | | | | | | | | ConnectivityService." into jb-mr2-dev * commit 'c45f2e05e3b9d261009c66346ef2257ec105f05c': Add checkMobileProvisioning to ConnectivityService.
| | * | Add checkMobileProvisioning to ConnectivityService.Wink Saville2013-06-291-0/+1
| | | | | | | | | | | | | | | | | | | | Bug: 9279964 Change-Id: I42c326a21e05aa301e9d974ed9ac1d59472780ec
* | | | am ef8267c6: am 7334d25e: am 34fb4eae: Merge "Fix misspelling of ↵Wink Saville2013-06-212-2/+2
|\ \ \ \ | |/ / / | | | | | | | | | | | | | | | | | | | | getLteSignalStrenght." * commit 'ef8267c6ad54eb4c8c00d3d36333fb12dd519588': Fix misspelling of getLteSignalStrenght.
| * | | am 7334d25e: am 34fb4eae: Merge "Fix misspelling of getLteSignalStrenght."Wink Saville2013-06-212-2/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | * commit '7334d25e79d733b419aacfd706aad762f823f2f9': Fix misspelling of getLteSignalStrenght.
| | * \ \ am 34fb4eae: Merge "Fix misspelling of getLteSignalStrenght."Wink Saville2013-06-212-2/+2
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | * commit '34fb4eae36bc926886149718672809a1ad43be97': Fix misspelling of getLteSignalStrenght.
| | | * | | Fix misspelling of getLteSignalStrenght.Wink Saville2013-06-212-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change to getLteSignalStrength. Change-Id: Ie2acec9e01af0e64a61902383f06729a7cee1975
* | | | | | Merge "Add number presentation column to call log"Jay Shrauner2013-06-191-4/+0
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | Add number presentation column to call logJay Shrauner2013-06-181-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Change call log so instead of overloading the phone number with special strings "-1", "-2", etc to denote private phone numbers, payphones, etc, put presentation type in its own column and expose in the public API these type values. Bug:6948882 Change-Id: I230c26aa0428d605a0e83169a635b5bbf1aa4e3f
* | | | | | am 7f081794: am c80e3d43: TelephonyManager.listen can have notifyNow always ↵Wink Saville2013-06-191-1/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | / / | | |_|/ / | |/| | | | | | | | | | | | | true. * commit '7f081794074c1356ba347b802729adf36f06ad19': TelephonyManager.listen can have notifyNow always true.
| * | | | TelephonyManager.listen can have notifyNow always true.Wink Saville2013-06-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since telepony.registry is a real system service notifyNow parameter doesn't need to be conditional as telephony.registery will never go away. This is different from most of the other TelephonyManager methods which are used to invoke methods on the phone service which implements ITelephony and is implemented by PhoneInterfaceManager in the phone application. Since the phone app is not a system service it can and does go away when it crashes. Bug: 9393863 Change-Id: I1a8afc12b0e139e72f05820e49f3d996aec2b52a
* | | | | am 30af45f4: Merge "Allow carrier provisioning to turn toggle radio power." ↵Wink Saville2013-06-121-0/+5
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | into jb-mr2-dev * commit '30af45f47fd71feee0f9e5f8e049ba0380bc7793': Allow carrier provisioning to turn toggle radio power.
| * | | | Allow carrier provisioning to turn toggle radio power.Wink Saville2013-06-101-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously CarrierProvisioning toggle airplane mode, but now that's available only by the system. Bug: 9356811 Change-Id: I5167f8614c07bafb688983a360a008f76403b2b8
* | | | | am aafed1df: add link to required permission from ACTION_RESPOND_VIA_MESSAGEScott Main2013-06-041-3/+3
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | | * commit 'aafed1df0404e2fb64c1adeb127dc7f300a2c07b': add link to required permission from ACTION_RESPOND_VIA_MESSAGE
| * | | add link to required permission from ACTION_RESPOND_VIA_MESSAGEScott Main2013-06-041-3/+3
| | | | | | | | | | | | | | | | Change-Id: Iafa9c72c9bbd8258c7f961f7ab8ad78c96b61e54
* | | | am 39136d39: Merge "Fixing crash in PhoneNumberUtils getNumberFromIntent"Wink Saville2013-06-011-0/+5
|\ \ \ \ | |/ / / |/| / / | |/ / | | | * commit '39136d391ab04e93fd0a01b760e57b6ea079cf4c': Fixing crash in PhoneNumberUtils getNumberFromIntent
| * | Fixing crash in PhoneNumberUtils getNumberFromIntentMagnus Karlsson2013-05-021-0/+5
| | | | | | | | | | | | | | | | | | | | | Handling intent with no data when trying to retrieve number from intent. Change-Id: If7c5930e7048aec732fb7a3fbeb3391e1408b071
* | | Enhance TelephonyManger javadocs.Wink Saville2013-04-251-12/+34
| |/ |/| | | | | | | Bug: 856818 Change-Id: Idd30361f57b0f6627132a25e5b9520f30fce548c
* | Add CellInfoWcdma and related classes.Wink Saville2013-04-178-42/+620
| | | | | | | | | | | | | | Update javadoc's to define invalid values are Integer.MAX_VALUE. Bug: 8622081 Change-Id: I513a67d4b46b72f03e0c3360abcc0ad5222c1c13
* | Update function comment for getAllCellInfoWink Saville2013-04-091-1/+2
| | | | | | | | | | Bug: 8235566 Change-Id: Iae9b11480605d5302ee45601d1357fc07f9bd3e1
* | Add FW support for CellInfo RIL commands.Wink Saville2013-04-0810-17/+48
| | | | | | | | | | Bug: 8235566 Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1
* | Fix SignalStrength response.Wink Saville2013-04-081-0/+27
| | | | | | | | | | | | | | | | Add makeSignalStrengthFromRilParcel for use by RIL responseRilSignalStrength. Bug: 8561333 Change-Id: Ie6eb3b0335e8d7ea114ec70b3fb72e917094632e
* | Merge "make new API to retrieve group identifier level1" into jb-mr2-devRobert Greenwalt2013-04-022-0/+23
|\ \
| * | make new API to retrieve group identifier level1Sungmin Choi2013-03-272-0/+23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For mvno, user can add or edit mvno data field. To pre-provide the mvno data of the edited apn when the user selects one of the mvno types, need to support IMSI, SPN, and GID1 data. To support GID1, make API to retrieve group identifier level1. bug:6445254 Change-Id: I1bc280054cc7cd37e78a279866cefd62872a19fb
* | | Add BT - DataTracker connectionRobert Greenwalt2013-03-271-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | Allows the external BT stack the means to communicate with ConnectivityService during reverse tethering. bug:8445208 Change-Id: Ice7dfb0b50c9481d359aed14a51372878185171c
* | | Add some new constants.Wink Saville2013-03-211-2/+6
|/ / | | | | | | | | | | | | | | | | | | Add EVENT_DISCONNECT_DC_RETRYING, EVENT_SETUP_DATA_COMPLETE_ERROR and State.RETRYING to DctContants. Add MDC_INITIAL_MAX_RETRY to Settings.Global. Bug: 4772191 Change-Id: Id54a20ab192783c63939158670faaf531a527640
* | Turn off debug in CellInfoLte.Wink Saville2013-02-121-1/+1
| | | | | | | | Change-Id: Icf3ea5dad9eef71f644de2292db0b0d3960ced9d
* | Move a few files from frameworks/opt/telephony to frameworks/base.Wink Saville2013-02-073-0/+299
| | | | | | | | | | | | | | | | | | Because ISms.aidl imports PendingIntent we couldn't easily make opt/telephony part of the PDK. So this change moves ISms.aidl and SmsRawData.*, which ISms.aidl also imports, back to frameworks/base. Change-Id: Ia64c6e771d5a292d9bfebb413a43f3745df55c85
* | Fixing up doc links.Santos Cordon2013-02-041-2/+2
| | | | | | | | Change-Id: Id0e7f5007ce04fa714e3c1f21914b750b59aed3c
* | Merge "Sort out permission around "instant text response""Santos Cordon2013-02-041-0/+22
|\ \
| * | Sort out permission around "instant text response"Daisuke Miyakawa2012-12-061-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove SEND_SMS_NO_CONFIRMATION - Add SEND_RESPOND_VIA_MESSAGE Permission This permission is held by the phone and applications that want to handle respond-via-message should require this permission of the sender. This permission is signature/system and currently only held by the Phone app. Bug: 5108429 Change-Id: Ib611368d488de2f8e1e853f550eb2c654305eda4
* | | App ops: vibration, neighboring cells, dialing, etc.Dianne Hackborn2013-02-012-17/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Improve handling of vibration op, so that apps are better blamed (there is now a hidden vibrator API that supplies the app to blame, and the system now uses this when vibrating on behalf of an app). Add operation for retrieving neighboring cell information. Add a new op for calling a phone number. This required plumbing information about the launching package name through the activity manager, which required changing the internal startActivity class, which required hitting a ton of code that uses those internal APIs. Change-Id: I3f8015634fdb296558f07fe654fb8d53e5c94d07
* | | Move SmsRawData.aidl to opt/telephony.Wink Saville2013-02-011-19/+0
| | | | | | | | | | | | Change-Id: I31810a667cb2c987d4a7687a825ae6da06d8e59a
* | | am 24dbdc7d: am 23d85a91: am d84d289f: Merge "Telephony: Consider EVDO ecio ↵Wink Saville2013-01-231-1/+1
|\ \ \ | | |/ | |/| | | | | | | | | | | | | zero value as valid." * commit '24dbdc7d0e1e20b5c598561e7f5ed9c4dd335b7b': Telephony: Consider EVDO ecio zero value as valid.
| * | am d84d289f: Merge "Telephony: Consider EVDO ecio zero value as valid."Wink Saville2013-01-231-1/+1
| |\ \ | | | | | | | | | | | | | | | | * commit 'd84d289f443f5799fb1a81432428703dadb026dd': Telephony: Consider EVDO ecio zero value as valid.
| | * \ Merge "Telephony: Consider EVDO ecio zero value as valid."Wink Saville2013-01-231-1/+1
| | |\ \
| | | * | Telephony: Consider EVDO ecio zero value as valid.Banavathu, Srinivas Naik2012-10-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When mEvdoEcio receives 0 getEvdoEcio returns -1. Ecio valid values are positive integers, to fix this consider EVDO ecio zero value as valid. Change-Id: Ice8415150e7502c7f39e1a4135d35ea2bec1eb1f CRs-Fixed: 402159
* | | | | am c6e41cf2: am 28a7a059: am 881d5387: Merge "frameworks/base: Support for ↵Wink Saville2013-01-032-1/+3
|\ \ \ \ \ | |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | LTE network modes" * commit 'c6e41cf2680773b02a7d8caacb6047ed31d6c260': frameworks/base: Support for LTE network modes
| * | | | am 881d5387: Merge "frameworks/base: Support for LTE network modes"Wink Saville2013-01-032-1/+3
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit '881d5387a3e92fa30f5966f00a04c4a33af8f18b': frameworks/base: Support for LTE network modes
| | * | | frameworks/base: Support for LTE network modesUma Maheswari Ramalingam2013-01-022-1/+3
| | | | | | | | | | | | | | | | | | | | Change-Id: I93c102f92ff2d10856d91108bb50fe5c0f06ad66
| * | | | am be5316e0: Merge "Use Rlog"Wink Saville2012-12-0817-86/+87
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'be5316e012d98cd3e74f8aff628c88845cc3fb13': Use Rlog
| | * | | Use RlogWink Saville2012-12-0817-86/+87
| | | | | | | | | | | | | | | | | | | | Change-Id: I44919126606cd55f7dce7c942027ed0d914f04bd
| * | | | am c43670be: Merge "Add Rlog.java"Wink Saville2012-12-081-0/+94
| |\ \ \ \ | | |/ / / | | | | | | | | | | | | | | | * commit 'c43670be2b10d0d89b1bfd2fbbf6f70006d00968': Add Rlog.java