Commit Graph

3967 Commits

Author SHA1 Message Date
Hall Liu
89ec00b622 Merge "Add intdef for Telephony network type constants"
am: 544b8efa46

Change-Id: I28b2eda8004c5807b454918f98542e098f9718d5
2018-09-25 16:20:58 -07:00
Youming Ye
b869100b2a Merge "Show "Call Blocking disabled" notification always when emergency call"
am: 6fa8bcb841

Change-Id: I14ea5a138db3b26bc043897ae0a65144bdd0a8ec
2018-09-25 15:54:45 -07:00
Hall Liu
544b8efa46 Merge "Add intdef for Telephony network type constants" 2018-09-25 22:45:39 +00:00
Chen Xu
2b38567586 Merge "expose getIsimDomain to systemAPI"
am: 56d40d3c78

Change-Id: Ie97f07f30ad16eef2b1e98d233fbe40d248402f2
2018-09-25 15:34:10 -07:00
Youming Ye
6fa8bcb841 Merge "Show "Call Blocking disabled" notification always when emergency call" 2018-09-25 22:29:39 +00:00
Chen Xu
56d40d3c78 Merge "expose getIsimDomain to systemAPI" 2018-09-25 22:14:34 +00:00
Hall Liu
6c6c859c6a Merge "Add the EMBMS group call API"
am: 52a8fdb7bd

Change-Id: Id9bf8b76532001c56e12633d882357e8757202d6
2018-09-25 14:22:45 -07:00
Hall Liu
52a8fdb7bd Merge "Add the EMBMS group call API" 2018-09-25 20:38:23 +00:00
Hall Liu
cb46f9eeba Add intdef for Telephony network type constants
Change-Id: Id212f5009ff2d57344dd747c1837ad9ff1546e31
Fixes: 116592397
Test: compiles
2018-09-25 11:21:30 -07:00
Kikkawa Shohei
638d11e0bb Show "Call Blocking disabled" notification always when emergency call
Currently "Call Blocking disabled" notification is shown only when any
setting of "Enhanced Blocked number" is enabled, and it's not shown even
if only "blocked number" is enabled.

This patch adds new CarrierConfig key to show "Call Blocking disabled"
notification always when "Enhanced Blocked number" is enabled and
making emergency call.

Test: manual - Verified behavior about Block numbers settings
Test: auto - Passed BlockedNumberProviderTest
Bug: 115697577
Change-Id: I2281c21992928037ea38227b7476adc76b6755e8
2018-09-25 14:18:55 +09:00
Hall Liu
a7b0c1f054 Add the EMBMS group call API
Add APIs for apps to access a LTE broadcast group call service provided
by a preinstalled middleware app, and add system APIs for the
preinstalled middleware app to communicate with frontend apps.

Bug: 112731375
Test: CTS
Change-Id: Ie6817cbc6c3b69de7a4d66c4cfc103b02e15ad6b
2018-09-24 17:26:25 -07:00
Tyler Gunn
6d400c7352 Merge "Add support for network identified emergency calls."
am: 108349f8d6

Change-Id: I21ffa931cba06086ca8fd970a0172c282af03b3a
2018-09-24 16:14:14 -07:00
Tyler Gunn
108349f8d6 Merge "Add support for network identified emergency calls." 2018-09-24 22:50:50 +00:00
Pengquan Meng
b7c2507ff4 Merge "Update network selection API"
am: 2577e1cf8e

Change-Id: I86a7cb276589a5ae595c014f48770289c18b656a
2018-09-21 14:44:43 -07:00
Pengquan Meng
0cecdf70db Update network selection API
Change the manual network selection api in TelephonyManager to support
the OperatorInfo.

Bug: 115401728
Test: manual test
Merged-In: I43dee55ce117873b699cb98c6eb6d41f5dee24ea
Change-Id: I43dee55ce117873b699cb98c6eb6d41f5dee24ea
2018-09-21 10:08:14 -07:00
Tyler Gunn
5bd90853a5 Add support for network identified emergency calls.
Add support for the IMS call profile to indicate that a call is an
emergency call.
Add supporting connection and call properties so that this can be
propagated to Telecom and ultimately the Dialer app.
Add System API to determine if the device is in a network IDed or dialed
emergency call (used in Telephony).

Test: Manual test using test intents and ecclist property.
Test: Added new telecom unit tests.
Bug: 77565333
Change-Id: I769e7b5000b10662c08fe53c91ef99edc685d2b1
2018-09-21 09:37:07 -07:00
Hall Liu
f20603af28 Merge "Add a new carrier config that supports no-reply timer of CFNRy"
am: 833a6276ed

Change-Id: Ia3eee0ca9efb619b2476075b8d7af173c332fcd4
2018-09-20 23:27:48 -07:00
Hall Liu
8a456bad23 Merge "Propagates voice call radio technology to connection"
am: 5405d09204

