2 years agorelease-request-767e2998-9243-43e0-b656-1acb30ac5115-for-git_oc-release-4124637 snap... rel-29-o-partner rel-29-r3-o-partner rel-30-r2-o-partner rel-30-r3-o-partner
android-build-team Robot [Thu, 22 Jun 2017 07:12:12 +0000]
release-request-767e2998-9243-43e0-b656-1acb30ac5115-for-git_oc-release-4124637 snap-temp-L74200000076595014

Change-Id: Ia4157837ebc2a270061442ab21077e06eba7d4b3

2 years agoAdd Rlog.pii for SMSNumberUtils address filtering.
Tyler Gunn [Wed, 21 Jun 2017 17:38:09 +0000]
Add Rlog.pii for SMSNumberUtils address filtering.

Adding Rlog.pii for phone number information which is potentially logged
to the SmsNumberUtils logs.

Test: Manual
Bug: 62827376
Change-Id: I46e6626972f0ff6657feec4bb66af35bc2b07a70

2 years agoMerge "Inform ImsVideoCallProviderWrapper of video state changes." into oc-dev
TreeHugger Robot [Wed, 21 Jun 2017 21:30:27 +0000]
Merge "Inform ImsVideoCallProviderWrapper of video state changes." into oc-dev

2 years agoMerge "Ensure empty string MMI responses default to "MMI Complete"." into oc-dev
TreeHugger Robot [Wed, 21 Jun 2017 19:55:46 +0000]
Merge "Ensure empty string MMI responses default to "MMI Complete"." into oc-dev

2 years agoEnsure empty string MMI responses default to "MMI Complete".
Tyler Gunn [Wed, 21 Jun 2017 17:08:46 +0000]
Ensure empty string MMI responses default to "MMI Complete".

The existing code checks for null only, but it looks like the modem or
network can sometimes return empty string when there is not result,
which would cause no "MMI Complete" dialog to show.
Checking for empty string as well will solve this problem.

Test: Regression tested MMI codes.
Bug: 37561464
Change-Id: I09caec7eae944bd3dfe97ac8f89c8a113800de1e

2 years agoInform ImsVideoCallProviderWrapper of video state changes.
Tyler Gunn [Tue, 20 Jun 2017 22:13:23 +0000]
Inform ImsVideoCallProviderWrapper of video state changes.

This ensures it will know when the modem un-pauses the video without it
being requested by the UI.

Test: Manual
Bug: 62779713
Bug: 62784036
Change-Id: I15478996e6e14219c84d2ca4bbfbad6f39a8a47c

2 years agoHide celllocation getting printed in bugreport.
Sanket Padawe [Tue, 20 Jun 2017 23:18:07 +0000]
Hide celllocation getting printed in bugreport.

Change-Id: I19efc4b344b28387fe74b03ba6dfec78f6421562
Fix: 62827374
Test: manual

2 years agorelease-request-276f9f52-87fd-4915-bd79-9a2f0ee77433-for-git_oc-release-4090213 snap...
android-build-team Robot [Sun, 11 Jun 2017 07:12:14 +0000]
release-request-276f9f52-87fd-4915-bd79-9a2f0ee77433-for-git_oc-release-4090213 snap-temp-L31600000073091223

Change-Id: Ic48cec47acd803b88226986bdb54859e51d9fdf2

2 years agoConsider Service State OFF same as OUT OF SERVICE for combined regState
Amit Mahajan [Fri, 9 Jun 2017 18:24:55 +0000]
Consider Service State OFF same as OUT OF SERVICE for combined regState

Test: manual
Bug: 37425222
Change-Id: I1afd552ff5156b96c6ec4946e8ffd42d85ad9ad7

2 years agoMerge "add an extra for rebroadcast of sim_state_change" into oc-dev
Chen Xu [Fri, 9 Jun 2017 19:39:50 +0000]
Merge "add an extra for rebroadcast of sim_state_change" into oc-dev

2 years agoMerge "Allow broadcast receivers to receive DATA_SMS_RECEIVED_ACTION." into oc-dev
TreeHugger Robot [Fri, 9 Jun 2017 07:17:26 +0000]
Merge "Allow broadcast receivers to receive DATA_SMS_RECEIVED_ACTION." into oc-dev

2 years agoadd an extra for rebroadcast of sim_state_change
fionaxu [Thu, 8 Jun 2017 22:39:59 +0000]
add an extra for rebroadcast of sim_state_change

Bug: 62459330
Test: Manaual Test
Change-Id: Ib28e61906cc818d833175e756be729011a03603e

2 years agoMerge "Clear calling identity in getCarrierImsPackage()" into oc-dev
TreeHugger Robot [Thu, 8 Jun 2017 20:16:35 +0000]
Merge "Clear calling identity in getCarrierImsPackage()" into oc-dev

