Commit Graph

11984 Commits

Author SHA1 Message Date
Brad Ebinger
3783b69702 Merge "Remove SipDelegates in ImsService if Phone process crashes" into sc-dev am: 60b4b0e476 am: 81c860cdd5
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15448091

Change-Id: Iaaf74206c1ddb8a4610fbddbf5566c78d5caf8c3
2021-08-04 20:50:22 +00:00
Brad Ebinger
4e51482aaf Remove SipDelegates in ImsService if Phone process crashes
If the phone process crashes, have the ImsService detect this
condition and destroy all SipDelegates. This allows the AM
app to properly recover when telephony comes back up

Bug: 195148134
Test: manually crash phone process and then send RCS message
Test: atest FrameworksTelephonyTests:SipTransportImplBaseTest
Change-Id: I7866273d801df4d2b20e58f5d5ad50fd0ac4303d
2021-08-03 22:22:21 +00:00
Sooraj Sasindran
b19264bb1a Provide ability to set 4G only mode
Provide ability to set 4G only mode

Bug: 182526131
Test: build
Change-Id: Iccb99ef78840c494802fc2572164ca5cf789e982
(cherry picked from commit 0671ec65fce37f817485b3091fa3fbca954e03e4)
2021-07-27 15:03:26 +00:00
Amruth Ramachandran
4afa9546f9 Merge "[PhysicalChannelConfig] UL's frequency should not be same with DL's" into sc-dev 2021-07-27 13:47:33 +00:00
Mingming Cai
04c2e26451 Merge "Fix CQI range in CellSignalStrengthNr" into sc-dev am: 2d5cbc5d2d am: ee8ad35a43
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15394377

Change-Id: I0e113a188b44ba972a1e232ccc507ce026019dca
2021-07-27 04:07:56 +00:00
Meng Wang
fc9ae6314b Merge "Lazily load bitmap of SubscriptionInfo" 2021-07-27 00:49:58 +00:00
Zoey Chen
e5225ba858 [PhysicalChannelConfig] UL's frequency should not be same with DL's
Bug: 194042135
Test: atset PhysicalChannelConfigTest
Change-Id: I1225a1429ff77b33c54af0dfce60a8739494e47a
Merged-In: I1225a1429ff77b33c54af0dfce60a8739494e47a
2021-07-27 00:43:16 +00:00
Mingming Cai
9ee4e9bbe9 Fix CQI range in CellSignalStrengthNr
bug: 194634718
Test: make
Change-Id: I784f2930999871b6bb90f4e17a2ba694da35126a
2021-07-26 16:55:31 -07:00
Meng Wang
0e0a12ccf3 Lazily load bitmap of SubscriptionInfo
Bug: 194251398
Test: manual - see the bug
Change-Id: I0af239e1befeff8d4f00a27bc9679eb0b4849500
2021-07-26 20:46:38 +00:00
Zoey Chen
53688b1926 [PhysicalChannelConfig] UL's frequency should not be same with DL's
Bug: 194042135
Test: atset PhysicalChannelConfigTest
Change-Id: I1225a1429ff77b33c54af0dfce60a8739494e47a
2021-07-24 05:41:58 +00:00
SongFerng Wang
57d785dbcf Merge "Modify KEY_LTE_ENDC_USING_USER_DATA_FOR_RRC_DETECTION_BOOL's description" into sc-dev am: 75b43af58b am: 2192d72871
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15359955

Change-Id: I107a6273f366cb786c35ff54578eaa03fecc89bb
2021-07-24 01:29:41 +00:00
SongFerngWang
7ac38075c7 Modify KEY_LTE_ENDC_USING_USER_DATA_FOR_RRC_DETECTION_BOOL's description
Some Carriers define the 5G icon's Idle state in ENDC LTE is no
internet data connection. The config's description is not clear,
so adding more information.
Bug: 193848289
Test: build pass

Change-Id: Ie6e8dcd98743746bac1be78c653fb27f214777f9
2021-07-22 23:20:32 +08:00
Rambo Wang
4b4d185103 Merge "Clear binder identity in callback of IMS IPC interfaces" am: 67e10842b2 am: 3d97b23aa1 am: e5026e2532 am: 34856c5f96
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1771685

