Commit Graph

1068 Commits

Author SHA1 Message Date
Paul Duffin
6861f4b571 Merge "Remove com.android.bouncycastle.... classes from light grey list" am: cacc09018b am: c0c49cee10
am: face88cf2c

Change-Id: I34c1fada31b87535ec7396adeab84d9e54bd5de5
2018-11-13 08:26:48 -08:00
Paul Duffin
d402828deb Merge "Remove com.android.conscrypt.... classes from light grey list" am: 5cc3d900b9 am: 8c72aec115
am: 29d80731da

Change-Id: I6927d3e50f570b2607d5347b01fe07831beb49bb
2018-11-13 08:15:38 -08:00
Paul Duffin
face88cf2c Merge "Remove com.android.bouncycastle.... classes from light grey list" am: cacc09018b
am: c0c49cee10

Change-Id: I93fa34def495a9b05643d683e8f1b20b75f66be8
2018-11-13 08:12:19 -08:00
Paul Duffin
29d80731da Merge "Remove com.android.conscrypt.... classes from light grey list" am: 5cc3d900b9
am: 8c72aec115

Change-Id: I28e1b76b7b444869000711e16cc3670768bcc7aa
2018-11-13 07:58:49 -08:00
Treehugger Robot
cacc09018b Merge "Remove com.android.bouncycastle.... classes from light grey list" 2018-11-13 15:26:21 +00:00
Treehugger Robot
5cc3d900b9 Merge "Remove com.android.conscrypt.... classes from light grey list" 2018-11-13 15:26:15 +00:00
Paul Duffin
6cf46ea6fe Merge "Re-add light-greylist entries incorrectly removed with icu entries" am: e6e6968081 am: 8c265bf5a7
am: 8a637bb01a

Change-Id: Ieb5d07f1c7afda4db2ef72c202ffc9b275b1d15f
2018-11-13 06:57:03 -08:00
Paul Duffin
8a637bb01a Merge "Re-add light-greylist entries incorrectly removed with icu entries" am: e6e6968081
am: 8c265bf5a7

Change-Id: Iabb7fb1fabab8eb1a67e09870b856367140d8ca1
2018-11-13 06:47:22 -08:00
Paul Duffin
1e5fc351c2 Remove com.android.bouncycastle.... classes from light grey list
Removes all the com.android.bouncycastle.... classes from the light grey
lists as they are now using UnsupportedAppUsage annotation.

This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.

Test: see above
Bug: 117818301
Change-Id: Id2de74e4c3b84646ebaa3bb0d18113fc593d3200
2018-11-13 09:10:44 +00:00
Paul Duffin
551fb88d04 Remove com.android.conscrypt.... classes from light grey list
Removes all the com.android.conscrypt.... classes from the light grey
lists as they are now using UnsupportedAppUsage annotation.

This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.

Test: see above
Bug: 117818301
Change-Id: Ib2298ef17eeab4874265b72b19dddc912079500f
2018-11-13 09:10:44 +00:00
Paul Duffin
1db651dd4c Re-add light-greylist entries incorrectly removed with icu entries
Commit 2e930e7a76 accidentally removed
some non-icu entries. The entries were added around the same time as
the ICU entries were removed and caused a conflict that appears to
have been incorrectly resolved.

This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt contains
the new entries.

Bug: 117818301
Test: make checkbuild
Change-Id: Id6bacaab34caee9e7c278c6655ab462e0ee2a442
2018-11-12 14:54:28 +00:00
Adam He
84d49aa8c8 Merge "Added 7th argument to pooled lambdas" 2018-11-09 23:56:03 +00:00
Paul Duffin
5d304e4c7f Merge "Remove android.icu.... classes from light grey list" am: c6b17ad431 am: 1519c387e7
am: f82d01d16f

Change-Id: I1dfb95909fd5976b551cf705344bcab1e7d1c489
2018-11-09 14:31:29 -08:00
Janis Danisevskis
3a72e2b08e Remove legacy functions form IKeystoreService.aidl am: 1864c95616 am: 036229c8df
am: 5c5fe83c4d

