]> nv-tegra.nvidia Code Review - android/platform/frameworks/opt/telephony.git/log
android/platform/frameworks/opt/telephony.git
7 years agoMerge "Remove request{LinkProperties,NetworkCapabilities} by NetworkRequest"
Erik Kline [Tue, 7 Mar 2017 13:32:33 +0000 (13:32 +0000)]
Merge "Remove request{LinkProperties,NetworkCapabilities} by NetworkRequest"
am: 079277986d

Change-Id: Ic25bf55b79899dc26180f62ab51910d415d5d82b

7 years agoMerge "Remove request{LinkProperties,NetworkCapabilities} by NetworkRequest"
Treehugger Robot [Tue, 7 Mar 2017 13:27:09 +0000 (13:27 +0000)]
Merge "Remove request{LinkProperties,NetworkCapabilities} by NetworkRequest"

7 years agoRemove request{LinkProperties,NetworkCapabilities} by NetworkRequest
Erik Kline [Tue, 7 Mar 2017 08:14:59 +0000 (17:14 +0900)]
Remove request{LinkProperties,NetworkCapabilities} by NetworkRequest

Test: treehugger
Bug: 32163131
Change-Id: Idbc6ad949540c62d7db727f52d93fcd8fda694d8

7 years agoMerge "Delete unused code."
Amit Mahajan [Tue, 7 Mar 2017 02:38:53 +0000 (02:38 +0000)]
Merge "Delete unused code."
am: 223446daad

Change-Id: I225ff7c59f08c93259816f2595ed58b96cb5b305

7 years agoMerge "Fixed enableLocationUpdates crash"
Jack Yu [Tue, 7 Mar 2017 01:01:05 +0000 (01:01 +0000)]
Merge "Fixed enableLocationUpdates crash"
am: 663db0d09b

Change-Id: Ic9e7a4dfdac9d19cee4ca2b3c4a9b5c9783cc092

7 years agoMerge "Delete unused code."
Treehugger Robot [Mon, 6 Mar 2017 23:13:13 +0000 (23:13 +0000)]
Merge "Delete unused code."

7 years agoMerge "Fixed enableLocationUpdates crash"
Treehugger Robot [Mon, 6 Mar 2017 22:01:12 +0000 (22:01 +0000)]
Merge "Fixed enableLocationUpdates crash"

7 years agoMerge "Read the voice message count properly"
Umashankar Godachi [Mon, 6 Mar 2017 21:53:54 +0000 (21:53 +0000)]
Merge "Read the voice message count properly"
am: f131beed5f

Change-Id: Ic94440abc9b0c60885ddc0e822fb2bbc5ffc863c

7 years agoMerge "Read the voice message count properly"
Treehugger Robot [Mon, 6 Mar 2017 20:10:50 +0000 (20:10 +0000)]
Merge "Read the voice message count properly"

7 years agoFixed enableLocationUpdates crash
Jack Yu [Sun, 5 Mar 2017 16:52:42 +0000 (08:52 -0800)]
Fixed enableLocationUpdates crash

1. The EVENT_GET_LOC_DONE handler dit not handle the
   new voice registration response properly. This is a
   regression introduced in ag/1907337.

2. Make ServiceStateTracker unit tests passed again!
   Fixed a regression introduced by the Trebel change ag/1750738.
   Return value of EVENT_RESTRICTED_STATE_CHANGED now is an integer
   instead of an integer array.

Test: Telephony sanity tests
bug: 35980759
Change-Id: Idcacc4c891950913172be00daa966e7eb5be7fa6

7 years agoMerge "Fixed DeviceStateMonitor unit tests"
Jack Yu [Sun, 5 Mar 2017 18:35:48 +0000 (18:35 +0000)]
Merge "Fixed DeviceStateMonitor unit tests"
am: 09b4cd2c63

Change-Id: I811c27af342168e63920e444b70b3df0f6f12c6c

7 years agoMerge "Fixed DeviceStateMonitor unit tests"
Treehugger Robot [Sun, 5 Mar 2017 18:31:43 +0000 (18:31 +0000)]
Merge "Fixed DeviceStateMonitor unit tests"

7 years agoMerge "Handle empty operator numeric."
Pankaj Kanwar [Sun, 5 Mar 2017 17:49:36 +0000 (17:49 +0000)]
Merge "Handle empty operator numeric."
am: 181b377f25

Change-Id: Ia32a2be20cc541d85b7c4daffa21e2a6efb55c3e

7 years agoMerge "Handle empty operator numeric."
Pankaj Kanwar [Sun, 5 Mar 2017 17:43:19 +0000 (17:43 +0000)]
Merge "Handle empty operator numeric."

7 years agoFixed DeviceStateMonitor unit tests
Jack Yu [Sun, 5 Mar 2017 16:27:06 +0000 (08:27 -0800)]
Fixed DeviceStateMonitor unit tests