2 years agorelease-request-011e6329-d82e-4e46-980f-68776b0cd6b9-for-git_oc-release-4080367 snap...
android-build-team Robot [Thu, 8 Jun 2017 10:03:36 +0000]
release-request-011e6329-d82e-4e46-980f-68776b0cd6b9-for-git_oc-release-4080367 snap-temp-L79900000072116775

Change-Id: I6a896f05d12ebe21c8d9bd33ffa2a94bacace8f8

2 years agoMerge "Use Sydney timezone instead of LordHowe" into oc-dev
TreeHugger Robot [Thu, 8 Jun 2017 01:35:30 +0000]
Merge "Use Sydney timezone instead of LordHowe" into oc-dev

2 years agoMerge cherrypicks of [2374621, 2374525, 2374320, 2374526, 2374587, 2374550, 2374624...
android-build-team Robot [Thu, 8 Jun 2017 00:37:00 +0000]
Merge cherrypicks of [2374621, 2374525, 2374320, 2374526, 2374587, 2374550, 2374624, 2374527, 2374433, 2374551] into oc-release

Change-Id: I3eb39ce6323e504acbe6e61086c62465ccd5b3e2

2 years agoUpdate strings for modem restricted state notifications.
Sanket Padawe [Tue, 6 Jun 2017 22:13:38 +0000]
Update strings for modem restricted state notifications.

Test: manual
Change-Id: Ie5941bdcafb867b75bb2362634bb0e55e796f7bd
Fix: 37377132
(cherry picked from commit b7c0a4bf216f1060c2436094411b660aa3d9f8b4)

2 years agoClear calling identity in getCarrierImsPackage()
Nathan Harold [Wed, 7 Jun 2017 23:10:21 +0000]
Clear calling identity in getCarrierImsPackage()

When the calling package has SEND_SMS but not READ_PHONE_STATE
the check currently errors out. This clears the calling package
so that we can still query the CarrierConfig to see if there is
an ImsPackage that should be checked for a CarrierSms intercept.
CarrierConfig expects READ_PHONE_STATE to check keys.

Bug: 37570992
Test: manual
Change-Id: I56a8336f9ab1fe0ad33e0e304431df125bbdeeec
Merged-In: I56a8336f9ab1fe0ad33e0e304431df125bbdeeec
(cherry picked from commit 02f1fc594ae1bff8b5128760587f264b86491d33)

2 years agoUse Sydney timezone instead of LordHowe
Sooraj Sasindran [Wed, 7 Jun 2017 17:06:34 +0000]
Use Sydney timezone instead of LordHowe

Use Sydney timezone instead of LordHowe as default timezone
in Australia

Test: Verified using the unit testing MccTable
Change-Id: I4cbef0d5469c47be432798f8e1a2bf2d9f913f71

2 years agoUpdate strings for modem restricted state notifications.
Sanket Padawe [Tue, 6 Jun 2017 22:13:38 +0000]
Update strings for modem restricted state notifications.

Test: manual
Change-Id: Ie5941bdcafb867b75bb2362634bb0e55e796f7bd
Fix: 37377132

2 years agoAllow broadcast receivers to receive DATA_SMS_RECEIVED_ACTION.
Amit Mahajan [Mon, 5 Jun 2017 12:16:17 +0000]
Allow broadcast receivers to receive DATA_SMS_RECEIVED_ACTION.

Allow apps in the background to receive DATA_SMS_RECEIVED_ACTION as
that behavior is consistent with other SMS related broadcast intents.

Test: Basic telephony sanity
Bug: 62106654
Change-Id: Ic9e8aad77a2a5705fcd1269a23fbcab7016d32b7

2 years agorelease-request-777c0f47-a42e-446a-b45c-0bb1aaa9612e-for-git_oc-release-4066915 snap...
android-build-team Robot [Sun, 4 Jun 2017 07:13:35 +0000]
release-request-777c0f47-a42e-446a-b45c-0bb1aaa9612e-for-git_oc-release-4066915 snap-temp-L92300000070444114

Change-Id: I608f797a26389769d57d74900108490fa8c2f557

2 years agoPost feature capability changes to handler.
Tyler Gunn [Fri, 26 May 2017 23:38:17 +0000]
Post feature capability changes to handler.

Posting feature capability changes to the ImsPhoneCallTracker handler.
This removes potential race conditions when the Ims service posts a lot
of updates at the same time.

Test: Manual
Bug: 62076575
Merged-In: I464e6f16fce8d00925b9f633ddd1f015a183a9fb
Change-Id: I464e6f16fce8d00925b9f633ddd1f015a183a9fb
(cherry picked from commit bba4c2136d2665ca692c9fa9d55ca39b84a6a114)

2 years agoMerge "Check aid against empty string for SIM_REFRESH" into oc-dev
Jun Yin [Fri, 2 Jun 2017 00:25:09 +0000]
Merge "Check aid against empty string for SIM_REFRESH" into oc-dev

2 years agoMade non-emergency cell broadcast intents implicit
Jack Yu [Thu, 1 Jun 2017 07:39:12 +0000]
Made non-emergency cell broadcast intents implicit

This allows carriers to send non-emergency cell
broadcasts to the 3rd party apps.

Test: Telephony unit tests
bug: 62256244
Change-Id: Ie1120a77d228ca24cc619cdd661420a3aa132bc4

2 years agorelease-request-18270495-77c6-4d95-8968-eb22e3d2fe8b-for-git_oc-release-4057656 snap...
android-build-team Robot [Thu, 1 Jun 2017 07:14:59 +0000]
release-request-18270495-77c6-4d95-8968-eb22e3d2fe8b-for-git_oc-release-4057656 snap-temp-L93200000069424216

Change-Id: I5b616306c60ec836a2314b0225cf8fa1bd9752bc

2 years agoMerge "Add unit tests for null/empty phone number in isInternationalNumber." into...
TreeHugger Robot [Thu, 1 Jun 2017 07:07:18 +0000]
Merge "Add unit tests for null/empty phone number in isInternationalNumber." into oc-dev

2 years agoCheck aid against empty string for SIM_REFRESH
Jun Yin [Wed, 31 May 2017 23:51:08 +0000]
Check aid against empty string for SIM_REFRESH

The new RIL in O changes all null strings to empty strings, but the code
in uicc only checks aid against null for SIM_REFRESH. This CL adds the
check against empty strings.

Fixes: 34650917
Test: TreeHugger
Change-Id: I97cd400a47c640184a92fde71cb877317f418d71

2 years agoMerge "migration voicemail settings to notificationChannel" into oc-dev
Chen Xu [Wed, 31 May 2017 22:28:42 +0000]
Merge "migration voicemail settings to notificationChannel" into oc-dev

2 years agoAdd unit tests for null/empty phone number in isInternationalNumber.
Tyler Gunn [Wed, 31 May 2017 21:34:39 +0000]
Add unit tests for null/empty phone number in isInternationalNumber.

Test: THIS is a test.
Bug: 62162029
Change-Id: I518341c915cbd7674da812c426c9081d85cdac7b

2 years agomigration voicemail settings to notificationChannel
fionaxu [Tue, 30 May 2017 23:25:42 +0000]
migration voicemail settings to notificationChannel

- create voice mail notification channel when sim loaded
- migrate voicemial notification settings if subId matches, otherwise
fallback to predefined channel settings

Test: Manual test:
1. enabled voicemail notification vibration on NYC build.
2. update to OC build with notification channel
3. make sure user preference is not lost during system update.

Change-Id: I877d7271072e3a34d171bcb5b780c99cdb308929

2 years agorelease-request-fca2b5ac-03eb-4055-a549-b4fc2b292b64-for-git_oc-release-4049993 snap...
android-build-team Robot [Sun, 28 May 2017 07:23:45 +0000]
release-request-fca2b5ac-03eb-4055-a549-b4fc2b292b64-for-git_oc-release-4049993 snap-temp-L04900000068539456

Change-Id: Ia778d58b46931e38ddf2f70f6e8272fbda38ad6a

2 years agoMerge "IMS conference merge improvements." into oc-dev
Tyler Gunn [Thu, 25 May 2017 19:33:58 +0000]
Merge "IMS conference merge improvements." into oc-dev

2 years agorelease-request-33b11ddd-d658-45bf-bdb2-acceb024fe39-for-git_oc-release-4042766 snap...
android-build-team Robot [Thu, 25 May 2017 07:17:44 +0000]
release-request-33b11ddd-d658-45bf-bdb2-acceb024fe39-for-git_oc-release-4042766 snap-temp-L87400000067730042

Change-Id: Idf3f4d675721ae1d81548d23b34ea6941ba0def6

2 years agoMerge "release-request-aaaef485-cf88-426c-8186-1f3903a60dd5-for-git_oc-release-403887...
android-build-team Robot [Wed, 24 May 2017 17:51:38 +0000]
Merge "release-request-aaaef485-cf88-426c-8186-1f3903a60dd5-for-git_oc-release-4038872 snap-temp-L67700000067294126" into oc-release

2 years agorelease-request-2b4652df-202e-4cb9-bf98-5bd21a9292d6-for-git_oc-release-4038361 snap...
android-build-team Robot [Wed, 24 May 2017 17:11:43 +0000]
release-request-2b4652df-202e-4cb9-bf98-5bd21a9292d6-for-git_oc-release-4038361 snap-temp-L17500000067353615

Change-Id: Iec8ce12a5e6c9081d788cc9f1603cba96448b9e7

2 years agorelease-request-aaaef485-cf88-426c-8186-1f3903a60dd5-for-git_oc-release-4038872 snap...
android-build-team Robot [Wed, 24 May 2017 14:20:48 +0000]
release-request-aaaef485-cf88-426c-8186-1f3903a60dd5-for-git_oc-release-4038872 snap-temp-L67700000067294126

Change-Id: I2b3afeb95b2d42d12c956b74b44e19c17c0f4d6a

2 years agoMerge "Add more logging for USSD codes." into oc-dev
Tyler Gunn [Wed, 24 May 2017 14:07:32 +0000]
Merge "Add more logging for USSD codes." into oc-dev

2 years agoIMS conference merge improvements.
Tyler Gunn [Fri, 19 May 2017 22:07:32 +0000]
IMS conference merge improvements.

1. Re-map ended by conference merge to "IMS_MERGED_SUCCESSFULLY".
This later gets translated to Telecom disconnect cause "OTHER".
This is helpful to ensure the InCall UI is able to recognize that a call
ended because of the fact it is joining a conference.
2. Send connection event when starting to merge two calls; this way the
InCall UI can suppress transient states when merging.
Note: I purposely only send "merge complete" when merge fails; that way
when the calls disconnect naturally at the end of the merge, the incall ui
still knows they're in a "merging" state.

Test: Manual
Bug: 37581781
Change-Id: I22abfbae470c7e67b6e6309f58c958820a697609

2 years agoFixed file descriptor leak in telephony unit tests
Jack Yu [Tue, 23 May 2017 18:00:27 +0000]
Fixed file descriptor leak in telephony unit tests

The handler thread in SimulatedCommands was not closed after
each unit test run. Fixed by adding a dispose method to quit
the thread.

Also use quit() instead of quitSafely() for all thread quiting
because we don't care if the messages were dispatched or not
after the test. This can fix some messages sending to dead
threads non-harmful exceptions in the output debug messages.

Test: Telephony unit tests
bug: 29579544
Change-Id: I112e46b0147a1950046a35cd9ac2498560c6ee1b

2 years agoAdd more logging for USSD codes.
Tyler Gunn [Mon, 22 May 2017 21:11:57 +0000]
Add more logging for USSD codes.

Test: Manual
Bug: 37561464
Change-Id: I8bbb78865b4ca48977cb84a90d88b58920bb5643

2 years agorelease-request-c72e46fd-06a9-4104-bad3-f7ba8aeb3e1d-for-git_oc-release-4029917 snap...
android-build-team Robot [Sun, 21 May 2017 08:26:16 +0000]
release-request-c72e46fd-06a9-4104-bad3-f7ba8aeb3e1d-for-git_oc-release-4029917 snap-temp-L38800000066299680

Change-Id: I92df81f6bc06fa7c7aeeba7d2e86683289efb87a

2 years agoflaky unit test
fionaxu [Thu, 18 May 2017 00:56:40 +0000]
flaky unit test

Test: Telephony unit test
Bug: 29579544
Change-Id: I4057fb0c9651437e91f925aebb110be75cf7d459

2 years agoFixed failed unit tests
Jack Yu [Tue, 16 May 2017 23:06:34 +0000]
Fixed failed unit tests

1. Fixed a failed/flaky signal strength unit test caused
   by ag/2247950
2. Gracefully reset airplane mode settings in testCarrierActionResetOnAPM

Test: Telephony unit tests
bug: 29579544
Merged-In: I1108e62d1b970c5ac267173ea61afab9b78a624b
Change-Id: I1108e62d1b970c5ac267173ea61afab9b78a624b
(cherry picked from commit 53ea3cba6d262848046740915d8c6a1a56ee5a89)

2 years agorelease-request-60f55d52-4657-4714-89dc-b6443475d767-for-git_oc-release-4022373 snap...
android-build-team Robot [Thu, 18 May 2017 07:14:57 +0000]
release-request-60f55d52-4657-4714-89dc-b6443475d767-for-git_oc-release-4022373 snap-temp-L45500000065414617

Change-Id: Ife1a29c423867dd56c81dd0195be5ea162d5da16

2 years agoMerge "Add unit tests for ImsVideoCallProviderWrapper." into oc-dev
Tyler Gunn [Wed, 17 May 2017 20:05:16 +0000]
Merge "Add unit tests for ImsVideoCallProviderWrapper." into oc-dev

2 years agorelease-request-6c498b17-9310-412b-ad36-3dcf25ffef73-for-git_oc-release-4017086 snap...
android-build-team Robot [Wed, 17 May 2017 07:14:35 +0000]
release-request-6c498b17-9310-412b-ad36-3dcf25ffef73-for-git_oc-release-4017086 snap-temp-L16500000064871237

Change-Id: I9c884dc46524c4e768b398e652c4999338e5cd51

2 years agoMerge "Revert "flacky unit test"" into oc-dev
Chen Xu [Wed, 17 May 2017 06:34:57 +0000]
Merge "Revert "flacky unit test"" into oc-dev

2 years agoMerge "Fix setCdmaBroadcastConfig in RIL.java to include all categories." into oc-dev
TreeHugger Robot [Wed, 17 May 2017 05:00:41 +0000]
Merge "Fix setCdmaBroadcastConfig in RIL.java to include all categories." into oc-dev

2 years agoRevert "flacky unit test"
Chen Xu [Wed, 17 May 2017 00:09:49 +0000]
Revert "flacky unit test"

This reverts commit 0b187f0fba954859718c4ad8d1b4751343142d78.

Change-Id: I880cb6aef85eca42ddbdd74a7c9ac2cac215fd93

2 years agoMerge "Convert unsigned uint8 fields in RIL interface to unsigned int." into oc-dev
TreeHugger Robot [Tue, 16 May 2017 23:07:14 +0000]
Merge "Convert unsigned uint8 fields in RIL interface to unsigned int." into oc-dev

2 years agoConvert unsigned uint8 fields in RIL interface to unsigned int.
Amit Mahajan [Tue, 16 May 2017 01:11:56 +0000]
Convert unsigned uint8 fields in RIL interface to unsigned int.

Conversion is via byte which loses the unsigned-ness by default.

Test: basic telephony sanity
Bug: 37911659
Change-Id: I39312e8c280450d68aff016d9c582e24ecc43a0c

2 years agoFix setCdmaBroadcastConfig in RIL.java to include all categories.
Amit Mahajan [Mon, 15 May 2017 21:03:05 +0000]
Fix setCdmaBroadcastConfig in RIL.java to include all categories.

Also disable some flaky tests.

Test: manual
Bug: 38109424
Merged-in: I15a26a8f5134e34cc00e57161faca5924ab82a80
Change-Id: I15a26a8f5134e34cc00e57161faca5924ab82a80

2 years agoflacky unit test
fionaxu [Mon, 15 May 2017 21:29:38 +0000]
flacky unit test

Test: Telephony unit tests
bug: 29579544
Change-Id: Iec35a7bd8a0b3585733a1f69db73d10275767405

2 years agorelease-request-ad2b7abc-f489-4c21-891e-cb2cf48c6370-for-git_oc-release-4012004 snap...
android-build-team Robot [Tue, 16 May 2017 07:35:03 +0000]
release-request-ad2b7abc-f489-4c21-891e-cb2cf48c6370-for-git_oc-release-4012004 snap-temp-L44000000064332402

Change-Id: I81e117cc112395d5eacaa99fa91ed1ee1b1849d4

2 years agoFixed flaky unit tests
Jack Yu [Sun, 14 May 2017 17:04:23 +0000]
Fixed flaky unit tests

Test: Telephony unit tests
bug: 29579544
Merged-In: If732d23d9f9bc0bb7b4dc6246d2af116c755cdc9
Change-Id: If732d23d9f9bc0bb7b4dc6246d2af116c755cdc9
(cherry picked from commit e11ff87802f9f4a26f042b6f0fe318371b17c976)

2 years agoAdd unit tests for ImsVideoCallProviderWrapper.
Tyler Gunn [Thu, 11 May 2017 00:47:13 +0000]
Add unit tests for ImsVideoCallProviderWrapper.

Specifically adding tests to ensure that the issue described in the bug
is handled correctly.

Test: Manual/unit
Bug: 35304446
Change-Id: I40fb4b7df15c55114bda506442e5efa0aefbd809

2 years agoMerge "Fixed that APN context stuck in SCANNING state" into oc-dev
Jack Yu [Mon, 15 May 2017 19:12:38 +0000]
Merge "Fixed that APN context stuck in SCANNING state" into oc-dev

2 years agorelease-request-951b3a8b-6c0c-4d2e-8af4-1c3f7e209f66-for-git_oc-release-4006899 snap...
android-build-team Robot [Sun, 14 May 2017 07:20:53 +0000]
release-request-951b3a8b-6c0c-4d2e-8af4-1c3f7e209f66-for-git_oc-release-4006899 snap-temp-L39600000063784275

Change-Id: Ia6b85457e941654e9dc4f0963ff8a7cf380e266e

2 years agoMerge "Set CDMA data roaming based on TSB58 roaming indicator if voice is not in...
Jayachandran Chinnakkannu [Sat, 13 May 2017 00:49:32 +0000]
Merge "Set CDMA data roaming based on TSB58 roaming indicator if voice is not in service" into oc-dev

2 years agoMerge "Set isGsm flag based on currently camped voice and data RATs" into oc-dev
Jayachandran Chinnakkannu [Sat, 13 May 2017 00:48:14 +0000]
Merge "Set isGsm flag based on currently camped voice and data RATs" into oc-dev

2 years agoMerge "Map CODE_LOCAL_ENDED_BY_CONFERENCE_MERGE to NORMAL disconnect cause" into...
Jayachandran Chinnakkannu [Sat, 13 May 2017 00:35:05 +0000]
Merge "Map CODE_LOCAL_ENDED_BY_CONFERENCE_MERGE to NORMAL disconnect cause" into oc-dev

2 years agoFixed that APN context stuck in SCANNING state
Jack Yu [Thu, 11 May 2017 20:47:56 +0000]
Fixed that APN context stuck in SCANNING state

1. When data retry fails at trySetupData, we should apply
   FAILED state to the APN context otherwise it will be
   in SCANNING state forever since we are not going to
   schedule for the next retry.
2. When we get a new network request in applyNewState,
   if the APN is in SCANNING state, we should trySetupData
   immediately instead of waiting for the next retry,
   which might still minutes/hours away from now.

Test: Telephony sanity tests
bug: 38113800
Merged-In: I6edd7555327f41ee713a256edfe641a41ca6f969
Change-Id: I6edd7555327f41ee713a256edfe641a41ca6f969

2 years agoMerge "Reset IMS Capabilities when IMS disconnects" into oc-dev
Brad Ebinger [Fri, 12 May 2017 20:07:23 +0000]
Merge "Reset IMS Capabilities when IMS disconnects" into oc-dev

2 years agoMerge "reset carrier actions on APM" into oc-dev
Chen Xu [Fri, 12 May 2017 18:52:14 +0000]
Merge "reset carrier actions on APM" into oc-dev

2 years agoreset carrier actions on APM
fionaxu [Wed, 10 May 2017 01:07:49 +0000]
reset carrier actions on APM

Bug: 37913717
Bug: 37850264
Test: Manual test. toggle APM
Test: runtest --path
Change-Id: Ie2d4c453438c1cabb7576e4d1aa4e61adba43c5e

2 years agoMerge "Parse response from hal even in case of error." into oc-dev
TreeHugger Robot [Thu, 11 May 2017 22:08:17 +0000]
Merge "Parse response from hal even in case of error." into oc-dev

2 years agoSet isGsm flag based on currently camped voice and data RATs
Jayachandran C [Fri, 5 May 2017 23:40:09 +0000]
Set isGsm flag based on currently camped voice and data RATs

Use currently camped RATs to determine isGsm the flag
instead of checking both phone type and camped RATs.

Test: Verified the signal bar for the following use cases
 - SRLTE (1x & LTE) mode
 - hVoLTE mode
 - 2G only, 3G preferred, LTE preferred
 - Cellular and IWLAN registered

Voice calls:
 - CS calls on 1x, GSM, UMTS for all possible voice, data RATs
 - IMS calls on LTE and IWLAN for all possible voice, data RATs

Bug: 36644977
Change-Id: Ifd996a2c902c7238f7328a42f0401c8d626e89e4

2 years agoSet CDMA data roaming based on TSB58 roaming indicator if voice is not in service
Jayachandran C [Sun, 7 May 2017 19:55:51 +0000]
Set CDMA data roaming based on TSB58 roaming indicator if voice is not in service

Existing implementation:
1. CDMA voiceRoaming is set based on regState and roaming indicator.
2. CDMA dataRoaming is set based on regState only.
3. CDMA dataRoaming is overwritten with voiceRoaming if voice is
   in service.

If voice is not in service then the CDMA dataRoaming set based on
regState alone could be incorrect because it didn't use roaming
indicator from modem.

This change sets CDMA dataRoaming based on TSB58 roaming indicator
(similar to setting voiceRoaming) if voice is not service.

Note: As per VoiceRegStateResult from radio types.hal the TSB58
roaming indicator shall be sent if device is registered on a
CDMA or EVDO system.

Test: Forced device to Evdo only and verified roaming state
Bug: 37917767
Change-Id: I3cc7fff61cea296afe17215a33b1b4c80972db13

2 years agoParse response from hal even in case of error.
Amit Mahajan [Thu, 11 May 2017 02:10:46 +0000]
Parse response from hal even in case of error.

Test: manual sim pin testing, basic telephony sanity
Bug: 37941868
Change-Id: I1a0b576c84ebb9bf4ac3de41538d148a1a043c05

2 years agoMap CODE_LOCAL_ENDED_BY_CONFERENCE_MERGE to NORMAL disconnect cause
Jayachandran C [Thu, 11 May 2017 18:40:28 +0000]

This change also optimizes imports

Test: Following scenarios for VoLTE and CS call and
      verified the cause sent in PreciseCallState.

 1) Conference call merge
 2) Conference call, one remote party ends the call
 3) Conference call, all remote parties end the call
 4) Conference call, hangup locally
 5) Normal call and hangup locally
 6) Normal call and remote party ends the call

