4247 Commits

Author SHA1 Message Date
Joe LaPenna
5e0164e16c Add simplified_network_settings_bool to CarrierConfig.
Some carriers want to further simplify network settings based on a
variety of wifi or cellular related bundles. Expose a config a
carrier might set to allow SysUi, Settings and platform to adjust.

BUG: 33111931
Test: runtest carrierconfig-unit
Change-Id: I35a7ef15bbba23cf9e0380432fc001804c7e1804
Merged-In: I35a7ef15bbba23cf9e0380432fc001804c7e1804
2016-12-22 11:53:10 -08:00
Joe LaPenna
6e4d2890de Add simplified_network_settings_bool to CarrierConfig.
Some carriers want to further simplify network settings based on a
variety of wifi or cellular related bundles. Expose a config a
carrier might set to allow SysUi, Settings and platform to adjust.

BUG: 33111931
Test: runtest carrierconfig-unit
Change-Id: I35a7ef15bbba23cf9e0380432fc001804c7e1804
2016-12-21 20:17:45 -08:00
Brad Ebinger
f979b94815 Adds custom call forwarding block while roaming carrier config key
am: eab25ae197

Change-Id: Ic638971c4bae7b496e94431ae2c0f35a22261896
2016-12-21 01:34:11 +00:00
Brad Ebinger
eab25ae197 Adds custom call forwarding block while roaming carrier config key
Adds support for supplying custom call forwarding prefixes in the carrier
config. When a prefix supplied in the carrier config is matched to the number
being dialed, we do not complete the call and instead show an error message
on the dialer UI.

Test: Manual
Bug: 30458052
Merged-In: I3149a565b0fd631d69ab0c0f27be509237b80177
Change-Id: I3149a565b0fd631d69ab0c0f27be509237b80177
2016-12-20 14:34:52 -08:00
Hall Liu
57c781417f Merge "Adds carrier config to determine if high definition audio is displayed" am: 26e5096364
am: fc125a319e

Change-Id: I305223c2a5499b9fdf2f1f59ddfda40712cd6172
2016-12-20 21:28:12 +00:00
Hall Liu
26e5096364 Merge "Adds carrier config to determine if high definition audio is displayed" 2016-12-20 21:13:31 +00:00
Brad Ebinger
9ab43212ca Adds custom call forwarding block while roaming carrier config key
Adds support for supplying custom call forwarding prefixes in the carrier
config. When a prefix supplied in the carrier config is matched to the number
being dialed, we do not complete the call and instead show an error message
on the dialer UI.

Test: Manual
Bug: 30458052
Change-Id: I3149a565b0fd631d69ab0c0f27be509237b80177
2016-12-20 19:14:01 +00:00
Brad Ebinger
721847320b Add UI prompt for MMI code failure on 3gpp
am: ac8d8e7358

Change-Id: Id83a2fa2dd958a0fbfcb2d5eb90528bcf96737b8
2016-12-19 20:54:27 +00:00
Junda Liu
f1adc1db84 resolve merge conflicts of 0c62aa5 to master
Change-Id: Ie032d5ab4ec0f1c038adfc5a0d506efe7a9248f0
2016-12-16 16:45:10 -08:00
Brad Ebinger
ac8d8e7358 Add UI prompt for MMI code failure on 3gpp
Some carriers do not support call forwarding MMI codes while roaming
on 3gpp networks. A new message has been added that clarifies this
to the user.

Test: Manual
Bug: 30106345
Merged-In: Id8d3434b02346eaad4f52d514a3269b5750ca1c3
Change-Id: Id8d3434b02346eaad4f52d514a3269b5750ca1c3
2016-12-16 16:11:15 -08:00
Junda Liu
0c62aa5f10 Add carrier config key KEY_EDITABLE_TETHER_APN_BOOL.
am: 6bb22e3de2