Test: unit tests
bug: 32223897
Change-Id: Ia165bebd71816ab505a0f0357eba48b415d72524

7 years agoDelete unused code.
Amit Mahajan [Sat, 4 Mar 2017 01:34:53 +0000 (17:34 -0800)]
Delete unused code.

Also merged RILSender and RilHandler into a single Handler.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: Ibe00dc25a5c6370ac6f25c9d140545b51e5f1c9d

7 years agoMerge changes I61f19621,I70faef33
Amit Mahajan [Sat, 4 Mar 2017 00:22:52 +0000 (00:22 +0000)]
Merge changes I61f19621,I70faef33
am: ef4062e157

Change-Id: Iea4856878a41d2cd2489a49c8d08251d06130aa8

7 years agoresolve merge conflicts of 274a51709 to stage-aosp-master
Amit Mahajan [Fri, 3 Mar 2017 23:42:00 +0000 (15:42 -0800)]
resolve merge conflicts of 274a51709 to stage-aosp-master

Change-Id: I2aa6445600eed502738f578494dc8a8a73ec4d18

7 years agoMerge changes I61f19621,I70faef33
Treehugger Robot [Fri, 3 Mar 2017 23:37:25 +0000 (23:37 +0000)]
Merge changes I61f19621,I70faef33

* changes:
  Get rid of RIL version.
  Set radio state to unavailable when rild crashes.

7 years agoMerge "Remove duplicate pollStateDone functions."
Treehugger Robot [Fri, 3 Mar 2017 23:30:11 +0000 (23:30 +0000)]
Merge "Remove duplicate pollStateDone functions."

7 years agoGet rid of RIL version.
Amit Mahajan [Fri, 3 Mar 2017 21:55:07 +0000 (13:55 -0800)]
Get rid of RIL version.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: I61f19621dd86622faecca77c4dadf3ced81e9c21

7 years agoSet radio state to unavailable when rild crashes.
Amit Mahajan [Fri, 3 Mar 2017 21:21:27 +0000 (13:21 -0800)]
Set radio state to unavailable when rild crashes.

This is to match earlier implementation.

Test: Basic telephony sanity
Bug: 32020264
Change-Id: I70faef332fd2df2bd2354b9d9ed5d120089e9399

7 years agoRemove duplicate pollStateDone functions.
Amit Mahajan [Fri, 3 Mar 2017 20:01:12 +0000 (12:01 -0800)]
Remove duplicate pollStateDone functions.

Test: Basic telephony sanity
Bug: 28299251
Merged-in: I74a096bdc22db59749afe6baa06abe046c3d5242
Change-Id: I735f223dea6659d75a6bc3739affa6f81b45a9e4

7 years agoMerge "Added remote display support"
Jack Yu [Fri, 3 Mar 2017 06:34:48 +0000 (06:34 +0000)]
Merge "Added remote display support"
am: 4a777d19ca

Change-Id: Ie8f712258a3f8231d9d347ef517bfe82ef673beb

7 years agoMerge "Added remote display support"
Treehugger Robot [Fri, 3 Mar 2017 06:30:23 +0000 (06:30 +0000)]
Merge "Added remote display support"

7 years agoAdded remote display support
Jack Yu [Thu, 2 Mar 2017 20:08:06 +0000 (12:08 -0800)]
Added remote display support

If one of the logical screens (e.g. Android auto, wifi display,
HDMI display, wifi display, etc...) is on, then behave like
the main screen is on. This will ehnance the user experience on
Android auto or Chromcasting from the phone.

Test: Telephony sanity tests
bug: 20125037
Change-Id: I3ecf9d4504a50eac5cbe2cb22b512953cb78a7f7

7 years agoMerge "Added device state monitor"
Jack Yu [Thu, 2 Mar 2017 06:11:29 +0000 (06:11 +0000)]
Merge "Added device state monitor"
am: 442a1aa29c

Change-Id: Ib89768a88380cfc4d33bbaa81acdea509e647f2a

7 years agoMerge "Added device state monitor"
Treehugger Robot [Thu, 2 Mar 2017 06:02:19 +0000 (06:02 +0000)]
Merge "Added device state monitor"

7 years agoAdded device state monitor
Jack Yu [Sat, 18 Feb 2017 18:03:28 +0000 (10:03 -0800)]
Added device state monitor

Added DeviceStateMonitor to replace the legacy screen state RIL
API. Instead of sending the screen state to the modem, the new
device state monitor can explicitly turn on/off the unsolicited
response from the modem based on difference scenarios (e.g.
tethering, charging, screen state). It also sends more device
state to the modem including charging state, power saving state,
and low data expected state.

Note that in order to support the old vendor RIL, framework will
still invoke the legacy screen state API to ensure the best
user experience on those devices.

Test: Manual. Unit tests.
bug: 322238972012503728294587