Change-Id: Iaa3d4b92499470cc7a3895f9f580cb5bdcaf1f1b
2021-07-20 01:21:55 +00:00
Rambo Wang
e5026e2532 Merge "Clear binder identity in callback of IMS IPC interfaces" am: 67e10842b2 am: 3d97b23aa1
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1771685

Change-Id: I86ad5e1d544870b5fb5b450664d57e39699f7d3d
2021-07-20 00:44:43 +00:00
Rambo Wang
588ec9f398 Clear binder identity in callback of IMS IPC interfaces
The binder identity does get cleared when goes from client process
into phone process. When it comes back from phone to client, the
binder identity should also be cleared.

Bug: 193923945
Test: atest android.telephony.cts.TelephonyManagerTest
Test: atest ImsServiceTest RcsFeatureControllerTest ImsMmTelManagerTest
Merged-In: I34225e32111879e155c9f7865f0045430d171467
Change-Id: I34225e32111879e155c9f7865f0045430d171467
(cherry picked from commit c18002c465)
2021-07-19 14:54:58 -07:00
Rambo Wang
c18002c465 Clear binder identity in callback of IMS IPC interfaces
The binder identity does get cleared when goes from client process
into phone process. When it comes back from phone to client, the
binder identity should also be cleared.

Bug: 193923945
Test: atest android.telephony.cts.TelephonyManagerTest
Test: atest ImsServiceTest RcsFeatureControllerTest ImsMmTelManagerTest
Change-Id: I34225e32111879e155c9f7865f0045430d171467
2021-07-19 12:27:38 -07:00
Jack Nudelman
7efcc4dfc7 Merge "Enable specification of 5G network info and carrier configs for ONS changes" into sc-dev-plus-aosp am: 8d2f34dffb am: b9ea0ae39e
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15275399

Change-Id: I33d8b98664f7955d7990b6f99a0bc2d27d87a7d4
2021-07-19 15:29:37 +00:00
Jack Nudelman
8d2f34dffb Merge "Enable specification of 5G network info and carrier configs for ONS changes" into sc-dev-plus-aosp 2021-07-19 15:02:17 +00:00
Jack Nudelman
0cd9897175 Enable specification of 5G network info and carrier configs for ONS changes
Bug: 191878731
Bug: 186688084
Test: Will test locally once partner device and infrastructure is ready.

Change-Id: I7c866741dd86c3d675ea7c4dfe50d0992ab145f1
2021-07-16 14:49:08 -07:00
Brad Ebinger
c5749f98ce Merge "Gate CDMA Supplementary Services on a CarrierConfig item" into sc-dev am: c3e6fc7a05 am: a04c9895ee
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15305873

Change-Id: I2a6b6f8e342298f17b00f382bbdca7bd38711604
2021-07-16 18:36:21 +00:00
Brad Ebinger
c3e6fc7a05 Merge "Gate CDMA Supplementary Services on a CarrierConfig item" into sc-dev 2021-07-16 18:04:16 +00:00
Brad Ebinger
783f66f0bd Gate CDMA Supplementary Services on a CarrierConfig item
Introduce the KEY_SUPPORT_SS_OVER_CDMA_BOOL carrier config, which
allows Supplementary Services to be changed via carrier USSD codes.

This is disabled by default because the current USSD codes are not
configurable per carrier, so it can not be widely enabled.

Bug: 191057045
Test: manual, configuration changes
Change-Id: I3aeb1793c0df4f52764fef5fd09db47efe841dc2
2021-07-15 16:09:56 -07:00
TreeHugger Robot
ff44d41153 Merge "Catch ServiceSpecificExceptions properly when getting reg state/ transport type" into sc-dev am: 369f574bb0 am: d80cfe2284
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15263378

