Commit Graph

13502 Commits

Author SHA1 Message Date
Shuo Qian
45a397a84a Merge "Add Call Composer Tuple in RcsContactPresenceTuple class" 2021-01-08 02:21:34 +00:00
Shuo Qian
077cefb9a9 Merge "Add Setting API to set/get enriched calling with call composer user option" 2021-01-07 18:32:44 +00:00
Shuo Qian
d70514cf01 Add Call Composer Tuple in RcsContactPresenceTuple class
Test: Treehugger
Bug: 173437870
Change-Id: Id1c3eaf11d85ec5df3c253443bafdb18fd31ccce
Merged-In: Id1c3eaf11d85ec5df3c253443bafdb18fd31ccce
(cherry picked from commit 111e80214e)
2021-01-07 03:13:04 +00:00
Shuo Qian
bfd05221a3 Merge "Add CAPABILITY_TYPE_CALL_COMPOSER in MmTelFeature" 2021-01-06 00:48:00 +00:00
Shuo Qian
4260bc4f95 Merge "Add Call Composer Carrier Config keys" 2021-01-06 00:48:00 +00:00
Shuo Qian
a4524a936a Merge "Add call composer Extras for enriched calling" 2021-01-06 00:48:00 +00:00
Daniel Bright
1948c69946 Merge changes from topics "apn_throttle", "rename_retry_interval"
* changes:
  Add apn throttle status notifications to QNS
  Renamed retry interval to retry duration
2021-01-06 00:43:25 +00:00
Daniel Bright
cc7c94c433 Merge "Add callSessionIntiating + callSessionInitatingFailed" 2021-01-05 21:55:59 +00:00
Daniel Bright
f2f714a0dc Add apn throttle status notifications to QNS
* Added wiring for the apn unthrottled indication
* Added method to QNS that is notified when there is a change to
  the way an APN is throttled.

Test: Ran telephony tests
Test: Booted up device
Test: Checked for log message in
      NetworkAvailabilityProvider#onReportApnThrottleStatusChanged
Bug: 167434852
Bug: 174850845
Merged-In: Ia4dd3036f583a97e42b6054019005df1b33dc33c
Change-Id: Ia4dd3036f583a97e42b6054019005df1b33dc33c
2021-01-05 11:36:34 -08:00
Jack Yu
133b7dc759 Renamed retry interval to retry duration
Fix: 171981823
Test: FrameworksTelephonyTests
Merged-In: I7c4bbe0a77301761525ae793892bb811637027b5
Change-Id: I7c4bbe0a77301761525ae793892bb811637027b5
2021-01-05 11:01:26 -08:00
Chiachang Wang
cdf7105f72 Merge "Create getMobileProvisioningUrl in telephony" 2020-12-29 00:24:12 +00:00
Daniel Bright
f0e8399729 Add callSessionIntiating + callSessionInitatingFailed
* Add callSessionIntiating which occurs in between the session
  starting and the call session progressing.

Bug: 161218980
Test: FrameworksTelephonyTests
Change-Id: I745af44f83915b92e0cfa57b4edf4f11ca575f5d
2020-12-23 15:28:42 -08:00
Chi Zhang
6e55446222 Merge "Cherry-pick "Add band mapping for GERAN and UTRAN" from internal." 2020-12-23 17:22:16 +00:00
Shuo Qian
d8e09b9744 Add CAPABILITY_TYPE_CALL_COMPOSER in MmTelFeature
Test: cts
Bug: 173437870
Change-Id: Ife05ba75a3f23d0c18b3aa068881b6646dee6db5
Merged-In: Ife05ba75a3f23d0c18b3aa068881b6646dee6db5
(cherry picked from commit 89667c6bb2)
2020-12-23 02:17:23 +00:00
Shuo Qian
c0ddad5454 Add Call Composer Carrier Config keys
Test: cts
Bug: 173437870
Change-Id: I12d78f475b947cedb201ff1b379cc64a8f876e62
Merged-In: I12d78f475b947cedb201ff1b379cc64a8f876e62
(cherry picked from commit 136900101b)
2020-12-23 00:15:09 +00:00
Shuo Qian
856caa7371 Add call composer Extras for enriched calling
Test: unit test; cts
Bug: 173437870

