summaryrefslogtreecommitdiff
path: root/ojluni/annotations/hiddenapi/java/util
AgeCommit message (Collapse)Author
2019-12-11Use new UnsupportedAppUsage annotation.Artur Satayev
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
2019-06-18Document public alternatives to greylisted APIsAndrei Onea
Add known public alternatives or recommendations for greylisted APIs in libcore. Bug: 135171386 Test: m Change-Id: I9351f2ab4c15649a5ed0e25deda1f6d9769342a4
2019-02-02Merge "Remove @UnsupportedAppUsage from whitelist methods"David Brazdil
2019-02-01Remove @UnsupportedAppUsage from whitelist methodsDavid Brazdil
These were incorrectly labelled non-public. Remove their @UnsupportedAppUsage annotation. Bug: 122551864 Test: m appcompat (fails on annotation clash) Change-Id: I5149a005c3d5518fdc1dc0f7cadc597c9926d5ec
2019-01-28Add HashMap.EntryIterator.next() to greylistPaul Duffin
Bug: 122551864 Test: make checkbuild Change-Id: I25ef26f886a6ed7b5ddc0028bbb742f5b27cbdcd
2018-11-28Add stubs for remaining libcore classes in hiddenapiPaul Duffin
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
2018-10-31Add stubs for hiddenapiPaul Duffin
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