| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tzdata module prebuilts were updated to 2021a1 (2021b) in ag/16249425
and ag/16282952 enabled them. That caused failures in tests which
expected explicit offset in certain time zones.
java.util.TimeZone APIs allow to check offsets on specifc time, but
DateFormatSymbols always returns data as of now. So I've changed them to
be consistent with java.util.TimeZone.
Bug: 201301255
Bug: 204279800
Bug: 211073707
Test: atest luni/src/test/java/libcore/java/test/DateFormatSymbolsTest.java
Test: atest luni/src/test/java/libcore/java/util/TimeZoneTest.java
Change-Id: I9e13e6c4552697957f8eb3e3b0327fe7d321bef9
Merged-In: I9e13e6c4552697957f8eb3e3b0327fe7d321bef9
|
| |
|
|
|
|
|
|
|
|
|
| |
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's a partial cherry-pick from https://r.android.com/1738234 in
aosp/master to avoid an merge conflict in internal master.
Bug: 157639992
Test: m droid
Merged-In: Ic3e8a99b3844445286332677ed0f38c9b1850fb0
Change-Id: I62b6bcc55c3dada4a965620d897d8560d4fc826d
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cover Collectors.mapping with unit tests.
Bug: 182165513
Test: atest libcore.java.util.stream.CollectorsTest
Change-Id: I17439ccf648b5db8d30715d46e41e451b931b78c
(cherry picked from commit bd2717711271290403670a32de295b446875d5ac)
Merged-In: I17439ccf648b5db8d30715d46e41e451b931b78c
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
API: com/android/okhttp/internalandroidapi/Dns->\
lookup(java.lang.String)
Bug: 182163826
Test: atest HttpURLConnectionFactoryTest
Merged-In: I70ca4fb549cfc390e09f2dfa029c7077d1067d9e
Change-Id: I70ca4fb549cfc390e09f2dfa029c7077d1067d9e
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cover Era.getLong method with tests.
Bug: 182165762
Test: atest libcore.java.time.chrono.EraTest
Change-Id: I0dbe7193480c5ca12b26ad95529127e1e8e4a1fb
Merged-In: I0dbe7193480c5ca12b26ad95529127e1e8e4a1fb
(cherry picked from commit 8be600c784cc208b23d45ca88dda65a430fa065d)
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add unit test for ChronoZonedDateTime.isSupported.
Bug: 182165762
Test: atest libcore.java.time.chrono.ChronoZonedDateTimeTest
Change-Id: Iaed66919fe3bfba94af9ead96bfcfc4c57548153
Merged-In: Iaed66919fe3bfba94af9ead96bfcfc4c57548153
(cherry picked from commit e67e0e10e3c75d445745f52b6908a5c35c0dab1f)
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cover OffsetDateTime.minus(long, TemporalUnit) method.
Bug: 182165762
Test: atest libcore.java.time.OffsetDateTimeTest
Change-Id: Ia368599badf974c3e0663c6971a1c9fa2f9894be
(cherry picked from commit 27df5916b5b5946a7c97a8070607676ce5f78c13)
Merged-In: Ia368599badf974c3e0663c6971a1c9fa2f9894be
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cover dateEpochDay method.
Bug: 182165762
Test: atest libcore.java.time.chrono.JapaneseChronologyTest
Change-Id: I216257d767413506d2635794e6925683d86d5e7a
Merged-In: I216257d767413506d2635794e6925683d86d5e7a
(cherry picked from commit 469e077a51f20fd71a0080d67a86fde6fbf19b6b)
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cover ChronoPeriod.between with unit tests.
Bug: 182165762
Test: atest libcore.java.time.chrono.ChronoPeriodTest
Change-Id: Id8b39443f4cdb6bdbf9fa70224569aac7acdf57d
Merged-In: Id8b39443f4cdb6bdbf9fa70224569aac7acdf57d
(cherry picked from commit 1aedf0406df5d8277d09a0560c60275bc298f934)
|
| |/
|
|
|
|
|
|
| |
Bug: 182165762
Test: atest libcore.java.time.chrono.HijrahDateTest
Change-Id: I39c5d76646106c50508aaba09b6b23f99af5bbb1
Merged-In: I39c5d76646106c50508aaba09b6b23f99af5bbb1
(cherry picked from commit 8e0b311f20a9874435a6c548de863ec7789d766b)
|
| |\ |
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Added test coverage for public API methdos:
* multiplyExact(long, int)
Imported jdk/jdk11/test/jdk/java/lang/StrictMath/ExactArithTests.java
Upstream commit: 51151:1ddf9a99e4ad
* multiplyHigh(long, long)
Imported from jdk/jdk11/test/jdk/java/lang/Math/MultiplicationTests.java
Note that test is imported from Math, not StrictMath as APIs are the same
but StrictMath test suite is missing MultiplicationTests.java.
Upstream commit: 51151:1ddf9a99e4ad
* multiplyFull(int, int)
Added as regular test in luni/ as upstream has not coverage for this method
at all.
Bug: 183239578
Bug: 182167025
Test: atest CtsLibcoreOjTestCases:test.java.lang.StrictMath.ExactArithTests \
CtsLibcoreOjTestCases:test.java.lang.StrictMath.MultiplicationTests \
CtsLibcoreTestCases:libcore.java.lang.StrictMathTest
Change-Id: I12e94dc3a51ce49797983e1340c46d02babccc91
Merged-In: Idd03cde1c22861a040981ae8ce35afb66e1cf437
(cherry picked from commit ecebe98368f26ab08daadd297179fc6ee54af23c)
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The RecursiveTaskTest times out waiting for the recursive task to
terminate when run under gcstress. Increasing the timeout to
allow all the recursive tasks to run.
(cherry picked from commit fc8124c7809f78647fca5f8b63547e06baa26c5f)
Fixes: 189340966
Test: atest RecursiveTaskTest
Merged-In: I9e989cd6067181b0948daa941ab9275bc7eba067
Change-Id: I1a0b89b15b4297e1201f778254f5fc1a813a8ff7
|
| |\ \ |
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
NetworkEventDispatcher.onNetworkConfigurationChanged() is now
NetworkEventDispatcher.dispatchNetworkConfigurationChange().
Bug: 185153775
Test: m
Change-Id: Iacea67c0d1a02feec13d7cbba56bfb8b2e97e77c
|
| |\ \ \
| |/ /
|/| | |
|
| | | |
| | |
| | |
| | |
| | |
| | | |
Bug: 185153775
Test: m
Change-Id: I5507678bd18902d1d23b39cfb288c71bb8ce2f20
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | | |
Bug: 185153775
Test: m
Change-Id: I3edf4d8662da906dc001ea77adbf1cae438352e1
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Default implementation was removed and no alternative is
available. So, newPacker/newUnpacker methods throw NPE.
Bug: 182165515
Test: atest libcore.java.util.jar.Pack200Test
(cherry picked from commit af8e782ec4a78c32c938e632c356e698a4b5eb10)
Change-Id: If68e0e5537b9416dea9b08f4ece5511c4e8f9aa0
Merged-In: If68e0e5537b9416dea9b08f4ece5511c4e8f9aa0
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Cover MinguoDate.minus method with tests.
Bug: 182165762
Test: atest libcore.java.time.chrono.MinguoDateTest
(cherry picked from commit 0ef971f4126890e03caa767125c1e44f22913cd3)
Change-Id: I7c4f57016f5ee23bb2dc2cb37589a0cda630b5e6
Merged-In: I7c4f57016f5ee23bb2dc2cb37589a0cda630b5e6
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Cover JapaneseDate.minus with tests.
Bug: 182165762
Test: atest libcore.java.time.chrono.JapaneseDateTest
(cherry picked from commit 20015a0a502a297b3d0aa7cbf75585ef7106bd81)
Change-Id: I895a00d3ceb2d1e969e89d3b975e13be778f5de8
Merged-In: I895a00d3ceb2d1e969e89d3b975e13be778f5de8
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Cover ThaiBuddhistDate.minus(TemporalAmount) with unit test.
Bug: 182165762
Test: atest libcore.java.time.chrono.ThaiBuddhistDateTest
(cherry picked from commit 4efeaa64a196fd7a5c62efae3236108a8ce04673)
Change-Id: Ie15827e99aa3e0bccc0456f4ead4fbcefb3463f4
Merged-In: Ie15827e99aa3e0bccc0456f4ead4fbcefb3463f4
|
| |\ \ \ |
|
| | |/ /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Cover MinguoChronology.getEpochDay(long) with unit tests.
Bug: 182165762
Test: atest libcore.java.time.chrono.MinguoChronologyTest
(cherry picked from commit 2357c6cd4296375a956ec7be374427298ab24e3c)
Change-Id: Iaa9a954acac0b6c757c2e48fc997a400be9f054b
Merged-In: Iaa9a954acac0b6c757c2e48fc997a400be9f054b
|
| |\ \ \
| |_|/
|/| | |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cover HijrahChronology.dateEpochDay(long) with unit test.
Bug: 182165762
Test: atest libcore.java.time.chrono.HijrahChronologyTest
(cherry picked from commit 209f9703db6de50c0ab2ce7e26cac5e70ff0e849)
Change-Id: I0a7d1e34c6d22624c8a024ca99d86e995b3b6087
Merged-In: I0a7d1e34c6d22624c8a024ca99d86e995b3b6087
|
| |\ \ |
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cover fireIndexedPropertyChange for int and boolean changes.
Bug: 182167014
Test: atest libcore.java.util.beans.PropertyChangeSupportTest
(cherry picked from commit 99a822696ab767f878262146cd7ec0cd60ed69da)
Change-Id: Ib524fbd23f887ff38a37f4f0517d8be30b10ca1b
Merged-In: Ib524fbd23f887ff38a37f4f0517d8be30b10ca1b
|
| |/
|
|
|
|
|
|
|
|
|
|
|
| |
Android does not support SecurityManager, so we just check that
implementation is a stub.
Newly added test is JUnit3 as "atest package.name" does not pick
up JUnit4 tests from libcore.javax.net.ssl. That's probably due to
test_config.
Fixes: 182163688
Test: atest libcore.javax.net.ssl.SSLPermissionTest
Change-Id: I96043ac48dc5ab9936a6b753d24499a0dee54b9c
|
| |\
| |
| |
| |
| |
| | |
Original change: https://android-review.googlesource.com/c/platform/libcore/+/1706745
Change-Id: I40aab1d4c02d62bfca06d2381c3ace238ffca8fa
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Cover ZipFile(File, Charset) and ZipFile(String, Charset) with
unit tests.
cp1251.zip archive has single empty file with cp1251 encoding name.
Its name is 'имя файла'('file name' in Russian), but in cp1251.
It was created using "convmv -f utf-8 -t cp1251 <file> --notest".
Bug: 182164908
Test: atest libcore.java.util.zip.ZipFileTest
Change-Id: Ib1ac6619f9ece3e44a6d52179ccdd988f09007bf
|
| | |
| |
| |
| |
| |
| | |
Bug: 157639992
Test: m droid
Change-Id: I201510d3c5205305228ac6358f19ae13d31cf421
|
| |\|
| |
| |
| |
| |
| | |
Original change: https://android-review.googlesource.com/c/platform/libcore/+/1705406
Change-Id: Ic063c3526dbbed76ff99cc00ab5b1cf35e4a3c10
|
| | |\ |
|