Merged-In: I76ce307bde1d3160af2ac44a57f101e4cafc7ae4
Change-Id: I76ce307bde1d3160af2ac44a57f101e4cafc7ae4

7 years agoMerge commit '42aeea381' into stage_aosp_master
Nathan Harold [Wed, 1 Mar 2017 21:00:48 +0000 (13:00 -0800)]
Merge commit '42aeea381' into stage_aosp_master

7 years agoMerge commit '66c563051' into stage-aosp-master
Nathan Harold [Wed, 1 Mar 2017 20:57:56 +0000 (12:57 -0800)]
Merge commit '66c563051' into stage-aosp-master

Change-Id: Ib87e83edc8c12744914f5b3d8b43a6bd4eaf69eb

7 years agoMerge changes from topic 'query-fplmn-sync'
nharold [Wed, 1 Mar 2017 20:25:15 +0000 (20:25 +0000)]
Merge changes from topic 'query-fplmn-sync'

* changes:
  Add support for querying Forbidden PLMNs
  Update file formatting for SIMRecords.java

7 years agoMerge "Permit privileged system apps to send SMS without persisting."
ashastry [Wed, 1 Mar 2017 18:22:43 +0000 (18:22 +0000)]
Merge "Permit privileged system apps to send SMS without persisting."
am: 98399f06c9

Change-Id: I134fc7066e48d36da6ada55b2912ca4d85a08b03

7 years agoMerge "Permit privileged system apps to send SMS without persisting."
ashastry [Wed, 1 Mar 2017 18:18:46 +0000 (18:18 +0000)]
Merge "Permit privileged system apps to send SMS without persisting."

7 years agoMerge "Handle update in Data and Voice registration state"
Sooraj Sasindran [Wed, 1 Mar 2017 18:08:23 +0000 (18:08 +0000)]
Merge "Handle update in Data and Voice registration state"
am: 9ca49a5dec

Change-Id: I3489c4e63bab051f135b5371f2b8c16d93f0d4a5

7 years agoMerge "Handle update in Data and Voice registration state"
Sooraj Sasindran [Wed, 1 Mar 2017 18:06:17 +0000 (18:06 +0000)]
Merge "Handle update in Data and Voice registration state"

7 years agoMerge "Support for detection of international call while on WFC only."
Tyler Gunn [Wed, 1 Mar 2017 16:49:18 +0000 (16:49 +0000)]
Merge "Support for detection of international call while on WFC only."
am: 3320f824a7

Change-Id: If1bd8144926ee73f4f49fd5865de4d081419e094

7 years agoMerge "Support for detection of international call while on WFC only."
Tyler Gunn [Wed, 1 Mar 2017 16:08:39 +0000 (16:08 +0000)]
Merge "Support for detection of international call while on WFC only."

7 years agoHandle update in Data and Voice registration state
Sooraj Sasindran [Tue, 14 Feb 2017 07:12:12 +0000 (23:12 -0800)]
Handle update in Data and Voice registration state

Handle RIL interface update in data registration state
and voice registration state.

Test: Tested with updated QCRIL

new RILJ logs on different rats are as follows

02-27 10:22:48.489 D/RILJ    ( 1483): [4169]< DATA_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 14, .reasonDataDenied = -1, .maxDataCalls
= 20, .cellIdentity = {.cellInfoType = LTE, .cellIdentityGsm = [],
.cellIdentityWcdma = [], .cellIdentityCdma = [], .cellIdentityLte =
[{.mcc = -1, .mnc = -1, .ci = 56, .pci = 135, .tac = 13826, .earfcn =
-1}], .cellIdentityTdscdma = []}} [SUB0]

02-27 10:22:48.463 D/RILJ    ( 1483): [4166]< VOICE_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 14, .cssSupported = true,
.roamingIndicator = 1, .systemIsInPrl = -1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = LTE,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [{.mcc = -1, .mnc = -1, .ci = 56, .pci = -1, .tac =
-1, .earfcn = -1}], .cellIdentityTdscdma = []}} [SUB

02-27 11:13:16.138 D/RILJ    ( 2110): [3992]< DATA_REGISTRATION_STATE
{.regState = REG_ROAMING, .rat = 13, .reasonDataDenied = -1,
.maxDataCalls = 20, .cellIdentity = {.cellInfoType = CDMA,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma =
[{.networkId = -1, .systemId = -1, .baseStationId = -1, .longitude = -1,
.latitude = -1}], .cellIdentityLte = [], .cellIdentityTdscdma = []}}
[SUB0]

02-27 11:13:16.136 D/RILJ    ( 2110): [3993]< VOICE_REGISTRATION_STATE
{.regState = NOT_REG_MT_SEARCHING_OP, .rat = 0, .cssSupported = false,
.roamingIndicator = 64, .systemIsInPrl = 1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = 0x0,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [], .cellIdentityTdscdma = []}} [SUB0]

