3457 Commits

Author SHA1 Message Date
Pavel Zhamaitsiak
8a688b2f36 Merge "Add ITelephonyDebugSubscriber.aidl" into mm-wireless-dev 2016-01-28 23:42:26 +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
Pavel Zhamaitsiak
ed0eecf7a2 Add ITelephonyDebugSubscriber.aidl
It can be used to subscribe for telephony debug events.

Change-Id: I6f17b0409f1117abd2d4caac99d3301c43134c75
2016-01-27 18:00:17 -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
Sanket Padawe
d11c15d418 Merge "Add new RIL command for sending ack to solicited async and unsolicited msg." into mm-wireless-dev
am: 2ed3add734

* commit '2ed3add734df1b9b35d91b69f2722b9554d2cf2b':
  Add new RIL command for sending ack to solicited async and unsolicited msg.
2016-01-27 23:29:25 +00:00
Sanket Padawe
2ed3add734 Merge "Add new RIL command for sending ack to solicited async and unsolicited msg." into mm-wireless-dev 2016-01-27 23:25:09 +00: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
2f805530f4 Add new RIL command for sending ack to solicited async and unsolicited msg.
Bug: 22127517
Change-Id: I371aae330f96e5767850b8c7fabbb36984334a98
2016-01-26 19:29:32 -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 aa2be45a560b37c5249600667ee36a9f156515c2.

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
Junda Liu
3f4c8d21e2 Merge "Make getIccSimChallengeResponse a carrier API." 2016-01-20 06:33:09 +00:00
Amit Mahajan
ca1bdcfd70 Revert "Added constructor with looper param for OnSubscriptionsChangedListener"
This reverts commit 831e401c055391745691a58d0c87c48b49139f50.

Not needed now since tests create HandlerThread

BUG=25691379
Change-Id: Ic0ac3e3ef3c717fd31acb5fc8d6d81cc9995a2f7
2016-01-19 22:46:34 +00:00
Jonathan Basseri
663d09ab42 Merge "Un-hide carrier config keys." 2016-01-19 17:09:50 +00:00
Akshay Kannan
e1bb8f5b51 Merge "Flip EMERGENCY_ASSISTANCE_ENABLED to true Bug: 23591361" 2016-01-19 17:08:50 +00:00
Brad Ebinger
2e98cfd70b Merge "Refactoring and cleanup" 2016-01-16 00:24:43 +00:00
Jonathan Basseri
ab5acff9c7 Un-hide carrier config keys.
CarrierConfigManager is not meant to have hidden keys, but some were
needed after API 23 freeze. So add them to API 24.

Change-Id: Ibf25cd3c779bf90ccf1b113445b823707bfb918e
2016-01-15 14:51:57 -08:00
Akshay Kannan
5b63b416fc Flip EMERGENCY_ASSISTANCE_ENABLED to true
Bug: 23591361

Change-Id: I4f463a709137b6f37a1abc6c420834fee200551e
2016-01-15 13:14:45 -08:00
Jack Yu
090dd72999 Data call retry refactoring
Moved retry manager from DataConnection to ApnContext. Moved the
configuration from system properties to carrier config.

bug: 22208242
Change-Id: I224d4b0fd0115b964e85a07e2c1b5061726ca91b
2016-01-15 10:26:51 -08:00
Amit Mahajan
aa17797fda Merge "Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mm-wireless-dev
am: 49442a1dd7

* commit '49442a1dd7bbf15e6014e88d8143f198a43bad05':
  Adding new intent for EMERGENCY_CALL_STATE_CHANGE
2016-01-15 00:16:28 +00:00
Amit Mahajan
49442a1dd7 Merge "Adding new intent for EMERGENCY_CALL_STATE_CHANGE" into mm-wireless-dev 2016-01-14 23:54:14 +00:00
Amit Mahajan
0c0814839f Adding new intent for EMERGENCY_CALL_STATE_CHANGE
Bug: 24147407
Change-Id: Ida957b9cc6b9c3e13bc8660213ce5cf979c886d5
2016-01-14 11:42:31 -08:00
Victor Chang
f577d79e43 Merge "Show work missed call notification for sim call from work contacts" 2016-01-13 23:11:36 +00:00
Pavel Zhamaitsiak
14ef09514b Add ITelephonyDebug.aidl
(cherry picked from commit f91818ca3458f9c1f1d6b6d278f8d6cc2fc14511)

Change-Id: Ie3c846a90632e3afa793e6e60f5a3390a260c5a5
2016-01-13 15:09:16 -08:00
Victor Chang
9359ee18a5 Show work missed call notification for sim call from work contacts
BUG=26082618

Change-Id: I82bf3d9835589a309101b23536748ae2b27b1d2d
2016-01-13 22:44:52 +00:00
Pavel Zhamaitsiak
4a4345b681 Merge "Add ITelephonyDebug.aidl" into mm-wireless-dev 2016-01-13 21:40:38 +00:00
Amit Mahajan
88ca5398eb Added constructor with looper param for OnSubscriptionsChangedListener
am: 831e401c05

* commit '831e401c055391745691a58d0c87c48b49139f50':
  Added constructor with looper param for OnSubscriptionsChangedListener
2016-01-13 00:36:14 +00:00
Amit Mahajan
831e401c05 Added constructor with looper param for OnSubscriptionsChangedListener
This is needed for tests as subclasses may need to specify which
looper to use.

Bug: 25691379
Change-Id: Ia6eb2d34c439b420ef81622e3c8ff50a0290da22
2016-01-12 16:14:22 -08:00
Pavel Zhamaitsiak
cef504f914 resolve merge conflicts of 68514d5325 to master.
Change-Id: Ifbd3766e8a799a72e49adcdc6c5d509f2b8b53a6
2016-01-13 00:08:41 +00:00
Pavel Zhamaitsiak
95a0c7c8e6 resolve merge conflicts of 68514d5325 to master.
Change-Id: I989230fe4a307070f7d13b53b9eea9f23a4b5e34
2016-01-12 15:43:11 -08:00