Commit Graph

8833 Commits

Author SHA1 Message Date
Jovana Knezevic
873cc29e53 Merge "Switching to pre-created users should not be supported." 2020-01-27 20:59:22 +00:00
Jayant Chowdhary
1636af3a1a Merge "camera2: Add apis for querying concurrent streaming support." 2020-01-27 18:24:07 +00:00
TreeHugger Robot
c99357ab0a Merge "Add hinge angle sensor feature to PackageManager" 2020-01-27 16:54:07 +00:00
Brad Ebinger
854d2ff9a5 Merge "Make remaining UCE related APIs @SystemApi" 2020-01-27 16:47:44 +00:00
Remi NGUYEN VAN
d2d2ea298a Merge "Add support for Ethernet tethering" 2020-01-27 13:01:29 +00:00
Remi NGUYEN VAN
84229e0a8e Add support for Ethernet tethering
Ethernet tethering can be started via
startTethering(TETHERING_ETHERNET).

Test: flashed, enabled ethernet tethering, verified internet access on
      downstream.
Bug: 130840861

Change-Id: I34842acd94b972e440c3622f7617df10c18acf65
2020-01-27 19:31:08 +09:00
Jayant Chowdhary
a24f94b1fe camera2: Add apis for querying concurrent streaming support.
- getConcurrentStreamingCameraIds
- isConcurrentSessionConfigurationSupported

Bug: 77960042

Test: CTS
Test: GCA (Sanity)

Change-Id: I669901ec4b0c897f80193c99939181ac2ddd8b60
Signed-off-by: Jayant Chowdhary <jchowdhary@google.com>
2020-01-26 19:01:05 -08:00
Amit Mahajan
a45fad224b Merge "Move EXTRA_SERVICE_STATE from Intent to ServiceState." 2020-01-25 00:19:42 +00:00
TreeHugger Robot
f61162a002 Merge "Combine package parsing thread pools" 2020-01-24 23:18:57 +00:00
Yuliya Kamatkova
56f7c7f37c Merge "Add Activity#setLocusContext API. Plumb LocusID to the System Server. Add locus update event to the Usage Stats. Test: Build and run on a test device with a test app. Bug: 147594233, 147100454" 2020-01-24 21:10:54 +00:00
Suprabh Shukla
30295f5421 Merge "Add an unsuspend button option to SuspendDialogInfo" 2020-01-24 21:08:21 +00:00
Ying Xu
4b0dec268d Merge "[Telephony Mainline] Remove hidden API usages in CarrierAppUtils" 2020-01-24 20:55:31 +00:00
Anthony Stange
d07018c25d Add hinge angle sensor feature to PackageManager
Bug: 144139857
Test: compile
Change-Id: Icfe8e8769bc89cc457d8ecd2b7eb60c034e4f531
2020-01-24 15:14:25 -05:00
Ömer Nebil Yaveroğlu
8d22767445 Merge "Various API changes including:" 2020-01-24 19:48:30 +00:00
Winson Chiu
6fe95622e9 Merge "Only throw SecurityException for OverlayManager callers targeting R" 2020-01-24 19:40:05 +00:00
Yuliya Kamatkova
48c38076ef Add Activity#setLocusContext API. Plumb LocusID to the System Server.
Add locus update event to the Usage Stats.
Test: Build and run on a test device with a test app.
Bug: 147594233, 147100454

Change-Id: I1e058ac87244d47719606d8dcfaea2df4bff43d2
Signed-off-by: Yuliya Kamatkova <yuliyak@google.com>
2020-01-24 11:19:10 -08:00
Brad Ebinger
6ce757d4e2 Make remaining UCE related APIs @SystemApi
Bug: 111305845
Bug: 147613952
Test: atest CtsTelephonyTestCases
Change-Id: I8fed782e7bef10d6d136fce02e6f1b59d225272b
2020-01-24 09:05:49 -08:00
Omer Nebil Yaveroglu
15395f59a7 Various API changes including:
1. Move isSatisifed into RuleEvaluator to minimise the API surface.
2. Add a new global settings for skipping integrity component for rule
providers.
3. Incorporate changes suggested by API review in http://b/147835536.

Note that this change is forked from ag/9974531.

