Commit Graph

4921 Commits

Author SHA1 Message Date
Treehugger Robot
d0abc863f4 Merge "Remove unused AIDL files" 2017-12-04 23:35:35 +00:00
Jordan Liu
febd180254 Merge "Make it possible to hide signal strength via Carrier Config" 2017-12-04 23:20:31 +00:00
Colin Cross
4e1b9c199d Remove unused AIDL files
These files show up in a glob for all AIDL files, but are not listed
in AIDL files to be built, and have no references in codesearch
except for one unused import.

Bug: 70046217
Test: m checkbuild
Change-Id: I7d6a3bb19d2e16b5f09473f3058afcf5b4edd9b6
2017-12-04 11:14:25 -08:00
Evan Laird
e441298a11 Merge "SystemUI: Display RAT icon when data is off" 2017-12-04 14:37:16 +00:00
Hall Liu
a0a70be251 Merge "Set sIsInitialized to false and add logging" 2017-12-02 01:35:15 +00:00
Hall Liu
5e9727f5df Set sIsInitialized to false and add logging
When the service goes away due to a remote exception, set sIsInitialized
to false as well as setting the service to null.
Also log the serviceconnection disconnect.

Bug: 70032958
Test: cts
Change-Id: I34c1ea804537c62bd4348ba3aeeca7ba2c0becb6
2017-12-01 14:01:15 -08:00
Treehugger Robot
298d2a46dc Merge "Quick fix the getMobileNetworkOperator() in CellIdentity." 2017-12-01 05:19:29 +00:00
Jordan Liu
c1c29dbf45 Merge "IMS: Add new APIs for call barring operations" 2017-12-01 00:25:43 +00:00
Cassie
b799fcdd69 Quick fix the getMobileNetworkOperator() in CellIdentity.
Bug: 69915536
Test: Basic telephony sanity
Change-Id: Iac8222055aea95fbb5334876124ce9d1571ae2f6
2017-11-30 15:54:51 -08:00
Treehugger Robot
74445ed311 Merge "Add SMS over IMS APIs" 2017-11-30 15:56:30 +00:00
Benergy Meenan Ravuri
f6e372b1fb IMS: Add new APIs for call barring operations
Add below APIs to perform call barring operations for a
specified service class.

queryCallBarringForServiceClass
updateCallBarringForServiceClass

Test: Manual
Bug: 37559543
Change-Id: I438d3527f0e4b2c09de3f7e44e6b80df82b915ae
2017-11-30 18:03:12 +05:30
Mohamed
037749df03 Add SMS over IMS APIs
- Adds public APIs that IMS providers will implement/use
- Adds aidl APIs for internal communications to support SMS over IMS.
- First pass at documentation of APIs.

Moving over from  ag/3265442

Bug: 69846044

Test: None
Change-Id: Ic665a2a7d64a56417bcf2a159d6b88b05cdb832a
2017-11-29 16:14:57 -08:00
Pengquan Meng
b00f00e74b Merge "fixed CdmaSmsAddress parser" 2017-11-29 23:38:29 +00:00
Patrik Bannura
9124ec55b7 Make it possible to hide signal strength via Carrier Config
Carriers want to hide signal strength in Sim Status.

Bug: 69730732
Test: Add different values for two carriers in vendor.xml
and see them change when swapping sim card
Change-Id: I155c8f619a451edab85cf6422cef73e8e1686629
2017-11-29 12:17:57 +00:00
Pengquan Meng
6dabb40ae3 fixed CdmaSmsAddress parser
The digit mode of CdmaSmsAddress is incorrect for international
address.

See 3GPP2 C.S0015-B section 3.4.3.3 Address Parameters for the spec of
CdmaSmsAddress.

Also see the table from 3GPP2 C.S005-D, table2.7.1.3.2.4-2.

Bug: 34805351
Test: unit test
Change-Id: I542a717986009b01d19aef5e61964f03b216a162
2017-11-28 18:02:31 -08:00
Jordan Liu
dc98d6e44b Merge "Add carrier config variable to hide manage IMS conference call button" 2017-11-28 21:40:01 +00:00
Wei Huang
0385e3a547 Add carrier config variable to hide manage IMS conference call button
Add carrier config to determine whether manage IMS conference calls
is supported by a carrier.

Test: not tested since a new config is just added
Bug: 28729600
Change-Id: I1000830a85814150658b62ea9add72bfb83bbba0
Merged-In: I1000830a85814150658b62ea9add72bfb83bbba0
2017-11-28 10:25:25 -08:00
Jack Yu
1d1022e445 Moved DataProfile from telephony internal hidden API to System API
This is the preliminary change in order to make the new data call
setup API for IWLAN refactoring.

Test: Telephony sanity tests + unit tests
bug: 64132030

Merged-In: Ib96dc3dd577def0a428e2f5cdb5fb7f742120020
Change-Id: Ib96dc3dd577def0a428e2f5cdb5fb7f742120020
(cherry picked from commit fc84bb5f5c)
2017-11-27 14:36:15 -08:00
Wenting Xiong
63364fe24a SystemUI: Display RAT icon when data is off
Introduce customization and implementation to display RAT icon in status
bar even when data is off. Since some carriers require, this feature is
necessary.

Test: Test with simulated RIL
Bug: 28805511
Change-Id: I0428ba1749bdb884d210f1ff02cdf86b376a0ca8
2017-11-24 10:57:03 +09:00
Jordan Liu
80aefae026 Merge "Update javadocs for ACTION_CONFIGURE_VOICEMAIL" 2017-11-22 22:09:33 +00:00
Brad Ebinger
8a02c63f16 Merge "Refactor ImsService to AIDL" 2017-11-22 19:16:21 +00:00
Cassie
13df901de7 Update the comments for all CellIdentity*.
Bug: 63984327
Test: Basic telephony sanity
Change-Id: Icb9ba99cefb93a7c4a39cbc653ae046df8649cf9
2017-11-17 14:16:01 -08:00
Cassie Han
3df706dcd9 Merge "Allow unknown mcc/mnc when constructing a CellIdentity from Parcel." 2017-11-17 18:47:59 +00:00
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
Brad Ebinger
216b3ce485 Refactor ImsService to AIDL
The ImsService was originally designed as a flat
interface, all ImsFeatures would be forwarded
through ImsService. This has been refactored to
using AIDL interfaces for each feature, as it
is more straightforward.

Test: Manual, Telephony IMS Unit Tests
Change-Id: Ibe065ddec6f180eabda03cf06f842c642a11114f
2017-11-16 21:28:36 +00:00
Cassie
ae5885d54e Allow unknown mcc/mnc when constructing a CellIdentity from Parcel.
Bug: 63984327
Test: Basic telephony sanity
Change-Id: Ia7670b7cd49db244e7c8309419ea8d7b1280a7fa
2017-11-15 17:11:17 -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