Commit Graph

3768 Commits

Author SHA1 Message Date
Jordan Liu
c0b0e761d5 Merge "Add key to CarrierConfig" 2016-09-14 21:27:29 +00:00
Jack Yu
6d3bdda778 Extend apn retry configurability to more apn types am: c1f0e87051 am: 5e45c9c673
am: 1bbe6da5fc

Change-Id: Ic95fcbc840752f4e9d14c2d8349b7828c00d84a4
2016-09-14 19:57:43 +00:00
Jordan Liu
2be612f806 Merge "Add key to CarrierConfigManager" 2016-09-14 18:17:16 +00:00
Hall Liu
b26312c974 resolve merge conflicts of ca0844d to master
Change-Id: I0271bd52c26b106787e39b1ed099639cc928f29f
2016-09-13 17:20:06 -07:00
Jack Yu
1bbe6da5fc Extend apn retry configurability to more apn types am: c1f0e87051
am: 5e45c9c673

Change-Id: I69a8a679618f1ef99fced019569b55a4810fcc44
2016-09-13 20:28:19 +00:00
Jack Yu
5e45c9c673 Extend apn retry configurability to more apn types
am: c1f0e87051

Change-Id: Id44b57c992efb8d649a2fa409b798714364c5dcc
2016-09-13 20:22:23 +00:00
Jack Yu
c1f0e87051 Extend apn retry configurability to more apn types
Extend apn retry configurability to more apn types so
we can control each APN retry behavior. Made mms apn retry
pattern same as default apn.

bug: 31381899
Change-Id: I070d0da97fb1844a1b4e9a6f1eff8d37995cec50
2016-09-13 16:49:59 +00:00
Jordan Liu
a5a8b59333 Add key to CarrierConfig
Add RESTART_RADIO_ON_PDP_FAIL_REGULAR_DEACTIVATION and default value
(false) to CarrierConfigManager, and remove the old configs.

This value exists because:
http://b/10131736, requires radio restart.
http://b/16308209, http://b/17567651 require that we do not restart.

Bug: 29873049
Change-Id: I4e199d7fe73b82fa39475f31825e5b8ae58d180f
2016-09-12 14:00:37 -07:00
Hall Liu
ca0844d104 resolve merge conflicts of 6369889 to nyc-mr1-dev-plus-aosp
Change-Id: Ied1a005f663517e69c3992c3ce49255af63c3e75
2016-09-09 14:46:44 -07:00
Wei Huang
237d775359 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
Change-Id: I71f35854d35ae73741a36c0e2106695b04471b2e
2016-09-08 22:36:09 +00:00
Jordan Liu
3ff30d224b Add key to CarrierConfigManager
Add KEY_DEFAULT_VM_NUMBER_STRING and default value. Note that default
vm number no longer needs to be a string array, as gid is handled
within the new carrier_configs. Remove references to old config.

Bug: 29873049
Change-Id: I56e4e3713c27f449fd892db501b6097c8c89c3c6
2016-09-07 13:31:38 -07:00
Wei Huang
20c747c038 Add configurable emergency call number support
In some region, when user dials emergency numbers, the call will go to
IVR system first and then to emergency center. This behavior causes
delay to let consumer to get help from center. Due to region/operator
requirements, some emergency numbers are required to be set-up as non
emeregency numbers on device. On such device, coverting original number
to emergency number is required under the conditions where only
emergency call is allowed - e.g. no SIM. This patch implements this auto
converting logic and its configurations.
E.g. For Taiwan, 110 and 119 need to be converted to 112 under not
in-service state.

Bug: 28123861
Change-Id: I01b3072ae272c1af8d4a19b2fb6ae451b7268821
2016-09-06 17:33:49 -07:00
Sooraj Sasindran
8347c3898d Expose api to retrieve wakelock information per client
Expose api to retrieve wakelock information per client
Provide calling package name in cell info apis

BUG=31041780
Change-Id: Ie39fe59055eb7931bd179dd9e2537a7552c38af8
2016-08-31 23:33:03 +00:00
Tyler Gunn
48a69096af Add device config to determine when "allow hold" carrier config is used. am: d81c426e1d am: 6c619a2abb
am: 5b9f1f8b74

Change-Id: I4b156928fb3495c1d898bb492f4b3bf797771899
2016-08-31 00:35:44 +00:00
Abhijith Shastry
b6ca34a343 Merge "Add a carrier config for RCS config server URL." 2016-08-29 18:57:08 +00:00
Tyler Gunn
5b9f1f8b74 Add device config to determine when "allow hold" carrier config is used. am: d81c426e1d
am: 6c619a2abb

Change-Id: I313263a906ec503899710f0d672dbfa76550cb51
2016-08-26 20:43:34 +00:00
Tyler Gunn
d81c426e1d Add device config to determine when "allow hold" carrier config is used.
The "allow hold" carrier config option was added to meet new carrier
requirements.  However we do not wish to enforce this option on older
devices.

