AT&T requires showing data coding scheme, location check
time, whether shown to the user or not in the test menu.
Expanded database to support this.
Bug: 144152683
Test: Manully sending fake messages and verified database
Merged-In: Ib5b78802e7548da9f92492aae4c94ed3488b5e3d
Change-Id: Ib5b78802e7548da9f92492aae4c94ed3488b5e3d
(cherry picked from commit 641db9a36a)
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)
The old implementation of this function had the unintended side effect
of modifying the default configuration for the context which the caller
passed in. This CL avoids that by creating a new context with the new
configuration.
Test: atest SubscriptionControllerTest#testGetResourcesForSubId
Bug: 146481715
Change-Id: I6539817caa67e1100e50018fa0186993a1f56ccb
Merged-In: I6539817caa67e1100e50018fa0186993a1f56ccb
Add new API setSubscriptionOverride() in NetworkPolicyManager
and rename constants OVERRIDE_* to SUBSCRIPTION_OVERRIDE_*.
Make them @SystemApi for mainline support.
Bug: 138306002
Test: atest FrameworksNetTests
atest FrameworksTelephonyTests
Change-Id: I56c777aa66d6f455695f133f9889979c13cd1bc8
Merged-In: I56c777aa66d6f455695f133f9889979c13cd1bc8
Add public APi to EuiccService which allows the connected LPA to dump
out the logs when a bug report is triggered.
Bug: 62881779
Test: manually tested by extracting bug report to see if the logs are
present and atest EuiccServiceTest
Change-Id: I0869b95d12ab87a5e2a255015549191040d9daa7
Merged-In: I0869b95d12ab87a5e2a255015549191040d9daa7
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
Change mtu->mtuV4 and add mtuV6 for DataProfile and DataCallResult
Add mtu to RouteInfo and update test
Test: atest FrameworksTelephonyTests
Bug: 146668814
Change-Id: I43c7e088e46e40f38d8114548e0fc4e39d7f91cb
Merged-In: I43c7e088e46e40f38d8114548e0fc4e39d7f91cb
convert hidden configs to public
Test: these are existing configs, hence with build could
confirm if they are accessible
Bug: 143969391
Merged-In: I722e0bfe587bc21e18a6cfea2de3df0efc1018c9
Change-Id: I722e0bfe587bc21e18a6cfea2de3df0efc1018c9
Add time to determine as ping pong as a carrier config
Add max back off hysteresis time as a carrier config
Test: build
Bug: 143578171
Merged-In: I599aa88c4a8f29ca62aaa2948cc5c7f292b6a827
Change-Id: I599aa88c4a8f29ca62aaa2948cc5c7f292b6a827
Carrier config to switch data to primary from cbrs
if primary is OOS
Carrier config to specify back off time from cbrs
to primary
Bug: 143578171
Test: make
Merged-In: I2fbec74b7f00dcb751e38b0f5a336fea8370cbee
Change-Id: I2fbec74b7f00dcb751e38b0f5a336fea8370cbee
Allow mSpecifiers to be null in case the length of the specifier array
is less than null
Bug: 146363437
Test: Ran CTS
cts-tradefed run cts -m CtsCarrierApiTestCases --test android.carrierapi.cts.NetworkScanApiTest
Merged-In: Iad7d91d8813415bbd2f3b6cad02120e59441e08a
Change-Id: Iad7d91d8813415bbd2f3b6cad02120e59441e08a
Do not use hidden broadcast API of RemoteCallbackList
Bug: 140908357
Bug: 146349977
Test: Build
Merged-In: I5fa9b0f36f18c6073ad20867f6bf62d573f823b8
Change-Id: I5fa9b0f36f18c6073ad20867f6bf62d573f823b8
Make requestModemActivityInfo a system api
Bug: 140908357
Test: Build
Merged-In: Id3db96212af713de09ef761629db86ecd02cfe8a
Change-Id: Id3db96212af713de09ef761629db86ecd02cfe8a
Do not use hidden withCleanCallingIdentity
Bug: 140908357
Test: Build
Merged-In: Ic6cbd587c009df973d4602ff21e5b8a9c27293ff
Change-Id: Ic6cbd587c009df973d4602ff21e5b8a9c27293ff
One cell could have multiple bands assigned.
One frequency could be shared by multiple bands
because they have overlapping.
Test: Telephony sanity tests.
Bug: 131061889
Change-Id: I8d5d828ec142c74428388a6d3f11cdf0842e03b9
Merged-In: I8d5d828ec142c74428388a6d3f11cdf0842e03b9
Support new API for setNetworkSelectionModeManual with ran parameter
Bug: 68116277
Test: atest FrameworksTelephonyTests
Change-Id: I0e8b78b1b16d4bf6a6c0f39eedc48b253ca7a810
Merged-In: I0e8b78b1b16d4bf6a6c0f39eedc48b253ca7a810
Make ModemActivityInfo.isValid system because
getIdleTimeMillis(), getSleepTimeMillis(), and getReceiveTimeMillis()
are system.
Bug: 146436760
Test: build
Change-Id: Ifc1a1853fe0b7ca143ef95fe3a1abe70e2dc70d4
Merged-In: Ifc1a1853fe0b7ca143ef95fe3a1abe70e2dc70d4
(cherry picked from commit 3349553a99)
Add CellIdentity support for HAL 1.5
-Add new constructors for HAL 1.5
-Add APIs to get additional PLMNs advertised
by the cell beyond the first, for MOCN networks.
-Add support for CSG info in WCDMA, TD-SCDMA, and LTE
Bug: 135921133
Test: wip
Change-Id: Iffd9351d2170a496639eced2c4618819f522494c
Merged-In: Iffd9351d2170a496639eced2c4618819f522494c
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)