Change-Id: I244839f759f40066565111dae91bbe07692e3ebf
2018-09-20 23:13:14 -07:00
Hall Liu
833a6276ed Merge "Add a new carrier config that supports no-reply timer of CFNRy" 2018-09-21 00:10:36 +00:00
Hall Liu
5405d09204 Merge "Propagates voice call radio technology to connection" 2018-09-20 22:16:50 +00:00
fionaxu
873dccbd6a expose getIsimDomain to systemAPI
This is required for carrier apps to get Imsi domain name as part of
request URI.

Bug: 115884625
Test: telephony unit test
Change-Id: Iad405dc2b2f182039a828e4a4709d273579a8273
2018-09-20 14:33:55 -07:00
manabu, shimoda
6ce3138811 Add a new carrier config that supports no-reply timer of CFNRy
Some carriers do not support no-reply timer of CFNRy.
So, if it is configured by carrier config, request CFNRy without
no-reply timer when a user sets CFNRy in settings UI.

Test: manual - Check that CFNRy is requested without no-reply timer
if it configured.
Bug: 110121791

Change-Id: If80cdd3c5eaa7b2b59cab9640d560f0b29b5eb5a
2018-09-20 21:29:06 +09:00
Hall Liu
bcc49768e2 Merge "Mark old APIs as @removed"
am: 999be29822

Change-Id: I069bbdabe82b030706281bf10cfa8a59ec18a722
2018-09-19 11:48:40 -07:00
Hall Liu
999be29822 Merge "Mark old APIs as @removed" 2018-09-19 18:09:01 +00:00
Wei Huang
7f7f72e451 Propagates voice call radio technology to connection
This patch mainly takes below changes:
 1) Add new extra to indicates the call network technology.
 2) Provides basic function to set/get call radio technology.

Bug: 67856372
Test: Manual
Change-Id: I1a12382fdb589ce823fe7af025832db4cdc152c2
2018-09-19 18:51:52 +09:00
Youming Ye
af72e460a5 Merge "Allow config of wfcSpnFormats to use root locale"
am: b9c0115518

Change-Id: Ic3a09fd11aa54361ce5fa43fc4c691b4d02c47ac
2018-09-18 15:06:58 -07:00
Youming Ye
b9c0115518 Merge "Allow config of wfcSpnFormats to use root locale" 2018-09-18 21:07:01 +00:00
Hall Liu
78b57077d6 Mark old APIs as @removed
Remove deprecated SystemApis as a part of a refactor.

Bug: 115943523
Test: unit, manual
Change-Id: Ic8955be6f57411ba18b5f049c6519d1c1d01d937
2018-09-17 18:10:58 -07:00
Tyler Gunn
cecab68b67 Merge "Enable enhanced call blocking by default."
am: b6d55c2646

Change-Id: Ifec4eb98397237b80997fa46ef8447025ea57154
2018-09-17 16:56:15 -07:00
Treehugger Robot
b6d55c2646 Merge "Enable enhanced call blocking by default." 2018-09-17 22:47:23 +00:00
Youming Ye
5e88fe2fbc Merge "Increase customization options for wfcSpnFormats"
am: 34721e16a0

Change-Id: I5220f302d60874b160177874fc863b79bb46e978
2018-09-17 11:16:29 -07:00
Youming Ye
34721e16a0 Merge "Increase customization options for wfcSpnFormats" 2018-09-17 16:55:14 +00:00
Torbjorn Eklund
99c11d8ea4 Allow config of wfcSpnFormats to use root locale
Adds carrier config KEY_WFC_SPN_USE_ROOT_LOCALE. If true, the root
locale will be used when reading wfcSpnFormats. This means a
non-translated version of wfcSpnFormats will be used.

strings.xml in values-mcc262-mnc02 was deleted. The same requirement can
now be achieved by setting KEY_WFC_SPN_USE_ROOT_LOCALE to true.

Bug: 114292743
Test: Manual
Change-Id: Ia62976282c5526190d5d04361b1d4fbfc3333068
2018-09-17 15:40:53 +02:00
Nathan Harold
65e63ce0de Merge "Don't Use NPE for Flow Control in getCellLocation"
am: 86f991a7bd

Change-Id: I3440e965f8f7edfa86359677e704140f39deb320
2018-09-14 19:15:54 -07:00
Treehugger Robot
86f991a7bd Merge "Don't Use NPE for Flow Control in getCellLocation" 2018-09-15 00:23:28 +00:00
Pengquan Meng
624ccc3331 Merge "Add New TelephonyManager APIs"
am: b65aca27af

Change-Id: I18c7c905f742e40331dca61efc9c314e6b08ad32
2018-09-12 19:32:41 -07:00
Pengquan Meng
b65aca27af Merge "Add New TelephonyManager APIs" 2018-09-13 01:09:47 +00:00
Tyler Gunn
212c157e32 Enable enhanced call blocking by default.
Enable the enhanced call blocking options by default.  This provides
the ability to block:
- private callers - those who have intentionally blocked their number.
- calls from payphones (they still exist)
- unknown callers (not the same as restricted; network may not be able to
determine the number of the caller)
- numbers not in contacts

