Commit Graph

23025 Commits

Author SHA1 Message Date
TreeHugger Robot
1444690e53 Merge changes I1d901692,I3e0bca75
* changes:
  ControllerLink: Remove unused parameter asSystemService
  MediaController: Remove dispatching key event as system service APIs
2019-01-30 01:53:50 +00:00
Mathieu Chartier
4625b2e489 Merge "Add runtime_native namespace for properties" 2019-01-30 01:15:36 +00:00
Michele Berionne
19939bdbe0 Merge "Add APIs to get/set if usage of multiple SIMs is restricted." 2019-01-30 01:14:22 +00:00
Android Build Merger (Role)
664d979587 Merge "Merge "Add IntRange and FloatRange annotations" am: 94a9377222 am: 74798a771a am: 7c3084c349" 2019-01-30 01:05:05 +00:00
Chen Xu
60a12e3118 Merge "Add IntRange and FloatRange annotations" am: 94a9377222 am: 74798a771a
am: 7c3084c349

Change-Id: Ic838b99e169e2fd144e51199e41560efdf663fea
2019-01-29 17:04:30 -08:00
TreeHugger Robot
d070768d8d Merge "Move MediaMetadata class back to framework" 2019-01-30 01:04:04 +00:00
Chen Xu
7c3084c349 Merge "Add IntRange and FloatRange annotations" am: 94a9377222
am: 74798a771a

Change-Id: I6353003144e4c2cf5882d20d2d37921dc69b4bcf
2019-01-29 16:43:48 -08:00
Evan Laird
a194630221 Merge "Add StatusBarManager#disableForSetup(boolean) @SystemApi" 2019-01-30 00:20:19 +00:00
Evan Laird
3cc59ebe93 Merge "Remove @hide from top-level StatusBarManager" 2019-01-30 00:19:19 +00:00
Mathieu Chartier
7f11eb9057 Add runtime_native namespace for properties
Create a namespace for runtime native properties, java language
properties will be added in a later CL.

Bug: 111397239
Bug: 120794191
Bug: 123524494

Test: adb shell device_config put runtime_native gctype CC,preverify
Test: verify the property is set correctly
Exempt-From-Owner-Approval: Previously approved

Change-Id: I84ec84f0befdbf778b9cef43991b63fbab3b0943
2019-01-30 00:15:59 +00:00
Chen Xu
94a9377222 Merge "Add IntRange and FloatRange annotations" 2019-01-30 00:06:23 +00:00
Jordan Liu
9824ab022b Merge "Card ID APIs are public" am: bd4a4dc889 am: a039e692a4
am: 316dc44a91

Change-Id: Ibb4966a27a96f1e50b42f616556a4e843050557a
2019-01-29 15:42:07 -08:00
Jordan Liu
316dc44a91 Merge "Card ID APIs are public" am: bd4a4dc889
am: a039e692a4

Change-Id: I6041944772567794b79a355c9f77767ed61c0f76
2019-01-29 15:18:21 -08:00
Adam He
b278ec3836 Merge changes from topics "dsiable_settings_2", "disable_cc_settings"
* changes:
  Added new APIs to let ContentCaptureService enable / disable the feature.
  Added new APIs to let Settings enable / disable ContentCapture
2019-01-29 22:46:24 +00:00
Jordan Liu
bd4a4dc889 Merge "Card ID APIs are public" 2019-01-29 22:43:47 +00:00
TreeHugger Robot
6296773cd0 Merge "Camera: Unhide Key constructors" 2019-01-29 22:35:45 +00:00
TreeHugger Robot
526e9a00da Merge "FEATURE_FINGERPRINT is back to android.hardware.fingerprint" 2019-01-29 22:23:21 +00:00
Pavel Grafov
0c0af4b0cc Merge "Whitelist packages from VPN lockdown: DPM API." into pi-dev-plus-aosp
am: 299f825678

Change-Id: I3deb4a865e109e2b2e67dc7d8ffc775747f34303
2019-01-29 14:13:19 -08:00
chen xu
e0a3eb90d9 Add IntRange and FloatRange annotations
Bug: 123223163
Test: Build
Change-Id: I17f27075007df642ec93e5b762b0717da4a1e927
2019-01-29 13:58:29 -08:00
Philip P. Moltmann
5fb9cef346 Merge "New device config to enable location perm re-up" 2019-01-29 21:55:12 +00:00
TreeHugger Robot
299f825678 Merge "Whitelist packages from VPN lockdown: DPM API." into pi-dev-plus-aosp 2019-01-29 21:44:13 +00:00
Gustav Sennton
78ce9ed65b Merge "Update the notification_assistant DeviceConfig namespace." 2019-01-29 21:05:47 +00:00
Michele
398d5d9113 Add APIs to get/set if usage of multiple SIMs is restricted.
Add API that indicates if the usage of multiple SIMs at the same time is
allowed or restricted in order to support requirements from carriers for
dual SIM devices