Change-Id: I8228c805c69189966b0b4f12d11ab7c5564766c4
2016-12-16 22:35:13 +00:00
Junda Liu
565fcb4b95 Merge "Add carrier config key KEY_EDITABLE_TETHER_APN_BOOL." into nyc-mr2-dev 2016-12-16 22:24:19 +00:00
Ta-wei Yen
485d6dec93 Add VisualVoicemailService
VisualVoicemailService can be implemennted by the default dialer to
provide a visual voicemail client similar to the OMTP visual voicemail
spec.

Other APIs such as the SMS filter and hidden text SMS sending are made
public and consolidated into the service interface.

Test: make. CTS tests in a follow up CL
Change-Id: Ib5e9aa15fc098f4c13b15e5dbecf9ab646e0e400
2016-12-16 12:17:30 -08:00
Polina Bondarenko
bcdc5d748e Merge "Make TelephonyManager APIs public:" am: 441bfc6718 am: 104a5c7a34 am: bab9a7e66e
am: f5088c0d77

Change-Id: Ic6db847259207210f000a3463928e97dbae1b4f8
2016-12-16 11:02:19 +00:00
Polina Bondarenko
f5088c0d77 Merge "Make TelephonyManager APIs public:" am: 441bfc6718 am: 104a5c7a34
am: bab9a7e66e

Change-Id: Ie57e56db0d87968524bc7dc39b2d1061c4ec88b3
2016-12-16 10:53:30 +00:00
Polina Bondarenko
bab9a7e66e Merge "Make TelephonyManager APIs public:" am: 441bfc6718
am: 104a5c7a34

Change-Id: I0d234fd2539a3a9ec58c820a7a7428430aa2255a
2016-12-16 10:45:03 +00:00
Treehugger Robot
441bfc6718 Merge "Make TelephonyManager APIs public:" 2016-12-16 10:29:04 +00:00
Wei Huang
f294be149a Adds carrier config to determine if high definition audio is displayed
Adds a carrier config option to remove HD audio property from a
connection so that HD audio related UI is not displayed
even if connection has High Definition audio support.

Bug: 28654645
Bug: 33062999
Change-Id: Ie2acb3be556b750849c25b856cf9382cf4ebb8d9
Merged-In: I71f35854d35ae73741a36c0e2106695b04471b2e
2016-12-15 15:56:24 -08:00
Wei Huang
0a26ddc7a3 Adds carrier config to determine if high definition audio is displayed
am: f84a966106

Change-Id: I030077b8f9a8fa9f05d1a71f051cd19059c54bab
2016-12-15 23:06:53 +00:00
Polina Bondarenko
933a594c9f Make TelephonyManager.getImei a system APIs.
It is needed for OobConfig app unbundling.

Bug: 33480907
Test: cts
Change-Id: I523416d23ec504ce44051df384d7df4f99e93002
2016-12-15 15:45:47 +01:00
Wei Huang
f84a966106 Adds carrier config to determine if high definition audio is displayed
Adds a carrier config option to remove HD audio property from a
connection so that HD audio related UI is not displayed
even if connection has High Definition audio support.

Bug: 28654645
Bug: 33062999
Change-Id: I71f35854d35ae73741a36c0e2106695b04471b2e
2016-12-14 18:32:44 -08:00
Brad Ebinger
17acc15ca4 Add UI prompt for MMI code failure on 3gpp
Some carriers do not support call forwarding MMI codes while roaming
on 3gpp networks. A new message has been added that clarifies this
to the user.

Test: Manual
Bug: 30106345
Change-Id: Id8d3434b02346eaad4f52d514a3269b5750ca1c3
2016-12-13 17:16:00 -08:00
Junda Liu
6bb22e3de2 Add carrier config key KEY_EDITABLE_TETHER_APN_BOOL.
Default false. If true, will allow use edited tether APN to take effect.

Bug: b/30622475
Change-Id: I526e41e816582e1c5219600d74980fd7754361e6
2016-12-13 14:53:53 -08:00
Polina Bondarenko
a6dba0ab35 Make TelephonyManager APIs public:
TelephonyManager.getSimState(slotIdx) and
TelephonyManager.SIM_STATE_CARD_RESTRICTED.