Bug: 38225047
Change-Id: I7ea843683eebfa2e60683ddffd11995b426f0a12

2 years agomerge in oc-release history after reset to oc-dev
gitbuildkicker [Thu, 11 May 2017 07:09:04 +0000]
merge in oc-release history after reset to oc-dev

2 years agoReset IMS Capabilities when IMS disconnects
Brad Ebinger [Wed, 10 May 2017 22:54:49 +0000]
Reset IMS Capabilities when IMS disconnects

When IMS deregisters, reset the IMS capabilities
to false so we do not accidently return the wrong
result for TelephonyManager.isVolteAvailable()
if the ImsService does not set the capabilities to
false before deregistering.

Test: Telephony Unit Tests
Bug: 36374918
Change-Id: I42b066f8a97770f23d71a0c646f384f7cbfdb57b

2 years agoMerge "Notify ImsService Status Callbacks correctly" into oc-dev
Brad Ebinger [Wed, 10 May 2017 20:42:34 +0000]
Merge "Notify ImsService Status Callbacks correctly" into oc-dev

2 years agoMerge "Convert NV reset type into ResetNvType defined in types.hal" into oc-dev
Jayachandran Chinnakkannu [Wed, 10 May 2017 18:03:34 +0000]
Merge "Convert NV reset type into ResetNvType defined in types.hal" into oc-dev

