2182 Commits

Author SHA1 Message Date
Wink Saville
ab9321d13d Add checkMobileProvisioning to ConnectivityService.
Bug: 9279964
Change-Id: I42c326a21e05aa301e9d974ed9ac1d59472780ec
2013-06-29 21:10:57 -07:00
Wink Saville
c80e3d434f TelephonyManager.listen can have notifyNow always true.
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
2013-06-19 11:28:06 -07:00
Wink Saville
45ac9645da Allow carrier provisioning to turn toggle radio power.
Previously CarrierProvisioning toggle airplane mode, but now that's
available only by the system.

Bug: 9356811
Change-Id: I5167f8614c07bafb688983a360a008f76403b2b8
2013-06-10 10:10:42 -07:00
Scott Main
aafed1df04 add link to required permission from ACTION_RESPOND_VIA_MESSAGE
Change-Id: Iafa9c72c9bbd8258c7f961f7ab8ad78c96b61e54
2013-06-04 19:35:48 -07:00
Wink Saville
ca3597d436 Enhance TelephonyManger javadocs.
Bug: 856818
Change-Id: Idd30361f57b0f6627132a25e5b9520f30fce548c
2013-04-25 15:02:34 -07:00
Wink Saville
e3a9cbc052 Add CellInfoWcdma and related classes.
Update javadoc's to define invalid values are Integer.MAX_VALUE.

Bug: 8622081
Change-Id: I513a67d4b46b72f03e0c3360abcc0ad5222c1c13
2013-04-17 16:40:17 -07:00
Wink Saville
e5ac821772 Update function comment for getAllCellInfo
Bug: 8235566
Change-Id: Iae9b11480605d5302ee45601d1357fc07f9bd3e1
2013-04-09 16:19:27 -07:00
Wink Saville
094beeccf5 Add FW support for CellInfo RIL commands.
Bug: 8235566
Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1
2013-04-08 15:19:43 -07:00
Wink Saville
efbca4d01d Fix SignalStrength response.
Add makeSignalStrengthFromRilParcel for use by
RIL responseRilSignalStrength.

Bug: 8561333
Change-Id: Ie6eb3b0335e8d7ea114ec70b3fb72e917094632e
2013-04-08 11:35:47 -07:00
Robert Greenwalt
279e22bd35 Merge "make new API to retrieve group identifier level1" into jb-mr2-dev 2013-04-02 19:17:23 +00:00
Robert Greenwalt
665e1aed5e Add BT - DataTracker connection
Allows the external BT stack the means to communicate with
ConnectivityService during reverse tethering.

bug:8445208
Change-Id: Ice7dfb0b50c9481d359aed14a51372878185171c
2013-03-27 15:45:12 -07:00
Sungmin Choi
52a08cf683 make new API to retrieve group identifier level1
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
2013-03-27 17:24:55 +00:00
Wink Saville
75c1e69bd5 Add some new constants.
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
2013-03-21 07:20:05 -07:00
Wink Saville
e2c5081218 Turn off debug in CellInfoLte.
Change-Id: Icf3ea5dad9eef71f644de2292db0b0d3960ced9d
2013-02-12 10:47:32 -08:00
Wink Saville
5a72553ef9 Move a few files from frameworks/opt/telephony to frameworks/base.
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
2013-02-07 17:03:05 -08:00
Santos Cordon
8a747410e1 Fixing up doc links.
Change-Id: Id0e7f5007ce04fa714e3c1f21914b750b59aed3c
2013-02-04 11:17:19 -08:00
Santos Cordon
3b53da4934 Merge "Sort out permission around "instant text response"" 2013-02-04 17:58:13 +00:00
Dianne Hackborn
f265ea9d83 App ops: vibration, neighboring cells, dialing, etc.
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
2013-02-01 15:14:29 -08:00
Wink Saville
875efb86de Move SmsRawData.aidl to opt/telephony.
Change-Id: I31810a667cb2c987d4a7687a825ae6da06d8e59a
2013-02-01 08:56:29 -08:00
Wink Saville
d0c4ce4c3d am 24dbdc7d: am 23d85a91: am d84d289f: Merge "Telephony: Consider EVDO ecio zero value as valid."
* commit '24dbdc7d0e1e20b5c598561e7f5ed9c4dd335b7b':
  Telephony: Consider EVDO ecio zero value as valid.
