Commit Graph

2400 Commits

Author SHA1 Message Date
Jack He
9fc75740e1 Telephony: Allow custom looper for OnSubscriptionsChangedListener
* Add OnSubscriptionsChangedListener(Looper looper) constructor

Bug: 69429540
Test: Use this constructor in HeadsetPhoneState.java
Change-Id: I37b6c8d970384466527acc8df7a818625865ab16
2017-11-16 16:03:28 -08:00
Cassie Han
9b08e4cb8d Merge "Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."" 2017-11-15 23:21:33 +00:00
Cassie Han
2200da1cdc Revert "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel."
Bug: 69349963
Bug: 69096589
Bug: 63984327

This reverts commit 993203c7e0.

Change-Id: I52839aa5991541399651904587aa342a858a5915
2017-11-15 17:32:31 +00:00
Treehugger Robot
5f291e5e06 Merge "Fix the comments of onError() callback" 2017-11-14 20:12:02 +00:00
Treehugger Robot
45e1c58591 Merge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel." 2017-11-14 16:42:41 +00:00
Jordan Liu
0f113b2f25 Merge "Customize the default value of Enhanced 4G LTE mode" 2017-11-13 21:53:24 +00:00
Cassie
993203c7e0 Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.
Bug: 69096589
Bug: 63984327
Test: Basic telephony sanity
Change-Id: I0fe5b3a17b1a68c918f912ee98a00cfec4c5657b
2017-11-13 09:14:59 -08:00
Hall Liu
f6b2b77e40 Merge changes from topics "embms-cts-6", "embms-cts-5"
* changes:
  Add @TestApi for MbmsDownloadReceiver CTS
  Add @TestApi for DownloadStateCallback CTS
2017-11-10 20:46:19 +00:00
Jayachandran Chinnakkannu
413a308126 Merge "Remove the OEM hook implementation and usage" 2017-11-10 00:31:39 +00:00
Jordan Liu
bbaa19cad3 Merge "Add config to use a display rule that ServiceState was considered" 2017-11-09 18:24:16 +00:00
yinxu
392b0f1339 Fix the comments of onError() callback
Bug: 63718613
Test: Basic telephony sanity
Change-Id: Ibb4bf5fd907666d72c40bb0caf505e187937467b
2017-11-09 09:56:45 -08:00
Brad Ebinger
abfdf0e03d Merge "Remove ImsService Feature Interfaces" 2017-11-08 22:54:33 +00:00
Treehugger Robot
107141be5c Merge "Add OWNED_BY field." 2017-11-08 19:28:37 +00:00
Brad Ebinger
b5d2f0c24f Merge "Move ImsServiceProxy to opt/net/ims" 2017-11-08 17:12:44 +00:00
Brad Ebinger
7805de4002 Merge "Switch class hierarchy of ImsServiceProxy and compat" 2017-11-08 16:20:39 +00:00
yuemingw
cf263eb9da Add OWNED_BY field.
Bug: 68208199
Test: later

Design doc: https://docs.google.com/document/d/1UEYjhRGSEwwccPLs_FzFD-IeOsVq63gxmAHNtDfnzAY/edit#heading=h.jza6dz6kh6bz

Change-Id: Ic78df7902523bad4b3d40bacb73b17d767226aac
2017-11-08 13:12:18 +00:00
Masaho Nishikawa
401843582a Add config to use a display rule that ServiceState was considered
Add config to use a spn/plmn display rule that the roaming state of
ServiceState was considered. The default value is false.

Test: manual - Verified that PLMN/SPN which the carrier configuration
was considered is displayed.
Bug: 67835339

Change-Id: I05a4938ae51b03190e06e407c41c894b8feb8ea7
2017-11-08 19:47:40 +09:00
manabu, shimoda
14723e314c Customize the default value of Enhanced 4G LTE mode
To control the default value by carrier configuration,
 - Add a carrier option to control default Enhanced 4G LTE mode enabled.
 - Remove initializing Settings.Global.ENHANCED_4G_MODE_ENABLED.

Test: manual - Checked that the "Enhanced 4G LTE mode" can be controlled
by carrier config.
Bug: 67725875

Change-Id: Ic714abcae5c388cc12e6c4b1f45e2abb07febf54
2017-11-08 19:37:23 +09:00
Jayachandran C
2635a89c8c Remove the OEM hook implementation and usage
Vendors and OEMs shall use HIDL extension going forward
to send OEM specific message