2 years agoConvert NV reset type into ResetNvType defined in types.hal
Jayachandran C [Wed, 10 May 2017 02:37:11 +0000]
Convert NV reset type into ResetNvType defined in types.hal

Test: 1. Sprint OMADM execution and verified device camps on service
      2. FDR on Marlin and verified vendor code receives resetType 3

Bug: 37849113
Bug: 38169447
Change-Id: Iaf66c6f29a09d83f3f8bef73b65a589ea4c5df03

2 years agoNotify ImsService Status Callbacks correctly
Brad Ebinger [Sat, 6 May 2017 00:45:36 +0000]
Notify ImsService Status Callbacks correctly

Adds support in the ImsServiceController for multiple
Feature listeners for one feature. Also adds support for
signaling the ImsFeature to remove the binder callback when
the feature is removed.

Stops Phone from listening to IMS_SERVUICE_UP/DOWN when
using the ImsResolver.

Bug: 38001858
Test: Unit Tests
Merged-In: I920605b32160fdce9fcd3b4c0100804d3590397f
Change-Id: I920605b32160fdce9fcd3b4c0100804d3590397f

2 years agomerge in oc-release history after reset to oc-dev
gitbuildkicker [Wed, 10 May 2017 07:08:58 +0000]
merge in oc-release history after reset to oc-dev