It is needed for OobConfig app unbundling.

Bug: 33479833
Test: run cts -m CtsTelephonyTestCases
Change-Id: I375f436bc4e1dcedc0656866a0838c7bf5948422
2016-12-13 21:37:01 +01:00
Joe LaPenna
fdff93052e Merge "Add simplified_network_settings_bool to CarrierConfigManager." am: 9b430e0395 am: 2bc66bf601 am: b52989c736
am: b0977f52a6

Change-Id: I3c1db8b94e35bc4bb3df17fa2e6e1a3af6683e4a
2016-12-12 21:45:58 +00:00
Joe LaPenna
b0977f52a6 Merge "Add simplified_network_settings_bool to CarrierConfigManager." am: 9b430e0395 am: 2bc66bf601
am: b52989c736

Change-Id: I06dcc86f7e11e0db205f712b41dd3e7d0194bb36
2016-12-12 21:39:55 +00:00
Joe LaPenna
b52989c736 Merge "Add simplified_network_settings_bool to CarrierConfigManager." am: 9b430e0395
am: 2bc66bf601

Change-Id: Idaa23641c8e95890271c554dee0244702601a109
2016-12-12 21:34:30 +00:00
Joe LaPenna
2b22ae3b87 Add simplified_network_settings_bool to CarrierConfigManager.
BUG: 33111931
Test: runtest carrierconfig-unit
Change-Id: I3da3048afcf1547c46db5c76ff68165246faa77a
2016-12-12 19:27:16 +00:00
Dheeraj Shetty
07b64b8a40 Add API for reporting IMS registration failures
Add ImsRegistrationListener API to report registration failures in
the following scenarios:
1. Idle mode failures - new IMS registration.
2. Ims registration handover failures - Handover of IMS registration
   from one radio technology to another.

Bug: 33430556
Test: m
Change-Id: Ie3bafec41c0198a66aa3ebca660a2a060e511c39
2016-12-12 10:34:01 -08:00
pkanwar
ffd4583e17 Add notification delay for when the user needs cannot
register to a network and needs to be notified. Merged from NYC.

BUG: 28572539
Test: n/a
Change-Id: I4eae9bacda9c159446f75f5bee73659af960e1a7
2016-12-11 17:47:00 -08:00
Dheeraj Shetty
5a34b7489e DO NOT MERGE API for reporting IMS registration failures
am: a62a1302ee

Change-Id: Iad3a0ab889618cc329517b102067f5b26ed96ee0
2016-12-10 00:16:52 +00:00
Meng Wang
8f1a57f943 Merge "DO NOT MERGE API for reporting IMS registration failures" into nyc-mr2-dev 2016-12-10 00:08:24 +00:00
Johan Redestig
87b29367a2 Add IMEI_NOT_ACCEPTED disconnect cause
Bug: 33263903
Test: manual (simulated error code from the network)
Change-Id: I3c01b0ad5d55f30b4a52845f09c801358e977a01
2016-12-08 13:04:46 +01:00
Dheeraj Shetty
a62a1302ee DO NOT MERGE API for reporting IMS registration failures
Draft API to report registration failures in the following
scenarios:
1. Idle mode failures - new IMS registration.
2. Ims registration handover failures - Handover of IMS registration
   from one access technology to another.

Bug: 33430556
Change-Id: Ie3bafec41c0198a66aa3ebca660a2a060e511c39
2016-12-07 16:09:47 -08:00
Tyler Gunn
ec5b6e3232 Add carrier configuration options to allow enforcing max conference size.
Adding carrier config options to to allow enforcing a maxmimum size for
IMS conferences.
Also adding small performance enhancement to setConferenceables so that
if the list of conferenceable connections does not change it does not
send an update to listeners.

Test: Manual
Bug: 29548224
Change-Id: I109c91c4147814547bb75003d312d81d41a52c13
2016-12-07 14:12:33 -08:00
Jordan Liu
88c68423af Treat the mdn as an additional voicemail number
am: 360d5674bd