02-27 11:23:21.875 D/RILJ    ( 2104): [4058]< VOICE_REGISTRATION_STATE
{.regState = REG_ROAMING, .rat = 6, .cssSupported = false,
.roamingIndicator = 64, .systemIsInPrl = 1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = CDMA,
.cellIdentityGsm = [], .cellIdentityWcdma = [], .cellIdentityCdma =
[{.networkId = 54, .systemId = 4, .baseStationId = 7155, .longitude =
2147483647, .latitude = 0}], .cellIdentityLte = [], .cellIdentityTdscdma
= []}} [SUB0]

02-27 11:29:36.774 D/RILJ    ( 2157): [3925]< VOICE_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 16, .cssSupported = false,
.roamingIndicator = 1, .systemIsInPrl = -1, .defaultRoamingIndicator =
-1, .reasonForDenial = 0, .cellIdentity = {.cellInfoType = GSM,
.cellIdentityGsm = [{.mcc = -1, .mnc = -1, .lac = 8, .cid = 0, .arfcn =
-1, .bsic = -1}], .cellIdentityWcdma = [], .cellIdentityCdma = [],
.cellIdentityLte = [], .cellIdentityTdscdma = []}} [SUB0]

02-27 11:29:36.768 D/RILJ    ( 2157): [3924]< DATA_REGISTRATION_STATE
{.regState = REG_HOME, .rat = 2, .reasonDataDenied = -1, .maxDataCalls =
20, .cellIdentity = {.cellInfoType = GSM, .cellIdentityGsm = [{.mcc =
-1, .mnc = -1, .lac = 8, .cid = 0, .arfcn = -1, .bsic = -1}],
.cellIdentityWcdma = [], .cellIdentityCdma = [], .cellIdentityLte = [],
.cellIdentityTdscdma = []}} [SUB0]

Bug=32223344
Merged-In: I1e4470a93131119a75bfd9ec39db7e3c48f8d849
Change-Id: I1e4470a93131119a75bfd9ec39db7e3c48f8d849

7 years agoMerge "Adds tests to verify ImsService sends IMS_SERVICE_UP/_DOWN"
Brad Ebinger [Tue, 28 Feb 2017 22:50:42 +0000 (22:50 +0000)]
Merge "Adds tests to verify ImsService sends IMS_SERVICE_UP/_DOWN"
am: f6800ef3c9

Change-Id: I000bffc28250b89d01010b8a684a8785333d1f57

7 years agoMerge "Adds tests to verify ImsService sends IMS_SERVICE_UP/_DOWN"
Brad Ebinger [Tue, 28 Feb 2017 22:44:54 +0000 (22:44 +0000)]
Merge "Adds tests to verify ImsService sends IMS_SERVICE_UP/_DOWN"

7 years agoSupport for detection of international call while on WFC only.
Tyler Gunn [Mon, 27 Feb 2017 21:14:01 +0000 (13:14 -0800)]
Support for detection of international call while on WFC only.

Adding new method to detect scenario where we are on WFC only and attempt
to make an international call.

Test: Manual, unit
Bug: 33272455
Merged-In: I5d83710a67b0ebf40df29df87456d92af9bff08b
Change-Id: I5d83710a67b0ebf40df29df87456d92af9bff08b

7 years agoresolve merge conflicts of d565da4e5 to stage-aosp-master
Jack Yu [Tue, 28 Feb 2017 21:08:35 +0000 (13:08 -0800)]
resolve merge conflicts of d565da4e5 to stage-aosp-master

Test: Telephony sanity tests
Change-Id: I677bdc469d4440a68e9b51ab2329c6606cdb206f

7 years agoMerge "Data call refactoring and hidlization"
Jack Yu [Tue, 28 Feb 2017 20:47:01 +0000 (20:47 +0000)]
Merge "Data call refactoring and hidlization"

7 years agoData call refactoring and hidlization
Jack Yu [Mon, 13 Feb 2017 19:20:41 +0000 (11:20 -0800)]
Data call refactoring and hidlization

Support the new HIDL interface for data call APIs.
The affacted APIs are RIL_REQUEST_SETUP_DATA_CALL,
RIL_REQUEST_SET_DATA_PROFILE, RIL_REQUEST_SET_INITIAL_ATTACH_APN
More parameters are passing down to the modem to address
some issues we had earlier.

bug: 3222413530173958335615033028209632020264
Test: Telephony sanity tests, unit tests

Merged-In: I239baa144bcee413f67e77c6b79b4ae5278077e8
Change-Id: I239baa144bcee413f67e77c6b79b4ae5278077e8

7 years agoMerge "Add @FlakyTest annotation to @Postsubmit tests"
Jordan Liu [Tue, 28 Feb 2017 01:33:52 +0000 (01:33 +0000)]
Merge "Add @FlakyTest annotation to @Postsubmit tests"
am: 819afa147e