Test: atest frameworks/base/core/tests/coretests/src/android/content/integrity/
Test: atest frameworks/base/services/tests/servicestests/src/com/android/server/integrity
Bug: 145290357, 147835536
Change-Id: Ic358a83b6bdcd4cb783e6904869f7dc2d136a55e
2020-01-24 10:44:44 +00:00
Automerger Merge Worker
b5505f58b2 Merge "Expose ACTION_USER_SWITCHED as system API" am: e69e147657 am: 7aadbe0e75 am: 436a865387
Change-Id: I84dd658b72c2f5d1d5e3e7333ce0b961b00df9f3
2020-01-24 08:09:01 +00:00
Automerger Merge Worker
b2649eaf0a Merge "Expose MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS as system API" am: 7db161b9ef am: 156a854c72 am: b5b4467941
Change-Id: If5ac1c1528ea6323a83d4fee6f01acb1215b5371
2020-01-24 08:07:39 +00:00
Automerger Merge Worker
54b1d34fc0 Merge changes from topic "add-ikev2-vpn-types" am: adb79e3b39 am: 1ebbd0bb6b am: bb3d6e2e9c
Change-Id: I4ff406efcaada5a9306afc79290cb37bdeef71f2
2020-01-24 07:59:53 +00:00
Amit Mahajan
bb61b17cd9 Move EXTRA_SERVICE_STATE from Intent to ServiceState.
This extra is not exposed and is not used by anyone as such.
Leaving it there for internal use/unsupported app usage.

Test: basic sanity
Bug: 140908357
Change-Id: I9fe6e904291affb1cd7b705212d47525b61a5679
2020-01-24 06:28:05 +00:00
Automerger Merge Worker
7aadbe0e75 Merge "Expose ACTION_USER_SWITCHED as system API" am: e69e147657
Change-Id: Idfb18d0ec6ee68a501b027a266350a0f794011ca
2020-01-24 03:31:41 +00:00
TreeHugger Robot
75b5b13c65 Merge "Add reserved permission flag values for the permission controller" 2020-01-24 01:44:30 +00:00
Meng Wang
ffe0cbe5ca Expose ACTION_USER_SWITCHED as system API
Bug: 148180958
Test: make
Change-Id: I8eb6689c0542869ef7050ce68f1c47e072f1dc01
2020-01-23 17:24:47 -08:00
Peter Wang
09014f1048 [Telephony Mainline] Remove hidden API usages in CarrierAppUtils
Bug: 146904426
Test: Build
Change-Id: Ib307e565b85e7d9a142efc7e3348b823dc46643d
2020-01-24 09:22:25 +08:00
jovanak
a3eab6f7da Switching to pre-created users should not be supported.
Fixes: 146233556
Test: atest UserManagerServiceUserInfoTest, manual
Change-Id: I549ee4e7b3849845519b83970d03726a27aedf27
2020-01-23 16:47:01 -08:00
Meng Wang
156a854c72 Merge "Expose MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS as system API"
am: 7db161b9ef

Change-Id: I7b33c06e8f581ade2a904b26188e13982aeed5bd
2020-01-23 13:23:02 -08:00
Alex Buynytskyy
37009349f0 Merge "Add system API annotation to expose Incremental classes as system APIs." 2020-01-23 20:11:19 +00:00
Treehugger Robot
7db161b9ef Merge "Expose MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS as system API" 2020-01-23 19:28:28 +00:00
Alex Buynytskyy
6f527bfff5 Merge "Streaming Installation API update." 2020-01-23 19:03:34 +00:00
Sudheer Shanka
04ca345ef2 Merge "Update references of "DONT_DELETE_DATA" to "DELETE_KEEP_DATA"." 2020-01-23 18:46:48 +00:00
shengcow
0696c44824 Add system API annotation to expose Incremental classes as system APIs.
Test: None
Change-Id: Iddf69534cd88670af34267287ae8ee63ed24d7c7
Bug: 148217803
2020-01-23 18:09:08 +00:00
Alex Buynytskyy
e069787195 Streaming Installation API update.
- location and streaming signature,
- obtain data loader params.

Test: atest PackageManagerShellCommandTest SplitTests
Bug: b/136132412 b/133435829

Change-Id: I08a06e827aaf8f0eab40fe1d59f5c9826ce6e78b
2020-01-23 08:53:23 -08:00
Ivailo Karamanolev
1a6fad470a Merge changes from topics "add-lights-manager", "lights-aidl-hal"
* changes:
  Add LightsManager implementation to LightsService
  Add Lights AIDL HAL support to LightsService
  Rename Light to LogicalLight to avoid namespace conflicts when adding AIDL HAL lights support.
2020-01-23 16:05:07 +00:00
TreeHugger Robot
b43c634bb4 Merge "Export timestamp of the creation of install session. The timestamp is an useful signal for downstream to determine post-creation operation." 2020-01-23 15:21:55 +00:00
Adrian Roos
d7d9c3e354 Merge "Introduce WindowContext API" 2020-01-23 13:19:08 +00:00
Benedict Wong
1ebbd0bb6b Merge changes from topic "add-ikev2-vpn-types"
am: adb79e3b39