Bug: 30449352
Change-Id: I4bf6dab0a200bdd2511c67b8134c6c0dc4b7e5a8
2016-08-26 20:19:31 +00:00
fionaxu
1a48056ecd redact PII only for non-null value and apply SHA-1 am: d0a7649f53 am: 00396c01f6
am: 7ae64354f9

Change-Id: Idfe56dbfb17c9453335074873f1b036c23e21a58
2016-08-26 03:38:39 +00:00
Abhijith Shastry
2215c9b5d0 Add a carrier config for RCS config server URL.
BUG: 31066641
Change-Id: Iad9aa60e6c8083aaeb7ce1461ff15012a6df0a29
2016-08-24 16:17:04 -07:00
fionaxu
7ae64354f9 redact PII only for non-null value and apply SHA-1 am: d0a7649f53
am: 00396c01f6

Change-Id: Ibbf6e47c2241f03998a8321aed78f819c87c40e7
2016-08-24 18:18:35 +00:00
fionaxu
d0a7649f53 redact PII only for non-null value and apply SHA-1
Bug: 30073833
Change-Id: Iec311ba27dfd07c52df4a05cf89a566994f66ba9
2016-08-22 11:36:16 -07:00
Tyler Gunn
c4035754fa Add Telephony Connection event for handover from WIFI to LTE. am: 481255dc1c am: 984a1efd2a
am: b92776a71e

Change-Id: I92ce06bab2beb2a3bc1b84441088f12a758be455
2016-08-18 01:04:11 +00:00
Brad Ebinger
9b63ad1a67 Adds a CNAP filtering field to the CarrierConfig
Adds the ability for the CarrierConfig to provide a list of CNAP names
that will be filtered out to the user. These names are usually generic
names that do not provide any useful caller ID information, such as
"WIRELESS CALLER".

Bug: 30142293
Change-Id: I8a99975380f99d160c2af6f6fa4b5ca3ebca1d3c
(cherry picked from commit 5ea6b1ece9)
2016-08-17 22:27:42 +00:00
Tyler Gunn
b92776a71e Add Telephony Connection event for handover from WIFI to LTE. am: 481255dc1c
am: 984a1efd2a

Change-Id: Ic2da4b4fefd06fa24913ce234f0a10393714fc47
2016-08-17 21:28:19 +00:00
Tyler Gunn
984a1efd2a Add Telephony Connection event for handover from WIFI to LTE.
am: 481255dc1c

Change-Id: I52676d0814db22cf9d6673e31aa7a71cdf155e81
2016-08-17 21:23:32 +00:00
Tyler Gunn
36863797cd Merge "Add Telephony Connection event for handover from WIFI to LTE." into nyc-mr1-dev 2016-08-17 21:19:42 +00:00
Tyler Gunn
23c2522788 Support auto-downgrade to audio when data disabled. am: 86d5c3fcde am: 6c678716e4
am: f37124b2f5

Change-Id: Ia58c68ad7d25abe3104609ae30e02fd0f6b1fc7a
2016-08-17 18:39:26 +00:00
Brad Ebinger
6314a0e9c7 Adds a CNAP filtering field to the CarrierConfig am: 5ea6b1ece9
am: 8dc27c8f40

Change-Id: Ia35252ae72c26b29db792a870c4537b2cd6ddddb
2016-08-17 18:28:58 +00:00
Tyler Gunn
f37124b2f5 Support auto-downgrade to audio when data disabled. am: 86d5c3fcde
am: 6c678716e4

Change-Id: I0a488516d7e9f1a90b91bd46d6f9a8a27f7f8a61
2016-08-17 18:17:59 +00:00
Brad Ebinger
8dc27c8f40 Adds a CNAP filtering field to the CarrierConfig
am: 5ea6b1ece9

Change-Id: If76215daaf2b2c2a200459a63302249be07b2f1b
2016-08-17 17:35:32 +00:00
Brad Ebinger
fb599587a1 Merge "Adds a CNAP filtering field to the CarrierConfig" into nyc-mr1-dev 2016-08-16 23:39:47 +00:00
Tyler Gunn
481255dc1c Add Telephony Connection event for handover from WIFI to LTE.
This connection event is used to inform an InCallService of the fact that
a handover from WIFI to LTE has occurred.

Bug: 30837560
Change-Id: Iaf7e301ca20ffbe5b3cb1b3596f898fcda8a7785
2016-08-16 16:04:48 -07:00
Brad Ebinger
5ea6b1ece9 Adds a CNAP filtering field to the CarrierConfig
Adds the ability for the CarrierConfig to provide a list of CNAP names
that will be filtered out to the user. These names are usually generic
names that do not provide any useful caller ID information, such as
"WIRELESS CALLER".

Bug: 30142293
Change-Id: I8a99975380f99d160c2af6f6fa4b5ca3ebca1d3c
2016-08-16 13:39:55 -07:00
Tyler Gunn
86d5c3fcde Support auto-downgrade to audio when data disabled.
Add carrier config option to determine if carrier supports downgrade to
audio.
Add new telephony Connection events to signal Dialer that there was a
downgrade to audio, and why.

