Commit Graph

1170 Commits

Author SHA1 Message Date
Tyler Gunn
5bbeea0883 Add carrier config option to determine if "wifi-only" is supported.
By default we set this to "true", however it is anticipated in the future
that some carrier may desire to not allow the wifi-only option, hence
this carrier config option.

Bug: 27858149
Change-Id: I55b09655a590a661780cd9ed89c1e1b0d87d54dc
2016-03-30 14:50:30 -07:00
Chen Xu
3c11a5b3f8 Merge " fix Memory Leak caused by PhoneStateListener" into nyc-dev 2016-03-23 22:37:21 +00:00
fionaxu
f5d7c587e8 fix Memory Leak caused by PhoneStateListener
Bug: 22962661

Change-Id: Ibece746afc19dd6b71845a257b7bfb88a0f8e13f
2016-03-23 14:23:20 -07:00
Tyler Gunn
dfc1ee0162 Merge "Correct naming issues with video calling carrier config items." into nyc-dev 2016-03-21 18:37:09 +00:00
Meng Wang
6b2995ae14 Add new key in CarrierConfigManager for ICCID display.
Bug: 27574058
Change-Id: I74445c68f58e64a5baa87cd05fea9e91e59b0201
2016-03-16 15:09:17 -07:00
Tyler Gunn
f08361989d Correct naming issues with video calling carrier config items.
- Removed BOOL_ALLOW_VIDEO_PAUSE as it appears it was already added
as KEY_SUPPORT_PAUSE_IMS_VIDEO_CALLS_BOOL.
- Renamed BOOL_ALLOW_EMERGENCY_VIDEO_CALLS to KEY_ALLOW_EMERGENCY_VIDEO_CALLS_BOOL.

Bug: 27346047
Change-Id: I9f772e68ad9e78ce5a0419387c85a7f9630ecd5f
2016-03-15 20:33:13 -07:00
Chen Xu
5a994060a7 Merge "Add default Carrier cfg for IMS_WFC" into nyc-dev 2016-03-09 17:43:23 +00:00
fionaxu
c71e824c0d Add default Carrier cfg for IMS_WFC
Bug: 26954117
Change-Id: I2a8fda969d73e30425729019a4428a02f551bbb2
2016-03-08 16:49:24 -08:00
Joe Onorato
a102dd01e9 Turn down the logging a little bit.
Change-Id: Idc716000ba5d28f52aee3e1cb84832e1c6eaf440
2016-03-04 12:21:30 -08:00
Omkar Kolangade
d4f9ca844e Merge "IMS-VT: Disable multi tasking by default" into mm-wireless-dev
am: cf2f48e26b

* commit 'cf2f48e26bf50a6549d8c0c562cce0734565d978':
  IMS-VT: Disable multi tasking by default
2016-03-04 03:08:17 +00:00
Omkar Kolangade
2e8f8fe201 IMS-VT: Disable multi tasking by default
Disable multi tasking support by default for all operators.
Enable based on MCC/MNC for required oeprators.

Bug: 27484483
Change-Id: Ib321747885435c110360370eb243eee35762dfe3
2016-03-04 02:57:42 +00:00
Shishir Agrawal
3bf26b5605 Multi-SIM - Fixing inconsistent naming in CarrierConfigManager.
All MSIM specific calls should not use a suffix/prefix.

Bug: 26772894
Change-Id: I49488dfc41bb7996a1a44447968ec11132e4dac7
2016-02-25 10:15:54 -08:00
Amith Yamasani
66f0c6f3b8 Merge "Optimize calls to TelephonyManager to check for privileged apps" into nyc-dev 2016-02-24 19:42:12 +00:00
Amith Yamasani
4ec6368f13 Optimize calls to TelephonyManager to check for privileged apps
Calling into TelephonyManager each of hundreds of apps to check
if the app is carrier privileged was very expensive, especially
when there aren't even any carrier access rules specified. This
change fetches all the carrier privileged apps in one call,
reducing the number of IPC calls to the radio process and checks
the package names locally.

If the carrier rules change or packages are modified, the list
will be computed and fetched again.

Other optimizations in Telephony help speed up the individual calls
to check if a package is privileged, as well.

Bug: 27271861
Change-Id: I5a77b6da4f2cdc603d2a73bd8569c5c38f06b42d
2016-02-24 11:30:00 -08:00
Shishir Agrawal
5210393891 Add subscription specific TelephonyManager calls.
SubId specific version of the following functions are being added.
  - hasCarrierPrivileges
  - iccCloseLogicalChannel
  - iccExchangeSimIO
  - iccOpenLogicalChannel
  - iccTransmitApduBasicChannel
  - iccTransmitApduLogicalChannel
  - sendEnvelopeWithStatus
  - setOperatorBrandOverride
  - setPreferredNetworkTypeToGlobal

Bug: 26772894

Change-Id: I8c9e6d9bfe73f530e6f91c86211103fdfb1520bf
2016-02-23 17:06:09 -08:00
Shishir Agrawal
658d3c8b3a DO NOT MERGE: Multi-SIM - Fixing inconsistent naming in CarrierConfigManager.
All MSIM specific calls should not use a suffix/prefix.

