| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
The stub should be identical now, and thus replacing it
should cause no behavior change.
Bug: 192645954
Bug: 192446466
Test: m droid
Merged-In: Ia44f51aa4676e94c4ecd985ba98e29481baca533
Change-Id: Ia44f51aa4676e94c4ecd985ba98e29481baca533
|
| |
|
|
|
|
|
|
|
| |
(cherry picked from commit 2b6c832f50e6815cc9062d84ecc428dcd29df74f)
Bug: 183097033
Test: m droid
Merged-In: I747950821a44ef05612bc48effbcd203c74bd13f
Change-Id: I20d5dbf3f10deadab872b55a358d125949e4eb77
|
| |\
| |
| |
| |
| |
| | |
* changes:
Remove / annotate @CorePlatformApi(LEGACY) APIs in Android S as STABLE and as @SystemApi(MODULE_LIBRARIES)
Squashed commits from aosp/master to mark some @CorePlatformApi as @SystemApi(MODULE_LIBRARIES) in sc-dev.
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Connectivity test suites are being reorganized to add coverage tests,
and core-tests-support needs to be visible from
Connectivity/tests/unit instead of the previous path.
Allow all Connectivity test subpackages to use core-tests-support,
so that the visibility does not need to be updated when test suites
are reorganized inside Connectivity.
Bug: 187935317
Test: m
Original-Change: https://android-review.googlesource.com/1729143
Merged-In: I5fbc205c31c52ff08db834fdc8dda6dd7f06e31f
Change-Id: I5fbc205c31c52ff08db834fdc8dda6dd7f06e31f
|
| |
|
|
|
|
|
|
|
|
|
| |
dist_group replaces owner and the default is going to change, set it
to the current default "android" for libcore java_sdk_libraries.
Bug: 186723288
Test: m checkbuild
Change-Id: Ida270c457106ef95544c8bdb48637a00ef57ce49
Merged-In: Ida270c457106ef95544c8bdb48637a00ef57ce49
(cherry picked from commit 08ed416a46683e3f0d8615e4ccfb31bf9048a016)
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Bug: 182164899
Test: atest CtsLibcoreTestCases:org.apache.harmony.crypto.tests.javax.crypto.SealedObjectTest
(cherry picked from commit 465ea8d12d6482940d92f8371d736bd8ab4249c1)
Change-Id: Ic3878409ca3f4bf296bb1ecfb3851e176a308381
Merged-In: Ic3878409ca3f4bf296bb1ecfb3851e176a308381
|
| |/
|
|
|
|
|
|
| |
This reverts commit 73100c6f663e668ab2e5e64b7d771e876d1c67fa.
Test: m
Bug: 184281926
Change-Id: Iae3eafe30cd906d7686d6b08bfb930d4774d08d9
|
| |
|
|
|
|
| |
Bug: 157639992
Test: m droid
Change-Id: I201510d3c5205305228ac6358f19ae13d31cf421
|
| |
|
|
|
|
|
|
|
|
| |
This simplifies the "global" stubs build rules and makes it easier to
recreate without finalizing more artifacts.
Bug: 184839599
Bug: 173186484
Test: m android_stubs_current ; unzip -l <path> | grep NOTICE
Change-Id: I3ac48cc30e66563e38768d5aef64e5253712f3cd
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Previously, adding nullability annotations to methods that were part of
either the legacy or stable core platform APIs would have no effect on
the generated stubs of the .txt files. This change rectifies that.
At the moment there are no methods in the core platform APIs that have
nullability annotations. Change https://r.android.com/1657840 will add
the first ones.
Bug: 183938110
Test: make update-api - after cherry picking https://r.android.com/165784
Change-Id: Idd9f4f38a995bc31a0f1a5702c1617d2de6ccc42
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The hidden API processing for the art-bootclasspath-fragment requires
access to dex jars for the API stubs provided by the modules in that
fragment. Setting compile_dex on the java_sdk_library will generate
those files, and will be propagated to the snapshot.
Bug: 179354495
Test: m nothing
Change-Id: I3d0439b88da67d0f68e81dc041a3f00e0ba6b441
|
| |/
|
|
|
|
|
|
| |
For use by robolectric and layoutlib.
Bug: 185789034
Test: m robolectric_android-all-device-deps layoutlib
Change-Id: I292c5397b80bcbbbb118dccc54f69abeacbfbd1a
|
| |
|
|
|
|
| |
Bug: 182402754
Test: m droid
Change-Id: Ia306c274242f1c594678ba5103f756ec56717fb9
|
| |
|
|
|
|
|
|
|
|
|
| |
- Create a wrapper class which can refer to internal okhttp APIs.
- Add okhttp_impl_files to core-all in order to break the dependency
cycle where okhttp depends on core-all to build and core-all depends on
okhttp.
Bug: 182238821
Test: m update-api
Change-Id: Ibcb7b0e085119e28e8fb38f847fd2375199ba3c5
|
| |
|
|
|
|
| |
Bug: 180399951
Test: m
Change-Id: I648e2fc05a2f3d2acd3f2258c0a259f2aef44b33
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Attempt 2
The 1st attempt is reverted due to http://b/181312360. The solution is
to mark Collection8Test as abstract class instead. Verified by running
`atest CtsLibcoreOjTestCases`
To add API coverage to classes, e.g. java.util.SplittableRandom
A few tests are removed because they are not compiled on Android.
SubmissionPublisherTest: Android has not SubmissionPublisher class
TimeUnit8Test: Android doesn't have all the APIs as upstream 9+181.
Atomic*9Test: Android doesn't have all the APIs as upstream 9+181
Note that test.java.util.concurrent.tck has some similiar tests as
tests in libcore/jsr166-tests, but they are not strict superset or
subset. Upstream apparently will add more tests over the time as
*9Test are new.
Test failures are added into expectations/knownfailures.txt.
b/181171596 to invesigate the failures in details
Bug: 119393918
Test: atest CtsLibcoreOjTestCases
Change-Id: I70ff582fe5331aa74c44f556722afcdc958e0ac8
|
| |\
| |
| |
| |
| |
| |
| |
| | |
"revert-1607393-test.java.util.concurrent.tck-XSSJZWQZEL"
* changes:
Revert "Import java.util.concurrent.tck tests from 9+181"
Revert "Android patch: Modify test.java.util.concurrent.tck test..."
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Revert submission 1607393-test.java.util.concurrent.tck
Reason for revert: http://b/181312360
Reverted Changes:
I9e054a400:Android patch: Modify test.java.util.concurrent.tc...
I767bdf805:Import java.util.concurrent.tck tests from 9+181
Change-Id: I8fa8752dc09b3911bfed02f8274d44c806aa8578
|
| |\|
| |
| |
| |
| |
| | |
* changes:
Android patch: Modify test.java.util.concurrent.tck tests to pass on Android
Import java.util.concurrent.tck tests from 9+181
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
To add API coverage to classes, e.g. java.util.SplittableRandom
A few tests are removed because they are not compiled on Android.
SubmissionPublisherTest: Android has not SubmissionPublisher class
TimeUnit8Test: Android doesn't have all the APIs as upstream 9+181.
Atomic*9Test: Android doesn't have all the APIs as upstream 9+181
Note that test.java.util.concurrent.tck has some similiar tests as
tests in libcore/jsr166-tests, but they are not strict superset or
subset. Upstream apparently will add more tests over the time as
*9Test are new.
Test failures are added into expectations/knownfailures.txt.
b/181171596 to invesigate the failures in details
Bug: 119393918
Test: atest CtsLibcoreOjTestCases:test.java.util.concurrent
Change-Id: I9e054a400cdebd2a2f6ee77d804bd425d804d1af
|
| |\|
| |
| |
| |
| |
| | |
* changes:
Android patch: Add tests for javax.xml.transform
Import test for javax.xml.transform from 9+181
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
It adds coverage to methods, e.g.
javax.xml.transform.sax.SAXSource(InputSource)
Bug: 119393918
Test: atest CtsLibcoreOjTestCases:test.javax.xml.jaxp.transform
Change-Id: I975d3751e3bfccae2593fe29aeda3351182344e2
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, the dependency was implicit by name. This change makes it
explicit.
The core-oj-hiddenapi is renamed to prevent the implicit dependency
being discovered. A follow up change will remove that capability from
Soong.
Test: m droid
Verified that hiddenapi files (both aggregated ones and for the
individual modules) are not affected by this change.
Change-Id: I731bb22cf21d837df6c7e00c58a1750199d03685
|
| |
|
|
|
|
|
|
|
|
|
| |
This CL adds artservice to the visibility list for
art.module.api.annotations.for.system.modules.
Test: m com.android.art
Test: art/build/apex/runtests.sh
Bug: 177273468
Merged-In: I580b41fa183cf077d7fefea02350b2d324cf6a22
Change-Id: I580b41fa183cf077d7fefea02350b2d324cf6a22
|
| |
|
|
|
|
| |
Bug: 177220561
Test: atest CtsLibcoreTestCases:libcore.libcore.util.ZoneInfoTest
Change-Id: I8916e4212636ec65a8f9e09ed3863c2500a68393
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Necessary for https://r.android.com/1531910.
Test: `m nothing` with a fresh prebuilt from this CL in
prebuilts/module_sdk/art
Bug: 171061220
Change-Id: I3a8af1ec8d2b194b9d020cfa271b91300657445b
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
This also has the side-effect of enabling tracking compatibility of
the API with the api released in SDK version 30 (via txt files added in
prebuilt/sdk in this topic).
Bug: 174847574
Test: m dist sdk (inspect out/dist/apistubs)
Change-Id: I6d2c936d38ec6e5bd3d4a2a7e61a7deda7bcd210
|
| |/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add paths to visibility needed for tests.
Soong allows specifying paths w/o validation. Once the
migration is complete, we can remove the old path in
visibility rules.
BUG: 137323948
Test: TH
Merged-In: Ie94eaa8c39d9610777cffcd37eb2c6834f126245
Change-Id: Ica76da7da4b17cc22a077541070d4915acc7efab
Exempt-From-Owner-Approval: Migration CL
|
| | |
| |
| |
| |
| |
| |
| |
| | |
This will be fixed as part of b/173606718.
Bug: 176092454
Test: m nothing
Change-Id: I111248e61551def76f60f9c53962e4515935be97
|
| |/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These packages are meant to have everything annotated @RecentlyNullable
or @RecentlyNonNull. The "non-updatable" stubs pass this argument to
achieve that, but it was missing from the libcore stubs.
Bug: 176149340
Test: m art.module.public.api.stubs.source && \
rm -rf /tmp/lib && \
unzip -qd /tmp/lib *.jar && \
javap -v /tmp/lib/java/util/concurrent/ConcurrentHashMap.class | \
grep Recent | \
wc -l
(verify it is a number >100)
Change-Id: I64bfcac0f5cf19e252f2a085b45d9f4b7173c7ed
|
| |
|
|
|
|
|
|
| |
Bug: 173715943
Test: lunch sdk-eng && m dist sdk
compare out/dist/apistubs directories before and after this
change to make sure that they have not changed.
Change-Id: Ie658af1a6580d725f33471c6d29a66d6c92a7994
|
| |
|
|
|
|
|
|
|
|
|
|
| |
To support it, make art.module.api.annotations available and export it
in art-module-host-exports.
Also clean up the timezone_host_libcore_files filegroup which isn't
used anywhere now.
Test: See https://r.android.com/1495078
Bug: 172480615
Change-Id: I2437c4bd9313732880a8e4046af9e215857aed33
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
per b/167962976#comment10, following project directories are being
moved under platform/packages/modules/Connectivity/...
cts/test/net --> packages/modules/Connectivity/tests/cts/net
cts/tests/tests/tethering -> packages/modules/Connectivity/tests/cts/tethering
cts/hostsidetests/net -> packages/modules/Connectivity/tests/cts/hostside
BUG: 167962976
Test: TH & Local Build
Exempt-From-Owner-Approval: PS.1 +2d by Lorenzo. fixing tab (+2 not sticky)
Change-Id: I86dd9b867961e94f19fa1aa1e0ca7048859850be
|
| |
|
|
|
|
|
| |
Test: See https://r.android.com/1457217
Bug: 169639321
Change-Id: I2596dfa3c23089e9bcbefe636486625da95b0c50
Merged-In: I2596dfa3c23089e9bcbefe636486625da95b0c50
|
| |
|
|
|
| |
Test: m nothing
Change-Id: Ie9e14638bd14072bd61626c27eff303ba6642a79
|
| |
|
|
|
|
|
|
|
|
|
| |
Adds a doctag_files property that lists files containing information
about the Javadoc tags that are used in the stubs.
Bug: 168301990
Test: Built offline-sdk-docs with and without the change and
diffed them. The only difference was the timestamp.js
file.
Change-Id: I3bb7b34081768c5387aacd168b29242c978b418c
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The NullFromTypeParam class needed to be marked @hide to prevent it
being used to annotate type parameters in api/public/current.txt. The
reason why that is necessary for this but not for
frameworks/base/api/current.txt is because they are generated slightly
differently.
The api/public/current.txt file is generated directly from the source
which contains @NullFromTypeParam usages.
The frameworks/base/api/current.txt file is generated from stubs which
do not contain @NullFromTypeParam usages.
Bug: 168301990
Test: Built offline-sdk-docs with and without the change and
diffed them. There were some changes other than the timestamp.js
file. With these changes classes that implemented the
Object.equals(Object) method had some extra documentation that
explained that the parameter could be null. The reason for this
change is that the stubs generated with this change includes
android.annotation.Nullable whereas previously they included
androidx.annotation.Nullable. The change is a very minor
improvement over what is currently uploaded to
developer.android.com/reference so not worth backporting.
Diffed api/public/current.txt against
frameworks/base/api/current.txt and made sure that the latter was
a superset of the former and there were no differences in the area
that overlapped.
Change-Id: I1bebc40e4de78eccf92b055ee24beff76511a25a
|
| |\
| |
| |
| | |
`JavaLibrary.bp`."
|
| | |
| |
| |
| |
| |
| |
| |
| |
| | |
Mention that this module is also used to compile Libcore tests and ART
run-tests.
Test: n/a (comment-only change)
Bug: 147814778
Change-Id: Icf57f2093b995e944fb10edcf54966db917f33ca
|
| |/
|
|
|
|
| |
e26c0eb0b0ecb4fb240163c5633b3b704add19fa
Change-Id: I8eefb0c0993e51ffdd69151ae2022a18c8d2d647
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Revert "art: Disable host module on darwin"
Revert "releasetools: Disable host module on darwin"
Revert "conscrypt: Disable host module on darwin"
Revert submission 1385032-mac-required-fix
Reason for revert: breaks the build on aosp-master
Reverted Changes:
I13335299c:releasetools: Disable host module on darwin
I728a4677a:conscrypt: Disable host module on darwin
I8f3435ff1:art: Remove dependencies on platform unavailable m...
Ibb9248ef4:art: Disable host module on darwin
I7db68a629:libcore: Disable host module on darwin
Bug: 163030797
Change-Id: I8ecc2f816bc81b0ec5b167a9ffeb8771ddc2e2ab
|
| |
|
|
|
|
|
| |
Bug: 162102724
Bug: 7456955
Test: TH build mac host target
Change-Id: I7db68a6295462d4ce0fc9fb285f7dc415f7e82dc
|
| |
|
|
|
|
|
|
|
|
| |
core-lambda-stubs is distributed as part of the SDK and should use
-target 8 for compatibility with old JDKs.
Bug: 150153790
Bug: 162522383
Test: javap -v --system none -bootclasspath "" -cp out/target/common/obj/JAVA_LIBRARIES/core-lambda-stubs_intermediates/classes.jar java.lang.invoke.LambdaMetafactory | grep "major version"
Change-Id: I73fcfefb353099fa6545b2ff1d2b2fcf677931ae
|