Commit Graph

99396 Commits

Author SHA1 Message Date
Michael Groover
8142ee3e61 Merge "Make DPM#checkDeviceIdentifierAccess a SystemApi" 2019-12-23 21:26:09 +00:00
Automerger Merge Worker
8a9e2a5ea6 Merge "ServiceManagerProxy: New method implementations" am: b2d8eb58a2 am: b88261b982 am: 3990bf8ba0
Change-Id: I876a25019dc9245671e1ffe53b7e3627877693ff
2019-12-23 20:43:01 +00:00
Automerger Merge Worker
3990bf8ba0 Merge "ServiceManagerProxy: New method implementations" am: b2d8eb58a2 am: b88261b982
Change-Id: Ieef272563ab13c9bad7b7f062f2778bb2a7062d1
2019-12-23 20:22:53 +00:00
TreeHugger Robot
3f7ef32b9f Merge "New API for query trust of a fs-verity certificate" 2019-12-23 20:18:40 +00:00
Jon Spivack
b88261b982 Merge "ServiceManagerProxy: New method implementations"
am: b2d8eb58a2

Change-Id: Ib572a6702fbf4aca5277f2d385a3ce6359d71851
2019-12-23 12:11:22 -08:00
Jon Spivack
b2d8eb58a2 Merge "ServiceManagerProxy: New method implementations" 2019-12-23 20:04:33 +00:00
Victor Hsieh
20fe1f6f22 New API for query trust of a fs-verity certificate
The corresponding service is also added.

The API can be used by a store to know whether their certificate is
trusted on the device. As optimization, they only need to download
.fsv_sig signature file if it will be used.

The API can also be used to gradually switch to stronger key. The store
can query with their certificates in priority order and download the best
signature.

Test: Passed new GTS working in progress
Bug: 142573505
Change-Id: Ic788cd04aeaed35ad62113fe9e7535b8fa63b5ee
2019-12-23 09:21:19 -08:00
Eran Messeri
6125f5fdc6 Merge "Individual attestation: throw if unsupported" 2019-12-23 15:50:51 +00:00
Song Pan
6e3677c0c3 Implement methods in AppIntegrityManagerServiceImpl.
1. Pushing rules.
2. Getting version/rule provider.
3. Handle integrity verification request

Bug:143689885

Test: atest AppIntegrityManagerServiceImplTest
Change-Id: I0f2d554efbd3ba115eab10238908c9c2a3f2139c
2019-12-23 13:24:08 +00:00
Joanne Chung
3468ae5320 Merge "TextLinks API updates." 2019-12-23 02:11:45 +00:00
Anton Hansson
7252d9933a Merge "Stop building against core_platform where possible" 2019-12-22 09:07:32 +00:00
Automerger Merge Worker
f96069b311 Merge changes I4af73809,Iba6a564a,I3305b71e am: 5640e1d836 am: 91ccb1b309
Change-Id: I9a7b50482d2354710f85141fec0bbf9d980b4711
2019-12-22 08:35:11 +00:00
Jiyong Park
91ccb1b309 Merge changes I4af73809,Iba6a564a,I3305b71e
am: 5640e1d836

Change-Id: Ia0bfa4b3135a12f2e38438f192baa6ebb641bc4b
2019-12-22 00:20:17 -08:00
Jiyong Park
5640e1d836 Merge changes I4af73809,Iba6a564a,I3305b71e
* changes:
  Hide com.android.server package with @hide javadoc tag
  Add more enums for the client and process attributes of SystemApi
  SystemApi is parameterized
2019-12-22 08:15:25 +00:00
TreeHugger Robot
41ffe9852c Merge "Allow pullAtomCallbacks to be unregistered in Java" 2019-12-21 08:41:45 +00:00
Anton Hansson
791551a70f Stop building against core_platform where possible
This is not a stable API surface, so modules shouldn't be building
against it. Compiling against core_platform also disables link-checking,
which can hide other problems.

Bug: 137191822
Test: m
Change-Id: I7ce7dad8c02b094c565daf8c178bc6f89bb610ef
2019-12-21 08:11:31 +00:00
Automerger Merge Worker
45b1f5ad60 Merge "Exposing voice connection status system APIs as public API" am: 96e8628049 am: 55cc8b27b8 am: 04e221f3f9
Change-Id: Icd243058227e34171c3c6f72de6d3eaf1fee9d6c
2019-12-21 03:02:41 +00:00
Automerger Merge Worker
04e221f3f9 Merge "Exposing voice connection status system APIs as public API" am: 96e8628049 am: 55cc8b27b8
Change-Id: Ic43b8d82f5caeca0a7339d77f4f53bebc408d871
2019-12-21 02:51:34 +00:00
Shi Lu
55cc8b27b8 Merge "Exposing voice connection status system APIs as public API"
am: 96e8628049

