| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
as @SystemApi(MODULE_LIBRARIES)
Bug: 157639992
Bug: 154796679
Test: m update-api
Merged-In: I3b085afa9e1d1c843428fb141be35b871d320957
Change-Id: I3b085afa9e1d1c843428fb141be35b871d320957
(cherry picked from commit e965ca152f660c1bf563b482a7e2e1cf1385ed54)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
@SystemApi(MODULE_LIBRARIES) in sc-dev.
All these commits have been reviewed by API council.
After this commmit, the following 2 generated current.txt are identical.
api/module-lib-current.txt
mmodules/core_platform_api/api/stable_platform/current.txt
It's a squashed commit of the following cherry-picks from aosp/master:
4d2b9075 Mark stable dalvik.annotation.codegen.CovariantReturnType
0bbbd1bd Add explicit @hide javadoc and @CorePlatformApi and @IntraCoreApi to Compatibility.ChangeConfig
59b1f07c Annotate @CorePlatformApi(STABLE) APIs with @SystemApi(MODULE_LIBRARIES)
82f70f4b Annotate APIs in ojluni/ with @SystemApi(MODULE_LIBRARIES)
d61c64ab Mark stable @FastNative and @CriticalNative
fb26c7c4 Mark stable and document dalvik.system.DelegateLastClassLoader
919efd41 Make StructLinger and Os.get/setsockoptLinger @SystemApi(MODULE_LIBRARIES)
Bug: 154796679
Bug: 157639992
Bug: 165363822
Test: m droid
Merged-In: I3dbf33a1a08ae7ba591e8743bb97723fb7defb09
Change-Id: Iad2b230640411f06aca1fdeead5fa326ef4110d8
|
| |
|
|
|
|
|
|
|
| |
Also add ojluni/annotations/mmodule/java/lang/Math.annotated.java
Bug: 154796679
Test: m droid
Merged-In: Id3a15534ff98d8928b0c018044b1200dd8204158
Change-Id: Id3a15534ff98d8928b0c018044b1200dd8204158
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It prepares the javadoc ready for adding @SystemApi which requires
hidden APIs documented as @hide.
@SystemApi adds default constructors into its API set, and thus
private constructors are added to prevent this unintended exposure.
Bug: 157639992
Test: m droid
Test: Verified that no change in mmodules/intracoreapi/api/.
Merged-In: Iff5863d5eb45d49b109c88f746dd7bb23b9f9d12
Change-Id: Iff5863d5eb45d49b109c88f746dd7bb23b9f9d12
(cherry picked from commit 753f0314cfe8b96d6eb4eeda1cff860f72c9b1d4)
|
| |
|
|
|
|
|
|
| |
Also add nullability annotations.
Bug: 185153775
Test: m
Change-Id: I990b11921e56ba875508a4405adecd56ad24fba0
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pass in the additional info that ART can leverage for debugging and
to support future features.
(cherry picked from commit 6e5c9e392a593310b7b848404cd9b481b6a32440)
NoNonSdkCheck: no app usage post P
Test: m
Bug: 182793486
Bug: 185979271
Merged-In: Iaebdc44dc769456f194436f4f2b47b3b8da34a35
Change-Id: Iaebdc44dc769456f194436f4f2b47b3b8da34a35
|
| |
|
|
|
| |
Test: No
Change-Id: Ib3360f14ff9bc0fec794c5798103b3f511efc18f
|
| |\ |
|
| | |
| |
| |
| |
| |
| | |
548136c7a3c98edaf0f325671a23dc7150315d13
Change-Id: Ie325a2e258e744dc0411b225e78fa6c7ed2aed08
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 9de9f0d95b3ff48c82a20056c3ab707a24055333.
Reason for revert: 1626960 reverted due to jank
Change-Id: I07265d9fe42d545027bd0aec1a8a77f56d8e65d3
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Any call would violate the precondition of the ART routine, which
has always required that it only be invoked from the GC daemon thread.
There are no known uses, and any uses would be incorrect. And its
existence interferes with the companion ART CL.
Bug: 181351667
Test: Build and boot AOSP.
Change-Id: I2551938ebba220094b18bca5590039193f60bf78
|
| | |
| |
| |
| |
| |
| | |
Bug: 154796679
Test: m update-api
Change-Id: Ic0910eacc258e46bf865c66791029f21273d5770
|
| |/
|
|
|
|
|
|
| |
Bug: 165370038
Bug: 154796679
Test: m stable.art.module.platform.api.stubs.source-update-current-api
Test: m update-api
Change-Id: Iad85e3864637d5670e937a753ccbb62b0d05e332
|
| |
|
|
|
|
| |
Test: m
Bug: 172114559
Change-Id: Id37b18255a438c574924ae7ea0db49924abb224d
|
| |
|
|
|
|
|
| |
Bug: 154796679
Test: TH
Change-Id: I3a76f0d9430fae2ea776e0ce0b18c79fbbcc2c5f
|
| |
|
|
|
|
|
|
|
|
|
|
| |
We will use this change id in art/runtime/hidden_api.cc to provide a
mechanism for applications to access @TestApi methods
This change id will always be disabled by default and should only be
used by platform test code.
Bug: 166236554
Test: adb shell dumpsys platform_compat
Change-Id: If354a4dcadcf8e0e7a8fd83bac9c95dbaf0dbb2e
|
| |
|
|
|
|
|
|
|
|
| |
Move PREVENT_META_REFLECTION_BLOCKLIST_ACCESS,
HIDE_MAXTARGETSDK_P_HIDDEN_APIS and HIDE_MAXTARGETSDK_Q_HIDDEN_APIS to
@EnabledSince .
Test: m
Bug: 172238506
Change-Id: I92b4a6978c7f5f1455fe13a437a428da16dc1866
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| | |
These APIs were unused since Android Lollipop, where we introduced ART.
Test: m
Change-Id: I8bc31f82512604152ac8eb492370018708ce2e43
|
| |/
|
|
|
|
| |
Bug: 165370038
Test: m
Change-Id: I5fecfe3d8931bb0cd230375a13c43a0f026c7ce4
|
| |
|
|
|
|
| |
Bug: 165346977
Test: N/A
Change-Id: I08fe7d52c4b1d495783d8fbe817c9fe1733af922
|
| |
|
|
|
|
|
|
|
| |
Use more inclusive terminology for the changeid that blocks
meta-reflection.
Test: art/test/testrunner/testrunner.py --target -t674-hiddenapi
Bug: 162318095
Change-Id: I207cf0f3a91bbb1a6e7838d3c62919a37d5bf835
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
These values are used as the initializers for constants that are in
the public API (android.os.Debug.TRACE_COUNT_ALLOCS and
android.os.Build.VERSION_CODES.CUR_DEVELOPMENT). If they aren't
included in the stable core/platform API then switching from the
legacy to stable by default will cause the values to be dropped from
the .txt signature file for the public API, which would be an
undesirable change.
Test: m checkapi
Bug: 157640067
Change-Id: Id8d162e4e7b1e0ab081b494c4f5dc1e1e876b731
Merged-In: Id8d162e4e7b1e0ab081b494c4f5dc1e1e876b731
|
| |/
|
|
|
|
|
|
| |
In order to reduce the CorePlatformAPI surface.
Test: m
Bug: 154796679
Change-Id: Icd2a76f9df08734f094c6ec763f7d725934fa432
|
| |
|
|
|
|
|
| |
Bug: 141747409
Test: atest CtsLibcoreOjTestCases CtsLibcoreTestCases CtsIcuTestCases
Merged-In: I81647efb6e56c6f5561eb9d51d0ae0bb6911ed0a
Change-Id: I81647efb6e56c6f5561eb9d51d0ae0bb6911ed0a
|
| |
|
|
|
|
|
|
|
|
|
| |
Previously blocked due to b/109735195, but underlying issues
now resolved.
Bug: 109735195
Bug: 144502743
Test: art/test.py --host --64 --prebuild 071-dexfile-map-cleanup
Test: atest PreloadCheck
Change-Id: I9256da7fffc8f64fae0f5423d7d27d126b5b47dc
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts commit Ie9fa5a25d5352f214a16e10d5bbbe45da9f3c486.
Original commit message:
Moves cloning of FileDescriptor in, out, and err descriptors
into a ZygoteHook. This avoids the need to run JNI methods
in FileDescriptor.<clinit> and enables native Core Platform
API checking of FileDescriptor descriptor and ownerId fields.
Changes in reland:
Force UnixChannelFactory to fail initialization during AOT
compilation. UnixChannelFactory is on the preloaded-classes-blacklist
and the changes in the original CL unintentionally allowed
it to be initialized. It used to be that FileDescriptor and
UnixChannelFactory initialization failed in the same transaction
due to the FileDescriptor clinit method making native calls (dup(s)).
Bug: 144502743
Bug: 150680645
Test: art/test/run-test --host 001-HelloWorld
Test: art/tools/run-libcore-tests.sh --mode=host --variant=X64
Test: atest -s <serial> -c \
CtsLibcoreTestCases:libcore.java.io.FileDescriptorTest
Test: atest PreloadCheck
Change-Id: I81e1af1d13ec81b3e51ce1d2f3c202f807d9f9bb
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This will allow toggling access to APIs that are in greylist-max-p and
greylist-max-q (two separate toggles).
Exempt-From-Owner-Approval: rename only since owner approval
Bug: 149994052
Bug: 149997251
Test: mma test-art-host-gtest-hidden_api_test64
Test: adb shell dumpsys platform_compat
Change-Id: I21d7a37a35cad8ec638d9c33dea27e75752324eb
|
| |
|
|
|
|
|
|
|
| |
This API is needed by the PackageManager server to validate class loader
context strings passed to it from untrusted applications. See the
discussion on I00357cfe086ff149f92c1078c6df6daa713c8f7c.
Test: atest com.android.server.pm.dex.DexManagerTests
Change-Id: I1a4fb1f863db94d27a84fd93f612541d2deb7bff
|
| |
|
|
|
|
|
|
|
|
|
| |
This function is identical to VMDebug#isDebuggerConnected and always
has been in ART (on dalvik there was a distinction between the two).
Dedup the one user to the isDebuggerConnected function.
Test: build
Bug: 148401311
Change-Id: Iad18a55bc6dc2c371cc7c2c49765e0aba2f7a793
|
| |
|
|
|
|
|
|
|
| |
This removes a workaround that allows bypassing hidden api checks.
Bug: 142365358
Test: art/test/testrunner/testrunner.py --target --64 -t674-hiddenapi
Test: art/test/testrunner/run_build_test_target.py -j110 art-asan
Change-Id: Icfd0cd8b7ae5ae7534bdc475a815a4598e5da347
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Revert "Harden hidden api checks."
Revert submission 1203343-hidden-api-check-hardening
Reason for revert: art-asan target failure
Reverted Changes:
I5af9f79f5: Add change id for hidden api check hardening
Ifc8d39ba2: Harden hidden api checks.
Change-Id: Ic21ecd06378ca4ec7dfb93a4c7c60c41b3e99283
|
| |
|
|
|
|
|
|
| |
This removes a workaround that allows bypassing hidden api checks.
Bug: 142365358
Test: art/test/testrunner/testrunner.py --target --64 -t674-hiddenapi
Change-Id: I5af9f79f5f62c7bbef69557067c9de234ecde7d3
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Test: atest libcore.dalvik.system
Bug: 145743810
Exempt-From-Owner-Approval: identical to internal approved change
Change-Id: Ib21b2ad689a18ba4770e4ed22accc44eb2dd71a4
Merged-In: Ib21b2ad689a18ba4770e4ed22accc44eb2dd71a4
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New annotation is tools/platform-compat/annotation/src/java/android/compat/annotation/UnsupportedAppUsage.java.
Existing annotations in libcore/ and frameworks/ will be deleted after the migration:
- libcore/dalvik/src/main/java/dalvik/annotation/compat/UnsupportedAppUsage.java
- frameworks/base/core/java/android/annotation/UnsupportedAppUsage.java
This also means that any java library that compiles @UnsupportedAppUsage requires a direct dependency on "unsupportedappusage" java_library.
Bug: 145132366
Test: m && diff unsupportedappusage_index.csv
Exempt-From-Owner-Approval: +2 by owner, by vote lost on latest patch.
Change-Id: Ib5b7baa399cdc38da1d3ca622ba0ba26936b1b2d
|
| |
|
|
|
|
|
|
|
|
|
| |
Used to avoid Jit counters from class preloading being recorded in the
boot profiles.
Bug: 139883463
Bug: 142564450
Test: test/run-test 2230-profile-save-hotness
Change-Id: I127d2930f2714574f7aced63330ce13da37231c0
|
| |
|
|
|
|
|
|
|
| |
This adds package-level mappings for libcore.*, sun.*, android.system,
dalvik.system, and org.json.
Test: treehugger
Bug: 130283485
Change-Id: I4f82d1fe316d4d0ac76951c43bdc08c69336a252
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This field is used to keep track of Class objects that have been made
obsolete by structural class redefinition. They must be kept live and
accessible to preserve JIT invariants around code liveness and to
ensure we can continue to access their dex-caches for obsolete
methods.
Test: ./test.py --host --all-compiler
Bug: 140891089
Change-Id: I0ce309f479c42b56b543339654e2cc49c917bce5
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| | |
Needed for jit-zygote performance improvements.
Test: device boots
Bug: 119800099
Change-Id: If62f022fdd316535a1242eb861c91b191eb8f778
|
| |\ \
| |/
|/|
| | |
set."
|
| | |
| |
| |
| |
| |
| | |
Bug: 132905502
Bug: 133242086
Change-Id: If6de33758bb2155d14207c02c11dad8d75b64b0d
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Use of this API would allow bypassing of all API greylist enforcement
and invalidates other policies. App should use the official manifest API
instead.
Bug: 136102585
Test: m, inspect out/soong/hiddenapi/hiddenapi-flags.csv
Change-Id: I3d1b88a02e5d28cb6ea47f11ce76f999ba401a15
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit d9888496eb1cc5687a2c6e428df62427a800ca14.
This unreverts commit b79c6d4b45
Reason for revert: Fixed issue causing 004 flakes on debuggable
Test: ./test.py --host --debuggable --jit
Bug: 134162467
Change-Id: If0d6483a9c7801b88e5cec1160a5e5cbd2c6b93c
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit b79c6d4b4505c0ec3d070107f8883775f9c11726.
Bug: 134162467
Reason for revert: Fails debuggable
Change-Id: I8180737dbf9d22c4b1456a2cfe9143219cde346e
|