Change-Id: I1c7cb42908f1f46fa4c00ab65a3f3a7b6ca11eb6

7 years agoMerge "Add @FlakyTest annotation to @Postsubmit tests"
Jordan Liu [Tue, 28 Feb 2017 01:29:02 +0000 (01:29 +0000)]
Merge "Add @FlakyTest annotation to @Postsubmit tests"

7 years agoAdd support for querying Forbidden PLMNs
Nathan Harold [Mon, 14 Nov 2016 23:32:20 +0000 (15:32 -0800)]
Add support for querying Forbidden PLMNs

Bug: 32277497
Test: Verified API using multiple SIMs
Change-Id: I5dbb6976ed6d50146992342ec085f28d2043200a

7 years agoUpdate file formatting for SIMRecords.java
Nathan Harold [Mon, 23 Jan 2017 22:54:49 +0000 (14:54 -0800)]
Update file formatting for SIMRecords.java

Bug: 32277497
Test: compilation (non-functional change)
Change-Id: I2bf697e58117b3d83f62bd448b5b2ffd03523265

7 years agoAdd @FlakyTest annotation to @Postsubmit tests
Jordan Liu [Fri, 24 Feb 2017 21:00:19 +0000 (13:00 -0800)]
Add @FlakyTest annotation to @Postsubmit tests

@Postsubmit may be used for something else in the future, so replace
them with the more correct and specific annotation, @FlakyTest.

Bug: 35710737
Change-Id: I0f0db45e29c90a28147caab700457d10a7abf698
Merged-In: I0f0db45e29c90a28147caab700457d10a7abf698
Test: No change to behavior

7 years agoAdds tests to verify ImsService sends IMS_SERVICE_UP/_DOWN
Brad Ebinger [Mon, 27 Feb 2017 21:41:30 +0000 (13:41 -0800)]
Adds tests to verify ImsService sends IMS_SERVICE_UP/_DOWN

Adds to verify that ImsService sends the IMS_SERVICE_UP/_DOWN
intents correctly for compatibility with the old ImsService
implementation.

Bug: 35736451
Test: Unit Tests
Change-Id: I92fca961388da14008cc10a47321c032f7e624d6

7 years agoMerge "Initialize TestImsService with mock Context"
Brad Ebinger [Mon, 27 Feb 2017 21:25:43 +0000 (21:25 +0000)]
Merge "Initialize TestImsService with mock Context"
am: c4de1cb3b1

Change-Id: I9c9851b6751c88fefd7c13af09dd39efc7a1169c

7 years agoMerge "Initialize TestImsService with mock Context"
Brad Ebinger [Mon, 27 Feb 2017 21:19:16 +0000 (21:19 +0000)]
Merge "Initialize TestImsService with mock Context"

7 years agoMerge "Use empty string instead of null in setAllowedCarriers"
Amit Mahajan [Mon, 27 Feb 2017 18:49:28 +0000 (18:49 +0000)]
Merge "Use empty string instead of null in setAllowedCarriers"
am: fe403e0ca0

Change-Id: I782275868d499b6919e1b4b573e8e8b5ad7b9819

7 years agoMerge "Use empty string instead of null in setAllowedCarriers"
Treehugger Robot [Mon, 27 Feb 2017 18:43:03 +0000 (18:43 +0000)]
Merge "Use empty string instead of null in setAllowedCarriers"

7 years agoUse empty string instead of null in setAllowedCarriers
Amit Mahajan [Mon, 27 Feb 2017 17:09:25 +0000 (09:09 -0800)]
Use empty string instead of null in setAllowedCarriers

Test: Basic telephony sanity
Bug: 35374455
Change-Id: I59360e17836da540499aabdc9eee0401569aa726

7 years agoMerge "Format Japanese numbers using national format when in Japan."
Tyler Gunn [Mon, 27 Feb 2017 02:53:47 +0000 (02:53 +0000)]
Merge "Format Japanese numbers using national format when in Japan."
am: b2f4e09031

Change-Id: I85de42653261a9e8209d9101896298bdbfb4011b

7 years agoMerge "Format Japanese numbers using national format when in Japan."
Tyler Gunn [Mon, 27 Feb 2017 02:48:10 +0000 (02:48 +0000)]
Merge "Format Japanese numbers using national format when in Japan."

7 years agoMerge "Unreliable number(255) for voice message count should not be provided"
Yoshiaki Naka [Sun, 26 Feb 2017 21:36:13 +0000 (21:36 +0000)]
Merge "Unreliable number(255) for voice message count should not be provided"
am: 619d1c0381

Change-Id: I490a836b89be85bd1f745b2754a7b32ba3ca34c7

