SIM needs to be fully loaded before we can setup
data connection because APN slection requires
MCC/MNC on the SIM. Also lots of data related configs
are stored in carrier config. Both needs to be ready
before we can setup a data connection (except for
emergency APN).
Bug: 152816633
Test: Manual + unit tests
Change-Id: I69c7838bdd9751bef4c15e9504519b55afb9fefb
If config_sms_force_7bit_encoding is true, an original text will be
translated based on 7-bit ASCII table for CDMA. But if the translated
text can not be encoded as single-part SMS, the original text should be
used for next try instead and it will be translated based on GSM 7-bit
alphabet for ENCODING_GSM_7BIT_ALPHABET.
Bug: 151061215
Test: Manual
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
Change-Id: I679786b96d19c6f3f30ec3e2037221110f5d3f84
Added constant support to framework for sim deperso
Test: make
Bug: 69389695
Merged-In: Ia7b9ca82570c1c9a9fed945d687e4bec4e87b3a1
Change-Id: I4b11e63b9d2bb9c59c79462c2a74706a572e7d35
(cherry picked from commit 64056e1262)
DcTracker uses several SIM related signals for different purposes.
Those signals include SIM record loaded/not-loaded, subscription
changed event, and carrier config changed event. Those signals
are slightly different but not that really important to DcTracker.
What DcTracker cares is
1. Whether SIM is inserted or not.
2. Whether configuration changes or not.
By listening to a single carrier config change event can handle
the cases above.
Removed all SIM record related places in DcTracker. SIM record should
not be accessed by anyone outside of UICC controller.
Test: Manual test + unit tests
Bug: 146168348
Change-Id: Iad45933ea77eb460625a891071535cbeaf8ac3b0
* changes:
Set attribution tag in TelephonyManager#sendVisualVoicemailSmsForSubscriber
Merge "Pipe through attributeTag for one self-permission check" am: 9ed7e7f1b1 am: 1bf1d39fa4 am: 6094f4258e am: 7fd121e139 am: b54512bca9
-Create a BarringInfo class to pass Barring information
from HAL to PhoneStateListener.
-Add a multi-callback registrant so that ServiceStateTracker
and potentially DcTracker can also listen to barring info in
the future.
Bug: 143226991
Test: make update-api && make && atest BarringInfoTest
Merged-In: I08240259f3142beeca991238bf705236f0303954
Change-Id: I08240259f3142beeca991238bf705236f0303954
Removed permission check for getNetworkCountryIso and made it public.
This API was added since the first version of Android. Removed the
permission check for backward compatibility reason.
Test: Telephony sanity tests
Bug: 149872821
Merged-In: I68833fdf6f078d69bc8c2e5f01cf4e058d6d7093
Change-Id: I68833fdf6f078d69bc8c2e5f01cf4e058d6d7093
(cherry picked from commit 0b9a12c2c4)
We need to remove the previous hacky hidden API
setRadioIndicationUpdateMode and its implementation in Telephony.
This is an hidden API that affects power cost. We should remove it
to prevent potential users to use it unexpectedly (e.g. in reflection)
Test: Manual by making a call
Bug: 148544396
Change-Id: I0bce99b5363392bbaf9cf76dad8c1b47a138fd19
Merged-In: I0bce99b5363392bbaf9cf76dad8c1b47a138fd19
(cherry picked from commit 4b779449d7)
Add setSystemSelectionChannels as a SystemApi, connecting to the
identically-named HAL method.
Fixes: 144595103
Test: manual through the testapp, atest TelephonyManagerTest
Change-Id: I52ff09258af772e272937dd137813d0d63c50cb5
Merged-In: I52ff09258af772e272937dd137813d0d63c50cb5
Add default values for 5g upstream/downstream bandwidth
Update default values on NR frequency changed
Config to use LTE values for upstream and 5G for downstream on NSA
Resource overlay for modem predictive/instantaneous bandwidth estimates
Test: atest FrameworksTelephonyTests
Bug: 149032132
Bug: 149032474
Bug: 149032786
Change-Id: I70e95e98c871ba3fdc2e94de9504eafe247619c9
Merged-In: I70e95e98c871ba3fdc2e94de9504eafe247619c9
* Change it into a public API
* Rename method to createSmsSubmitPdu
* Add maxTargetSdk to createFromEfRecord()’s UnsupportedAppUsage
Bug: 149697039
Test: compile
Change-Id: I067deb1063891e81bee96281d87a6319d6f72bf1
The string version of Apn Types are used in the carrier config table.
Modules besides Telephony uses this table directly and so it made sense to expose
this as a @SystemApi
Test: ApnSettingsTest
Bug: 147465477
Merged-In: I1c344b3ff482d973b8bf51a33956a7f90f291634
Change-Id: I1c344b3ff482d973b8bf51a33956a7f90f291634