Change-Id: I222a9a2b44050825a4553b4b7baa7dfe7de3e046
2019-12-20 18:39:56 -08:00
Shi Lu
96e8628049 Merge "Exposing voice connection status system APIs as public API" 2019-12-21 02:31:36 +00:00
Steven Thomas
a7872c333d Merge "Switch from allowed display configs to refresh rate range" 2019-12-21 01:43:34 +00:00
TreeHugger Robot
fb3ddfc41d Merge "Use ServiceConnector and @DataClass in companion service" 2019-12-21 01:37:44 +00:00
Eugene Susla
b45b15a701 Use ServiceConnector and @DataClass in companion service
Refactor CompanionDeviceManagerService away from hand-rolled
ServiceConnection management in favor of ServiceConnector

Test: using toy app, ensure companion API still works
Change-Id: I90f937adf4e6f9af2137c77de91ba5cf93fa2212
2019-12-20 15:50:11 -08:00
George Mount
c9cf8c1e40 Merge "Add public access to debug layout bounds flag." 2019-12-20 23:28:32 +00:00
George Mount
658db3c23f Add public access to debug layout bounds flag.
Jetpack compose UI wants to respond to the developer setting
that shows the layout bounds of Views to show layout bounds
of it sub-elements. This API gives access to that value.

Bug: 146676765
Test: New CTS test
Change-Id: I1c45f9e6f0ab1192f231ad34df88e392214fa061
2019-12-20 23:27:57 +00:00
Jing Ji
c7fe838a0f Merge "Add API to allow app to report ANR by its own" 2019-12-20 22:54:56 +00:00
Meng Wang
f28391eb28 Merge "Use Parcelable CellIdentity instead of CellLocation in AIDL." 2019-12-20 22:46:08 +00:00
Automerger Merge Worker
8d0af4a6a9 Merge "Replace import with fully qualified javadoc." am: 31a7838fb1 am: 1d5eed4cb0
Change-Id: I0f1e36b55517c9d875c5351f39940ed4742f3acd
2019-12-20 22:30:59 +00:00
Jeff Sharkey
1d5eed4cb0 Merge "Replace import with fully qualified javadoc."
am: 31a7838fb1

Change-Id: I1ede620fad6dfe3debb7156bf882a27402bfb5d9
2019-12-20 14:15:54 -08:00
TreeHugger Robot
756a623594 Merge "Send broadcast to integrity component during installation." 2019-12-20 22:07:40 +00:00
Automerger Merge Worker
3bb284492d Support @left marker am: 21cc2e5f7d
Change-Id: I55bc7ee5b21dd5cf34da5944c7fad8169a34ca6d
2019-12-20 22:06:01 +00:00
Jeff Sharkey
bb09ee38bc Merge "Adjustments after moving MediaStore inside APEX." 2019-12-20 21:02:55 +00:00
Jeff Sharkey
20d6f2e6e1 Replace import with fully qualified javadoc.
Some internal changes are depending more strongly on annotations
being "leaves" which don't directly reference other parts of the OS,
so replace the direct import of Intent with a qualified javadoc
reference.

Bug: 144247087
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I198d84a755b5e270a19b41328f6a6e152112c40a
Merged-In: I198d84a755b5e270a19b41328f6a6e152112c40a
2019-12-20 14:01:43 -07:00
Jeff Sharkey
1fec28066f Adjustments after moving MediaStore inside APEX.
The "core_platform" SDK technically includes non-stable APIs, so we
need to shift to "core_current" instead.

While we're here, tidy up some older @removed APIs that never shipped
and replace HexEncoding with a local implementation.

Since MediaProvider itself is free to use @hide APIs from its own
framework code in MediaStore.java, we can include all sources
from "framework-mediaprovider-sources" directly.

Also since the "framework-annotations" filegroup in Android.bp is
a very limited subset of leaf source code, it can't directly
reference Intent, so adjust the javadoc so we can drop the "import."