Change-Id: Idbfdf0086d101e6c246ecee7572c6dbf2702574e
2016-12-06 22:28:30 +00:00
Jordan Liu
7ba6d21aac Merge "Treat the mdn as an additional voicemail number" into nyc-mr2-dev 2016-12-06 22:23:26 +00:00
pkanwar
b65452c18f DO NOT MERGE: Add notification delay for when the user needs cannot register to a network and needs to be notified.
am: 34be302f2a

Change-Id: I18f1ed3a4e8b6a923e5733fe38566d4484d1c310
2016-12-06 20:41:50 +00:00
pkanwar
34be302f2a DO NOT MERGE: Add notification delay for when the user needs cannot register to a
network and needs to be notified.

BUG: 28572539
Change-Id: Iabf5e4476a1c5b02d1de38695f7125ee888dadd9
2016-12-06 10:52:59 -08:00
Chad Brubaker
48829f90d6 Merge "Add single use App specific incoming SMSes" 2016-12-06 18:06:26 +00:00
Jordan Liu
360d5674bd Treat the mdn as an additional voicemail number
Use carrier config to specify whether the carrier treats the mdn as an
additonal voicemail number.

Change-Id: I7192a3505da87d6b50a100e041d2b502cf37e113
Merged-In: I7192a3505da87d6b50a100e041d2b502cf37e113
Fix: 29145323
Test: build and flash on device
2016-12-05 11:10:59 -08:00
Jordan Liu
408f695c98 Merge "Treat the mdn as an additional voicemail number" 2016-12-05 19:03:58 +00:00
Tyler Gunn
d69f90e0f9 Merge "Change prototype for "setCamera" in IMS VideoProvider." 2016-12-02 21:54:19 +00:00
Jordan Liu
35366bec53 Merge "Rename key declaration to start with "KEY"" 2016-12-02 04:46:38 +00:00
Robert Greenwalt
2232ac8c59 Merge "Get the correct operator name"
am: 297e9f9a32

Change-Id: Ic4c433e9b7e70427275fbbba785bb365e0ced8d5
2016-12-02 03:39:30 +00:00
Robert Greenwalt
297e9f9a32 Merge "Get the correct operator name" 2016-12-01 23:29:28 +00:00
Chad Brubaker
2900d4d155 Add single use App specific incoming SMSes
This allows applications to request that an upcoming incoming SMS be
routed directly to the calling application and to do so without
needing the RECEIVE_SMS permission.

This is especially important for ephemeral applications which we do not
want to have the ability to get the RECEIVE_SMS permission but do want
to support SMS based phone number verification. Ephemeral apps can use
this API to receive and SMS from their backend but will not be able to
access other SMSes on the device.

This is done by providing the app a token which when included in a
subsequent SMS message causes the application provided PendingIntent to
be sent with the SMS message data attached.

Test: Verified that an SMS containing the code is routed to the app.
Test: runtest --path GsmInboundHandlerTest.java
Test: cts-tradefed run cts -m CtsPermission2TestCases

Bug: 33047670
Change-Id: Iea60bfd1d3f9b8f013b34a82a480c65006416c4c
2016-12-01 14:25:07 -08:00
Zoran Jovanovic
fc36f2f260 Get the correct operator name
am: 67f579be19

Change-Id: Ia822adfdcfa47f7ec0b95cc44b48ab3a1bd75961
2016-12-01 21:57:44 +00:00
Zoran Jovanovic
47495ebad0 Get the correct operator name
If the long operator name is not given by RIL,
try to get the short operator name.

Bug: 32791744
Merged-In: I4983ad708c57a650ce4a806e1f53837825bad2db
Depends-On: commit in frameworks/opt/telephony with the same Change-Id
Change-Id: I4983ad708c57a650ce4a806e1f53837825bad2db
2016-12-01 21:50:14 +00:00
Robert Greenwalt
6f8577e319 Merge "Get the correct operator name" 2016-12-01 21:46:51 +00:00