* Introduces a set of capabilities specific for the radio interface
that are determined by the vendor and are then surfaced through
TelephonyManager.
* There are no capabilities yet defined and will come later in S
Test: Added cts, ran cts, and telephony tests
Bug: 163085807
Change-Id: I56713e05cbd5200baa2a3bc79f7f4b0d580ad2a1
* Added wiring for the apn unthrottled indication
* Added method to QNS that is notified when there is a change to
the way an APN is throttled.
Test: Ran telephony tests
Test: Booted up device
Test: Checked for log message in
NetworkAvailabilityProvider#onReportApnThrottleStatusChanged
Bug: 167434852
Change-Id: Ia4dd3036f583a97e42b6054019005df1b33dc33c
Expose broadcasts for communicating certain changes in state between
Telephony and carrier apps.
Implement a backward-compatibility layer to support carrier apps
targeting <=R that are listening to the old hidden broadcasts.
Fixes: 173050428
Test: atest CarrierSignalTest CarrierSignalAgentTest
Change-Id: I15d032ee1e31d9be847c2f084161f8555c8172c1
Added startHandover and cancelHandover to DataService and DataServiceManager
so that it can be called by data connection
Test: Tested that handover still worked with logs. IWlan -> Cell + Cell -> IWlan
Bug: 155176305
Change-Id: Ia59d7e9bf9a450da4b51a2884166d3b0fa93a7c9
Provide API to retrive bandwidth per primary carrier
and secondary carrier
Bug: 162373679
Test: New CTS test, unit test, build
Change-Id: I3e8152d22fb9602c7d2ffdee681ac5d69c5dd3fd
Add support for:
- reporting of incoming DTMF tones from IMS stack.
- incoming/outgoing RTP header extension data.
Test: Added unit tests where possible.
Test: Added test intents to inject test data into framework for platform
testing.
Bug: 163085177
Change-Id: If34faeba0461c677a1381c82ead4a79c607bcf13
These are APIs that have @UnsupportedAppUsage but for which we don't
have any evidence of them currently being used, so should be safe to
remove from the unsupported list.
Bug: 170729553
Test: Treehugger
Merged-In: I8285daa8530260251ecad6f3f38f98e263629ca7
Change-Id: I626caf7c1fe46c5ab1f39c2895b42a34319f771a
1. Rename setDataEnabledWithReason to
setDataEnabledForReasn
2. Allow isDataConnectionAllowed to be accessed by
same apps as isDataEnabledForReason
3. Make these apis public
Bug: 156332911
Test: cts and build
Change-Id: I8672ab8861fdec1854427ee9ce5ad8eec8774608
Merged-In: I8672ab8861fdec1854427ee9ce5ad8eec8774608
Support api to control data by thermal service
Restructure data enablement API to have single API
with reason as an input to stop adding new apis
for new usecases.
Bug: 151342791
Test: added new CTS tests and verified
Change-Id: I763c422ba54907984977d19b2774c31337e5ffe5
Merged-In: I763c422ba54907984977d19b2774c31337e5ffe5
* Add in HAL support for AOSP allocating pdu session ids from modem
* Add in HAL support that notifies modem when a handover has begun and was cannceled
(clean cherry pick)
Test: N/A
Bug: 161572859
Merged-In: I1637fe48c785eae28f04e55cdb6fcabd606d744f
Change-Id: I58f6803a7e3eeccd3077dca888e2a4021f47b57f
These are APIs that have @UnsupportedAppUsage but for which we don't
have any evidence of them currently being used, so should be safe to
remove from the unsupported list.
This is a resubmit of ag/12929664 with some APIs excluded that caused
test failures; see bugs 171886397, 171888296, 171864568.
APIs excluded:
Landroid/bluetooth/le/ScanRecord;->parseFromBytes([B)Landroid/bluetooth/le/ScanRecord;
Landroid/os/Process;->myPpid()I
Landroid/os/SharedMemory;->getFd()I
Landroid/hardware/input/InputManager;->INJECT_INPUT_EVENT_MODE_WAIT_FOR_FINISH:I
Bug: 170729553
Test: Treehugger
Change-Id: I8285daa8530260251ecad6f3f38f98e263629ca7
* Add in HAL support for AOSP allocating pdu session ids from modem
* Add in HAL support that notifies modem when a handover has begun and was cannceled
Test: N/A
Bug: 161572859
Change-Id: I1637fe48c785eae28f04e55cdb6fcabd606d744f
These are APIs that have @UnsupportedAppUsage but for which we don't
have any evidence of them currently being used, so should be safe to
remove from the unsupported list.
Bug: 170729553
Test: Treehugger
Change-Id: I4c8fd0006f950de9955242e93968fb0996ceb372
Expose the call forwarding and call waiting APIs, update their
documentation, and convert them to async APIs due to their dependence on
network communication.
Fixes: 168655869
Test: atest android.telephony.cts.TelephonyManagerTest
Change-Id: Ic20bc99314c8538a3f75f6af9c37bc4d30781825
Merged-In: Ic20bc99314c8538a3f75f6af9c37bc4d30781825
Add isMobileDataPolicyEnabled and setMobileDataPolicyEnabledStatus in
TelephonyManager. These are intended to replace the mms-always-allowed
and data-during-voice-call setters/getters.
Old methods will be removed in a follow up commit.
Fixes: 169367013
Test: atest TelephonyManagerTest
Change-Id: I6033a84f0a0163e460343ebf603d66078455fe38
Merged-In: I6033a84f0a0163e460343ebf603d66078455fe38
Create base SipTransport implementation and make it available to
listeners.
Expose new SipDelegate creation capability to the framework from the
ImsService.
The next CL will start the integration of the SipDelegateManager
with the framework and SipTransport.
Bug: 154763999
Test: atest FrameworksTelephonyTests TeleServiceTests
Merged-In: I9a51b850f370a865c9d9109f238e8ed2eea4b6f6
Change-Id: I9a51b850f370a865c9d9109f238e8ed2eea4b6f6
Create base SipTransport implementation and make it available to
listeners.
Expose new SipDelegate creation capability to the framework from the
ImsService.
The next CL will start the integration of the SipDelegateManager
with the framework and SipTransport.
Bug: 154763999
Test: atest FrameworksTelephonyTests TeleServiceTests
Change-Id: I9a51b850f370a865c9d9109f238e8ed2eea4b6f6
Instead of having a special case for ImsManager#getInstance,
implement it properly.
Test: atest CtsTelephonyTestCases
Merged-In: I2e986fb2a1086043a25b11c71c005481cea74196
Change-Id: I2e986fb2a1086043a25b11c71c005481cea74196
[RESUBMISSION AFTER REVERT aosp/1443078]
Instead of requiring that listeners poll for an ImsFeature binder
when they go down, modify interfaces to notify listeners when a
new instance of a Binder is available.
Test: atest CtsTelephonyTestCases FrameworksTelephonyTests ImsCommonTests
Test: manual E2E tests of IMS functionality (call, SMS, settings...)
Merged-In: I0bb48f82ecf7a1283be8fd441a787dff587d6d61
Change-Id: I0bb48f82ecf7a1283be8fd441a787dff587d6d61