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
instead of null, so that when a certificate is removed, it is also
removed in SubscriptionInfoUpdater#updateSubscriptionByCarrierConfig
Bug: 162700101
Test: manual
Change-Id: I921007498f42119581f565fcc6625c1275c59df8
Merged-In: I921007498f42119581f565fcc6625c1275c59df8
The API was exposed in ag/9766884 but reverted in ag/10665971. However
with the revert the annotation was not added back.
Test: TH
Bug: 159022482
Change-Id: Ia7d200bfd4d4565971701048b1c469a6633edeb4
When the device receives an incoming call indication and quickly
receives another call terminated indication (such as the auto
reject case), there is the possiblity that the call terminated indication
happens while onIncomingCall is still being processed. This is due to the
fact that binder oneway calls are only guaranteed to be on the same binder
thread for the same IBinder node. Since these callbacks are happening on
two separate nodes potentially, there are running in two binder threads
at the same time, causing race conditions.
Instead, the onIncomingCall binder call should not be oneway (as it is
required to complete before other indications should occur) and only
return control back to the ImsService thread once the
MmTelFeature#notifyIncomingCall call completes.
Bug: 160213239
Test: incoming call, auto-rejected incoming call on MSIM
Change-Id: I054e6b00656fc04f48f7f378076e29322daf59ad
Update GsmCellLocation documentation for NR case. Since the NR cell ID
is 36 bits and can't fit into the 32-bit field in GsmCellLocation,
return -1 for the CID.
Test: atest CellIdentityNrTest
Bug: 166514842
Change-Id: Ib894e83900b590c11221502ad039781cea5b571c
Implement the following features to support carrier network connection.
This commit is to define the carrier config for each features.
1. Sets default preferred APN
2. Uses dun APN when using Preset APN in roaming network
Also, fixed that to use only APNs with the same set id as preferred
APN.
Test: Manual
Bug: 147969062
Merged-in: If1e6d2bf58de39c22caa901fcd90fb11f104d900
Change-Id: If1e6d2bf58de39c22caa901fcd90fb11f104d900
(cherry picked from commit b9beb0d1afda6327b1c7645ac20a016f08e5744e)
Add a new carrier config that changes the service class is used for Call
barring settings.
CP from aosp/1404668
Test: manual
Bug: 161772958
Merged-In: Ibce22d0d340ce648c0b6df411266d1c4fe537013
Change-Id: Ibce22d0d340ce648c0b6df411266d1c4fe537013
Only show the LTE+ icon if the combined channel bandwidth is greater
than the valued defined. By default, the value is 20 MHz, and if there
is no limit then the value should be 0.
Test: atest NetworkTypeControllerTest
Bug: 160873305
Change-Id: I4068860c5798f921fc198c095ba9b8f84ae5663b
The default constructor is missing in CellInfoNr and CellIdentityNr
classes. All the other CellInfo* and CellIdentity* classes have it.
Also, add setCellIdentity(CellIdentityNr) method to CellInfoNr.
Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/1202369
Bug: 147260058
Test: m
Merged-In: I4617272446ffb32d5d33d14d825f4ed919cc1c47
Change-Id: I4617272446ffb32d5d33d14d825f4ed919cc1c47
(cherry picked from commit 23382679eb)
TAC was updated to 3 bytes, so the limit is now 0xffffff instead of the
previous 0xffff. Update to meet 3GPP requirements in 24.501 9.11.3.8.
Test: build
Bug: 144433329
Change-Id: Ie007c29671da709f23684ff27d30ef1c377aadc6
Merged-In: Ie007c29671da709f23684ff27d30ef1c377aadc6
Now calling onSubscriberAssociatedUriChanged on IImsRegistrationCallback
when the callback is first added to ImsRegistrationImplBase.
Bug: 159301697
Bug: 161656000
Test: Made phone call
Test: Added unit test
Change-Id: Ibfcb8aaae9d410a09ec98e57d77eccd34fcc222f
If the carrier supports call forwarding number prefixes to be allowed
while on IMS roaming, then the number should be dialed and forwarded successfully
Bug: 153413483
Test: Verify the call using *72 <number to be forwarded to> is dialed and forwarded successully
Change-Id: Ia93dec2ebb11aa3ab8f48975a9b6f02089d1482b
KEY_NR_TIMERS_RESET_IF_NON_ENDC_AND_RRC_IDLE_BOOL:
Whetherdevice reset all of NR timers when device camped on a
network that haven't 5G capability and RRC currently in IDLE state.
Bug: 160365713
Test: build pass.
Change-Id: I9802b8712798054a85307e549fb665bc85166311
Some carriers would like to use default APN for
tethering while the device is roaming. Added a new
carrier config to disable DUN APN while the device
is roaming.
Fix: 158546796
Test: DcTrackerTest
Change-Id: I2e633fd764f86b196a6ee0c29af2b97733e82c66
Android 10 introduced additional restrictions to access persistent
device identifiers. This commit updates the javadocs for
TelephonyManager and Build to provide additional details regarding
the requirements and how to check if these requirements are met.
Fixes: 158471988
Test: m docs -j
Change-Id: I02932a22ecc5b761aa1a92d59d09d31863c34235
In Android 11 access to the ICC ID is guarded behind the same access
restrictions as the SIM serial number; the requirements to access the
device phone number have also changed. This commit updates the docs to
reflect that these changes are active starting from API level 30.
Fixes: 159568585
Test: m docs -j
Change-Id: I5ececac6f8dee5281d8bfc6c62408a18c8b3effa
Before cell broadcast config service enabling all channels, it
reset all channels that were previously enabled. This will make
sure the full channel config can be pushed down to modem. This
also solved the issue that channel config not sending to modem
when SIM is swapped. Note that a hidden API is added and will
be unhide in the next Android release.
Fix: 155027085
Test: Manual
Merged-In: Id571b990f4e45aea5bbab0dbadce48dda7b2bc56
Change-Id: Id571b990f4e45aea5bbab0dbadce48dda7b2bc56
To override wifi calling's carrier name string using ef_pnn
from sim card.
Bug: 157108864
Test: UE with TMO sim card to test in Roaming and WFC on, and then
check operator name. (PASS)
Change-Id: Id72ce2a9a0fb8f45efa8a975e8052808f726a971
Add hidden API to support allowed networks type for
specific reason like power.
Bug: 156709797
Test: system test
Change-Id: If4424d7d94ac26ad31725a1658dad5751d0d2629
ETWS primary/secondary flag needs to be saved in the
database in order to perform duplicate check later. Used the
hardcoded database column name because Android R API freezes.
Will remove the hardcode in the next Android release.
Fix: 157699377
Test: CtsTelephonyTestCases & CellBroadcastServiceTests
Change-Id: Iedec92a1f435f60ceb9f36637a1718adbbd7e2ae