2013-01-23 09:44:04 -08:00
Wink Saville
23d85a911e am d84d289f: Merge "Telephony: Consider EVDO ecio zero value as valid."
* commit 'd84d289f443f5799fb1a81432428703dadb026dd':
  Telephony: Consider EVDO ecio zero value as valid.
2013-01-23 09:38:19 -08:00
Wink Saville
d84d289f44 Merge "Telephony: Consider EVDO ecio zero value as valid." 2013-01-23 17:15:59 +00:00
Wink Saville
c48233c60d am c6e41cf2: am 28a7a059: am 881d5387: Merge "frameworks/base: Support for LTE network modes"
* commit 'c6e41cf2680773b02a7d8caacb6047ed31d6c260':
  frameworks/base: Support for LTE network modes
2013-01-03 15:21:52 -08:00
Wink Saville
28a7a05952 am 881d5387: Merge "frameworks/base: Support for LTE network modes"
* commit '881d5387a3e92fa30f5966f00a04c4a33af8f18b':
  frameworks/base: Support for LTE network modes
2013-01-03 15:14:15 -08:00
Uma Maheswari Ramalingam
ec7f4a6953 frameworks/base: Support for LTE network modes
Change-Id: I93c102f92ff2d10856d91108bb50fe5c0f06ad66
2013-01-02 14:05:58 -08:00
Robert Greenwalt
4274d3f6f3 Merge "Removing unused INITING state." 2012-12-12 10:14:18 -08:00
Wink Saville
64a9864591 am be5316e0: Merge "Use Rlog"
* commit 'be5316e012d98cd3e74f8aff628c88845cc3fb13':
  Use Rlog
2012-12-08 13:11:45 -08:00
Wink Saville
22b1e80c24 Use Rlog
Change-Id: I44919126606cd55f7dce7c942027ed0d914f04bd
2012-12-08 09:06:51 -08:00
Wink Saville
20ab6d1f02 am c43670be: Merge "Add Rlog.java"
* commit 'c43670be2b10d0d89b1bfd2fbbf6f70006d00968':
  Add Rlog.java
2012-12-08 08:38:43 -08:00
Jake Hamby
f87f1f6e66 am 5fe4be69: am 6fb126b5: am 91bb0771: Merge "Enable Turkish language encoding for Turkish SIM cards." into jb-mr1.1-dev
* commit '5fe4be69141ab67b32f99d86cad9817653764417':
  Enable Turkish language encoding for Turkish SIM cards.
2012-12-06 23:22:44 -08:00
Jake Hamby
5fe4be6914 am 6fb126b5: am 91bb0771: Merge "Enable Turkish language encoding for Turkish SIM cards." into jb-mr1.1-dev
* commit '6fb126b5bbcf51f50064477f5070fe845cfd5454':
  Enable Turkish language encoding for Turkish SIM cards.
2012-12-06 19:00:38 -08:00
Daisuke Miyakawa
149ceec6eb Sort out permission around "instant text response"
- 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
2012-12-06 16:24:48 -08:00
Jake Hamby
37a2163267 Enable Turkish language encoding for Turkish SIM cards.
Enable Turkish language encoding for SMS messages. Adds an
MCC-specific config.xml override to enable the Turkish
language tables for Turkish SIM cards. Also modifies
GsmAlphabet.java to load the config.xml values before use,
so the SMSDispatcher will get the current values instead of
caching the boot-time values before the MCC is loaded.

Bug: 7422368
Change-Id: I57cd5fcc1d04a2d0cba3e8b9022078679cf5d4c1
2012-12-06 14:53:44 -08:00
Wink Saville
7ba6a6778e Add Rlog.java
Rlog is like Log except that the destination buffer is
the radio buffer instead of the main buffer.