Bug: 26772894
Change-Id: I49488dfc41bb7996a1a44447968ec11132e4dac7
2016-02-23 15:18:23 -08:00
Shishir Agrawal
6eef1df380 DO NOT MERGE: Add subscription specific TelephonyManager calls.
SubId specific version of the following functions are being added.
  - hasCarrierPrivileges
  - iccCloseLogicalChannel
  - iccExchangeSimIO
  - iccOpenLogicalChannel
  - iccTransmitApduBasicChannel
  - iccTransmitApduLogicalChannel
  - sendEnvelopeWithStatus
  - setOperatorBrandOverride
  - setPreferredNetworkTypeToGlobal

Bug: 26772894

Change-Id: I8c9e6d9bfe73f530e6f91c86211103fdfb1520bf
2016-02-17 14:44:09 -08:00
Abhijith Shastry
d48935879a Carrier config to support overriding block suppress duration after emergency contact.
BUG: 26989170
Change-Id: I6d8f13dd4f2b69730826cc8440a22c7154255ac8
2016-02-05 15:06:56 -08:00
Brian Jones
37e80e3167 Merge "Allow Full ICCID Print in dumpsys on Debuggable Builds" 2016-02-04 19:11:59 +00:00
Nathan Harold
b09fdff0ff Allow Full ICCID Print in dumpsys on Debuggable Builds
Bug: 26981705
Change-Id: I83b1cb7e4e382123daf506b1621e8e100b874611
2016-02-04 11:10:20 -08:00
Tyler Gunn
5f651eef1e Merge "Add new telephony disconnect cause for video calls when tty enabled." into mm-wireless-dev
am: 8562fb281c

* commit '8562fb281c37656d9198e6890f5c10e3541f6167':
  Add new telephony disconnect cause for video calls when tty enabled.
2016-02-02 17:46:46 +00:00
Tyler Gunn
8562fb281c Merge "Add new telephony disconnect cause for video calls when tty enabled." into mm-wireless-dev 2016-02-02 17:42:39 +00:00
Tyler Gunn
0384c53c4e Add new telephony disconnect cause for video calls when tty enabled.
Due to the way the radio works, it isn't possible to make a video call
when tty is enabled.  Adding a new telephony disconnect cause to handle
this case.
Note: This was previously handled directly in Telecom which is not
correct.

Bug: 20090652
Change-Id: I90b7d6486fe00c84efe7bb1c0f30edf33a1502bc
2016-01-29 08:52:29 -08:00
Amit Mahajan
dbb7d13ad5 Merge "Add a null check before accessing int[] parameter in ModemActivityInfo" into mm-wireless-dev
am: ff62707130

* commit 'ff62707130e08785bbef1f13819d875d179df787':
  Add a null check before accessing int[] parameter in ModemActivityInfo
2016-01-28 23:59:49 +00:00
Amit Mahajan
938dcc88fd Add a null check before accessing int[] parameter in ModemActivityInfo
Bug: 26842468
Change-Id: I3a5f7c8e454e7b9ace20f8082ee3fd1d0a24eb64
2016-01-28 15:30:39 -08:00
Jack Yu
b98fac6f1f Merge "Reduced more radio log spam" into mm-wireless-dev
am: 24c5e7c4ce

* commit '24c5e7c4ceb31c85868fe2c03e8a507e2cb0520f':
  Reduced more radio log spam
2016-01-28 00:05:14 +00:00
Adam Lesinski
72c3927f86 Merge "Record ModemActivityInfo and distribute power blame to apps" 2016-01-28 00:03:56 +00:00
Jack Yu
24c5e7c4ce Merge "Reduced more radio log spam" into mm-wireless-dev 2016-01-28 00:00:04 +00:00
Adam Lesinski
21f76aa770 Record ModemActivityInfo and distribute power blame to apps
Telephony expsoses a getModemActivity() method, which BatteryStats
will poll when a change in network activity occurs (on the modem).

The time spent in various states (tx, idle, rx) are distributed amongst
the apps that did rx/tx traffic during that window.

Bug:23147562
Change-Id: I480a85df95786f87c382b96816fe2ed4bb2d5a42
2016-01-27 15:45:30 -08:00
Ta-wei Yen
6c8cc662a6 Merge "Add KEY_VVM_PREFETCH_BOOLEAN to CarrierConfigManager" 2016-01-27 22:00:27 +00:00
Sanket Padawe
0491c46227 [DO NOT MERGE] Cellinfo: Update to version 12
Add support for:
GSM: arfcn, bsic, ta
WCDMA: uarfcn
LTE: earfcn
Updated public APIs for getting above fields.

Bug: 23528586
Change-Id: I1e741ec73f2f683a796d430898b62921fe6e75e9
2016-01-27 09:59:59 -08:00
Sanket Padawe
0c86efdbd9 Cellinfo: Update to version 12
Add support for:
GSM: arfcn, bsic, ta
WCDMA: uarfcn
LTE: earfcn
Updated public APIs for getting above fields.