Test: Basic Telephony Sanity

Bug: 34344851

Change-Id: I977004cf49f9c61b434dc2ded2effa29ace0f603
2017-11-07 19:36:50 -08:00
Brad Ebinger
9a6369dbd5 Remove ImsService Feature Interfaces
The ImsService feature interfaces were designed
to support a flat ImsService AIDL. This is not
necessary anymore, so this interface is being
removed as part of prep for the new ImsService
definition.

Test: Manual
Change-Id: Iefbcd168441ce2547523cf3e6a99ab3de5f3f823
2017-11-07 11:05:51 -08:00
Jordan Liu
1f8ee4ff25 Merge "Add a carrier config indicating whether user can edit a voicemail number" 2017-11-07 18:28:33 +00:00
Brad Ebinger
8f291b18a1 Move ImsServiceProxy to opt/net/ims
This code is very tightly coupled with ImsManager
and should exist as part of the telephony IMS
code.

Test: Manual
Change-Id: If7b8ec73409daa7f1c1d27878242b4335db38e8a
2017-11-07 10:01:58 -08:00
Brad Ebinger
06b6878310 Switch class hierarchy of ImsServiceProxy and compat
The compat class should be a subclass of the
ImsServiceProxy, not the other way around.

Test: Manual
Change-Id: I2a2d37edaa6b68815c99988882957bf913236f25
2017-11-07 10:01:58 -08:00
Jordan Liu
e158cdaaa5 Merge "Move isServiceReady to ImsServiceProxyCompat" 2017-11-07 00:07:11 +00:00
Qi Wang
3ef58c56b6 Merge "Display the HD icon in the Call Log" 2017-11-06 19:28:24 +00:00
fionaxu
3d0ad1f8c0 new columns of carrierId DB
Bug: 64131637
Test: Unit test CarrierIdProviderTest.java
Change-Id: I5e1d061d39248be12dd1e6ff1488dd3268f5f3ae
(cherry picked from commit a9214ba0b8)
2017-11-03 12:19:16 -07:00
Suresh Koleti
17898168a6 Move isServiceReady to ImsServiceProxyCompat
-- Move isServiceReady from ImsServiceProxy to its base class
   ImsServiceProxyCompat to use in ImsManager.

Test: Manual
Bug: 63920021
Change-Id: I0e136ffe8490a3ba985bfb5992c1ff2176e610fe
2017-11-03 18:29:25 +05:30
Pengquan Meng
87a336846e Merge "Fix getSimOperator to return mccmnc based on subId" 2017-11-02 01:11:29 +00:00
Hall Liu
f1167ced38 Merge "Add @TestApi for EMBMS APIs needed for CTS" 2017-11-01 22:35:51 +00:00
manabu, shimoda
d245ba438c Add a carrier config indicating whether user can edit a voicemail number
Some carriers require to make it possible to prevent user editing
voicemail number. This carrier config is used to disable voicemail
number setting in Settings.

Test: manual - Checked that the voice mail number editing could be
controlled by carrier config.
Bug: 67872671
Merged-In: Ibbc3e0aa9d3d15abbb44477acd6d3546593a21bf
Change-Id: Ibbc3e0aa9d3d15abbb44477acd6d3546593a21bf
2017-11-01 11:47:34 -07:00
Wenting Xiong
cb35e99d72 Display the number of LTE signal bars is based on RSRP only
Some carriers require to display the number of LTE signal bars is
based on RSRP only.
This carrier config is used to control it.

Test: manual - Checked that the number of LTE signal bars display
which base on RSRP only can be controlled by carrier config.
Bug: 67831028

Change-Id: I077ef253f34fc503a591dcb3f01d60ab6573f298
2017-11-01 15:52:46 +09:00
Hall Liu
3ce024a4b2 Add @TestApi for MbmsDownloadReceiver CTS
Also fix a few bugs that were discovered in the download receiver code
as part of testing.

Bug: 68049452
Test: CTS
Change-Id: Ie5ca77af1fc43e4912bd74957d8ca95d347d229c
2017-10-31 18:58:38 -07:00
Hall Liu
63c5fd60ac Add @TestApi for DownloadStateCallback CTS
Bug: 68049452
Test: CTS
Change-Id: I6bcb1abb1adfe100dee4c381717bcc412578f58b
2017-10-31 18:50:44 -07:00
Hall Liu
156b3041a9 Add @TestApi for EMBMS APIs needed for CTS
Bug: 68049452
Test: CTS
Change-Id: I5d132ac4e67deccf41c998822f82cf94d3f2ce7f
2017-10-31 18:49:09 -07:00
Kazuya Ohshiro
b8981ba99e Display the HD icon in the Call Log
Added a new config that indicating the flag to determines
if the current call should allow the high definition audio
information to be logged in the Call Log.