2 years agoMerge "Force BSIC value to only one byte" into oc-dev
Nathan Harold [Wed, 10 May 2017 02:17:21 +0000]
Merge "Force BSIC value to only one byte" into oc-dev

2 years agoMerge "Synchronize on mImsPhone to avoid NPE" into oc-dev
TreeHugger Robot [Tue, 9 May 2017 20:54:29 +0000]
Merge "Synchronize on mImsPhone to avoid NPE" into oc-dev

2 years agoMerge "voicemail notification settings cleanup" into oc-dev
Chen Xu [Tue, 9 May 2017 17:49:06 +0000]
Merge "voicemail notification settings cleanup" into oc-dev

2 years agoMerge "Register for EVENT_RESTRICTED_STATE_CHANGED irrespective of phone type." into...
Sanket Padawe [Tue, 9 May 2017 16:56:05 +0000]
Merge "Register for EVENT_RESTRICTED_STATE_CHANGED irrespective of phone type." into oc-dev

2 years agoRegister for EVENT_RESTRICTED_STATE_CHANGED irrespective of phone type.
Sanket Padawe [Wed, 3 May 2017 22:14:19 +0000]
Register for EVENT_RESTRICTED_STATE_CHANGED irrespective of phone type.

+ Removed some dead code as well.

Bug: 37377132
Test: manual
Change-Id: I6ddddc39e69e0850e838b6f3cf1bc4adda682281