These options are available in the blocked number screen (on AOSP
from the dialer app go to settings --> Blocked Numbers).

Test: Manual - confirm enhanced call blocking options are available.
Bug: 63966743
Change-Id: I5aab0714774a5406568d6cd04a4d7074a3261c44
2018-09-12 17:50:49 -07:00
Pengquan Meng
eda353bc52 Merge "Update TelephonyManager document"
am: 14faaf660d

Change-Id: Ib155f7cde84ea033164c99f8e09d9fe797badae8
2018-09-12 16:53:13 -07:00
Pengquan Meng
efe8adff87 Update TelephonyManager document
Bug: 111453847
Test: build
Merged-In: Ief746e771dc9435782dec75cf2259d5b9f040c27
Change-Id: Ief746e771dc9435782dec75cf2259d5b9f040c27
2018-09-12 10:23:56 -07:00
sqian
7dc073995b Merge "Make SubscriptionManager.isValidSubscriptionId public"
am: 241aa86ed6

Change-Id: Ibbb69ba6e01d21bdd414afc73a90a965244eeae6
2018-09-11 18:31:32 -07:00
Pengquan Meng
97c29e04fa Add New TelephonyManager APIs
Bug:111453847
Test: build test
Merged-In: I83a5f4149f92ce495cd066f7158e7ff37a66894f
Change-Id: I83a5f4149f92ce495cd066f7158e7ff37a66894f
2018-09-11 15:07:56 -07:00
Xiangyu/Malcolm Chen
e3d93a25d6 Merge "Add API to listen to opportunistic subscriptions change."
am: 26e686a973

Change-Id: I20ba8865169a857e73b4094ac170f63bf41a66a3
2018-09-11 13:11:24 -07:00
sqian
00dae7e097 Make SubscriptionManager.isValidSubscriptionId public
And rename subId to subscriptionId.

Test: Treehugger
Bug: 113072551
Change-Id: I4bdf705d7f81bad423ed867972fd1ed7fe5717d0
2018-09-11 11:52:52 -07:00
Malcolm Chen
27829e2d17 Add API to listen to opportunistic subscriptions change.
Add a new set of APIs so that caller can listen to
opportunistic subscriptions changes.

Bug: 92796390
Test: build
Change-Id: Iaa741141bf1bd04c4b1618d5bfeac733a0690ed8
Merged-In: Iaa741141bf1bd04c4b1618d5bfeac733a0690ed8
2018-09-10 15:36:08 -07:00
Nathan Harold
edf6ccaeb3 Don't Use NPE for Flow Control in getCellLocation
Remove catch of NPE from getCellLocation and do explicit
null checks. This will make it easier to differentiate
between actual problems and local NPEs. In pre-P, there
were multiple conditions that would intentionally return
null over the binder interface. In Post-P null is returned
when location is disabled, which means that null is a very
common return value. We shouldn't use NPE to handle the
case where location is disabled.

Bug: 114294321
Test: manual w/ SL4A (no automated tests for TM)
Change-Id: Ie5b3afa56f280ff901ff9fa7c93f958d754f109b
2018-09-07 11:56:08 -07:00
Torbjorn Eklund
576848313a Increase customization options for wfcSpnFormats
Expand wfcSpnFormats with more options, in order to support
requirements from more operators.

Five new options are added in this patch. The list of available options
becomes:
0: %s
1: %s Wi-Fi Calling
2: WLAN Call (New)
3: %s WLAN Call (New)
4: %s Wi-Fi (New)
5: WiFi Calling | %s (New)
6: %s VoWifi (New)

strings.xml in values-mcc302-mnc370 and values-mcc302-mnc720 was deleted.
The same requirement can now be achieved by configuring KEY_WFC_SPN_FORMAT_IDX_INT
or KEY_WFC_DATA_SPN_FORMAT_IDX_INT to 4.

Bug: 114303633
Test: Manual
Change-Id: I5daf6b49c838df823aed4b84f5f80c68f46b2970
2018-09-07 12:58:46 +00:00
sqian
d88648a475 Merge "Make SubscriptionManager.getSubId public"
am: f9fa9a63bb

Change-Id: I1dbc088c8668df43a18741a58b9c32ef5eae1fc9
2018-09-06 13:26:59 -07:00
Treehugger Robot
f9fa9a63bb Merge "Make SubscriptionManager.getSubId public" 2018-09-06 20:06:02 +00:00
Brad Ebinger
7361cbf56f Merge "Only make a subset of Call Barring options visible per carrier"
am: e310df92db

Change-Id: I10ee07ac395ee39151c81f438528099f1f4f1032
2018-09-04 10:13:43 -07:00