| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using @link in the publicAlternatives property of the
UnsupportedAppUsage annotation caused the hidden API processing to
check that it references a member of the public API. That breaks hidden
API modularization as the alternatives are not in the API provided by
ART and the other APIs are not usable here.
This change temporarily switches from @link to @code to bypass that
check for these references to allow progress to be made on the hidden
API modularization work.
Bug: 187693462
Bug: 179354495
Test: m droid
Change-Id: I8828c0d9db57bd8630730c9bd69b8b30afdf8d61
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit 7c89e0527067b038aac7d27773e506456da6d777.
Reason for revert: No longer used by Test988
Bug: 172412309
Bug: 172376773
Change-Id: Ice4167c6de56639614258faa76011f638d2e7fd4
|
| |\ \
| |/
|/| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This reverts commit acac1531ecb23f5a72fda42d2c8e2a3b15a3875b.
Reason for revert: Removed JVMTI cts use
Bug: 172313193
Bug: 172263916
Change-Id: Ic1b33908f4a2a903a994e924847e36e85badf19b
|
| | |
| |
| |
| |
| |
| |
| |
| | |
It's used by ART test JvmtiHostTest988.
Bug: 172412309
Fixes: 172376773
Change-Id: Id076bdeab294b28e63ffa8c6569123cf92d24a88
|
| |\| |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Signature:
Ljava/lang/Thread;-><init>(Ljava/lang/ThreadGroup;Ljava/lang/String;IZ)V
Bug: 172313193
Bug: 172263916
Change-Id: Icdd5da9eed12483ae4774506633103b565a5161c
|
| |/
|
|
|
|
|
|
|
|
|
| |
Ljava/time/Duration;->toSeconds()Ljava/math/BigDecimal;
Ljava/util/Random;->seedUniquifier()J
Used by art.Test993.runBCPMethodTests.
Bug: 172313849
Bug: 172263916
Change-Id: Ifc1978a50a7718c7d21d64d01214df2f3042004c
|
| |
|
|
|
|
|
|
|
|
| |
These are APIs that have @UnsupportedAppUsage but for which we don't
have any evidence of them currently being used, so should be safe to
remove from the unsupported list.
Bug: 170729553
Test: Treehugger
Change-Id: I783f0af90f462f6b38396f6939a2f080a5292801
|
| |
|
|
|
|
| |
Bug: 162205877
Test: m java
Change-Id: I294a033305448533d101349dc41bd216ce2ec63f
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Using the dexFileIndex to determine the ArtField a
java.lang.reflect.Field object points to requires us to use a
dex-cache and to update all existing Field objects if this index
changes (for example due to class redefinition). This could be rather
slow. This replaces the dex-file index with the index into the
declaring class's SFields/IFields arrays where the specified ArtMethod
is stored.
Bug: 149236640
Test: ./test.py --host
Change-Id: I3598909a770aff317011091f33707773f3928c56
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
Avoids splitting packages that are part of java.base.
Removes patch_module: "java.base" that was used to work around this
issue.
Bug: 143057012
Test: m checkbuild
Change-Id: Iad65343fd3fde55f2d3b0e68c4bbcd51377d85d9
|
| |\
| |
| |
| |
| |
| | |
am: 27695e515c
Change-Id: Ica61c0a1d27966893d99de4a4963b182bfe036e3
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Add known public alternatives or recommendations for greylisted APIs in
libcore.
Bug: 135171386
Test: m
Change-Id: I9351f2ab4c15649a5ed0e25deda1f6d9769342a4
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Blacklisting uncaughtExceptionPreHandler in Android Pie broke a major
third party app's use case. While it's too late for Pie, this CL
moves the field back to the greylist for Android Q to reduce impact
for that app.
We still plan to blacklist this field again in a future version
of Android after we've had a chance to consider whether that app's
use case should be addressed by a public API.
Bug: 133227292
Test: Treehugger
Change-Id: I21f5bf16ed34178ae06b63e41adf84285ce8d39f
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
These were incorrectly labelled non-public. Remove their
@UnsupportedAppUsage annotation.
Bug: 122551864
Test: m appcompat (fails on annotation clash)
Change-Id: I5149a005c3d5518fdc1dc0f7cadc597c9926d5ec
|
| |/
|
|
|
|
| |
Bug: 122551864
Test: make checkbuild
Change-Id: I25ef26f886a6ed7b5ddc0028bbb742f5b27cbdcd
|
| |
|
|
|
|
|
|
|
| |
Will be used to find the linker namespace to use.
bug: 122874359
Test: m, gtest, run-test, CtsJdwpTests
Change-Id: I65572f31c86545d027ff03626a42c7fd4dca6f64
|
| |
|
|
|
|
|
|
|
|
|
|
| |
A replacement API has been provided in Q so this does not need to be
accessible for apps that target Q and above.
Replacement API is:
android.net.InetAddresses.parseNumericAddress(String)
Bug: 78686891
Test: make checkbuild - blacklist by target SDK is not supported yet.
Change-Id: Iac6f5196771559de868656eee3bdc8ba233da04b
|
| |
|
|
|
|
|
|
| |
Extracted VERSION_CODES as dalvik.system.VersionCodes for general use.
Bug: 119748646
Test: make checkbuild
Change-Id: I67a3ec8ebaf84096ae34ba79e18b11c242ba9811
|
| |
|
|
|
|
|
|
|
|
| |
Each primitive wrapper class provides an accessor method for retrieving
the value field, e.g. byteValue(), intValue() etc. so direct access to
the field is not required.
Bug: 118738172
Test: make checkbuild - blacklist by target SDK is not supported yet.
Change-Id: I7fc2e19c7b533e892b876635dd8add3e1a811ee6
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Additional libcore classes and methods have been added to the hiddenapi
since the last time stubs were added. This change adds stubs and
annotations for them all.
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: Ie860cc92a029b21d8ac0e75245a3b6d4de63199f
|
|
|
Adds stubs for ojluni classes some of whose hidden members are used by
applications. Each such member is annotated with the UnsupportedAppUsage
annotation.
The stubs are built as part of the core-oj-hiddenapi target from which
the build will extract information about the hidden class members that
are used by applications.
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: Icfe773e00ba1f96a379b705f26ef631ec34fee5e
|