7 years agoMerge "Unreliable number(255) for voice message count should not be provided"
Treehugger Robot [Sun, 26 Feb 2017 21:29:27 +0000 (21:29 +0000)]
Merge "Unreliable number(255) for voice message count should not be provided"

7 years agoMerge "Send CMAS broadcast to additional package"
Jack Yu [Sat, 25 Feb 2017 04:58:05 +0000 (04:58 +0000)]
Merge "Send CMAS broadcast to additional package"
am: 574370b405

Change-Id: Icef787fa6b98abab4130dc4e4626161c08ffcc8c

7 years agoSend CMAS broadcast to additional package
Jack Yu [Thu, 23 Feb 2017 17:52:19 +0000 (09:52 -0800)]
Send CMAS broadcast to additional package

This is for sl4a automation to receive CMAS messages
broadcasdt. The automation should inject the settings
through 'adb settings'.

Test: manual
bug: 34393649
Merged-In: I88b0a568183b9701712e5071a6692e5d1ce08c7d
Change-Id: I88b0a568183b9701712e5071a6692e5d1ce08c7d

7 years agoMerge "Send CMAS broadcast to additional package"
Treehugger Robot [Sat, 25 Feb 2017 01:13:28 +0000 (01:13 +0000)]
Merge "Send CMAS broadcast to additional package"

7 years agoMerge "Mark oemhook related APIs @Deprecated."
Amit Mahajan [Fri, 24 Feb 2017 20:46:55 +0000 (20:46 +0000)]
Merge "Mark oemhook related APIs @Deprecated."
am: 029e267869

Change-Id: I6b382a8b9082da41bddc19849ecb06cdb46d2e48

7 years agoMerge "Mark oemhook related APIs @Deprecated."
Treehugger Robot [Fri, 24 Feb 2017 20:40:22 +0000 (20:40 +0000)]
Merge "Mark oemhook related APIs @Deprecated."

7 years agoPermit privileged system apps to send SMS without persisting.
Abhijith Shastry [Tue, 14 Feb 2017 21:02:59 +0000 (13:02 -0800)]
Permit privileged system apps to send SMS without persisting.

The system app needs to have MODIFY_PHONE_STATE permission.

BUG: 35325136
Test: API visibility change, Manual
Change-Id: Ic9242972a211c90378c183c3abf95672c2816ac7

7 years agoMerge "Fix ImsPhoneCallTrackerTest"
Brad Ebinger [Fri, 24 Feb 2017 18:29:39 +0000 (18:29 +0000)]
Merge "Fix ImsPhoneCallTrackerTest"
am: 996540430d

Change-Id: I0e98d06024a95597fd560442acc300cc888e13ad

7 years agoMerge "Fix ImsPhoneCallTrackerTest"
Brad Ebinger [Fri, 24 Feb 2017 18:26:20 +0000 (18:26 +0000)]
Merge "Fix ImsPhoneCallTrackerTest"

7 years agoInitialize TestImsService with mock Context
Brad Ebinger [Fri, 24 Feb 2017 18:03:46 +0000 (10:03 -0800)]
Initialize TestImsService with mock Context

Initialize the TestImsService with a mock Context
to accomodate calls to a context when performing
permissions checking.

Change-Id: I7f517af0b69fa9a619e348f659bd3b1f943e3023

7 years agoRead the voice message count properly
Umashankar Godachi [Fri, 15 Jul 2016 14:56:47 +0000 (20:26 +0530)]
Read the voice message count properly

When Voice message count is available from
EF, do not read from preference.

Bug: 35025528
Change-Id: Id87ed25f7f912674e405e92b44a5140cd4b29cf7

7 years agoresolve merge conflicts of a9a08b122 to stage-aosp-master
Amit Mahajan [Fri, 24 Feb 2017 05:42:24 +0000 (21:42 -0800)]
resolve merge conflicts of a9a08b122 to stage-aosp-master

Change-Id: I4bb424981bd67e0d848875b758cde346c3abaccb

7 years agoMerge "Merge the pollStateDone functions for GSM, CDMA and CDMA-LTE"
Treehugger Robot [Fri, 24 Feb 2017 04:38:08 +0000 (04:38 +0000)]
Merge "Merge the pollStateDone functions for GSM, CDMA and CDMA-LTE"

7 years agoSend CMAS broadcast to additional package
Jack Yu [Thu, 23 Feb 2017 17:52:19 +0000 (09:52 -0800)]
Send CMAS broadcast to additional package

This is for sl4a automation to receive CMAS messages
broadcasdt. The automation should inject the settings
through 'adb settings'.

Test: manual
bug: 34393649
Merged-In: I88b0a568183b9701712e5071a6692e5d1ce08c7d
Change-Id: I88b0a568183b9701712e5071a6692e5d1ce08c7d

7 years agoFix ImsPhoneCallTrackerTest
Brad Ebinger [Fri, 24 Feb 2017 01:39:11 +0000 (17:39 -0800)]
Fix ImsPhoneCallTrackerTest