Change-Id: I2af39eea48737df1bf629caea5b617736635f2aa
Merged-In: I2af39eea48737df1bf629caea5b617736635f2aa
(cherry picked from commit 36b3dbc3ab)
2020-12-23 00:14:46 +00:00
Shuo Qian
631df95517 Add Setting API to set/get enriched calling with call composer user option
Test: cts
Bug: 173437870
Change-Id: Iaf2cb72864dca992249395103aedee93ff8d3ac0
Merged-In: Iaf2cb72864dca992249395103aedee93ff8d3ac0
(cherry picked from commit ccc5af201a)
2020-12-22 23:56:08 +00:00
Shuo Qian
7b9960aa2e Fix ConcurrentModificationException of getEmergencyNumberList
Test: atest; treehugger
Bug: 171542607
Change-Id: I5812469dfb96f30b5b185fc1bb983e3357bb4efa
Merged-In: I5812469dfb96f30b5b185fc1bb983e3357bb4efa
(cherry picked from commit f4ded970a7)
2020-12-22 22:59:59 +00:00
Greg Kaiser
469e5b3317 Merge "Revert "Fix permission on TM#isDataEnabled"" 2020-12-22 19:36:50 +00:00
Greg Kaiser
8ce575b256 Revert "Fix permission on TM#isDataEnabled"
This reverts commit f7dc3f6788.

Reason for revert: b/176163590, continual fatal exceptions in telephony on reboot
Bug: 176163590
Test: Local revert and the fatal exceptions go away

Change-Id: If7cbe3e5b8764f0ee72985830880157f64d71101
2020-12-22 17:35:44 +00:00
Chiachang Wang
228306b008 Create getMobileProvisioningUrl in telephony
ConnectivityService is going to become mainline and can not
access hidden APIs. Telephony and Settings were both accessing
the hidden API ConnectivityManager#getMobileProvisioningUrl.
Moving #getMobileProvisioningUrl method into telephony means
that there is one less access to a hidden API within the
overall framework since the connectivity stack never needed
this value. Thus, add getMobileProvisioningUrl() to telephony
surface to replace the one in connectivity stack.

Bug: 175177794
Test: atest FrameworksTelephonyTests
Change-Id: Icff8bf39b168b28f972b6737e4e7be8fc86b3dee
2020-12-22 11:22:58 +08:00
Allen Su
f2fdcff51e Merge "[RCS]Add new carrier configs for presence" 2020-12-22 00:26:52 +00:00
Nathan Harold
8c3b567c36 Merge "Fix permission on TM#isDataEnabled" 2020-12-18 00:38:04 +00:00
Hui Wang
7c9eef5613 Merge "RCS Provisioning APIs for Single Registration" 2020-12-17 22:53:31 +00:00
Nathan Harold
f7dc3f6788 Fix permission on TM#isDataEnabled
-Allow isDataEnabled() to be read with READ_PHONE_STATE
 This method just forwarded to another method in the public
 API that only requires READ_PHONE_STATE, so it's just a bug.

-Fix a bug where TM#getDataEnabled ws ignoring the subId parameter.

Bug: 148500541
Test: compilation
Change-Id: I30b125b50d261175a44183369e5f318d7ad37be9
2020-12-17 10:45:13 -08:00
Hui Wang
e92ddfef4f RCS Provisioning APIs for Single Registration
Bug: 154864150
Test: atest FrameworksTelephonyTests:com.telephony.ims.RcsConfigTest
Test: atest TeleServiceTests:com.android.phone.RcsProvisioningMonitorTest
Test: atest CtsTelephonyTestCases:android.telephony.ims.cts.ImsServiceTest
Merged-In: Ie9445dd450d175e0dc94b63b487dda5cde729123
Change-Id: Ie9445dd450d175e0dc94b63b487dda5cde729123
2020-12-17 17:13:24 +00:00
Hui Wang
7f6a8a9648 Merge "Added cross sim calling settings support" 2020-12-17 15:14:42 +00:00
Treehugger Robot
b3f8228f21 Merge "Expose APIs for SipTransport registration management" 2020-12-17 09:05:31 +00:00
Hui Wang
ce026fd5b9 Added cross sim calling settings support
Added a telephony provider entry for storing the
user's settings.