Test: manual - Verified that the HD icon is displayed in the Call Log
if a codec for HD had been used during a call.
Bug: 68108125

Change-Id: Id0d52f9aa018eeebe5bc42973760331b47d5c822
2017-10-31 21:13:19 +09:00
Treehugger Robot
1400db6748 Merge "Add support for send Message with messaging options" 2017-10-29 17:48:44 +00:00
Hall Liu
1fab41e771 Merge "EMBMS - Add TestApi and provide service override" 2017-10-27 23:19:29 +00:00
Cassie Han
1565803cd2 Merge "Add the operator name and MCC/MNC in string format into the CellIdentity." 2017-10-27 17:17:54 +00:00
Mengjun Leng
bbef627077 Add support for send Message with messaging options
Add support for following messaging options.

1.Add support for message priority in 3gpp2.

2.Add link control support while sending multiple messages.

3.Add validity period support in 3gpp.

Change-Id: I19f4fbc5a3b6922884196b301d30280acd9e501e

MSIM(Telephony): Add changes to SMS APIs as per new SmsManager design

Change SMS Msim APIs as per new SmsManager design

Change-Id: I14ad7685e23b14203a76dfe3cc5a95a337f7d0e3
2017-10-27 11:31:48 +08:00
Hall Liu
64e22af32e EMBMS - Add TestApi and provide service override
Add @TestApi annotations to methods that CTS needs
Add a manifest meta-data key that allows client apps to specify the
exact component name of the MBMS service to bind to.

Bug: 68049452
Test: CTS
Change-Id: I50654c41da38696a25fad93d0a5e0b0c11fa0b42
2017-10-26 15:46:42 -07:00
Brad Ebinger
3ab81b9694 Merge "Fix dial emergency call redial issue by China Unicom." 2017-10-25 20:36:17 +00:00
Cassie
933b78d977 Add the operator name and MCC/MNC in string format into the CellIdentity.
Bug: 63984327
Test: Basic telephony sanity
Change-Id: Ia5e7f5b980efbde647f95f3e83a62d56132b90da
2017-10-25 10:04:31 -07:00
Kazuya Ohshiro
990af17cd3 Make it possible to dial an operator specific code
Added a new array config that indicating list of
FAC (feature access codes) to dial as a normal call.

Test: manual - Checked that special codes which configured in
CarrierConfig are dialed as a normal call.
Bug: 67664279

Change-Id: I1c4b60ae4f28c25e55b38563fe445f831793d466
2017-10-24 15:51:47 -07:00
Jordan Liu
9953542c3a Merge "Add config to display VM number as default number of CF"
am: 3e26cb18fb

Change-Id: Ie332a31b699b375d7a9ff56f314346546244010e
2017-10-23 20:39:20 +00:00
Jordan Liu
3e26cb18fb Merge "Add config to display VM number as default number of CF" 2017-10-23 20:27:28 +00:00
Hall Liu
c336947da4 Merge "Check success before registering DeathRecipient"
am: b6c4bc311a

Change-Id: Ie4a8f3ea3374d30a6a4dd9d22d9d48df0075c560
2017-10-20 23:22:13 +00:00
Hall Liu
b6c4bc311a Merge "Check success before registering DeathRecipient" 2017-10-20 23:10:09 +00:00
Qiong Liu
48fe53f026 Add config to display VM number as default number of CF
Add config to determine whether to display voicemail number when
call forwarding number is null. The default value is false.

Test: manual - checked the voicemail number shown as default
Bug: 67855679
Change-Id: Iffa7f9a31757e2df2535abf0269a768ff4e67e8c
2017-10-20 15:38:38 +09:00
Pengquan Meng
c671962c9a Merge "[framework] Fixed signal strength issue"
am: 6d98743048

Change-Id: I5d6ff6f0419b658ee9786567087b95ced5e70233
2017-10-20 05:52:43 +00:00
Pengquan Meng
6d98743048 Merge "[framework] Fixed signal strength issue" 2017-10-20 05:44:42 +00:00