Change-Id: Ib4ce47abfda31dfc0b9193b10f8f42b225275f61
2012-12-06 13:10:45 -08:00
Robert Greenwalt
8c190cc01b Removing unused INITING state.
Change-Id: I02e09c44a4fc6c28bbdb6b81a2c8a44030374854
2012-12-06 11:07:57 -08:00
Makoto Onuki
aeb3751559 resolved conflicts for merge of 9cd8c711 to master
Change-Id: I5e2d13c44f6a0589648e5934c8c36790da85e828
2012-11-30 10:05:20 -08:00
Makoto Onuki
9cd8c711a7 am 95229721: am c50ed032: Merge "Remove unused IExtendedNetworkService" into jb-mr1.1-dev
* commit '9522972108ac5ff009eef2a124cfc72e692d54b9':
  Remove unused IExtendedNetworkService
2012-11-30 09:38:21 -08:00
Makoto Onuki
1b86d75d31 Remove unused IExtendedNetworkService
It was used in the cupcake era for docomo.  Is not used anymore.

Bug 7633569

Change-Id: I2ec826fc9a70d261a340957a937ed4c9f8e67c5c
2012-11-29 12:52:51 -08:00
Wink Saville
599a90c2a0 Use Rlog instead of Log
Change-Id: I2332f4210ead8a6d751fc9c0505db25033641da2
2012-11-27 12:29:13 -08:00
Wink Saville
0dde2c20a0 Separate voice and data radio technology/network type & registration state.
Change-Id: Ic9622e3fd637751b427c1627bbdf4d142acbc66e
2012-11-16 08:12:11 -08:00
Wink Saville
69e25226a3 Revert "Separate voice and data radio technology/network type & registration state."
This reverts commit b690ac3b27d9b782a23a5f9a82bb3421e88716e3

Change-Id: I006ab1fb9c7fb8da64e2c481a2b6f0cb137deba4
2012-11-15 15:16:45 -08:00
Wink Saville
b690ac3b27 Separate voice and data radio technology/network type & registration state.
Change-Id: I2802eb5c5833e3b81891da82b71acc51ca5af81f
2012-11-14 17:03:01 -08:00
Kenny Root
58ed5d748c am 768d9e1a: Merge "Correct executable bit for source files"
* commit '768d9e1a72ceee7d4a5f608776b87b62d6ce4a04':
  Correct executable bit for source files
2012-11-07 11:52:12 -08:00
Kenny Root
3a084af2e9 Correct executable bit for source files
Many media files and source code files were marked as executable in Git.
Remove those.

Also a shell script and python script were not marked as executable.

Change-Id: Ieb51bafb46c895a21d2e83696f5a901ba752b2c5
2012-11-07 10:27:31 -08:00
Banavathu, Srinivas Naik
8ab862cbd4 Telephony: Consider EVDO ecio zero value as valid.
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
2012-10-19 00:41:38 -07:00
Wink Saville
8a06969d5b Merge "Refactor Cell Location public API." into jb-mr1-dev 2012-09-23 15:44:30 -07:00
Wink Saville
c6e4917add Refactor Cell Location public API.
Bug: 7189651
Change-Id: I173412095a5f7ae6116ee65b5315782f1c0c7688
2012-09-21 13:54:05 -07:00
Wink Saville
a12a7b3d3d Suppress location information for non-active users.
Specifically, don't allow call backs for LISTEN_CELL_LOCATION and
LISTEN_CELL_INFO.

Bug: 7087342
Change-Id: Ida7f60b5bde3f28264dcb454b38fcfb1f1616d11
2012-09-20 10:09:45 -07:00
Wink Saville
ea4f446a81 am 72c06bcf: am 0c99f7e3: am ba3cf72a: Merge "Telephony: Clarify IccCardConstants.State enum"
* commit '72c06bcf1970f615f5037b9f63759d06a527cb4e':
  Telephony: Clarify IccCardConstants.State enum
2012-09-11 13:21:38 -07:00
Wink Saville
0c99f7e36d am ba3cf72a: Merge "Telephony: Clarify IccCardConstants.State enum"
* commit 'ba3cf72a08368ab40556b07b4518536bb59eb2f6':
  Telephony: Clarify IccCardConstants.State enum
2012-09-11 13:17:17 -07:00