Fix: 173250681
Test: Manual
Merged-In: I081c7e5fcc98f51a97c41a0a9a2b9b628c8d0415
Change-Id: I081c7e5fcc98f51a97c41a0a9a2b9b628c8d0415
2020-12-17 00:57:18 +00:00
Brad Ebinger
c254833490 Merge "Adds SipDelegateManager#triggerFullNetworkRegistration API" 2020-12-16 22:18:21 +00:00
Mingming Cai
8c190b4659 Merge "Make CQI APIs public" 2020-12-16 19:13:41 +00:00
Xiangyu/Malcolm Chen
19eb4c31be Merge "Automatically dismiss SIM combination warnings and selection dialogs." 2020-12-16 19:01:52 +00:00
Malcolm Chen
3394708a94 Automatically dismiss SIM combination warnings and selection dialogs.
Bug: 142092510
Test: manual and unittest
Change-Id: I79468016814d23f2b77d5cf1e559b9a58e2949ab
Merged-In: I79468016814d23f2b77d5cf1e559b9a58e2949ab
2020-12-15 16:43:39 -08:00
Thiébaud Weksteen
7e242b5bba Add constants for AllowedNetworkTypeBitmap
Bug: 163168917
Test: atest TeleServiceTests
Change-Id: Iae64e9118cb4f69f180517b7aadb9ace9b8ef98b
2020-12-15 13:48:51 +01:00
Mingming Cai
dc160baf99 Make CQI APIs public
Include CellSignalStrengthLte#getCqiTableIndex,
CellSignalStrengthNr#getCsiCqiTableIndex, and
CellSignalStrengthNr#getCsiCqiReport.

Bug: 174771616
Test: make & cts CellInfoTest
Change-Id: I4a73558363279de6ac0f99d14aa3ed3b16d5c677
2020-12-13 11:54:18 -08:00
Michele Berionne
f178fd7071 Cherry-pick "Add band mapping for GERAN and UTRAN" from internal.
Bug: 151843373
Test: manual
Merged-In: I3e8a168a288a436739c369cdaa2ad00f4b4576ed
Change-Id: I7088321b45e16da64a49f8000a2bae620e949222
2020-12-11 17:36:24 -08:00
Brad Ebinger
915a0307f2 Expose APIs for SipTransport registration management
Bug: 154763999
Test: atest CtsTelephonyTestCases:SipDelegateManagerTest
Change-Id: Iabd0ce70fa3b2ce961fdf0bd05659f7ba936d798
2020-12-12 01:09:37 +00:00
jinseok83.kim
f1c2b27509 Supported IWLAN Fail Cause
If IWLAN connection or handover failure occurs
with specific fail cause as specified in the standard.

Frameworks supports error handling for each IWLAN error cause.

Bug: 165778020
Change-Id: Iefd3c2b1a042d70c411f020b5e67792bac95abb4
Signed-off-by: Jinseok Kim <jinseok83.kim@lge.com>
2020-12-11 20:34:50 +00:00
allenwtsu
e6ddc2fb14 [RCS]Add new carrier configs for presence
KEY_ENABLE_PRESENCE_CAPABILITY_EXCHANGE_BOOL
KEY_RCS_BULK_CAPABILITY_EXCHANGE_BOOL
KEY_ENABLE_PRESENCE_GROUP_SUBSCRIBE_BOOL

Bug: 173828080
Test: build pass
Change-Id: I8e0f1ea824e8f9fdf409adb821325185b8ba457d
2020-12-11 23:59:30 +08:00
Hui Wang
4c9e7a8d0c Merge "Support Gba Api" 2020-12-10 22:40:07 +00:00
Jordan Liu
beb163c655 Merge "Add API for setting SIM power "synchronously"" 2020-12-10 21:46:30 +00:00
Brad Ebinger
39dd3d8868 Merge "Add SipDelegateConnection#closeDialog" 2020-12-10 19:37:04 +00:00
Hui Wang
bfc6cd7483 Support Gba Api
Added api to support generic authentication architecture.