Bug: 123537730
Test: Verified with test application.
Change-Id: I5e3e5ff41927e43ead4a30988630cf9125d5a048
2019-01-29 12:56:53 -08:00
Sooraj Sasindran
d42041fe96 Merge "Define more thresholds for opportunistic data" am: cf2e069962
am: c3bf9392ac

Change-Id: I44cd2e063fd5587ee7abf77e22acca7b08953a02
2019-01-29 12:21:17 -08:00
Amith Yamasani
173af94d25 Merge "Introduce a new process state for location fg service" 2019-01-29 20:07:13 +00:00
Sooraj Sasindran
cf2e069962 Merge "Define more thresholds for opportunistic data" 2019-01-29 19:43:26 +00:00
Pavel Grafov
5cba336daf Whitelist packages from VPN lockdown: DPM API.
Bug: 77468593
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpn
Test: atest MixedDeviceOwnerTest#testAlwaysOnVpnAcrossReboot
Change-Id: I7508070f828fb7150df5d9e34846535d57c6a7c3
2019-01-29 19:37:21 +00:00
Joe Onorato
917955a4e6 Merge changes from topic "bug and incident report approval"
* changes:
  Add IncidentCompanionService
  Added a new "incidentReportApprover" permission protection flag.
2019-01-29 19:34:40 +00:00
TreeHugger Robot
7447f3bda9 Merge "Add privacy platform flags." 2019-01-29 19:00:10 +00:00
Jordan Liu
d6c684fff4 Card ID APIs are public
These were system API but we should expose them for apps with carrier
privileges.

Test: manual
Bug: 122974656
Change-Id: Ie60e4c580dfa9dd0d7d6fb6b94226661d0620dad
2019-01-29 10:55:35 -08:00
Chen Xu
0b409e8cc0 Merge "new API for IMS call fail cause" 2019-01-29 18:37:10 +00:00
Roshan Pius
5af35cba45 Merge "WifiNetworkConfigBuilder: Split into 2 separate builders" 2019-01-29 18:25:21 +00:00
Roshan Pius
3409263cba WifiNetworkConfigBuilder: Split into 2 separate builders
Split the existing WifiNetworkConfigBuilder into 2 separate builders,
one for building WifiNetworkSuggestion and one for WifiNetworkSpecifier.

Other changes in the CL:
a) Marked the constructor of the abstract NetworkSpecifier class public
to allow WifiNetworkSpecifier.Builder() (& hence WifiNetworkSpecifier) to
be public. The alternative is to put the builder for WifiNetworkSpecifier
in some other file (like WifiManager)
b) Mark WifiNetworkSpecifier class public to make it's builder visible.
c) Modify the documentation (& usage example) for WifiNetworkSpecifier
builder to explicitly call out that this can only be used for a local
wifi connection (i.e no internet capability).

Bug: 123313291
Test: ./frameworks/base/wifi/tests/runtests.sh
Test: make docs
Change-Id: I1a5fcff886124010222e112dbca92797a514b6d9
2019-01-29 10:23:46 -08:00
TreeHugger Robot
c62d5fab0a Merge "Moved Content Capture settings to DeviceConfig." 2019-01-29 18:22:07 +00:00
Sooraj Sasindran
b2177dce50 Merge "Define more thresholds for opportunistic data" 2019-01-29 18:19:18 +00:00
Joe Onorato
e21ab7eab4 Add IncidentCompanionService
It is a helper in the system process that helps dumpstate and incidentd get
user confirmation to share reports

Bug: 123543706
Test: bit GooglePermissionControllerTest:*
Change-Id: Ia3fe4bd5257044ed89fe56ce683876fa03ba6c36
2019-01-29 09:59:28 -08:00
Joe Onorato
5a15b55107 Added a new "incidentReportApprover" permission protection flag.
This gives the ONE app installed on the system the permission to
authorize the sharing of incident and bug reports with an app.

Currently that app is PermissionController.  Package Manager
enforces that there is only one installed, and refused to boot
if that isn't the case.

Bug: 123543706
Test: bit GooglePermissionControllerTest:*
Change-Id: I76a7fad0ea36359bbb0ff09669df46202d059dab
2019-01-29 09:59:28 -08:00
TreeHugger Robot
63d14042a2 Merge "Support Slices in Settings Search" 2019-01-29 16:40:57 +00:00
Richard Uhler
2a48c29cb6 Specify status results for RollbackManager.commitRollback.
Rather than implicitly reusing the PackageInstaller status codes.