With the addition of a ImsService status state, the
test needs to return ImsFeature.STATE_READY, or the
ImsPhoneCallTracker will not use that ImsService.

Test: Unit Tests pass
Change-Id: Ie134d7383d29aee34d9c4ac8e7ef4f2b77e87943

7 years agoMark oemhook related APIs @Deprecated.
Amit Mahajan [Thu, 23 Feb 2017 20:06:50 +0000 (12:06 -0800)]
Mark oemhook related APIs @Deprecated.

Test: none
Bug: 34344851
Change-Id: I0c16377d078cdf00af8efc784dd4e2e1f607995b

7 years agoMerge the pollStateDone functions for GSM, CDMA and CDMA-LTE
Amit Mahajan [Tue, 21 Feb 2017 23:04:48 +0000 (15:04 -0800)]
Merge the pollStateDone functions for GSM, CDMA and CDMA-LTE

Test: Basic telephony sanity
Bug: 28299251
Merged-in: I0a1a11623c1c27fe3449cf48f26982d7551cf6c2
Change-Id: I0a1a11623c1c27fe3449cf48f26982d7551cf6c2

7 years agoMerge commit '96140f71f60a923f66c6fd16e43a870b910e2919' into manual_merge_96140f71f
Sanket Padawe [Fri, 24 Feb 2017 00:34:19 +0000 (16:34 -0800)]
Merge commit '96140f71f60a923f66c6fd16e43a870b910e2919' into manual_merge_96140f71f

Test: build
Change-Id: Ic19481e3cf4d65273cd15a26e1da0177f0a83870

7 years agoMerge "Add more debugging logs for NITZ in dumpsys output."
Sanket Padawe [Fri, 24 Feb 2017 00:23:42 +0000 (00:23 +0000)]
Merge "Add more debugging logs for NITZ in dumpsys output."

7 years agoAdd more debugging logs for NITZ in dumpsys output.
Sanket Padawe [Tue, 11 Oct 2016 22:06:35 +0000 (15:06 -0700)]
Add more debugging logs for NITZ in dumpsys output.

Test: Basic log printing.
Bug: 31946097
Change-Id: I5103d7abe48a9e254fd92a2143ab705029f4e872
Merged-in: I5103d7abe48a9e254fd92a2143ab705029f4e872

7 years agoMerge "OemHook client implementation."
Amit Mahajan [Thu, 23 Feb 2017 19:38:12 +0000 (19:38 +0000)]
Merge "OemHook client implementation."
am: 4a9210e94a

Change-Id: I4cd489ad9915baf5a09624ab0ccbf33de001d835

7 years agoMerge "OemHook client implementation."
Treehugger Robot [Thu, 23 Feb 2017 19:33:34 +0000 (19:33 +0000)]
Merge "OemHook client implementation."

7 years agoOemHook client implementation.
Amit Mahajan [Tue, 14 Feb 2017 01:31:13 +0000 (17:31 -0800)]
OemHook client implementation.

Test: Basic telephony sanity
Bug: 32020264
Bug: 34344851
Merged-in: I7383da9245cc68d80eaebf27ebd26404d2d29f9f
Change-Id: I7383da9245cc68d80eaebf27ebd26404d2d29f9f

7 years agoMerge "Telephony: Use data and voice states for SPN"
Jack Yu [Thu, 23 Feb 2017 04:34:23 +0000 (04:34 +0000)]
Merge "Telephony: Use data and voice states for SPN"
am: c6d068613e

Change-Id: I857eb99f10a4b24372c058d1174719d6e8600559

7 years agoMerge "Telephony: Use data and voice states for SPN"
Jack Yu [Thu, 23 Feb 2017 04:31:39 +0000 (04:31 +0000)]
Merge "Telephony: Use data and voice states for SPN"

7 years agoTelephony: Use data and voice states for SPN
Shiva Kishore Tekale [Thu, 15 Sep 2016 11:59:35 +0000 (17:29 +0530)]
Telephony: Use data and voice states for SPN

SPN display text is based on both voice service state
and data service state.
Eg - Voice service state is OOS and data service state
is IN_SERVICE. In such cases, both regStates need to be
considered to determine what to show in UI for SPN.
Fix the wrong CDMA carrier text in expanded status bar.
After updating operator, the expanded status bar will
update SPN
For GSM, SPN is "no service" if service is out of service.
For CDMA, SPN is CDMA carrier. Check current service
state whether out of service, if yes, display "no service"
instead of SPN.

bug: 22640459
Test: manual
Change-Id: Ic46ac0c7e3af51a380bb2db5d71a71bf9595c2ec

7 years agoMerge "Adds logic to display UI if call forwarding is not enabled on 3gpp"
Brad Ebinger [Thu, 23 Feb 2017 00:56:34 +0000 (00:56 +0000)]
Merge "Adds logic to display UI if call forwarding is not enabled on 3gpp"
am: db053b8d87

