Commit Graph

1332 Commits

Author SHA1 Message Date
Yu-Han Yang
c622cdf66c Merge "Add inter-signal bias fields to GnssMeasurement and GnssClock" 2020-01-23 20:35:28 +00:00
Yu-Han Yang
ad03c47369 Add inter-signal bias fields to GnssMeasurement and GnssClock
Bug: 147500886

Test: atest GnssMeasurementTest
      atest GnssClockTest

Change-Id: I8adaf1c1b0f6478695ca9b4768568af0ebfb11d4
2020-01-22 16:42:19 -08:00
TreeHugger Robot
0868e078eb Merge "Clean framework-aidl-export-defaults up" 2020-01-23 00:20:00 +00:00
Remi NGUYEN VAN
a96f449ce2 Merge "Make TetheringManager to system API" 2020-01-23 00:11:49 +00:00
markchien
40898cacc2 Make TetheringManager to system API
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
2020-01-23 00:41:59 +09:00
Mike Ma
6bf8baead4 Merge "Dump connmetrics in protobuf format" 2020-01-22 09:21:16 +00:00
TreeHugger Robot
50b22317ff Merge "Add configs for ePDG" 2020-01-22 01:15:07 +00:00
David Su
6dcd768873 Export Wifi Parcelables AIDLs from framework.jar
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
2020-01-21 13:21:40 -08:00
Dheeraj Shetty
81a4f4ee28 Add configs for ePDG
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
2020-01-21 11:24:21 -08:00
David Su
c1728f1613 Merge changes from topics "framework-jar-build-against-framework-wifi-stubs", "settings-suggestions-apis"
* changes:
  framework.jar - include framework-wifi-stubs instead of framework-wifi (Attempt 2)
  Expose WifiNetworkSuggestion.getWifi/PasspointConfiguration()
2020-01-21 17:05:24 +00:00
David Su
9e208ff677 Merge changes from topic "revert-10057725-IDGRNKQGYI"
* changes:
  Build framework-wifi against core_current & framework-system-stubs (Attempt 2)
  Fully qualify android.net.wifi.ScanResult
2020-01-21 17:04:30 +00:00
Automerger Merge Worker
310f576b7f Merge "Add Framework APIs for Identity Credential." am: 2fb5112a35 am: 70485380f7 am: 6079e88fae
Change-Id: Iec2c6c1ec28b5697b8d2b444081a3240bea2af9e
2020-01-21 15:12:56 +00:00
Treehugger Robot
2fb5112a35 Merge "Add Framework APIs for Identity Credential." 2020-01-21 14:38:14 +00:00
Automerger Merge Worker
b4bae8a503 Merge "Set the visibility of framework-core-sources-for-test-mock" am: a77e4c3ad3 am: af31927d4d am: d0ba5601aa
Change-Id: I3d008d2633785d74a560b7832158caadc4eef8bc
2020-01-21 09:44:41 +00:00
David Zeuthen
045b6de975 Add Framework APIs for Identity Credential.
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
2020-01-20 15:56:57 -05:00
Henry Fang
43cab92abe Framework support cas@1.2
Test: Manual
bug: 141783130
Change-Id: I62d42ad51444b8d58282f5d6992ba6f2169dd6d3
2020-01-19 22:28:44 +00:00
David Su
439175f1b9 Build framework-wifi against core_current & framework-system-stubs (Attempt 2)
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
2020-01-17 17:15:58 -08:00
David Su
298cd36e58 framework.jar - include framework-wifi-stubs instead of framework-wifi (Attempt 2)
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
2020-01-17 15:12:36 -08:00
Xiangyu/Malcolm Chen
179e23dfe9 Merge "Copy @hide util files into framework-telephony." 2020-01-17 21:38:39 +00:00
David Su
36a63e59a5 Merge "framework-wifi: clean up AIDL exports (Attempt 2)" 2020-01-17 21:06:49 +00:00
TreeHugger Robot
19d17f359d Merge "Add flag to stats-log-api-gen for WorkSource." 2020-01-17 19:32:45 +00:00
David Su
c651359200 framework-wifi: clean up AIDL exports (Attempt 2)
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
2020-01-17 11:05:33 -08:00
Muhammad Qureshi
ad94425b15 Add flag to stats-log-api-gen for WorkSource.
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
2020-01-17 08:36:52 -08:00
Jiyong Park
392729fcc9 Clean framework-aidl-export-defaults up
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
2020-01-17 16:35:12 +09:00
Jiyong Park
673e298ba5 Set the visibility of framework-core-sources-for-test-mock
It is visible only to frameworks/base/test-mock as its name says.

Bug: N/A
Test: m
Change-Id: I0ad1bfe038f8b494bfbb0e0015cfe0565934a229
2020-01-17 16:15:35 +09:00
David Su
c976e8663a Build framework-telephony-stubs against core_current
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
2020-01-16 20:56:18 -08:00
Roshan Pius
364042007d Merge "wifi-service: Jar-Jar net util sources" 2020-01-17 02:04:14 +00:00
Roshan Pius
02432980d0 wifi-service: Jar-Jar net util sources
Bug: 135998869
Test: Compiles
Test: Number of compile errors when compiled against system_current
reduces.

