It returns null as API description for null message or null destination
instead of NPE.
Bug: 111731144
Test: atest SmsMessageTest
Change-Id: I1dc8537b6d07a43345c266122a1c77e73e58e7e8
Signed-off-by: Taesu Lee <taesu82.lee@samsung.com>
Callbacks need to be executed within Binder.clearCallingIdentity() since user code executed
in the callback should be with the calling pid/uid of the app, not the system.
Bug: 117795921
Test: Manually tested on eSIM operations
Change-Id: Ie50315e3fd287559ed516a24de09af6707c03d2f
Merged-In: Ie50315e3fd287559ed516a24de09af6707c03d2f
It's used by a @SystemApi as key of it's return bundule. So we
should expose it. Also it's currently linked to BatteryStats.
RESULT_RECEIVER_CONTROLLER_KEY which makes no sense as they are
functionally independent and BatteryStats.RESULT_RECEIVER_CONTROLLER_KEY
is @hide. So also make it a hardcoded String.
Bug: 148116922
Test: build
Change-Id: I7099048c126e88f75cf5bd7e779ddfe923cc1c02
Merged-In: I7099048c126e88f75cf5bd7e779ddfe923cc1c02
They are intents and extras used by Setting to monitor certain SIM
change and to pop up dialogs to users.
Bug: 148097978
Test: build
Change-Id: If6965979b5ab15b53f8e81cad895cc2d3dc29e0e
Merged-In: If6965979b5ab15b53f8e81cad895cc2d3dc29e0e
The UCE APIs are not ready to be released in Android R
due to gaps in the API surface for Presence exchange cases.
Bug: 149051280
Test: atest CtsTelephonyTestCases
Change-Id: I2f9cb828c07d7246981424c51d479164512b22a5
Replace them with public alternatives.
Bug: 140908357
Test: build
Change-Id: Ib40da3702c64c36613555d61451442eeaf1f2f35
Merged-In: Ib40da3702c64c36613555d61451442eeaf1f2f35
Added debug information support for DBGF. Follow the steps below
to see the debug info.
1. Dial *#*#CMAS#*#* in the dialer to enable cell broadcast testing
mode on a debug build.
2. Go to emergency alert settings->emergency alert history
3. On the right-upper corner, choose "show all messages".
4. Long press on the message and select show message details.
Test: Manual
Bug: 144152683
Merged-In: I791a8a482705ff2fd53f77a56c02969f020f888d
Change-Id: I791a8a482705ff2fd53f77a56c02969f020f888d
(cherry picked from commit b670fbd0fe)
Rename isDataCapable to isDataConnectionEnabled as a System API for
System UI.
Cherry-picking TelephonyManager part of ag/10063635
Test: RILTest; Treehugger; cts
Bug: 147017757
Merged-In: I96b45575eb7f030f3dcb9539c06f8ec25539e2e9
Merged-In: I19ac83f5865e8763cd9414c41d4609f79d0db164
(cherry picked from commit 291415806f)
Change-Id: I96b45575eb7f030f3dcb9539c06f8ec25539e2e9
Added a broadcast for area info changed event, and
also a get method in cell broadcast service to
retrieve the area info.
Test: Cell broadcast sanity tests
Bug: 141318859
Merged-In: I5995e3c5099a1e49cb0c54d33da1dbfcc94d4037
Change-Id: I5995e3c5099a1e49cb0c54d33da1dbfcc94d4037
(cherry picked from commit afaa71d418)
In order to be consistent with other existing APIs.
Test: Build
Bug: 146563563
Merged-In: Iac8d9abe3b011485ffe8220d94f25f99d022014b
Change-Id: Iac8d9abe3b011485ffe8220d94f25f99d022014b
(cherry picked from commit e94a7a4f97)
TelephonyManager.
The purpose is to expose them as @SystemApi as they are used externally.
Bug: 140908357
Test: unittest
Change-Id: I3dabcb853ebbd648b20d97b446db11476780be25
Merged-In: I3dabcb853ebbd648b20d97b446db11476780be25
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)
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
INetworkPolicyManager is a raw AIDL file which won't expose
as system API. Let's communicate with network policy service
through NetworkPolicyManager instead. Context.NETWORK_POLICY_SERVICE
is @SystemApi.
Bug: 138306002
Test: atest FrameworksNetTests
atest FrameworksTelephonyTests
Change-Id: I41bc1cce08f81e2d822250f2d620bff7afe4329b
Merged-In: I41bc1cce08f81e2d822250f2d620bff7afe4329b
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)