13458 Commits

Author SHA1 Message Date
Brad Ebinger
39dd3d8868 Merge "Add SipDelegateConnection#closeDialog" 2020-12-10 19:37:04 +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
Brad Ebinger
cf38228e0d Merge "Define EXTRA_CODE_CALL_RETRY_EMERGENCY for emergency CS retry" 2020-12-07 20:05:13 +00:00
James Lin
efbc1debbe Merge "[RCS UCE] Remove the unused class RcsPresenceExchangeImplBase and RcsSipOptionsImplBase" am: cb50d9f719
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1517977

Change-Id: I3f595296536bee56f542bb3c533a32e376f3ae16
2020-12-07 04:39:18 +00:00
James Lin
cb50d9f719 Merge "[RCS UCE] Remove the unused class RcsPresenceExchangeImplBase and RcsSipOptionsImplBase" 2020-12-07 04:02:17 +00:00
Treehugger Robot
aa791f0052 Merge "Add ThermalMitigation API to Telephony." am: 3c12991e94
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1510211

Change-Id: If19cd5a1ff6b480c9b669b869d146cca12bd9657
2020-12-04 21:42:42 +00:00
Treehugger Robot
3c12991e94 Merge "Add ThermalMitigation API to Telephony." 2020-12-04 21:25:08 +00:00
Treehugger Robot
19825a1ae0 Merge "Clean up unused indication update mode definition in TelephonyManager" am: 6bf4f2535a
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1516043

Change-Id: I18f9a3501a2e2423227059d09cae008d9d77198b
2020-12-04 19:23:32 +00:00
Treehugger Robot
6bf4f2535a Merge "Clean up unused indication update mode definition in TelephonyManager" 2020-12-04 18:06:18 +00:00
Daniel Bright
59d91997fa Merge "Add indication APIs to expose QOS from LTE and NR bearers" am: 90f426fab4
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1395327

Change-Id: If4917e82f6dcc6e0f5606b0dfecabc7dbf72982d
2020-12-04 17:58:04 +00:00
James.cf Lin
e03117a32a [RCS UCE] Remove the unused class RcsPresenceExchangeImplBase and RcsSipOptionsImplBase
Because of the design changed, the class RcsPresenceExchangeImplBase and RcsSipOptionsImplBase are placed by the class RcsCapabilityExchangeImplBase

Bug: 171965576
Test: atest CtsTelephonyTestCases:ImsServiceTest
Change-Id: I5967d7c9d56bd05ee2cfed2012cb042040b12dc5
2020-12-04 22:09:32 +08:00
Jayachandran C
0f14f81d7c Add indication APIs to expose QOS from LTE and NR bearers
Add indication APIs to expose Quality Of Service (QOS) information
from LTE and NR default as well as dedicated bearers. The QOS is
added to the existing SetupDataCallResult structure so that the
baseband can notify whenever there is a change in QoS on a PDN.

Bug: 158315614
Test: 1) Simulated V1_6 SetupDataCallResult and verified the Qos objects
         are passed correctly in the APIs
      2) atest frameworks/opt/telephony/tests/telephonytests/

Merged-In: I29b13975288286d9706a1c3fb227eeb46527efc3
Change-Id: I29b13975288286d9706a1c3fb227eeb46527efc3
2020-12-04 03:24:39 +00:00
Brad Ebinger
473917aa5b Merge "Fix incorrect cache checking of string config values" am: ad55c3468b
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1516042

Change-Id: Ie60ca2003fd4a940d09b4e6964295ba3567021d2
2020-12-03 21:31:49 +00:00
Brad Ebinger
ad55c3468b Merge "Fix incorrect cache checking of string config values" 2020-12-03 20:35:14 +00:00
Mingming Cai
bbeb5eb6f6 Merge "Add CQI and table index to LTE and NR CellSignalStrength" am: 8dd47fcfc5
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1510593

Change-Id: I5a043c5acbef66825381d01ae6a4e6f66a374524
2020-12-03 20:07:15 +00:00
Jack Nudelman
d64c58744a Add ThermalMitigation API to Telephony.
go/telephony-thermal-mitigation

Test: make, cts
Bug: 158872959

Change-Id: Ib4be5edf063e4c54e9238b0403f59e1621df671e
Merged-In: Ib4be5edf063e4c54e9238b0403f59e1621df671e
2020-12-03 19:41:31 +00:00
Sungjae
2858a32d6d Define EXTRA_CODE_CALL_RETRY_EMERGENCY for emergency CS retry
Silent redial to CS can be occured in case of emergency call or normal
call. And there needs emergency silent redial regarding emergency
number or non-detectable emergency number.
For this case, EXTRA_CODE_CALL_RETRY_EMERGENCY is defined.

