Commit Graph

3932 Commits

Author SHA1 Message Date
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
Junda Liu
f1adc1db84 resolve merge conflicts of 0c62aa5 to master
Change-Id: Ie032d5ab4ec0f1c038adfc5a0d506efe7a9248f0
2016-12-16 16:45:10 -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
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
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
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
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
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
Jordan Liu
1ca2e31d82 Rename key declaration to start with "KEY"
CarrierConfigTeset validates carrier_config xmls by comparing them to
static fields starting with "KEY_" declared in CarrierConfigManager.
This commit renmaes the key so the test passes.

Change-Id: Iebb11739ae16e56fe1a0b2fdc9a3e005a71858dc
Test: runtest carrierconfig-unit
2016-12-01 11:41:57 -08:00
Zoran Jovanovic
6b6d5dadfa Get the correct operator name
If the long operator name is not given by RIL,
try to get the short operator name.

Bug: 32791744
Test: ServiceStateTrackerTest extended on partner CL.
Depends-On: commit in frameworks/opt/telephony with the same Change-Id
Change-Id: I4983ad708c57a650ce4a806e1f53837825bad2db
2016-12-01 11:18:22 -08:00
Zoran Jovanovic
67f579be19 Get the correct operator name
If the long operator name is not given by RIL,
try to get the short operator name.

Bug: 32791744
Test: ServiceStateTrackerTest.java exteneded in partner cl
Depends-On: commit in frameworks/opt/telephony with the same Change-Id
Change-Id: I4983ad708c57a650ce4a806e1f53837825bad2db
2016-12-01 10:36:21 -08:00
TreeHugger Robot
7075269195 Merge "Add READ_PHONE_NUMBER permission" 2016-12-01 18:27:07 +00:00
nharold
eb909ee096 Merge "Expose GSM Timing Advance, Update LTE TA docstring" am: 4134ccb214 am: 8fabfd639e am: 64a8a387a4
am: 729a5ae511

Change-Id: Id046a2fbf946f7b42dd56763a8b403cbde802d7e
2016-12-01 00:26:27 +00:00
nharold
729a5ae511 Merge "Expose GSM Timing Advance, Update LTE TA docstring" am: 4134ccb214 am: 8fabfd639e
am: 64a8a387a4

Change-Id: Iafad7ea7bd6a3bcc3aac28409f34b4f00008d828
2016-12-01 00:12:00 +00:00
nharold
64a8a387a4 Merge "Expose GSM Timing Advance, Update LTE TA docstring" am: 4134ccb214
am: 8fabfd639e

Change-Id: I6d69cc6ce34ed1acf1f19e760631850b2cf2446c
2016-12-01 00:07:20 +00:00
Jordan Liu
a4b4e731d1 resolve merge conflicts of a578ae2 to stage-aosp-master am: cee0c941ed
am: 0672ea446d

Change-Id: I441ab7f8fd1fb71cc1bf38fe7450a0f9ecdccee0
2016-12-01 00:07:02 +00:00
Jordan Liu
0672ea446d resolve merge conflicts of a578ae2 to stage-aosp-master
am: cee0c941ed

Change-Id: I39f3256a13117c2afe6872f58f57c18c308eab30
2016-12-01 00:00:55 +00:00
nharold
8fabfd639e Merge "Expose GSM Timing Advance, Update LTE TA docstring"
am: 4134ccb214

Change-Id: Ic60953cebd3209b1320ed4b6723809d0421ebc27
2016-12-01 00:00:09 +00:00
Tyler Gunn
a6a0070ca7 Change prototype for "setCamera" in IMS VideoProvider.
Changing "setCamera" prototype to include the uid.

Test: Unit test, manual test.
Bug: 32747443
Change-Id: I7e6eb617d724972b0fcbd2f9a27f5c3ee91efd2d
2016-11-30 15:14:26 -08:00
Jordan Liu
cee0c941ed resolve merge conflicts of a578ae2 to stage-aosp-master
Change-Id: I344ce44711edee385c64de4e6c52c64e6901820d
2016-11-30 15:08:13 -08:00
Chad Brubaker
73ec8f963d Add READ_PHONE_NUMBER permission
READ_PHONE_NUMBER allows only access to the phone number and not all the
other things that READ_PHONE_STATE allows access to. READ_PHONE_NUMBER
will be accessible to ephemeral apps while READ_PHONE_STATE will no
longer be.

Test: Verified that getLine1Number works with READ_PHONE_NUMBER from an
epemheral app
Test: cts-tradefed run cts -m CtsPermission2TestCases
Change-Id: I599c19227f886adbe8efe346a78d51e88ab46379
2016-11-30 10:34:15 -08:00
nharold
4134ccb214 Merge "Expose GSM Timing Advance, Update LTE TA docstring" 2016-11-30 18:00:35 +00:00