Also deprecated tethering APIs in ConnectivityManager.
Will have follow up change to remove @hide tethering function in
ConnectivityManager.
Bug: 145093446
Bug: 148038547
Test: -build, flash, boot
-atest TetheringTests
Change-Id: Ia432057bf9056727c4a0ca97d160a49274d33581
Add Wifi public/@SystemApi Parcelable AIDLs to
framework.jar AIDL exports so that they can be
referenced outside the Wifi module.
Create a new folder "aidl-export" to separate
the AIDLs we want to export to allow external
callers to reference in their AIDL. Private AIDLs
remain in the "java" folder.
Bug: 140299412
Test: compiles
Change-Id: I4e0dc1119bf2b49865c9b5cdf23c571528228902
Bug: 140873586
Test: Manually tested the configs using the following commands:
adb shell cmd phone cc get-value [KEY]
adb shell cmd phone cc set-value [KEY] [VALUE]
Change-Id: I56672f8ac622fb6226dccd3d91e8d81e6124a16b
The Identity Credential APIs provides an interface to a secure store
for user identity documents. These APIs are deliberately fairly
general and abstract. To the extent possible, specification of the
message formats and semantics of communication with credential
verification devices and Issuing Authorities (IAs) is out of scope for
these APIs.
The Identity Credential APIs rely on user authentication to protect
data elements in credentials which is implemented through
auth-tokens. This CL contains changes to CryptoObject to allow this.
Bug: 111446262
Test: CtsIdentityTestCases
Change-Id: I48f21a561b762d86c9ca8d229962782572412f47
At this point framework-wifi will not depend on
any @hide APIs.
Previous attempt broke git_master/apps target.
Bug: 140299412
Change-Id: Idf4c1d22f96c01ae9c117742dcfe83929ab545ae
Test: boots up and connects to Wifi
Stop exporting @hide APIs from framework-wifi
to framework.jar by including framework-wifi-stubs
instead. At this point no code is allowed to call @hide APIs
defined in framework-wifi unless they have an explicit
exemption.
Attempt 1 broke the build, trying again.
Bug: 140299412
Change-Id: I3eecb0a5f6b1c0be85d684d190465d591994d99f
Test: boots up and connects to Wifi
Remove AIDL exports to not leak internal
implementation as AIDL is not an official API
of the Wifi module.
Previous attempt broke the build.
Bug: 147757606
Change-Id: I2edeeccf83b9460881c5d4ccc6bd5d6e3befa700
Test: compiles
As part of getting rid of StatsLogInternal and moving every atom to be
logged from a module, this CL addresses 2 issues:
1. Add WorkSource logging to modules.
2. Gate WorkSource logging via a CLI flag to prevent WorkSource methods
from being included in modules that are Mainline modules and can't have
@hide calls.
Bug: 147541828
Test: m
Test: atest android.cts.statsd.atom.UidAtomTests
Change-Id: Icce2f6ed7298be5e5ceebfb05d87e6fa7cd6bdbb
The defaults module specifies AIDL paths that are exported to the
clients of framework or framework-minus-apex libraries. Therefore, it
doesn't need to be inherited to framework-annotation-proc whose purpose
is just to run the annotation processor and isn't linked to anyone.
Also moved the 'required' property to the other defaults
'framework-defaults' since the property has nothing to do with exporting
aidl directories.
Bug: N/A
Test: m
Change-Id: Ied8522eec5c03d3162e6ae22a08e21f31dc528d2
Build framework-telephony-stubs against
core_current so that it can be linked by
framework-wifi, which will also be built
against core_current.
Bug: 140908357
Test: device boots up
Change-Id: I20bf13a100d6dfca06c4e108a837987234ec2b38
Bug: 135998869
Test: Compiles
Test: Number of compile errors when compiled against system_current
reduces.
Change-Id: I67d2a435e8fd8c823b6cb1bf4becb01362dcc5e0
This allows apps to specify the minimum versions they need
of extension sdks, and fails install if they aren't met.
There is additional work required to prevent local rollbacks
from triggering a downgrade of SDK versions after an install.
Bug: 137191822
Test: atest PackageParserTest
Exempt-From-Owner-Approval: PS4 was approved
Change-Id: If61ae6c67ceb752bec6876006a29e52b996901e7
Add protobuf dumpsys of connmetrics. Primarily used by incident service
to capture an incident report proto.
Currently, "proto" is used to dump the ring buffer in base64-encoded
proto. The newly added "--proto" arg is a dumpsys convention to dump
a service in proto wire format. This change reuses most of the code
for executing "proto". Other cmds remain unchanged.
Command to invoke (any of the following after lunch and env setup):
$ adb shell dumpsys connmetrics --proto
$ incident_report 3049
Bug: 146086778
Test: $ incident_report 3049, then compare the content with "dumpsys
connmetrics"
Change-Id: Ief2297d99aeb553224a83894ba3b9695ff0b87aa
Stop exporting @hide APIs from framework-wifi
to framework.jar by including framework-wifi-stubs
instead.
Bug: 140299412
Test: boots up and connects to Wifi
Change-Id: If790ea3ac4e6587b28063eac59295cb875a8ce35
Remove AIDL exports to not leak internal
implementation as AIDL is not an official API
of the Wifi module.
Bug: 140299412
Test: device boots up and connects to wifi
Change-Id: I52bb63a2ae9df2c2f9e9868a20c66418a420e3b6
Add an API for priv and system app to register a dump callback with
Incident Service.
Bug: 145924375
Test: Register a callback dumping a string. Capture an incident report
and verify that the customized section exist.
Change-Id: I6fff6c1ee97e25963068d284ba37adce1bb5ec31
They directly construct the proto in frameworks.jar.
The API is not yet implemented.
Test: atest CtsAppSearchTestCases
Bug: 145635424
Change-Id: I4f708fa845a87f171ace437788d2c45161fc38ff
As IKE is used in the frameworks for IKEv2/IPsec VPNs, IKE stubs
must be built and added to the frameworks build process
Bug: 147096727
Test: build, flash, boot
Test: FrameworksNetTests, FrameworksIkeTests passing
Change-Id: I51aad4ab800442d018bb170225c114a4ae5ea3b1
(cherry picked from commit 589b6ffe7c)
Merged-In: I51aad4ab800442d018bb170225c114a4ae5ea3b1