Bug: 144247087
Test: atest --test-mapping packages/providers/MediaProvider
Change-Id: I198d84a755b5e270a19b41328f6a6e152112c40a
2019-12-20 13:52:40 -07:00
Lucas Dupin
21cc2e5f7d Support @left marker
By default cutouts are centered and support a @right marker to allow
them to be right aligned. Let's also support left alignment by
introducing a @left marker.

Test: atest DisplayCutoutTest
Test: manual
Bug: 143222961
Bug: 145707162
Change-Id: Ic5a645bd9f0513f3665f31c8b0f1861585bf30e6
Merged-In: Ic5a645bd9f0513f3665f31c8b0f1861585bf30e6
(cherry picked from commit 6e9636c5e0)
2019-12-20 20:21:25 +00:00
TreeHugger Robot
6f28d5e616 Merge "Migrating Incremental* APIs to PackageManager APIs." 2019-12-20 19:44:43 +00:00
Song Pan
26dee80139 Send broadcast to integrity component during installation.
Change-Id: Icf3d9b8602f0922d1f41a64df6f7e8fa4e23eeb0
Test: locally flashing device and installing app and verifying logcat
2019-12-20 19:06:49 +00:00
Meng Wang
d75f97d21e Use Parcelable CellIdentity instead of CellLocation in AIDL.
Currently CellLocation is passed over AIDL by manually
marshalling/unmarshalling to/from Bundle, and type info
is not preserved in the process.

Bug: 146092124
Test: make
Change-Id: I6225f100953a2ad354acaa261a774989926393ce
2019-12-20 10:50:09 -08:00
TreeHugger Robot
a251173a1c Merge "Revert "[DO NOT MERGE] Revert submission 9950791-pick-precise-dataconn"" into qt-qpr1-dev-plus-aosp 2019-12-20 17:55:45 +00:00
Winson Chung
afbe32079a Merge "Clean up remote animation definitions when activity is destroyed" 2019-12-20 17:52:36 +00:00
Lucas Dupin
5465b18518 Merge "Enable WCG support for ImageWallpaper" 2019-12-20 17:28:49 +00:00
Alex Buynytskyy
1ecfcece45 Migrating Incremental* APIs to PackageManager APIs.
Step 2, merging Data Loader params.

Test: builds and flashes
Bug: b/136132412

Change-Id: I2102554316dadcdcb49790c133ece110c43c29b3
2019-12-20 06:55:32 -08:00
Automerger Merge Worker
08074c62b0 Merge "[Tether13] Move TetheringManager into framework" am: 2410d67357 am: 25cc1f47c5
Change-Id: I9ec25eb984e3b534ddcc9313836a319b21526998
2019-12-20 14:00:29 +00:00
Mark Chien
25cc1f47c5 Merge "[Tether13] Move TetheringManager into framework"
am: 2410d67357

Change-Id: I05c79a1cf07e7679ea2a2c9221e541fb1c9a5a23
2019-12-20 05:47:01 -08:00
Mark Chien
2410d67357 Merge "[Tether13] Move TetheringManager into framework" 2019-12-20 13:43:46 +00:00
Remi NGUYEN VAN
6b6a9b1972 Merge "Fix parceling of LinkProperties Inet6Addr" into qt-qpr1-dev 2019-12-20 08:27:55 +00:00
Automerger Merge Worker
afc127664e Log watchdog-initiated rollback reason am: 254b0d5a7f
Change-Id: I2487bca4fd0579c2f66de15da727ada54a26cfe1
2019-12-20 08:18:37 +00:00
Gavin Corkery
cb6ad6dc8e Merge changes from topic "cp-log-watchdog" into qt-qpr1-dev
* changes:
  Log native crashing process
  Log watchdog-initiated rollback reason
  Add package failure flags to Package Watchdog
2019-12-20 08:02:11 +00:00
Mark Chien
ebc76bc2e9 Merge "[Tether13] Move TetheringManager into framework" 2019-12-20 05:04:08 +00:00
JW Wang
0bb6808121 Add rollback data policy (1/n)
1. Do the plumbing to pass the data policy all the way to
   SessionInfo.
2. SessionInfo#rollbackDataPolicy will be used by RollbackManager to
   determine whether to wipe user data when enabling/committing
   rollback.

Bug: 144683152
Test: atest RollbackStoreTest RollbackUnitTest AppDataRollbackHelperTest
Test: atest RollbackTest StagedRollbackTest

Change-Id: Ie1e5457d0304f9cf8fc34fce17d707be75407a2b
2019-12-20 04:05:01 +00:00