2 years agomerge in oc-release history after reset to oc-dev
gitbuildkicker [Sun, 7 May 2017 07:09:07 +0000]
merge in oc-release history after reset to oc-dev

2 years agomerge in oc-release history after reset to oc-dev
gitbuildkicker [Sat, 6 May 2017 02:29:06 +0000]
merge in oc-release history after reset to oc-dev

2 years agomerge in oc-release history after reset to oc-dev
gitbuildkicker [Sat, 6 May 2017 01:44:03 +0000]
merge in oc-release history after reset to oc-dev

2 years agomerge in oc-release history after reset to oc-dev
gitbuildkicker [Sat, 6 May 2017 01:17:38 +0000]
merge in oc-release history after reset to oc-dev

2 years agovoicemail notification settings cleanup
fionaxu [Sat, 6 May 2017 00:21:52 +0000]
voicemail notification settings cleanup

- remove UI preference for voicemail notification ringtone & vibration
settings as they are not functioning with notification channel
- have a new Notification Preference under voicemailSettings which will
navigate to the system settings screen for that channel.
- modify telephonymanager API getVoiceMailRingToneUri and
isVoiceMailVibrationEnabled from sharedPreference to NotificationChannel
- more cleanup work needed till next API bump for telephonyManager APIs
setVoicemailVibrationEnabled and setVoicemailRingToneUri