Bug: 112431924
Test: atest RollbackTest
Change-Id: I86929c0c1a5153c7f58e255e104b30fe96ddeca8
2019-01-29 13:35:56 +00:00
TreeHugger Robot
66a23d0504 Merge "Add a way to record causePackages for rollbacks." 2019-01-29 13:17:22 +00:00
Jaewan Kim
da59389fc9 ControllerLink: Remove unused parameter asSystemService
Bug: 123485698
Test: Build, flash and injected some key events
Change-Id: I1d90169221842fc1c986e40c3a2790c73af260f4
2019-01-29 21:21:52 +09:00
Gustav Sennton
73a8c1b06c Update the notification_assistant DeviceConfig namespace.
To adhere to new API guidelines we here update the
notification_assistant namespace in DeviceConfig.

Bug: 120792826
Test: make ExtServices
    && adb install -r $OUT/system/priv-app/ExtServices/ExtServices.apk
    && atest ExtServicesUnitTests
Change-Id: I85f714931c28c7a35c64b1394992afcd7aa68490
2019-01-29 12:19:27 +00:00
Remi NGUYEN VAN
d0c4680e12 Merge "Add utils connect, setsockopt, bind, sendTo" am: 1e002eede3 am: dfa16fe772
am: 031e0aa44e

Change-Id: I7a1f7071d7b13b5e92fdf1af1686abdd8ceea3d6
2019-01-29 03:53:19 -08:00
Remi NGUYEN VAN
6922228cd9 Merge "Add NetworkUtils utilities to SystemApi" am: 9cc31061fe am: ca1d65e707
am: 08747c5ccb

Change-Id: Ib755bbfc5bb6bff4ada3995b70dfe8fc2d40b4f9
2019-01-29 03:39:27 -08:00
Remi NGUYEN VAN
031e0aa44e Merge "Add utils connect, setsockopt, bind, sendTo" am: 1e002eede3
am: dfa16fe772

Change-Id: Ib5ebe3134fb1d53581b9d91b4f4f142afb5e9fb3
2019-01-29 03:34:23 -08:00
Remi NGUYEN VAN
08747c5ccb Merge "Add NetworkUtils utilities to SystemApi" am: 9cc31061fe
am: ca1d65e707

Change-Id: I978bdb626c1f4c8bbe736c8bad1c74fb6a67b4b5
2019-01-29 03:29:01 -08:00
Richard Uhler
bf5b5c4461 Add a way to record causePackages for rollbacks.
By passing a new causePackages list of VersionedPackage to
commitRollback and adding a RollbackInfo.getCausePackages() method to
retrieve the cause packages for committed rollbacks.

Bug: 112431924
Test: atest RollbackTest
Change-Id: I3b52511fd7e31b6304e7a7c34180dbb4d20f6dbf
2019-01-29 09:20:19 +00:00
Remi NGUYEN VAN
249da094eb Add utils connect, setsockopt, bind, sendTo
The utilities are not supported as public API but required as SystemApi
for the NetworkStack.

Test: flashed, boots, WiFi works
Bug: 112869080
Change-Id: Ia64b3bf9c6c33cf61bed76469ea9963b550bed2b
2019-01-29 17:49:36 +09:00
Remi NGUYEN VAN
5c5f1ba99c Add NetworkUtils utilities to SystemApi
attach*Filter and addArpEntry are necessary for the NetworkStack but are
only usable for apps that have system permissions.
Also includes system API for IpPrefix, LinkAddress, LinkProperties,
Network, and static modifier in ApfCapabilities that were missed in
previous CLs.

Test: Builds, flashed, WiFi works
Bug: 112869080
Change-Id: If141ae6a2f9145f5af64ba002ca44938f39b90a9
2019-01-29 17:30:26 +09:00
Hyundo Moon
a17bf2d0f2 Move MediaMetadata class back to framework
Due to the @UnsupportedAppUsage on
MediaMetadata.getKeyFromMetadataEditorKey, we'd better not to move the
class to APEX. This CL moves the MediaMetadata back to framework.

Also, in order to avoid hidden framework API usages in mainline module,
this CL moves the usage of hidden constructor of MediaMetadata.Builder()
from MediaSessionEngine to MediaSession.

Bug: 123488217
Test: make update-api -j; make -j;
      vendor/google/tools/flashall;
      atest CtsMediaTestCases:android.media.cts.MediaSessionTest;
      atest CtsMediaTestCases:android.media.cts.MediaControllerTest;
Change-Id: I21b4f0f59214478071bb0eafa93bb9538e44bf4e
2019-01-29 17:16:50 +09:00