Bug: 154865133
Test: atest cts/tests/tests/telephony/current/src/android/telephony/gba/cts/
Test: manual by GbaTestApp
Merged-In: I9aea4c8bc2123b6d00c4a8ddf9901c885d2742d2
Change-Id: I9aea4c8bc2123b6d00c4a8ddf9901c885d2742d2
2020-12-10 18:02:19 +00:00
Jordan Liu
a10b782505 Add API for setting SIM power "synchronously"
Bug: 171433370
Test: manual
Change-Id: I958d6c3a46cc6e99e8addf2628361e37bc178464
Merged-In: I958d6c3a46cc6e99e8addf2628361e37bc178464
2020-12-09 13:34:58 -08:00
Brad Ebinger
20efe054be Adds SipDelegateManager#triggerFullNetworkRegistration API
Adds API to trigger ImsService to tear down & set up IMS
registration.

Bug: 154763999
Test: atest CtsTelephonyTestCases:SipDelegateManagerTest
Change-Id: I125c72ca8f8aef712e57f6178d877e9d75937392
2020-12-09 21:23:28 +00:00
Brad Ebinger
3011f5beb4 Add SipDelegateConnection#closeDialog
Add an API for IMS application to notify the SipDelegate when
to close the dialog and release all routing resources associated
with it.

Bug: 173833985
Test: atest CtsTelephonyTestCases:SipDelegateManagerTest
Change-Id: I7638c1d3a8e117f604a83ea241c5ec158f33a186
2020-12-09 21:11:48 +00:00
Jeff Sharkey
c7c4a74a78 Improve OWNERS coverage across frameworks/base/. am: fab0ab3c9c
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1519383

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I0211462ecbcd9ad66f66af87e31cf12e1582fc65
2020-12-08 16:01:16 +00:00
Jeff Sharkey
c2793cf12b Merge changes from topic "dec5"
* changes:
  Improve OWNERS coverage across frameworks/base/.
  Improve OWNERS coverage across frameworks/base/.
  Improve OWNERS coverage across frameworks/base/.
2020-12-08 15:39:59 +00:00
Jeff Sharkey
fab0ab3c9c Improve OWNERS coverage across frameworks/base/.
As general background, OWNERS files expedite code reviews by helping
code authors quickly find relevant reviewers, and they also ensure
that stakeholders are involved in code changes in their areas.

Some teams under frameworks/base/ have been using OWNERS files
successfully for many years, and we're ready to expand them to cover
more areas.  Here's the historical coverage statistics for the last
two years of changes before these new OWNERS changes land:

-- 56% of changes are fully covered by OWNERS
-- 17% of changes are partially covered by OWNERS
-- 25% of changes have no OWNERS coverage

Working closely with team leads, we've now identified clear OWNERS on
a per-package basis, and we're using "include" directives whenever
possible to to simplify future maintenance.  With this extensive
effort, we've now improved our coverage as follows:

-- 98% of changes are fully covered by OWNERS
-- 1% of changes are partially covered by OWNERS
-- 1% of changes have no OWNERS coverage

This specific change is automatically generated by a script from
detailed ownership information confirmed by team leads.

Bug: 174932174
Test: manual
Exempt-From-Owner-Approval: refactoring with team leads buy-in
Merged-In: I9789c97c1de8e5d962b48c29c57d82fe83729eba
Change-Id: I9789c97c1de8e5d962b48c29c57d82fe83729eba
2020-12-08 08:36:27 -07:00
Brad Ebinger
414d2a5175 Merge "Define EXTRA_CODE_CALL_RETRY_EMERGENCY for emergency CS retry" am: cf38228e0d
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1264905

Change-Id: Ie403a16adf294c423d62703ae65c7bbd0e394e83
2020-12-07 20:23:54 +00:00