Change-Id: Ia2826d3fb91e8e6cd9874e7640d918c9126e4e79
2021-07-13 06:47:35 +00:00
Zoey Chen
7e0ae7528d [Telephony] Clean up: remove getApnTypeStringInternal
Bug: 181696914
Test: make
Merged-In: Ia79bb9eaa1fc43a2995730da47289274f94d67fe
Change-Id: Ia79bb9eaa1fc43a2995730da47289274f94d67fe
(cherry picked from commit 6930ca1e6d)
2021-07-12 14:33:39 -07:00
Jack Yu
3a72957b4b Disallow data when QNS switched the preference
When the preference has switched to another transport, do
not allow data setup. This avoid the case that data service
keeps asking telephony to retry while QNS already switched
the preference to another transport.

Test: Manual
Fix: 182899920
Fix: 175399007
Merged-In: I1a0c86a978756d5b05851d939e011010f8f1afc2
Change-Id: I1a0c86a978756d5b05851d939e011010f8f1afc2
(cherry picked from commit 50a8fccec7)
2021-07-12 14:22:08 -07:00
Brad Ebinger
2186a56187 Catch ServiceSpecificExceptions properly when getting reg state/ transport type
We were not catching ServiceSpecificExceptions that were thrown,
causing unclear exceptions. Instead, return the default value when
the ImsService is unavailable.

Bug: 192930411
Test: atest CtsTelephonyTestCases
Change-Id: I3d50b19047bc287ce6200e75bb59cf98bf8bfef0
2021-07-12 13:57:34 -07:00
TreeHugger Robot
fde767072f Merge "Add carrier config for using user data to detect RRC state" into sc-dev am: 30debe6591 am: 58aface7a9
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15188498

Change-Id: I57f1d9088c7dfe7da9033c55888b05f2754ff145
2021-07-02 22:31:17 +00:00
TreeHugger Robot
30debe6591 Merge "Add carrier config for using user data to detect RRC state" into sc-dev 2021-07-02 22:05:39 +00:00
SongFerngWang
af6fd22efb Add carrier config for using user data to detect RRC state
This configuration allows the framework to use user data
communication to detect RRC state.

Bug: 191321871
Test: build pass and no phone crash.
atest NetworkTypeControllerTest  (pass)

Change-Id: Ieffabd25a74faf2038b2e08e956fa16c9efdd3ca
2021-07-03 02:01:15 +08:00
Jack Yu
e287977970 Remove the obsolete APIs
Fix: 192416903
Test: FrameworksTelephonyTests
Change-Id: I2000754264b4df74f738cb3d679458722f658e23
2021-07-01 18:58:20 +00:00
Automerger Merge Worker
41142e49b6 Merge "Merge "Update documentation outlining results during voice calls." into sc-dev am: c2a780dbd6 am: 3b1639f8a3" into sc-v2-dev-plus-aosp am: 14129bec18
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15128665

Change-Id: I2f0f07f86b1df208ffc059d6c18521eee6f2917c
2021-06-30 16:36:04 +00:00
Amit Mahajan
0411ba6168 Add configurable RSRP boost for 5G NR SA.
Test: atest CellSignalStrengthNrTest
Bug: 187679048
Merged-In: Ic6becca786e5f039194ffb48ca572ff1ab7ce305
Change-Id: Ic6becca786e5f039194ffb48ca572ff1ab7ce305
(cherry picked from commit ae5f04d42a)
2021-06-30 09:34:45 -07:00
TreeHugger Robot
c2a780dbd6 Merge "Update documentation outlining results during voice calls." into sc-dev 2021-06-30 16:11:27 +00:00
Jack Nudelman
bc9ef4c8da Update documentation outlining results during voice calls.
Test: Just comment change, test not necessary
Bug: 192446339

Change-Id: I7fe0efdaa0b28f8d8a4389d7249f20d06ab258d0
2021-06-30 13:54:01 +00:00
James Lin
e46626d9d3 Merge "[UCE] Set the default value of the list subscribe to false" into sc-dev am: 5f1dd57e55 am: d5240d8303
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15126533

Change-Id: Idb95b76ff7dcefc4d2279b70aa6fd3b176e9e050
2021-06-30 05:58:34 +00:00
James Lin
5f1dd57e55 Merge "[UCE] Set the default value of the list subscribe to false" into sc-dev 2021-06-30 05:55:10 +00:00
Zoey Chen
8f8b9b5822 Merge "[Telephony] Add description about location permission" into sc-dev am: fc3e38324f am: 395ffc40a7
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14748170

