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
Reason for revert: Change not supported by modem
This reverts commit b1264fe56b.
Bug: 149522248
Bug: 143238237
Change-Id: I17315f5b99ad7c5a5a6d88ed21a825301fa8e5e5
Zero-based month is not needed anymore since android.text.format.Time is
replaced with LocalDateTime. For the safety, just rename "month" to
"monthOrdinal" in the range 1-12.
Bug: 146021623
Test: atest CdmaSmsTest
Change-Id: I0eb5bad9b3701217a6e4f44bfcd76013576d79d5
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
This API also needs to expose the possible values which would need more
work hence we will drop this for now and re-work for next release
This CL also fixes a bug to use correct RIL constant
Bug: 148514283
Bug: 148484234
Test: Verified that the eSIM works on DSDS
atest packages/services/Telephony/tests/
atest frameworks/opt/telephony/tests/telephonytests/
Change-Id: Ifd7b17cc2445c9cbe4c6ba688838a1b07eb13599
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
TelephonyManager.
The purpose is to expose them as @SystemApi as they are used externally.
Bug: 140908357
Test: unittest
Change-Id: I3dabcb853ebbd648b20d97b446db11476780be25
Merged-In: I3dabcb853ebbd648b20d97b446db11476780be25
After removing platform handling of cell broadcasts (in favor of
CellBroadcastService module) the GsmSmsCbMessage class is only used by
CellBroadcastReceiver test app, so move the class there.
Bug: 135956699
Test: manual
Merged-In: Ia1d19356c34f9a13638c10d1c1b9e53c6b69fddd
Change-Id: Ia1d19356c34f9a13638c10d1c1b9e53c6b69fddd
(cherry picked from commit 803c885513)
Allows system apps to get/set call forwarding configuration including
reason, status, number and timeout.
Allows system apps to get/set the status for call waiting function;
Call waiting function enables the waiting for the incoming call when
it reaches the user who is busy to make another call and allows users
to decide whether to switch to the incoming call.
Test: Cts; Treehugger; https://paste.googleplex.com/5810435984982016
Bug: 147920077
Change-Id: Iadeea607749c67209df8cb1313f8b134df0a5c4a
Merged-In: Iadeea607749c67209df8cb1313f8b134df0a5c4a
(cherry picked from commit ce96e26c27)
* changes:
make sim_colors a system config
convert hidden configs to public
Add back off timer configs as carrier config
Carrier config to switch data if primary is OOS
Do not use hidden enabledSetting
Do not use hidden putIntForUser
Fix testNetworkScanRequestParcel_Parcel CTS
Do not use hidden broadcast API of RemoteCallbackList
Make requestModemActivityInfo a system api
Remove usage of hidden Parcel APIs
Do not use hidden withCleanCallingIdentity
Do not use hidden isPrivilegedApp
Do not use hidden broadcast API of RemoteCallbackList
Bug: 140908357
Bug: 146349977
Test: Build
Merged-In: I5fa9b0f36f18c6073ad20867f6bf62d573f823b8
Change-Id: I5fa9b0f36f18c6073ad20867f6bf62d573f823b8
Support new API for setNetworkSelectionModeManual with ran parameter
Bug: 68116277
Test: atest FrameworksTelephonyTests
Change-Id: I0e8b78b1b16d4bf6a6c0f39eedc48b253ca7a810
Merged-In: I0e8b78b1b16d4bf6a6c0f39eedc48b253ca7a810
Introduce a server API to get current package name to remove
ActivityThread for Mailine
Test: Treehugger; no function change; Manual: tried to send a message to 22000,
and observed that it pops out a notification window to ask me: "Messages
would like to send a message to 22000, Cancel or Send?" I clicked on "Send".
UI shows that SMS is sent successfully.
Bug: 145147528
Change-Id: I0a5ca7699c969585ea08c82ea7cafd26a73c08f9
Merged-In: I0a5ca7699c969585ea08c82ea7cafd26a73c08f9
(cherry picked from commit 24fded67fb)
We should not allow other stack (such as Bluetooth) to directly control
modem indication reporting. The hidden API
TelephonyManager.setRadioIndicationUpdateMode added before do not
support multiple clients and do not support the case when clients'
process die.
The new solution would be adding a new listener
PhoneStateListener.LISTEN_ALWAYS_REPORTED_SIGNAL_STRENGTH and let
telephony registry (which is running under system process) to tell
telephony whether to always turn on signal strength update if any client
is listening to this event.
Introduce a new system API for TelephonyRegistry
to tell Telephony module this listening mechanism.
Introduce a new permision for this function
Test: WIP (Have this CL out to try to catch up the API deadline)
Bug: 147322848
Change-Id: Iaee832c75b29d89dbc9e5c6659e1a7e89c4a467f
Merged-In: Iaee832c75b29d89dbc9e5c6659e1a7e89c4a467f
(cherry picked from commit 93642d4433)
Add new constant to send MO CDMA SMS with expectMore option.
Bug: 72613248
Change-Id: I4fbcaa13648c66482f6bb741c433aede2ec824c7
Merged-In: I4fbcaa13648c66482f6bb741c433aede2ec824c7
Allows system apps to get/set call forwarding configuration including
reason, status, number and timeout.
Allows system apps to get/set the status for call waiting function;
Call waiting function enables the waiting for the incoming call when
it reaches the user who is busy to make another call and allows users
to decide whether to switch to the incoming call.
Test: Cts; Treehugger; https://paste.googleplex.com/5810435984982016
Bug: 147920077
Change-Id: Iadeea607749c67209df8cb1313f8b134df0a5c4a
Currently LPA passed supported/unsupported countries to Settings by
writing the value into properties which is not ideal. Instead, we need to
provide an API in EuiccManager to determine whether eUICC is supported
in a country.
Bug: 147674689
Test: 1) Manually tested by flashing the change to the device
2) Change LPA to override onGetIsEuiccSupportedCountry
3) Make sure LPA can get the request
Change-Id: Ic94a2d2c771fd1ec2e5899d9e0428bb70cde4249
Merged-In: Ic94a2d2c771fd1ec2e5899d9e0428bb70cde4249
Some APPs(like OMA DM) might enable or disable 5G settings, so redesign
the setPreferredNetworkType behavior.
1. Create allowed_network_type in telephonyprovider
2. Create get/set allowed network type API
3. When APPs call setPreferredNetworkType() that will AND with allowed
network type.
Bug: 136730709
Test: By Manual
1. setAllowedNetwork to disable 5G
2. setPreferredNetworkTypeBitmask to set NR_LTE_GSM_WCDMA
3. framework set LTE_GSM_WCDMA to modem
Merged-In: Ia257e6ddaa33c32bc09340a59c9daf71ce1fa8cf
Change-Id: Ia257e6ddaa33c32bc09340a59c9daf71ce1fa8cf
Currently LPA passed supported/unsupported countries to Settings by
writing the value into properties which is not ideal. Instead, we need to
provide an API in EuiccManager to determine whether eUICC is supported
in a country.
Bug: 147674689
Test: 1) Manually tested by flashing the change to the device
2) Change LPA to override onGetIsEuiccSupportedCountry
3) Make sure LPA can get the request
Change-Id: Ic94a2d2c771fd1ec2e5899d9e0428bb70cde4249