Change-Id: Id2fa59fcbe111a968abef088b76fb97dbe2e369e
2018-11-09 13:21:46 -08:00
John Reck
6ae76d0d8a Merge "Refactors and a potential public API for rendering" 2018-11-09 19:16:27 +00:00
Paul Duffin
f82d01d16f Merge "Remove android.icu.... classes from light grey list" am: c6b17ad431
am: 1519c387e7

Change-Id: If1d84299aada7dd3f86d4006a781e9af7a1baaa7
2018-11-09 05:51:34 -08:00
Paul Duffin
c6b17ad431 Merge "Remove android.icu.... classes from light grey list" 2018-11-09 13:24:17 +00:00
Janis Danisevskis
5c5fe83c4d Remove legacy functions form IKeystoreService.aidl am: 1864c95616
am: 036229c8df

Change-Id: I7475f8bd936147efaf4344ba625e50875534b8b8
2018-11-08 15:33:21 -08:00
John Reck
8785ceb3b9 Refactors and a potential public API for rendering
Split out the View/ViewRootImpl bits from the
hardware rendering bits.

Create a potential public API surface for
hardware rendering

Bug: 112709971
Test: builds & boots

Change-Id: I9e6f44b07a170574a905f42338282c4bb7e95f56
2018-11-08 15:32:35 -08:00
Janis Danisevskis
1864c95616 Remove legacy functions form IKeystoreService.aidl
In preparation for making the keystore service asynchronous we remove
redundant legacy functionality from the protocol.

This patch removes the functions get_pubkey, sign, verify, generate,
and import_key. Which have long been superseded by exportKey
(get_pubkey), begin/update/finish (sign, verify), generateKey
(generate), and importKey (import_key).

This patch also removes isOperationAuthorized.

Test: KeyStore CTS tests
Bug: 111443219
Change-Id: Ib3bd6f40b4e948e5ad6b2ef5278b18ff46201d71
2018-11-08 12:53:57 -08:00
vichang
7391d7612d Merge "Add some ICU 63 classes into boot image profile" am: 93bf21dad4 am: 28773473d1
am: 6cb15cffb6

Change-Id: Ia3d84dc7890d8d8ddb5f7651c150134180116a30
2018-11-08 12:12:36 -08:00
vichang
6cb15cffb6 Merge "Add some ICU 63 classes into boot image profile" am: 93bf21dad4
am: 28773473d1

Change-Id: Ib94cb36ec893186f7226b5101012291cd62dc904
2018-11-08 11:56:23 -08:00
vichang
93bf21dad4 Merge "Add some ICU 63 classes into boot image profile" 2018-11-08 19:23:30 +00:00
Adam He
c4f03f3a94 Added 7th argument to pooled lambdas
Bug: 118681526
Test: atest CtsAutoFillServiceTestCases
Change-Id: I972e2f4114f3f7c2dd31de3169e0c8216af09892
2018-11-08 10:33:44 -08:00
Victor Chang
6ea0cb0d65 Add some ICU 63 classes into boot image profile
Bug: 118748230
Test: systrace shows 70% improvement of initialize the class DateTimePatternGenerator$FormatParser
Change-Id: I0c29b7892ac57a49c1f93c8b759e547a5bb881cb
2018-11-08 16:33:23 +00:00
Paul Duffin
2e930e7a76 Remove android.icu.... classes from light grey list
Removes all the android.icu.... classes from the light grey lists as
they are now using UnsupportedAppUsage annotation.

This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.

Test: see above
Bug: 117818301

Change-Id: Ib11d5462580b3698a8b810dc0138642252ec5f18
2018-11-08 15:22:02 +00:00
Adam Vartanian
3401e9fef2 Merge "Update API file for libcore additions" am: 07160ff7e5 am: 2d67c19860
am: e8e035aaaa

Change-Id: I7a22c36c3b1f9238cfe89f95b4e0d148030c8dc1
2018-11-08 06:17:57 -08:00
Adam Vartanian
e8e035aaaa Merge "Update API file for libcore additions" am: 07160ff7e5
am: 2d67c19860