Change-Id: Ibc203254c15b7c706b753029c404e16cbfbeb70e

7 years agoMerge "Adds logic to display UI if call forwarding is not enabled on 3gpp"
Brad Ebinger [Wed, 22 Feb 2017 23:22:06 +0000 (23:22 +0000)]
Merge "Adds logic to display UI if call forwarding is not enabled on 3gpp"

7 years agoMerge "Added telephony manager set sim power state API"
Jack Yu [Wed, 22 Feb 2017 02:49:18 +0000 (02:49 +0000)]
Merge "Added telephony manager set sim power state API"
am: 0f6e1a01fd

Change-Id: I589b24d3dc62581d375db74c245e0e62bf83b2b3

7 years agoMerge "Added telephony manager set sim power state API"
Treehugger Robot [Wed, 22 Feb 2017 02:45:17 +0000 (02:45 +0000)]
Merge "Added telephony manager set sim power state API"

7 years agoMerge "Permit IMS app to send single part SMS messages."
ashastry [Wed, 22 Feb 2017 00:55:09 +0000 (00:55 +0000)]
Merge "Permit IMS app to send single part SMS messages."
am: 0c93776eb5

Change-Id: I86970d664971fbe541996d61bed0ed6259594a4d

7 years agoMerge "Permit IMS app to send single part SMS messages."
ashastry [Wed, 22 Feb 2017 00:48:18 +0000 (00:48 +0000)]
Merge "Permit IMS app to send single part SMS messages."

7 years agoMerge "Remove Session ID from ImsService APIs that are not used"
Brad Ebinger [Tue, 21 Feb 2017 20:24:28 +0000 (20:24 +0000)]
Merge "Remove Session ID from ImsService APIs that are not used"
am: 3fe31f7fe8

Change-Id: I1ca31ed55c46a51ef8630995259f68db94cc860b

7 years agoMerge "Remove Session ID from ImsService APIs that are not used"
Treehugger Robot [Tue, 21 Feb 2017 20:19:19 +0000 (20:19 +0000)]
Merge "Remove Session ID from ImsService APIs that are not used"

7 years agoAdded telephony manager set sim power state API
Jack Yu [Thu, 16 Feb 2017 23:25:26 +0000 (15:25 -0800)]
Added telephony manager set sim power state API

The new API can be used to power up/down the SIM. This is equivalent
to inserting and removing the card.

Test: Telephony sanity tests
bug: 32224755
Merged-In: I16488c12ef648bd884123b02b9f07394d8fbaa49
Change-Id: I16488c12ef648bd884123b02b9f07394d8fbaa49

7 years agoPermit IMS app to send single part SMS messages.
Abhijith Shastry [Tue, 14 Feb 2017 19:32:40 +0000 (11:32 -0800)]
Permit IMS app to send single part SMS messages.

BUG: 29899506
Test: Manual testing
Change-Id: I2b1c3062e72e746f15064be11591c4e203a94f00

7 years agoRemove Session ID from ImsService APIs that are not used
Brad Ebinger [Fri, 17 Feb 2017 22:52:52 +0000 (14:52 -0800)]
Remove Session ID from ImsService APIs that are not used

1) Remove session ID from ImsService APIs that do not need them.
2) Change logging in ImsResolver to be less verbose.

Test: Manual
Change-Id: Ifaa3daf6d78ef5dae873b3c5e48be60a5cf79836

7 years agoMerge "Add missed check for setAllowedCarriers api."
Sanket Padawe [Fri, 17 Feb 2017 22:28:42 +0000 (22:28 +0000)]
Merge "Add missed check for setAllowedCarriers api."
am: 43dd2bb743

Change-Id: I0372c9d7cca3c4d3699e6076b72b896a7336a450

7 years agoMerge "Add missed check for setAllowedCarriers api."
Treehugger Robot [Fri, 17 Feb 2017 21:39:36 +0000 (21:39 +0000)]
Merge "Add missed check for setAllowedCarriers api."

7 years agoresolve merge conflicts of 87ee8a1b2 to nyc-mr2-dev-plus-aosp
Brad Ebinger [Fri, 17 Feb 2017 20:17:53 +0000 (12:17 -0800)]
resolve merge conflicts of 87ee8a1b2 to nyc-mr2-dev-plus-aosp

Change-Id: Ic783c5e7d21a9945cde5e6692f8dec785e5572e1

7 years agoMerge "Modifications to support ImsResolver and adds Tests"
Brad Ebinger [Fri, 17 Feb 2017 19:33:07 +0000 (19:33 +0000)]
Merge "Modifications to support ImsResolver and adds Tests"
am: 80524b6320

Change-Id: I89c0a7f4b0d7bd7c1618c4946a705f6404cb5203