Bug: 37912316
Test: Manaul test
Change-Id: Ic28713c012672b991b8f131545c06e1dbfd6765f

2 years agoSynchronize on mImsPhone to avoid NPE
Hall Liu [Fri, 5 May 2017 23:23:34 +0000]
Synchronize on mImsPhone to avoid NPE

During a disconnect, the binder thread from the IMS stack may set
mImsCall to null simulataneously with the main thread calling methods on
mImsCall after a null check. Adding synchronization to prevent an NPE.

Change-Id: Id7874e802d56ab7d3912c779dedd1cccdb923db6
Test: no deadlocks while calling
Fixes: 37945103

2 years agoMerge "Fix hidl conversion bug for setCallForward()" into oc-dev
Sanket Padawe [Fri, 5 May 2017 22:13:36 +0000]
Merge "Fix hidl conversion bug for setCallForward()" into oc-dev

2 years agomerge in oc-release history after reset to oc-dev
gitbuildkicker [Fri, 5 May 2017 20:48:15 +0000]
merge in oc-release history after reset to oc-dev

2 years agoFix hidl conversion bug for setCallForward()
Sanket Padawe [Fri, 5 May 2017 19:19:19 +0000]
Fix hidl conversion bug for setCallForward()

Test: manual
Change-Id: Iad9d1f219956470c9217fbee91637ec2f7e6460a
Fix: 37991478