Bug: 23528586
Change-Id: I97e18856bb41c5592f89641eac7d4a3dbef43d5d
2016-01-26 18:42:47 -08:00
Shishir Agrawal
05a7dfc48d Merge "Unhiding MSIM APIs." 2016-01-27 00:32:26 +00:00
Nathan Harold
67269fe0e5 Merge "Make DcRtInfo Power State Constants Final" into mm-wireless-dev
am: 4269239f86

* commit '4269239f865c55266e8ef7ef01b569c7fbfc1444':
  Make DcRtInfo Power State Constants Final
2016-01-26 23:25:16 +00:00
Nathan Harold
4269239f86 Merge "Make DcRtInfo Power State Constants Final" into mm-wireless-dev 2016-01-26 23:19:38 +00:00
Shishir Agrawal
7ea3e8bf89 Unhiding MSIM APIs.
1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
   APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.

Bug: 26772894
Change-Id: Ibebab7379ea79c8e4812bbd190342827048e30e2
2016-01-26 13:47:27 -08:00
Nathan Harold
86d4372c41 Merge "Remove Data RealTime Info Listener Support" 2016-01-26 20:13:26 +00:00
Jack Yu
87f47e9991 Reduced more radio log spam
Reduced more radio log spam

bug: 25956251
Change-Id: Ib870bb508c55ab009197fd7fcfa48e62fe3f7b6b
2016-01-26 10:24:56 -08:00
Shishir Agrawal
3a86d3d534 DO NOT MERGE : Unhiding MSIM APIs.
1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
   APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.

Bug: 26772894
Change-Id: Ibebab7379ea79c8e4812bbd190342827048e30e2
2016-01-26 09:29:24 -08:00
Narayan Kamath
ac044909f5 Merge "Revert "Cellinfo: Update to version 12"" into mm-wireless-dev
am: c980eca638

* commit 'c980eca638e549be342f99ba2bd6f27ada184736':
  Revert "Cellinfo: Update to version 12"
2016-01-26 09:49:20 +00:00
Narayan Kamath
d44d16f700 Revert "Cellinfo: Update to version 12"
This reverts commit aa2be45a56.

Change-Id: I5cc76b15b311e47bc5a892704930d218c9f72b0d
2016-01-26 09:44:54 +00:00
Ta-wei Yen
76193dc2d0 Add KEY_VVM_PREFETCH_BOOLEAN to CarrierConfigManager
This key will allow the carrier to specify to prefetch audio data on
new voicemail arrival. The default value it true.

This setting is not available to the user because it add too much
complexity.

Bug:23945351
Change-Id: I5ca6b4f64c3818c5f37ba608f4ab450c8b0ed9dc
2016-01-25 19:04:36 -08:00
Nathan Harold
ec1d600153 Make DcRtInfo Power State Constants Final
Bug: 26779884
Change-Id: Ia035b67fd682adb6542d6569d7634678f68a1e30
2016-01-25 17:29:10 -08:00
Sanket Padawe
3ea9b72a8e Merge "Cellinfo: Update to version 12" into mm-wireless-dev
am: 480bd2b97a

* commit '480bd2b97a46628f36fee606a2b63248aa75dd8a':
  Cellinfo: Update to version 12
2016-01-25 23:58:15 +00:00
Sanket Padawe
aa2be45a56 Cellinfo: Update to version 12
Add support for:
GSM: arfcn, bsic, ta
WCDMA: uarfcn
LTE: earfcn
Updated public APIs for getting above fields.

Bug: 23528586

Change-Id: I538a9f392550716d8a9a90e01fc88bc082ef7b81
2016-01-25 14:14:30 -08:00
Nathan Harold
8216236175 Remove Data RealTime Info Listener Support
-Remove Listener from the NetworkManagementService
-Remove the callback capability from TelephonyRegistry
-Remove the callback capbility from PhoneStateListener

Because of intractable problems with power consumption and
consistency, this signal is removed and should not be used.

Bug: 23319188

Change-Id: I99383075bbd5604cc801deab6de94ac97fc17bfd
2016-01-21 18:50:00 -08:00
Jack Yu
e0a6d6ab8d Merge "Data call retry refactoring" into mm-wireless-dev
am: 599f62562b

* commit '599f62562b6102f9e3830d5b32a282d23c59e2fd':
  Data call retry refactoring
2016-01-21 18:07:50 +00:00
Jack Yu
599f62562b Merge "Data call retry refactoring" into mm-wireless-dev 2016-01-21 17:43:19 +00:00
Amit Mahajan
42051806ea Merge "Revert "Added constructor with looper param for OnSubscriptionsChangedListener"" into mm-wireless-dev
am: e2b73804f3

* commit 'e2b73804f375a2d98ca21d4d1821a44dd3c52289':
  Revert "Added constructor with looper param for OnSubscriptionsChangedListener"
2016-01-20 19:20:09 +00:00
Amit Mahajan
e2b73804f3 Merge "Revert "Added constructor with looper param for OnSubscriptionsChangedListener"" into mm-wireless-dev 2016-01-20 19:15:45 +00:00