Bug: 30702393
Change-Id: Idd5272aafd71601e92291644640f52afe200208e
2016-08-12 14:14:13 -07:00
Tyler Gunn
ef622ac558 Add ImsReason codes and DisconnectCauses for data disconnects. am: ed21e8fc0c am: 61d1830a49
am: 00101e9438

Change-Id: Iea985a305fb6ba8a6516cd036dc6734c823e5ba4
2016-08-12 17:31:59 +00:00
Tyler Gunn
00101e9438 Add ImsReason codes and DisconnectCauses for data disconnects. am: ed21e8fc0c
am: 61d1830a49

Change-Id: I3f35db127ef21adbcb086879f4b92eacac72974c
2016-08-12 15:07:10 +00:00
Tyler Gunn
61d1830a49 Add ImsReason codes and DisconnectCauses for data disconnects.
am: ed21e8fc0c

Change-Id: I468ab4a5e16bd08aa80c50c1cfc583e0004ea1ab
2016-08-12 14:59:27 +00:00
Tyler Gunn
34910458c4 Merge "Add ImsReason codes and DisconnectCauses for data disconnects." into nyc-mr1-dev 2016-08-12 14:54:27 +00:00
Tyler Gunn
ed21e8fc0c Add ImsReason codes and DisconnectCauses for data disconnects.
Adding reason code and disconnect causes for:
1. disconnects due to user disabling data.
2. disconnects due to data limit being reached.

Bug: 30702393
Change-Id: Id6ea5ee4f5aac1a8602094315f893e2f7b3cc8d6
2016-08-11 13:13:51 -07:00
Ta-wei Yen
3588482acc Add API to enable/disable the visual voicemail client am: 20f2ebbf4d am: 6dc3efcc16
am: b71cea3ade

Change-Id: I8a8000e783fad884d8d8afdf32b8d240ae233cd8
2016-08-11 17:39:34 +00:00
Ta-wei Yen
b71cea3ade Add API to enable/disable the visual voicemail client am: 20f2ebbf4d
am: 6dc3efcc16

Change-Id: I13bc9bd9b12732fa3a7aa5de47cba5eacc5ba092
2016-08-11 17:31:25 +00:00
Ta-wei Yen
6dc3efcc16 Add API to enable/disable the visual voicemail client
am: 20f2ebbf4d

Change-Id: I4051b810ab020208001f726e4911df1905ef81bf
2016-08-11 17:23:30 +00:00
Ta-wei Yen
fb6e1bf239 Merge "Add API to enable/disable the visual voicemail client" into nyc-mr1-dev 2016-08-11 17:15:14 +00:00
Tyler Gunn
96323c5ea7 Add carrier config to indicate whether to notify of vt handover failure. am: 0f20d9343c am: 5c88ba0d7c
am: ff50fc1374

Change-Id: I7f797768283c489a67ac1ad3cb38b2c79557bcda
2016-08-10 22:05:20 +00:00
Tyler Gunn
ff50fc1374 Add carrier config to indicate whether to notify of vt handover failure. am: 0f20d9343c
am: 5c88ba0d7c

Change-Id: Ib56d6233292bb6b3e35a226e50a8ff7104eef6a6
2016-08-10 21:43:42 +00:00
Ta-wei Yen
20f2ebbf4d Add API to enable/disable the visual voicemail client
This CL gives the default dialer, apps with carrier privilege, and
apps with MODIFY_PHONE_STATE the ability to enable/disable the visual
voicemail client.

This is a system API for NMR1. It will be revised in O.

Bug: 30709089
Change-Id: Ic24af14a5e3433c13ba8d253ad8504c94bf71c8f
2016-08-10 11:28:32 -07:00
Tyler Gunn
0f20d9343c Add carrier config to indicate whether to notify of vt handover failure.
Controls whether to notify Connections of the fact that a handover of a VT
call from LTE to WIFI failed.

Bug: 30697460
Change-Id: I0cbff2dfb67c7c1f995f1ddf38e9525796501c09
2016-08-09 16:06:09 -07:00
Tyler Gunn
bc0368ba2c Add Connection Event for wifi handover failures. am: 920f79411c am: 977aeb9e17
am: c8ea34d2d1

Change-Id: I8f8d195197976b18fc67a4c1886c1ac0e2368c11
2016-08-08 00:59:19 +00:00
Tyler Gunn
c8ea34d2d1 Add Connection Event for wifi handover failures. am: 920f79411c
am: 977aeb9e17

Change-Id: Ibbc4eb40f38b9937c6a8a8c3c7c2d16eae3a9422
2016-08-08 00:52:24 +00:00
Tyler Gunn
977aeb9e17 Add Connection Event for wifi handover failures.
am: 920f79411c

Change-Id: I583bbbcc1bfd32ca19eecf69a88973451d7599ec
2016-08-08 00:45:32 +00:00