Change-Id: I5bdce324be694615712d872eb95b09bd79176b9c
2018-11-08 06:04:57 -08:00
Adam Vartanian
07160ff7e5 Merge "Update API file for libcore additions" 2018-11-08 13:39:31 +00:00
David Brazdil
208e2f4a13 Merge "Add entries to hiddenapi light greylist" am: c00b9bcf8d
am: e515c95f6c

Change-Id: I1b9d07eb9abfca468fb130b00775032112864f67
2018-11-07 09:31:12 -08:00
David Brazdil
72c3f3ffd5 Add entries to hiddenapi light greylist
These are entries from P accidental whitelist which have been found
in use by static/dynamic analysis.

Test: m appcompat
Change-Id: Ifa269c8ba42d807e6bbe37d5122143921d00ec22
Merged-In: I473d2bc8a9b527cccdb103d527ce7613f4a6ac85
2018-11-07 14:41:41 +00:00
David Brazdil
fb8390d770 Add entries to hiddenapi light greylist
These are entries from P accidental whitelist which have been found
in use by static/dynamic analysis.

Test: m appcompat
Change-Id: I473d2bc8a9b527cccdb103d527ce7613f4a6ac85
2018-11-06 14:50:25 +00:00
Adam Vartanian
3187dd3f5a Update API file for libcore additions
Bug: 110403421
Test: cts -m CtsLibcoreTestCases
Change-Id: I67937aba279a99963e4290ff1d11154040ba0f94
2018-11-05 15:59:30 +00:00
Paul Duffin
5061977080 Merge "Remove sun.... libcore classes from light grey/vendor lists" am: 65b79f96cd am: 455c3da3e2
am: a98f107b27

Change-Id: I0625b63280a2560c8725dbeaa390b6e29725ae2b
2018-11-05 06:28:57 -08:00
Paul Duffin
a98f107b27 Merge "Remove sun.... libcore classes from light grey/vendor lists" am: 65b79f96cd
am: 455c3da3e2

Change-Id: I6d6cd4a67c61ed610759c6d798118bd7262d897d
2018-11-05 06:14:19 -08:00
TreeHugger Robot
6e3e195c50 Merge "Add new text layout classes to preload" 2018-11-01 20:04:42 +00:00
TreeHugger Robot
ae3c76df23 Merge "Each displays can have individual app transition." 2018-11-01 17:03:19 +00:00
Sunny Goyal
2daf457f4b Merge "Adding shared element transitions support in AppWidgets" 2018-11-01 16:19:12 +00:00
lumark
588a3e86a9 Each displays can have individual app transition.
Include below refectoring items to support per display AppTransition:

WMS / AM refectoring parts:
- Move AppTransition related stuff from WMS into DisplayContent.
- Move WMS.prepareAppTransition into DisplayWindowController.
- Move WMS.executeAppTransition to DisplayWindowController.
- Move ATM.isNextTransitionForward to DisplayWindowController.
- Move WMS.getPendingAppTransition to DisplayWindowController.
- Move WMS.overrideAppTransition like APIs to DisplayWindowController.
- Move ActivityRecord.applyOptionsLocked to AppContainerController.
- Support tracing all display's AppTransition status for
  DisplayContent.pendingLayoutChanges & window hierachy update.
- Modify logics for AppTransition related caller parts.
- Move WindowSurfacePlacer.handleAppTransitionReadyLocked related
  stuffs into added class AppTransitionController.

WM unit test parts:
- Add test case for verifying app transition state per display:
  - AppTransitionTests.testAppTransitionStateForMultiDisplay
  - AppTransitionTests.testCleanAppTransitionWhenTaskStackReparent
- Rename WindowSurfacePlacerTest to AppTransitionControllerTest since
  the test is related handle AppTransition flow.

Bug: 111362605
Test: go/wm-smoke
Test: atest ActivityManagerTransitionSelectionTests
Test: atest ActivityManagerMultiDisplayTests
Test: atest FrameworksServicesTests for DisplayContent / AppTransition
      related tests.
