summaryrefslogtreecommitdiff
path: root/ojluni/src
Commit message (Collapse)AuthorAgeFilesLines
* Do not accept zip files with invalid headers.HEADs12.1Almaz Mingaleev2025-06-101-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | According to Section 4.3.6 in [1] non-empty zip file starts with local file header. 4.3.1 allows empty files, and in such case file starts with "end of central directory record". This aligns ZipFile with libziparchive modulo empty zip files - libziparchive rejects them. Tests are skipped because sc-dev branch uses ART module prebuilts, but builds tests from sources which leads to presubmit failures. Ignore-AOSP-First: b/309938635#comment1 [1] https://pkwaredownloads.blob.core.windows.net/pem/APPNOTE.txt Bug: 309938635 Test: CtsLibcoreTestCases Test: CtsLibcoreOjTestCases (cherry picked from commit 288a44a1817707110cdf5a3a6ef8377c6e10cce2) (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:de4023dd7bed3c61a74397261b09d40dcd39668e) Merged-In: I545cdd49ec3cc138331145f4716c8148662a478b Change-Id: I545cdd49ec3cc138331145f4716c8148662a478b
* libcore: Add hooks for Dynamite module support in GmsCompatDanny Lin2022-03-151-0/+20
| | | | | | | | | | | | | These hooks are necessary for GmsCompat to support Google Play Services' dynamic module system (Dynamite) without weakening the SELinux sandbox to allow other apps to open module APKs from /data/user_de/0/com.google.android.gms/app_chimera/m. To minimize changes in libcore, each hook is a simple interface method call that delegates the actual hook code to GmsCompat in frameworks/base. Change-Id: I49c7c2b2fe8b356137dbc90955a7b63684253457
* ZipFile: Add support for opening zip files by fd pathsDanny Lin2022-03-151-1/+6
| | | | | | | | | | | | | | | | | | In some cases, it can be useful to open and parse zip files that are only available by fd reference. For example, file descriptors of APKs containing files to load may be sent via Binder IPC for clients to use. Unfortuantely, while it is already possible for StrictJarFile to open APKs by file descriptor, using that API is not an option because our /proc/self/fd/## path is passed to DexPathList for use in ClassLoader implementations. This is necessary for compatibility with Google Play Services' dynamic module system (Dynamite) without weakening the SELinux sandbox to allow other apps to open module APKs from /data/user_de/0/com.google.android.gms/app_chimera/m. Change-Id: Ibb099307a4267707f2de73369b5665b7af26352b
* Switch hwasan from fork to vfork.Evgenii Stepanov2021-08-181-2/+1
| | | | | | | | | | | | | | | | | | | | | Remove the special case for "hwaddress" sanitizer (HWASan) that makes it use fork instead of vfork (which is the default). The case was introduced earlier because of the missing support for vfork in HWASan. HWASan has been fixed more than 2 years ago in https://reviews.llvm.org/D58533. Moreover, a bug in the fork support has been discovered and fixed upstream in https://reviews.llvm.org/D108063, but it is not in the current Android toolchain yet. Switching back to vfork makes the code faster, avoids the hwasan bug, and reduces the diff in behavior between hwasan and regular builds. Bug: 196623668 Test: CtsLibcoreTestCases (no new failures) Test: manual Merged-In: I15d32829806f605d5599d776753bc32df0494661 Change-Id: I15d32829806f605d5599d776753bc32df0494661 (cherry picked from commit c88ebe712180722b17c17175f0aa90a002eec8f6)
* Correcting technotes and platform documentation linksSorin Basca2021-07-2975-173/+173
| | | | | | | | | | | | | | | | | | | | | | | Correcting all the links of the form `{@docRoot}/../(platform|technote)` from the ojluni Java documenation. The links were automatically rewritten before javadoc compilation, however after merging the Change I1bebc40e4de78eccf92b055ee24beff76511a25a the rewriting stopped working. Until a fix that avoids changing the documentation in the sources is available, this should be used to avoid having broken links on the documentation pages. (cherry picked from commit 8b115484682149f0427e2190323d90a0dd8cddd7) Bug: 188966706 Test: m docs Test: link inspection Merged-in: I2cdd175793d51e42886e0b1eb31528afb2093b25 Change-Id: I2cdd175793d51e42886e0b1eb31528afb2093b25
* Revert an unnecessary patch in java.text.CollationElementIteratorVictor Chang2021-07-011-2/+1
| | | | | | | | | | | | | | | | | | | The patch is unnecessary because NULLORDER is constant and inlineable. from the public Android SDK, as shown in api/current.txt, we can't change the value anyway. So assigning the value from ICU4J CollationElementIterator seems unnecessary. The goal here is actually to remove the static initialization block in legacy.art.module.platform.api.stubs, and thus the stub will be identical to art.module.public.api.stubs.module_lib (cherry picked from commit d785f16fd2adcb4f6ad5c6cb782f8b71b2a90136) Bug: 192446466 Test: Verified that the class file size are identical. diff <(unzip -l out/soong/.intermediates/libcore/mmodules/core_platform_api/legacy.art.module.platform.api.stubs/android_common/turbine-combined/legacy.art.module.platform.api.stubs.jar) <( unzip -l out/soong/.intermediates/libcore/art.module.public.api.stubs.module_lib/android_common/turbine-combined/art.module.public.api.stubs.module_lib.jar) Merged-In: I2902963704ddcb6d8c1583dc5165f2e4da1a9e3c Change-Id: Ie94e00233b4e99b34a5975f8ff662e21bb4667e6
* Remove @CorePlatformApi usage from the ojluni/ sourcesVictor Chang2021-06-233-8/+0
| | | | | | | | | | | | The APIs have been annotated in the *.annoated.java in annotations/mmodule. Bug: 157639992 Test: m droid Test: Verified no change in the generated files in mmodules/core_platform_api/api Merged-In: Ibee1fb7d8d085871ac2f2c3390d72701b2361bd0 Change-Id: Ibee1fb7d8d085871ac2f2c3390d72701b2361bd0 (cherry picked from commit 87aa314212a5d08e6dc3a6208ff745535451dc60)
* Improve test coverage for java.lang.StrictMathNikita Iashchenko2021-06-042-0/+475
| | | | | | | | | | | | | | | | | | | | | | | | | 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)
* Merge changes from topic "java-util-concurrent-unit-tests-4"Sorin Basca2021-05-112-0/+10
|\ | | | | | | | | | | | | | | * changes: Adding unit test for RecursiveTask.setRawResult Adding unit tests for ConcurrentHashMap.KeySetView Adding unit tests for ReentrantReadWriteLock Adding unit tests for AbstractQueuedSynchronizer
| * Adding unit tests for AbstractQueuedSynchronizerSorin Basca2021-05-102-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding tests to cover the following APIs: java.util.concurrent.locks.AbstractQueuedLongSynchronizer.hasQueuedPredecessors() java.util.concurrent.locks.AbstractQueuedLongSynchronizer.isHeldExclusively() java.util.concurrent.locks.AbstractQueuedLongSynchronizer.tryAcquire(long) java.util.concurrent.locks.AbstractQueuedLongSynchronizer.tryAcquireShared(long) java.util.concurrent.locks.AbstractQueuedLongSynchronizer.tryRelease(long) java.util.concurrent.locks.AbstractQueuedLongSynchronizer.tryReleaseShared(long) java.util.concurrent.locks.AbstractQueuedLongSynchronizer.ConditionObject.AbstractQueuedLongSynchronizer.ConditionObject() java.util.concurrent.locks.AbstractQueuedSynchronizer.hasQueuedPredecessors() java.util.concurrent.locks.AbstractQueuedSynchronizer.isHeldExclusively() java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquire(int) java.util.concurrent.locks.AbstractQueuedSynchronizer.tryAcquireShared(int) java.util.concurrent.locks.AbstractQueuedSynchronizer.tryRelease(int) java.util.concurrent.locks.AbstractQueuedSynchronizer.tryReleaseShared(int) java.util.concurrent.locks.AbstractQueuedSynchronizer.ConditionObject.AbstractQueuedSynchronizer.ConditionObject() Bug: 182165523 Test: atest AbstractQueuedLongSynchronizerTest Test: atest AbstractQueuedSynchronizerTest Change-Id: Ie3d68c294ed56f61479db089a6d1cef504c9b88c
* | Use the renamed ExtendedTimeZoneNames.matchName method - part 2Victor Chang2021-05-061-2/+1
|/ | | | | | Bug: 183477238 Test: treehugger Change-Id: Iee7faa3582574ee6ea3a965bcb2c83f637b93401
* Use the renamed ExtendedTimeZoneNames.matchName methodVictor Chang2021-05-041-6/+6
| | | | | | Bug: 183477238 Test: treehugger Change-Id: Ic5e7b4b4262fcfc04a00cfa744aaf33243354e67
* Merge changes from topic ↵Sorin Basca2021-04-268-638/+9
|\ | | | | | | | | | | | | | | | | | | "revert-1660319-java-util-concurrent-unit-tests-1-LTAADEKWYP" * changes: Revert "Adding unit tests for ConcurrentHashMap" Revert "Adding unit tests for ConcurrentSkipListMap" Revert "Adding unit tests for ConcurrentSkipListSet" Revert "Adding unit tests for exception classes"
| * Revert "Adding unit tests for ConcurrentHashMap"Sorin Basca2021-04-261-185/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | Revert submission 1660319-java-util-concurrent-unit-tests-1 Reason for revert: Removing unit tests which cause too much divergence from upstream Reverted Changes: Idc905cc6b:Adding unit tests for exception classes I700188e1d:Adding unit tests for ConcurrentSkipListSet Ifa55996c2:Adding unit tests for ConcurrentSkipListMap Ic2a58cae5:Adding unit tests for ConcurrentHashMap Change-Id: I76f2b11dc2574e6230fe74bc41563527a97660d4
| * Revert "Adding unit tests for ConcurrentSkipListMap"Sorin Basca2021-04-261-49/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | Revert submission 1660319-java-util-concurrent-unit-tests-1 Reason for revert: Removing unit tests which cause too much divergence from upstream Reverted Changes: Idc905cc6b:Adding unit tests for exception classes I700188e1d:Adding unit tests for ConcurrentSkipListSet Ifa55996c2:Adding unit tests for ConcurrentSkipListMap Ic2a58cae5:Adding unit tests for ConcurrentHashMap Change-Id: I1096e46ef08418f11f5c72645edf086bd3e44939
| * Revert "Adding unit tests for ConcurrentSkipListSet"Sorin Basca2021-04-261-71/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Revert submission 1660319-java-util-concurrent-unit-tests-1 Reason for revert: Removing unit tests which cause too much divergence from upstream Reverted Changes: Idc905cc6b:Adding unit tests for exception classes I700188e1d:Adding unit tests for ConcurrentSkipListSet Ifa55996c2:Adding unit tests for ConcurrentSkipListMap Ic2a58cae5:Adding unit tests for ConcurrentHashMap Change-Id: If858706de8e0dad6d896e57d7816326327c031a8
| * Revert "Adding unit tests for exception classes"Sorin Basca2021-04-265-333/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Revert submission 1660319-java-util-concurrent-unit-tests-1 Reason for revert: Removing unit tests which cause too much divergence from upstream Reverted Changes: Idc905cc6b:Adding unit tests for exception classes I700188e1d:Adding unit tests for ConcurrentSkipListSet Ifa55996c2:Adding unit tests for ConcurrentSkipListMap Ic2a58cae5:Adding unit tests for ConcurrentHashMap Change-Id: I7b0828df7ed5f549adf734cf6808029649990d11
* | Merge "Add MODULE target for java.lang.Deprecated."Nikita Iashchenko2021-04-231-3/+1
|\ \
| * | Add MODULE target for java.lang.Deprecated.Nikita Iashchenko2021-03-031-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | ElementType.MODULE field was introduced in https://r.android.com/1596572. This CL adds MODULE target for java.lang.Deprecated and removes previously added change marker. Test: m update-api Change-Id: I4de5691350c3769d97b311ef9606eb3a2fb040c0
* | | Merge changes I2c15353c,If90e1b8d,Ibaa25dbc,Iabeacf46,Iaa5f1e11, ...Nikita Iashchenko2021-04-215-11/+29
|\ \ \ | |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Mark stable and document libcore.util.XmlObjectFactory Mark stable and document libcore.util.SneakyThrow Mark stable and document libcore.util.NativeAllocationRegistry Mark stable and document libcore.io.Streams Mark stable and document libcore.io.Memory Mark stable and document libcore.io.IoUtils Mark stable and document libcore.io.{Os,ForwardingOs} Mark stable and document javax.net.ssl.HttpsURLConnection Mark stable and document java.util.LinkedHashMap Mark stable and document java.text.DateFormat Mark stable java.security.Provider and java.security.Signature Mark stable java.nio.ByteBuffer#setAccessible Mark stable java.net.InetAddress Mark stable and document java.lang.Thread Mark stable FileInputStream constructor Mark stable getter and setter exposing FileDescriptor Mark stable and document dalvik.system.RuntimeHooks Mark stable and document dalvik.system.PathClassLoader Mark stable and document dalvik.system.DexFile
| * | Mark stable and document javax.net.ssl.HttpsURLConnectionNikita Iashchenko2021-04-201-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also remove incorrectly used CorePlatformApi annotation from ojluni sources and add corresponding stub file. Bug: 154796679 Test: m update-api t: m update-api Change-Id: I7ad42af915661dd6302ccdee9bfc4cdcf6acb052
| * | Mark stable and document java.util.LinkedHashMapNikita Iashchenko2021-04-201-0/+3
| | | | | | | | | | | | | | | | | | Bug: 154796679 Test: m update-api Change-Id: Ie42bcac742e028c7c9d479f98e25605661b7a211
| * | Mark stable and document java.text.DateFormatNikita Iashchenko2021-04-201-3/+11
| | | | | | | | | | | | | | | | | | Bug: 154796679 Test: m update-api Change-Id: I268152a73a98fc59ea392430c341f789db9702ef
| * | Mark stable java.net.InetAddressNikita Iashchenko2021-04-201-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | Use annotated files instead of marking table ojluni sources directly. Bug: 154796679 Test: m update-api Change-Id: Ifa4fdf523b3de62632791e14a2b28d44482b747d
| * | Mark stable and document java.lang.ThreadNikita Iashchenko2021-04-201-1/+10
| | | | | | | | | | | | | | | | | | Bug: 154796679 Test: m update-api Change-Id: I3f535e89f297b4d4456610ebbc0d8f5db27d35e4
* | | Adding unit tests for exception classesSorin Basca2021-04-195-2/+333
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding tests to cover the following APIs: java.util.concurrent.BrokenBarrierException.BrokenBarrierException(java.lang.String) java.util.concurrent.CompletionException.CompletionException() java.util.concurrent.CompletionException.CompletionException(java.lang.String) [X] java.util.concurrent.CompletionException.CompletionException(java.lang.String, java.lang.Throwable) java.util.concurrent.CompletionException.CompletionException(java.lang.String, java.lang.Throwable) java.util.concurrent.ExecutionException.ExecutionException() java.util.concurrent.ExecutionException.ExecutionException(java.lang.String) java.util.concurrent.ExecutionException.ExecutionException(java.lang.String, java.lang.Throwable) java.util.concurrent.RejectedExecutionException.RejectedExecutionException() java.util.concurrent.RejectedExecutionException.RejectedExecutionException(java.lang.String, java.lang.Throwable) java.util.concurrent.RejectedExecutionException.RejectedExecutionException(java.lang.Throwable) Bug: 182165523 Test: atest CtsLibcoreOjTestCases:BrokenBarrierExceptionTest Test: atest CtsLibcoreOjTestCases:CompletionExceptionTest Test: atest CtsLibcoreOjTestCases:ExecutionExceptionTest Test: atest CtsLibcoreOjTestCases:RejectedExecutionExceptionTest Change-Id: Idc905cc6baf770ff514adcf9ae00547832271e09
* | | Adding unit tests for ConcurrentSkipListSetSorin Basca2021-04-191-2/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding tests to cover the following APIs: java.util.concurrent.ConcurrentSkipListSet.ConcurrentSkipListSet(java.util.SortedSet) java.util.concurrent.ConcurrentSkipListSet.clone() java.util.concurrent.ConcurrentSkipListSet.descendingIterator() Bug: 182165523 Test: atest CtsLibcoreOjTestCases:ConcurrentSkipListSetTest Change-Id: I700188e1d2aeaf1b9f8a20fb64443e9a1b22dd53
* | | Adding unit tests for ConcurrentSkipListMapSorin Basca2021-04-191-4/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding tests to cover the following APIs: java.util.concurrent.ConcurrentSkipListMap.clone() java.util.concurrent.ConcurrentSkipListMap.firstEntry() java.util.concurrent.ConcurrentSkipListMap.lastEntry() Modified existing tests to cover the following APIs: java.util.concurrent.ConcurrentSkipListMap.headMap(K) java.util.concurrent.ConcurrentSkipListMap.subMap(K, K) java.util.concurrent.ConcurrentSkipListMap.tailMap(K) These APIs - headMap(K), subMap(K, K), tailMap(K) - are just a simplified version of other equivalent APIs which were already tested with the "default" parameters. Since those, fuller, APIs are also tested in other places, the existing tests with "default" parameters have been converted to just use the simplified API. Change-Id: Ifa55996c27f385353e4393b5bac1f176276ab378 Bug: 182165523 Test: atest CtsLibcoreOjTestCases:ConcurrentSkipListMapTest
* | | Adding unit tests for ConcurrentHashMapSorin Basca2021-04-191-1/+185
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding tests to cover the following APIs: java.util.concurrent.ConcurrentHashMap.newKeySet(int) java.util.concurrent.ConcurrentHashMap.reduceEntries(long, java.util.function.Function, java.util.function.BiFunction) java.util.concurrent.ConcurrentHashMap.reduceEntriesToDouble(long, java.util.function.ToDoubleFunction, double, java.util.function.DoubleBinaryOperator) java.util.concurrent.ConcurrentHashMap.reduceEntriesToInt(long, java.util.function.ToIntFunction, int, java.util.function.IntBinaryOperator) java.util.concurrent.ConcurrentHashMap.reduceEntriesToLong(long, java.util.function.ToLongFunction, long, java.util.function.LongBinaryOperator) java.util.concurrent.ConcurrentHashMap.reduceToDouble(long, java.util.function.ToDoubleBiFunction, double, java.util.function.DoubleBinaryOperator) java.util.concurrent.ConcurrentHashMap.reduceToInt(long, java.util.function.ToIntBiFunction, int, java.util.function.IntBinaryOperator) java.util.concurrent.ConcurrentHashMap.reduceToLong(long, java.util.function.ToLongBiFunction, long, java.util.function.LongBinaryOperator) Change-Id: Ic2a58cae5c56d3197445872aad1e7c30e20ba0df Bug: 182165523 Test: atest CtsLibcoreOjTestCases:ConcurrentHashMap8Test
* | Mark stable sun.misc.Cleaner APIsNikita Iashchenko2021-04-141-1/+0
| | | | | | | | | | | | Bug: 154796679 Test: m stable.art.module.platform.api.stubs.source-update-current-api Change-Id: I31e1123965f232a22d87674612f83ec577accdde
* | Merge changes I19629f18,Ida9b1065,Ic72aba4f,Ia728b7dc,Ib4e217b4, ...Nikita Iashchenko2021-04-127-59/+46
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | * changes: Mark stable dalvik.system.BaseDexClassLoader Mark stable sun.security.jca.Providers APIs Use annotated stubs for sun.misc.Unsafe Mark stable and document Inet{4,6}Address constants Mark stable and document getters exposing FileDescriptor Add API docs and mark stable java.nio.*
| * | Mark stable sun.security.jca.Providers APIsNikita Iashchenko2021-03-311-2/+8
| | | | | | | | | | | | | | | | | | | | | Bug: 154796679 Test: m stable.art.module.platform.api.stubs.source-update-current-api Test: m update-api Change-Id: Ida9b1065a1a6c172f8a862e1fe2d55085c56398b
| * | Use annotated stubs for sun.misc.UnsafeNikita Iashchenko2021-03-311-52/+0
| | | | | | | | | | | | | | | | | | Bug: 154796679 Test: m stable.art.module.platform.api.stubs.source-update-current-api Change-Id: Ic72aba4f3abfcdabdbec7b52ece8c0c927aaea71
| * | Mark stable and document Inet{4,6}Address constantsNikita Iashchenko2021-03-312-5/+26
| | | | | | | | | | | | | | | | | | Bug: 154796679 Test: m stable.art.module.platform.api.stubs.source-update-current-api Change-Id: Ia728b7dcc200925c6679c9d80019954be6e386f8
| * | Mark stable and document getters exposing FileDescriptorNikita Iashchenko2021-03-313-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Classes exposing their FileDescriptor as stable API: * java.net.DatagramSocket * java.net.Socket * java.net.SocketImpl Bug: 154796679 Test: m stable.art.module.platform.api.stubs.source-update-current-api Change-Id: Ib4e217b43c3d74a701cdd65c72d9b447ca05ff64
* | | Merge "isSocket() shouldn't clear socket error codes"Treehugger Robot2021-04-121-3/+5
|\ \ \
| * | | isSocket() shouldn't clear socket error codesMaciej Żenczykowski2021-04-121-3/+5
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See https://linux.die.net/man/7/socket: SO_DOMAIN (since Linux 2.6.32) Retrieves the socket domain as an integer, returning a value such as AF_INET6. See socket(2) for details. This socket option is read-only. SO_ERROR Get and clear the pending socket error. This socket option is read-only. Expects an integer. We can rely on Linux kernel version being >=4.9 with Android S Test: atest, TreeHugger Signed-off-by: Maciej Żenczykowski <maze@google.com> Change-Id: I97cdb3fd62c7bf30205bf8cc035461da98762538
* | | Merge "Revert "Return anonymized MAC for apps targeting SDK < 30""Bram Bonné2021-04-091-36/+13
|\ \ \ | |/ / |/| |
| * | Revert "Return anonymized MAC for apps targeting SDK < 30"Bram Bonné2021-04-081-36/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "Reland: Soft-enable MAC address restrictions with allowlist." Revert "Updates CTS tests for MAC address restrictions." Revert submission 1528409-mac-softrestrict Reason for revert: App compatibility Reverted Changes: I74a50b990:Return anonymized MAC for apps targeting SDK < 30 I8738f7912:Reland: Soft-enable MAC address restrictions with ... Id13670747:Updates CTS tests for MAC address restrictions. Change-Id: Id28ba57c95f6e5426e62d6c7385ac81c21bbd922
* | | Use annotated stubs for ZipEntry and CompletableFutureNikita Iashchenko2021-03-312-6/+0
| | | | | | | | | | | | | | | | | | Bug: 154796679 Test: m stable.art.module.platform.api.stubs.source-update-current-api Change-Id: I15d4a9b1dd297ee71fc578f11ad29643adb084f3
* | | Use annotated stubs for sun.security.pkcs.*Nikita Iashchenko2021-03-313-20/+6
| | | | | | | | | | | | | | | | | | Bug: 154796679 Test: m stable.art.module.platform.api.stubs.source-update-current-api Change-Id: I7eb393f3c0b64245cbba7cab73712c6953a65186
* | | Shorten test.java.awt.font.NumericShaper.MTTest from 180s to 15sVictor Chang2021-03-231-1/+3
| | | | | | | | | | | | | | | | | | Fix: 183290003 Test: atest CtsLibcoreOjTestCases:test.java.awt.font.NumericShaper.MTTest Change-Id: Ie324784c5482f79a455a81884ea94932fd9f6827
* | | Mark java.net.InetAddress APIs as stablepaulhu2021-03-121-2/+5
| | | | | | | | | | | | | | | | | | Bug: 181756157 Test: m update-api, build pass Change-Id: I9af42310abd58338895ec174f1d0f0bd24764036
* | | Merge "Revert "Mark java.net.InetAddress APIs as stable""Paul Hu2021-03-121-5/+2
|\ \ \
| * | | Revert "Mark java.net.InetAddress APIs as stable"Paul Hu2021-03-121-5/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 04e114c50c2c1766c9404cae79abd547163dfeb3. Reason for revert: Build break on aosp-master-with-phones branch Change-Id: Iaac12c4b53cd8a02d851b8ea562cd4bfcab01a5f
* | | | Merge "Mark java.net.InetAddress APIs as stable"Paul Hu2021-03-121-2/+5
|\| | |
| * | | Mark java.net.InetAddress APIs as stablepaulhu2021-03-091-2/+5
| | |/ | |/| | | | | | | | | | | | | Bug: 181756157 Test: m update-api Change-Id: I08ef9537d813699b69af9f527d7caa0947acce88
* | | Merge "Mark stable CompletableFuture and ZipEntry"Nikita Iashchenko2021-03-112-1/+8
|\ \ \
| * | | Mark stable CompletableFuture and ZipEntryNikita Iashchenko2021-03-092-1/+8
| | | | | | | | | | | | | | | | | | | | | | | | Bug: 154796679 Test: m update-api Change-Id: I11f9f859aa245745034994b25c6f4e802fb690aa
* | | | Mark sun.misc.Unsafe APIs as stableNikita Iashchenko2021-03-091-31/+95
|/ / / | | | | | | | | | | | | | | | | | | | | | Bug: 154796679 Test: m stable.art.module.platform.api.stubs.source-update-current-api m legacy.art.module.platform.api.stubs.source-update-current-api Test: m update-api Change-Id: Ia2a208cb822c9a5d698550563a45ba28e4f6d93f