Bug: 162775513, 164024664

Signed-off-by: Sungjae <sung_jae.kim@samsung.com>
Change-Id: I79ae8ee9c5246b5480da2394e63d676d971bd2c1
Signed-off-by: Sungjae <sung_jae.kim@samsung.com>
2020-12-03 12:28:24 +09:00
Xin Li
9e27e114af Merge "Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855" into stage-aosp-master 2020-12-03 03:18:49 +00:00
Mingming Cai
f4753f6373 Add CQI and table index to LTE and NR CellSignalStrength
Bug: 170771377
Test: make
Change-Id: I4c9281d5a606d3371d53020af3470e6f0f04524f
2020-12-02 17:20:15 -08:00
Rambo Wang
936e99473b Clean up unused indication update mode definition in TelephonyManager
INDICATION_UPDATE_MODE_NORMAL and
INDICATION_UPDATE_MODE_IGNORE_SCREEN_OFF was used to set the indication
update mode. But all the usage has been removed, the definitions become
orphan.

Bug: 174614001
Test: m -j
Merged-In: I1ddf89bae8d7a477ae3a521f052bc921cf3ee5ae
Change-Id: I1ddf89bae8d7a477ae3a521f052bc921cf3ee5ae
(cherry picked from commit 4bb237e4ae99e3a41bc7f1c1000a2697bd425f18)
2020-12-02 21:33:52 +00:00
Brad Ebinger
32fd8e5692 Fix incorrect cache checking of string config values
Bug: 174541711
Test: atest CtsTelephonyTestCases:ImsServiceTest
Change-Id: Idca646dc7cbd562b357092967245cd7aa48a7c86
2020-12-02 11:48:38 -08:00
James Lin
7a964f2199 Merge "[RCS UCE] Modify the data type of parameter retryAfter from String to long" 2020-12-02 15:15:26 +00:00
Xin Li
d31ee38811 Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855
Bug: 172690556
Merged-In: I78222391b83a4add8e964340ec08bb8a1306e1c6
Change-Id: I28bbf40820674675ccf765c912aa8140d3f74ab2
2020-12-02 00:38:58 -08:00
Brad Ebinger
88f8c04dc3 Merge "Add new carrier config option for enabling SIP PUBLISH of RCS caps" 2020-12-02 00:53:37 +00:00
Brad Ebinger
21f6792a14 Add new carrier config option for enabling SIP PUBLISH of RCS caps
Adds a new carrier config option that will bring up/down the service
connection to the vendor IMS stack. When down, we should not
see the vendor IMS stack generate SIP PUBLISH requests to the network.

This is so that we do not generate SIP PUBLISH requests on networks
that do not support this functionality.

Bug: 173115560
Test: atest CarrierConfigTests
Merged-In: If9ab9836261afc2d6cebb959690d8b44b06a3dfe
Change-Id: If9ab9836261afc2d6cebb959690d8b44b06a3dfe
2020-12-01 23:08:54 +00:00
Sarah Chin
138e2db12a Merge "Create getSystemSelectionChannel API" 2020-12-01 20:08:10 +00:00
Calvin Pan
3d37ba8a37 Merge "Add base class for OptionsBuilder and PresenceBuilder" 2020-12-01 09:18:35 +00:00
Brad Ebinger
af18d59494 Merge "Add SIP Transport create/destroy API defs" 2020-12-01 01:20:12 +00:00
Sarah Chin
f06ca9903c Create getSystemSelectionChannel API
Test: atest TelephonyManagerTest
Bug: 152813408
Change-Id: I2d80284b92414f403af977cbe193766eac08a6e0
Merged-In: I2d80284b92414f403af977cbe193766eac08a6e0
2020-11-30 14:45:27 -08:00
Treehugger Robot
4ca6de77af Merge "Fix intdefs that were incorrectly defining "flag"" 2020-11-30 20:34:35 +00:00
Brad Ebinger
3df3321925 Fix intdefs that were incorrectly defining "flag"
Fixes: 174238227
Test: docs only change, build success
Change-Id: I0f95aadd63ae315ffdf534e4579c4b8e64b94672
2020-11-30 10:55:41 -08:00
James.cf Lin
d079881059 [RCS UCE] Modify the data type of parameter retryAfter from String to long
The data type long to indicate that how long the request can be retried again.

Bug: 173175176
Test: build pass
Change-Id: I22275e8259950a3efd247b3c906392a41d0ca2f1
2020-11-30 00:56:32 +08:00
Brad Ebinger
082ae24fa8 Add SIP Transport create/destroy API defs
Move SIP transport APIs to @SystemApi