2 years agomerge in oc-release history after reset to oc-dev
gitbuildkicker [Fri, 5 May 2017 15:22:59 +0000]
merge in oc-release history after reset to oc-dev

2 years agomerge in oc-release history after reset to oc-dev
gitbuildkicker [Fri, 5 May 2017 14:21:47 +0000]
merge in oc-release history after reset to oc-dev

2 years agoMerge "Better handle MSIM DDS changed event" into oc-dev
Brad Ebinger [Thu, 4 May 2017 17:11:46 +0000]
Merge "Better handle MSIM DDS changed event" into oc-dev

2 years agomerge in oc-release history after reset to oc-dev
gitbuildkicker [Thu, 4 May 2017 07:08:09 +0000]
merge in oc-release history after reset to oc-dev

2 years agofix crash from carriersignalAgent under sip call
fionaxu [Wed, 3 May 2017 18:46:54 +0000]
fix crash from carriersignalAgent under sip call

Bug: 37917990
Test: Manual test with sip call
Change-Id: Ia6d74928655d60d35062e6a8e920788759d99efd
(cherry picked from commit d2569726c9c5a93c852ec6ddd5ca80c760845061)

2 years agoForce BSIC value to only one byte
Nathan Harold [Tue, 2 May 2017 20:31:00 +0000]
Force BSIC value to only one byte

BSIC is being sign-extended when copied to a java integer.
Truncate the length keeping the magnitude of the lowest byte.

Bug: 37787893
Test: compilation
Change-Id: I7807be3321e9c90f23351549c86ebe03dc239d80
(cherry picked from commit b808a31b9b0b5104b4ff32860c7ff9d52c12a7c8)

2 years agoMerge "37544704 PduPersister is not doing a safe Uri comparison" into oc-dev
Tom Taylor [Thu, 4 May 2017 00:04:51 +0000]
Merge "37544704 PduPersister is not doing a safe Uri comparison" into oc-dev

2 years agoBetter handle MSIM DDS changed event
Brad Ebinger [Tue, 18 Apr 2017 18:44:54 +0000]
Better handle MSIM DDS changed event

On DSDS MSIM devices, when Default Data Subscription event
is received, the ImsService may choose to switch which
Slot ID is active.

This change better handles that switch and removes a
crash that was happening due to
ImsServiceProxy#getFeatureStatus getting called

Bug: 37361882
Test: Run Telephony unit test
Merged-In: If0f2e3c90de378421bc17d029bf1e6a3ced6bb34
Merged-In: I2cfef49f833e330289f172bae7e422f5afa5fc40
Change-Id: If61332d8c2d4dacb96d27d706abac6afc612749b