Change-Id: I205121bbd8ef8adbe5e7a5ea1c57bbcac0efae0e
2020-01-22 22:09:41 -08:00
Sudheer Shanka
31961ce780 Update references of "DONT_DELETE_DATA" to "DELETE_KEEP_DATA".
The flag PackageManager.DONT_DELETE_DATA was renamed to DELETE_KEEP_DATA
long ago in commit 7767eac.

Bug: 28343859
Test: n/a
Change-Id: I9e4079ec394f92a3e293df7b80b627e2b6130827
2020-01-22 20:56:31 -08:00
Automerger Merge Worker
b864dc150e Merge changes from topic "connectivity-diagnostics-system-server" am: 9cd249c11a am: 45e0caf5dc am: 1544e76f76
Change-Id: If70281f2989778896eb34ac65bcfe0215393ef60
2020-01-23 03:41:09 +00:00
Benedict Wong
50b444359e Add VpnManger API surface
This change adds the VpnManager, which will be used by apps to install
profiles for all platform VPN types (currently only IKEv2).

Bug: 143325939
Test: Compiles, FrameworksNetTests passing.
Change-Id: I57f854d0a5b18358f3541c24ca0cd8aed03fd7a1
2020-01-22 19:24:24 -08:00
Cody Kesting
45e0caf5dc Merge changes from topic "connectivity-diagnostics-system-server"
am: 9cd249c11a

Change-Id: I48a9f1f734b5e2dd4f7ed91c052cec5c8c62c076
2020-01-22 19:10:05 -08:00
Andrii Kulian
4a31697319 Introduce WindowContext API
Test: atest WmTests CtsWindowManagerDeviceTestCases
Bug: 128338354
Change-Id: I9c9dfc5e7f4edd4c968e60d2ffcbb19b5c72a853
2020-01-22 18:30:29 -08:00
Evan Severson
e80ecd55da Add reserved permission flag values for the permission controller
The permission controller may need flags that are of no interest to
other apps. The definition of these flags should therefore be in the
permission controller.

Bug: 148095482
Test: Compile
Change-Id: I3c20a510bc26315f7d8d04b0c74f8fa68e8d70e2
2020-01-22 17:22:40 -08:00
Dianne Hackborn
6a79f29ce0 Merge "Initial impl issue #143085640: Per-process network access control" 2020-01-23 00:44:14 +00:00
Sam Lin
cc6db40d86 Merge "Add Vulkan dEQP level feature flag" 2020-01-23 00:18:54 +00:00
Meng Wang
c9795600db Expose MATCH_HIDDEN_UNTIL_INSTALLED_COMPONENTS as system API
Bug: 148171847
Test: make
Change-Id: I199e54f8577edc5dc2114c357bee325b9237ee59
2020-01-22 15:15:46 -08:00
Ivailo Karamanolev
090d02ca84 Add LightsManager implementation to LightsService
Includes backend code to support LightsManager binder calls and route
them to the HALs.

Bug: 144979010
Bug: 144978691
Bug: 142715294
Fix: 142230898
Test: atest LightsManagerTest
Test: atest LightsServiceTest
Change-Id: I2db7f2caa432cd1e2389ea5ca6544200ada18675
Exempt-From-Owner-Approval: Reviewed in OOO OWNERS's stead.
2020-01-22 23:49:02 +01:00
Alastair Donaldson
8af0b970cb Add Vulkan dEQP level feature flag
This change adds a feature flag that specifies the date associated
with the Vulkan dEQP tests that a device claims to pass.

Bug: 136573508

Change-Id: I0cec29fe5f69f228faaa2298b7f5b65bcf988dba
2020-01-22 22:19:55 +00:00
Suprabh Shukla
0cb5713fd7 Add an unsuspend button option to SuspendDialogInfo
The suspending app can specify if they want to unsuspend the app on
neutral button tap. This needs to be done by the system so as to
maintain continuity of the users activity tasks.
The system then also needs to communicate to the suspending app when
such an unsuspend has taken place so it can keep any of its internal
data consistent with the current state.

Test:  atest FrameworksServicesTests:PackageManagerSettingsTests
atest FrameworksServicesTests:SuspendDialogInfoTest
atest GtsSuspendAppsTestCases:SuspendPackagesTest

Bug: 134962563
Change-Id: I587b2643eb41519b82b8e2b371a466a9fb650d4b
2020-01-22 12:26:32 -08:00