Change-Id: I67d2a435e8fd8c823b6cb1bf4becb01362dcc5e0
2020-01-16 14:35:43 -08:00
Malcolm Chen
58b59a5ea4 Copy @hide util files into framework-telephony.
Also add jarjar rules for them.

Bug: 140908357
Test: build
Change-Id: I4411be058a002a4339ea563f444de9f4c0b67f23
2020-01-16 14:32:50 -08:00
Chen Xu
546ce5e45e modularize telephony-framework from framework.jar
Bug: 140908357
Test: Build & Manaul
Change-Id: Idd4cbdb84247b98072b6ebc00a37168fde6fbbaa
2020-01-16 14:32:50 -08:00
Anton Hansson
b2f709db1d Add <extension-sdk> manifest tag inside <uses-sdk>
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
2020-01-16 11:59:52 +00:00
Mike Ma
d2672bda9c Dump connmetrics in protobuf format
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
2020-01-15 17:13:37 -08:00
David Su
15858efcc0 Merge changes from topic "framework-jar-build-against-framework-wifi-stubs"
* changes:
  framework.jar - include framework-wifi-stubs instead of framework-wifi
  Expose WifiConfiguration.SuiteBCipher
2020-01-15 23:22:19 +00:00
Hai Zhang
82a6227fc7 Allow adding framework and service java code into permission APEX.
Along with two empty classes to make build happy.

Bug: 136503238
Test: presubmit
Change-Id: Ib706a7ac4d09374ce220961f9439f712a38f7c0c
2020-01-15 13:56:17 -08:00
David Su
1c83ec6639 Merge "Revert "framework-wifi: clean up AIDL exports"" 2020-01-15 20:57:58 +00:00
David Su
03e42a6d68 Revert "framework-wifi: clean up AIDL exports"
This reverts commit 537d8d9e2b.

Reason for revert: Broke build

Change-Id: Ia69c60050203b1124baf8d1304e837854a1f8bc9
2020-01-15 20:50:43 +00:00
Automerger Merge Worker
222a6bbe4a Merge "Statically link AsyncChannel/AsyncService in telephony" am: ff3210b045 am: 08b5032d41 am: 8ed7da2b52
Change-Id: If820b7cb78648834a4f62ab14bafa5317effbe80
2020-01-15 20:10:09 +00:00
David Su
c23eeb815c Merge "framework-wifi: clean up AIDL exports" 2020-01-15 19:47:25 +00:00
David Su
eb2572959a framework.jar - include framework-wifi-stubs instead of framework-wifi
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
2020-01-15 11:43:51 -08:00
Treehugger Robot
ff3210b045 Merge "Statically link AsyncChannel/AsyncService in telephony" 2020-01-15 19:35:22 +00:00
Mike Ma
73287d1ab3 Merge "Incident Report Extension API" 2020-01-15 19:27:55 +00:00
Automerger Merge Worker
723cf79d04 Merge "Statically include @StringDef in IKE module" am: 259781e84a am: 3cd4501529 am: f49f206a02
Change-Id: Icb47ca3f788fd1ba6410156ae754ef995bf8f609
2020-01-15 18:41:29 +00:00
Yan Yan
259781e84a Merge "Statically include @StringDef in IKE module" 2020-01-15 18:16:00 +00:00
David Su
537d8d9e2b framework-wifi: clean up AIDL exports
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
2020-01-14 16:47:19 -08:00
Mike Ma
643de9238b Incident Report Extension API
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
2020-01-14 16:45:33 -08:00
Meng Wang
3043dac37a Statically link AsyncChannel/AsyncService in telephony
Bug: 137202333
Test: make
Change-Id: I14512b3c65d9a0a0ddb08c9e69a072141accfab5
2020-01-14 14:21:50 -08:00
Yan Yan
a32fcb74e5 Merge "Add module IPsec(IKE) stubs and sources to platform" 2020-01-14 18:17:24 +00:00
evitayan
bddbfb03a8 Statically include @StringDef in IKE module
Bug: 146360859
Test: build, flash, boot
Test: atest FrameworksIkeTests
Change-Id: I85216a62ff56e1d635d486cd5b3c2a63ee93843c
2020-01-13 21:31:00 -08:00
Alexander Dorokhine
0e8fa4e65b Add a SetSchema API and builders.
They directly construct the proto in frameworks.jar.

The API is not yet implemented.

Test: atest CtsAppSearchTestCases
Bug: 145635424
Change-Id: I4f708fa845a87f171ace437788d2c45161fc38ff
2020-01-13 20:22:20 -08:00
Benedict Wong
7f58c0d848 Add module IPsec(IKE) stubs and sources to platform
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
2020-01-13 20:16:56 -08:00