Change-Id: I1a6c03d3d429d2b0fef4f90efc87aab896a06b0d
2021-06-30 02:06:34 +00:00
Zoey Chen
fc3e38324f Merge "[Telephony] Add description about location permission" into sc-dev 2021-06-30 01:23:39 +00:00
James.cf Lin
5b001197d8 [UCE] Set the default value of the list subscribe to false
Set the default value of the list subscribe to false because there are not many carriers support the list subscription

Bug: 190683278
Test: atest RcsUceAdapterTest
Change-Id: I146637fda050a74f593c1b221364c18a03d2da5e
2021-06-29 21:01:06 +00:00
Zoey Chen
6d33beea88 [Telephony] Add description about location permission
- Hold ACCESS_FINE_LOCATION: full service state
    - Hold ACCESS_COARSE_LOCATION: set cellIdentity is null
    - No local permission: set cellIdentity, mOperatorAlphaLong, mOperatorAlphaShort
        and mOperatorNumeric are null

Bug: 165014401
Test: make
Change-Id: I9ada08a530d9b8bc8483edfad783ff3b7434faa3
2021-06-29 16:11:13 +08:00
Jayachandran Chinnakkannu
47890219e5 Merge "QOS: Check for portRange validity before filter matching" into sc-dev am: 98a11ef7b1 am: 2f0a357bc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15115572

Change-Id: I12703444ac144903a5ab063eeba047c605f5b82e
2021-06-29 06:23:39 +00:00
Jayachandran Chinnakkannu
98a11ef7b1 Merge "QOS: Check for portRange validity before filter matching" into sc-dev 2021-06-29 06:12:27 +00:00
James Lin
195bb75366 Merge "[UCE] Fix NPE in the RcsContactUceCapability" into sc-dev am: fb0faec367 am: 97b2432bc4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15127245

Change-Id: If1e519d307dee56c17e58d5f6b83d2cada2413f3
2021-06-29 03:04:19 +00:00
Jayachandran C
bd4bd964f4 QOS: Check for portRange validity before filter matching
Bug: 191810683
Test: Manual
      atest com.android.internal.telephony.dataconnection.QosCallbackTrackerTest
Change-Id: Iaad16f7efe4bfaea3abd296547b5c53426a29854
2021-06-28 19:19:34 -07:00
James.cf Lin
78733ad48f [UCE] Fix NPE in the RcsContactUceCapability
When get the RcsContactPresenceTuple from the RcsContactUceCapability, it should check whether the servier ID is null or not

Bug: 191836903
Test: atest RcsContactUceCapabilityTest
Change-Id: I987c6f1fbcabfe64688f1d71210c83b6c4d8d9e0
2021-06-29 04:06:23 +08:00
Hui Wang
af880746f9 Merge "Process rcsVolteSingleRegistration if it is not provided or roaming" 2021-06-22 14:48:19 +00:00
Hui Wang
29e6d93d84 Process rcsVolteSingleRegistration if it is not provided or roaming
Bug: 186884505
Test: atest TeleServiceTests:com.android.phone.RcsProvisioningMonitorTest
Test: atest FrameworksTelephonyTests:com.telephony.ims.RcsConfigTest
Merged-In: I800ba7cfda4fdd9bd2590a12c23c33ee72b07396
Change-Id: I132f40b334c9a2d33b3517b4897c52b0554c994d
2021-06-21 20:53:43 +00:00
Xin Li
48e70ad8bc DO NOT MERGE - Merge ab/7272582
Bug: 190855093
Merged-In: I81c036a8484d14683db9450b55bd379c7a728d73
Change-Id: I71fe9744d88740a8d95235ddb4c8ab91881473ce
2021-06-14 22:01:46 -07:00
Sarah Chin
ab9f5d46b2 Merge "Update documentation for setSubscriptionOverride" 2021-06-14 19:30:48 +00:00
TreeHugger Robot
575e909beb Merge "Made same APN retry maximum counter configurable" into sc-dev am: 69bd06127a am: c8e96a2950
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/14938453

Change-Id: I92ef1da9b361a3a4a7a73539be09ad247d0adf86
2021-06-12 10:51:46 +00:00