Change-Id: Ic1793aa794eb161bec31fda57847a6ba2ff4f84f
2018-11-01 21:10:37 +08:00
Paul Duffin
f7203652fc Merge "Remove java.... libcore classes from light grey/vendor lists" am: cd48021499 am: 4becd4b2fa
am: 6dfb615290

Change-Id: I7ed6b1cd6c68fa37da827872bf4b8b07da10b805
2018-11-01 04:09:45 -07:00
Paul Duffin
6dfb615290 Merge "Remove java.... libcore classes from light grey/vendor lists" am: cd48021499
am: 4becd4b2fa

Change-Id: I23a527a0e9de0a27748d234b476aee85c4fe3d39
2018-11-01 03:52:36 -07:00
Paul Duffin
a0cb5388a5 Remove sun.... libcore classes from light grey/vendor lists
Removes all the sun... libcore classes from the light grey/vendor
lists as they are now using UnsupportedAppUsage annotation.

This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.

Test: see above
Bug: 117818301
Change-Id: I8dadc9215e929c5047fdfe8241c430544e963c19
ge-Id: I2a9ed3fbfb0c703eafcf431b93f8a419c5ec83a3
2018-11-01 10:31:09 +00:00
Paul Duffin
86bfabf908 Remove java.... libcore classes from light grey/vendor lists
Removes all the java... libcore classes from the light grey/vendor
lists as they are now using UnsupportedAppUsage annotation.

This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.

Test: see above
Bug: 117818301
Change-Id: I3ada072845b311fc89d864c45e40995f4d92dfef
2018-10-31 10:34:56 +00:00
Siyamed Sinir
8918415f31 Add new text layout classes to preload
Test: build the system, and installed
Test: frameworks/base/libs/hwui/tests/scripts/prep_marlfish.sh
Test: m CorePerfTests
Test: adb install -r $OUT/data/app/CorePerfTests/CorePerfTests.apk
Test: adb shell cmd package compile -m speed -f \
      com.android.perftests.core
Test: adb shell am instrument -w -e class \
      android.text.StaticLayoutPerfTest \
      com.android.perftests.core/android.support.test.runner.AndroidJUnitRunner
Bug: 117888473

Change-Id: I756dff7960db221b587535a7664913cc8bd4d0de
2018-10-29 22:08:22 -07:00
Sunny Goyal
43c970436d Adding shared element transitions support in AppWidgets
Bug: 113071278
Test: atest frameworks/base/core/tests/coretests/src/android/widget/RemoteViewsTest.java
Change-Id: I0d7698faa8d9e61913b55d34de8b7cfbb32863b1
2018-10-29 17:04:33 -07:00
Varun Shah
59a1ff3ee7 Merge "Exposes user type related hidden APIs in UserManager." 2018-10-27 02:07:56 +00:00
Bill Yi
8b634e9191 Merge pie-platform-release to aosp-master - DO NOT MERGE
Change-Id: I695db52f5e22509401258e8b083e7650d401d993
2018-10-24 14:48:44 -07:00
Michael Wachenschwanz
0e1ce140a2 Merge changes from topic "UsageStatsDatabaseUpgradeAttempt2"
* changes:
  Add ProtoInputStream and UsageStatsProto to art profiles
  Upgrade UsageStatsDatabase to version 4 (attempt 2)
  Move UsageStatsDatabase upgrade backup to seperate folder
2018-10-24 02:17:00 +00:00
Varun Shah
e142e33613 Exposes user type related hidden APIs in UserManager.
UserManager#isAdminUser, UserManager#isPrimaryUser,
UserManager#isGuestUser, and UserManager#isRestrictedProfile
are now exposed as System APIs for SUW. All of them require the
MANAGE_USERS permission.

Bug: 115270753
Test: manual (run setup wizard)
Change-Id: I5b9685d486738c3d5a7f5cfa6748adb6efef91bb
2018-10-23 16:23:24 -07:00
John Reck
8884cfc13e Merge "Rename & package shuffle" 2018-10-23 20:02:00 +00:00