Bug: 154763999
Test: atest CtsTelephonyTestCases:SipDelegateManagerTest
Change-Id: I181e84866fcdb683eb5933e54460bbe18e96851d
2020-11-25 14:59:49 -08:00
James.cf Lin
740c3bf107 [RCS UCE] Add the extra parameter retryAfterMillis in the callback method CapabilitiesCallback#onError
Add the parameter in the callback method CapabilitiesCallback#onError
When requester receive the callback CapabilitiesCallback#onError with the non-zero of the parameter retryAfterMillis, it should stop retrying until the the specified number of millisecond has passed.

Bug: 171965576
Test: atest -c CtsTelephonyTestCases:android.telephony.ims.cts.RcsUceAdapterTest
Change-Id: If59d143e56c304556aa3d8bcd5b37ffb771815b5
2020-11-25 21:56:39 +08:00
Sarah Chin
2391403601 Merge "Expose PinResult and ICC PIN/PUK APIs as SystemApi" 2020-11-23 17:50:19 +00:00
Brad Ebinger
48695cb073 Merge "Add subid to SipTransportImplBase#createSipDelegate" 2020-11-21 01:38:42 +00:00
Sarah Chin
cafa63af2b Expose PinResult and ICC PIN/PUK APIs as SystemApi
Test: atest TelephonyManagerTest
Fix: 171884262
Change-Id: I9cdc11c49e4ca602cfa1464e5f424c4a96798cfe
Merged-In: I9cdc11c49e4ca602cfa1464e5f424c4a96798cfe
2020-11-20 15:18:03 -08:00
Brad Ebinger
d5c9dc309c Add subid to SipTransportImplBase#createSipDelegate
1) Add subId to the createSipDelegate method to make subId transitions
easier.
2) Add sub id torn down destroy reason
3) Small improvements found during implementation

Bug: b/154763999
Test: atest TeleServiceTests
Change-Id: I2d140ddfde65955a0833f610eeeeaf9d02b0f170
2020-11-20 15:12:05 -08:00
Daniel Bright
926aff5e7b Add support for pdu session id
Added startHandover and cancelHandover to DataService and DataServiceManager
so that it can be called by data connection

Test: Tested that handover still worked with logs.  IWlan -> Cell + Cell -> IWlan
Bug: 155176305
Merged-In: Ia59d7e9bf9a450da4b51a2884166d3b0fa93a7c9
Change-Id: Ia59d7e9bf9a450da4b51a2884166d3b0fa93a7c9
2020-11-20 12:23:43 -08:00
Daniel Bright
5b38038d57 Merge "Added global retry support" 2020-11-20 18:48:36 +00:00
Sarah Chin
c315bf8c7d Expose get/setCdmaRoamingMode and get/setCdmaSubscriptionMode as system API
Test: atest TelephonyManagerTest
Fix: 171884158
Fix: 171883908
Change-Id: I5fe64d4bfb463af40b6e0ccfad1515266e40f7f6
Merged-In: I5fe64d4bfb463af40b6e0ccfad1515266e40f7f6
2020-11-19 14:37:35 -08:00
Sarah Chin
0b2d583b45 Merge "Add TestApi for getSupportedRadioAccessFamily" 2020-11-19 22:01:46 +00:00
Sarah Chin
4d8ff9fca7 Merge changes from topic "signalstrength_ctr"
* changes:
  Make SignalStrength constructor public
  Expose SignalStrength copy constructor
2020-11-19 22:01:14 +00:00
Sarah Chin
b6d1f47cf9 Merge changes from topics "cdma_eri_api", "cdma_eri_displaynumber"
* changes:
  Replace IconIndex as DisplayNumber
  Expose CDMA ERI API
2020-11-19 22:00:31 +00:00
Jack Yu
b9b195be23 Added global retry support
The retry timer suggested by the network will persist
accross network requests. Also changed the retry timer
to a 64-bit value to be consistent with types used in
Android time APIs.

Test: FrameworksTelephonytests
Fix: 159672248
Merged-In: I632d4dc07fb545fa04eb3aefb0ff3270ee8f6ff8
Change-Id: I632d4dc07fb545fa04eb3aefb0ff3270ee8f6ff8
2020-11-19 12:09:30 -08:00
Sarah Chin
c6481cce40 Replace IconIndex as DisplayNumber
Test: atest TelephonyManagerTest
Fix: 171770692
Change-Id: I256649ad0ddcada29e4a7012de3e5889348adb17
Merged-In: I256649ad0ddcada29e4a7012de3e5889348adb17
2020-11-19 02:02:04 -08:00