aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-08-14Snap for 7642774 from a455bf01b90f654bee3a6970ad06eb241ecf709c to sc-v2-releaseandroid-vts-12.1_r1android-platform-12.1.0_r9android-platform-12.1.0_r8android-platform-12.1.0_r7android-platform-12.1.0_r6android-platform-12.1.0_r5android-platform-12.1.0_r4android-platform-12.1.0_r3android-platform-12.1.0_r28android-platform-12.1.0_r27android-platform-12.1.0_r26android-platform-12.1.0_r25android-platform-12.1.0_r24android-platform-12.1.0_r23android-platform-12.1.0_r22android-platform-12.1.0_r21android-platform-12.1.0_r20android-platform-12.1.0_r2android-platform-12.1.0_r19android-platform-12.1.0_r18android-platform-12.1.0_r17android-platform-12.1.0_r16android-platform-12.1.0_r15android-platform-12.1.0_r14android-platform-12.1.0_r13android-platform-12.1.0_r12android-platform-12.1.0_r11android-platform-12.1.0_r10android-platform-12.1.0_r1android-cts-12.1_r1android-12.1.0_r6android-12.1.0_r5android-12.1.0_r4android-12.1.0_r3android-12.1.0_r27android-12.1.0_r2android-12.1.0_r1android12L-s1-releaseandroid12L-releaseandroid12L-platform-releaseandroid12L-gsiAndroid Build Coastguard Worker
Change-Id: I67df0fac14ff9d5d42a6e3476fc1ee519bf681d0
2021-08-13[automerger skipped] Merge stage-aosp-sc-ts-dev before making it an upstream ↵android-12.1.0_r9android-12.1.0_r8android-12.1.0_r7android-12.1.0_r22android-12.1.0_r21android-12.1.0_r20android-12.1.0_r19android-12.1.0_r11android-12.1.0_r10android12L-devandroid12-qpr3-s7-releaseandroid12-qpr3-s6-releaseandroid12-qpr3-s5-releaseandroid12-qpr3-s4-releaseandroid12-qpr3-s3-releaseandroid12-qpr3-s2-releaseandroid12-qpr3-s1-releaseandroid12-qpr3-releaseXin Li
am: 377a3f555c -s ours am: 924897d2a8 -s ours am skip reason: Merged-In Ic9a8a0ef59723baa08b44ad9db0dc5c695ba9578 with SHA-1 35aef1ba39 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/okhttp/+/15546966 Change-Id: Ie673edf348722de577fd491efb27973d38456997
2021-08-13[automerger skipped] Merge stage-aosp-sc-ts-dev before making it an upstream ↵android-12.0.0_r32android-12.0.0_r29android-12.0.0_r27android-12.0.0_r21android-12.0.0_r20android-12.0.0_r19android-12.0.0_r18android12-qpr1-d-s3-releaseandroid12-qpr1-d-s2-releaseandroid12-qpr1-d-s1-releaseandroid12-qpr1-d-releaseXin Li
am: 377a3f555c -s ours am skip reason: Merged-In Ic9a8a0ef59723baa08b44ad9db0dc5c695ba9578 with SHA-1 35aef1ba39 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/okhttp/+/15546966 Change-Id: I726f92bc13ec0f637e9e2f843d8544d72d11f64a
2021-08-13[automerger skipped] Merge ab/7633965 am: f656bd9b3c -s oursThe Android Open Source Project
am skip reason: Merged-In Ic9a8a0ef59723baa08b44ad9db0dc5c695ba9578 with SHA-1 35aef1ba39 is already in history Original change: https://googleplex-android-review.googlesource.com/c/platform/external/okhttp/+/15547192 Change-Id: I1cbd22604c353066849ca8b23f96074928fbfdbe
2021-08-13Merge stage-aosp-sc-ts-dev before making it an upstreamXin Li
Bug: 169893837 Merged-In: Ic9a8a0ef59723baa08b44ad9db0dc5c695ba9578 Change-Id: I7359c0b3fb5ad0fddbbd2a2464d8a6fd8bb73348
2021-08-12Merge ab/7633965The Android Open Source Project
Bug: 169893837 Merged-In: Ic9a8a0ef59723baa08b44ad9db0dc5c695ba9578 Change-Id: I4504c8d9f844d632afe98ef51350fd7207a81397
2021-07-22Snap for 7571196 from 1121b8508a51e9bbae4e77117b065c130c839fe3 to sc-v2-releaseAndroid Build Coastguard Worker
Change-Id: Id29c5d147b087a161363bb3f3e7038b3a31f8d1a
2021-07-21Fixing stability of CallTest.cancelInFlightBeforeResponseReadThrowsIOE am: ↵Sorin Basca
35aef1ba39 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/okhttp/+/15337231 Change-Id: I18d8cc83b2aa1c569400eb303f13b9a61bd96e5c
2021-07-20Fixing stability of CallTest.cancelInFlightBeforeResponseReadThrowsIOEandroid12-devSorin Basca
The CallTest.cancelInFlightBeforeResponseReadThrowsIOE tests fail occasionally. It looks like a race condition between the cancel going through and the response message being handled from the client side. The test code has been updated to make the server-side hold off the response until the cancel is seen on the client-side. (cherry picked from commit 6bb2abab50a48217af33c9872ead82ba507f0ffa) Bug: 191957489 Test: atest CtsLibcoreOkHttpTestCases:com.squareup.okhttp.CallTest --iterations 1000 Merged-In: Ic9a8a0ef59723baa08b44ad9db0dc5c695ba9578 Change-Id: Ic9a8a0ef59723baa08b44ad9db0dc5c695ba9578
2021-07-17Snap for 7557463 from 7ee3b70400312ecd7b99524923bdd9e682243da4 to sc-v2-releaseAndroid Build Coastguard Worker
Change-Id: I20e3ae20528c0873c048459dc19db762836e9372
2021-07-16Fixing stability of headersOnlyStreamIsClosedAfterReplyHeaders am: 541335a930Sorin Basca
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/okhttp/+/15299577 Change-Id: I274a2312aa53a0a028884cbefe7b9c45415a5bed
2021-07-16Making the OkHttp internal framed tests more stable am: a40903c6d4Sorin Basca
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/okhttp/+/15299576 Change-Id: I9a3c9454a7c278d5fcb896306099511f88935fc6
2021-07-15Fixing stability of headersOnlyStreamIsClosedAfterReplyHeadersSorin Basca
Spdy3ConnectionTest.headersOnlyStreamIsClosedAfterReplyHeaders was occasionally failing. The error seems to be due to the fact that when a new stream is created, if only headers are exchanged and the exchange happens too quickly, then the stream is not marked as open, which causes the test to fail, as it expects an open stream after creation. This was fixed in upstream by removing the check that fails due to race conditions. See https://github.com/square/okhttp/commit/49dfda04ae9df1b915ccea17ca1e70ff48e06e6c (cherry picked from commit 9a853ef51ae582db4c7062d0410222379fb6e411) Bug: 191097565 Test: atest CtsLibcoreOkHttpTestCases: com.squareup.okhttp.internal.framed.Spdy3ConnectionTest --iterations 1000 Merged-In: Ic73d98407c617ea86bf4a6689109d55240043670 Change-Id: Ic73d98407c617ea86bf4a6689109d55240043670
2021-07-15Making the OkHttp internal framed tests more stableSorin Basca
The Spdy3ConnectionTest experienced some flakyness and inspecting it things could be improved. First of all the MockSpdyPeer.play() function was returning before the peer task executes, allowing room for race conditions. This has been fixed with the use of a CountDownLatch, so play() now waits for the task to start handling HTTP requests. Another potential problem is that tests would share the instance of MockSpdyPeer and rely on tearDown to clear any data, or resources. Tests have been updated to have their own instance of the class which gets auto-closed on test end. A last issue found is one where a listener would first provide an HTTP response before marking that the callback was received. This could cause a race condition as the main thread may start handling the response and checking if the callback was indeed received. It got fixed by first marking the callback and then providing the response. (cherry picked from commit 4291869755a4daebb5ec558e1b51f8d6080bb956) Bug: 191097565 Test: atest CtsLibcoreOkHttpTestCases --iterations 300 Test: atest CtsLibcoreOkHttpTestCases:com.squareup.okhttp.internal.framed.Spdy3ConnectionTest --iterations 300 Test: atest CtsLibcoreOkHttpTestCases:com.squareup.okhttp.internal.framed.Http2ConnectionTest --iterations 300 Merged-In: I88954f470d67299ff3c865a951e1ad91c7c8d1dd Change-Id: I88954f470d67299ff3c865a951e1ad91c7c8d1dd
2021-06-30Snap for 7505545 from f691f9a5d80d46fd137b8ad8953b6c60c54944e3 to sc-v2-releaseAndroid Build Coastguard Worker
Change-Id: I522ffbd7bbd1a446fde2e1f7dd1b58f170688e28
2021-06-29Remove unused @CorePlatformApi and mark APIs in okhttp as @SystemApi am: ↵Victor Chang
381a66cc39 Original change: https://googleplex-android-review.googlesource.com/c/platform/external/okhttp/+/15080381 Change-Id: Iaaabc524db49938862382c3e2f7d8dd67f3c5598
2021-06-28Remove unused @CorePlatformApi and mark APIs in okhttp as @SystemApiVictor Chang
Bug: 157639992 Bug: 154796679 Test: m update-api Merged-In: I9d570f00044ee0d0abbf1d867397f122afb22bdd Change-Id: I9d570f00044ee0d0abbf1d867397f122afb22bdd (cherry picked from commit 04fa37675e6192b75e8c404915205d9af24ddee8)
2021-06-25Snap for 7489879 from fb2ba4368124f84243acc225b879b82652179a87 to sc-v2-releaseAndroid Build Coastguard Worker
Change-Id: I28a9ac294ec9d739ae5d952e9be21c95b5650077
2021-06-24Document and @hide okhttp APIs am: 4be57c04a8Victor Chang
Original change: https://googleplex-android-review.googlesource.com/c/platform/external/okhttp/+/15080380 Change-Id: I6c1d3385b11bf722016af6d8b2b477666e88138e
2021-06-23Document and @hide okhttp APIsVictor Chang
Bug: 154796679 Test: m droid Merged-In: I051ec677d0d70de61b6d58a4f37ec1e341250452 Change-Id: I051ec677d0d70de61b6d58a4f37ec1e341250452
2021-05-15Snap for 7362794 from 77f46ce4e96d9aad4ee166f2463d190d9516f668 to sc-v2-releaseandroid-build-team Robot
Change-Id: Idbaf30b7314da4f849681754eef8bb853f17984b
2021-04-22Snap for 7302914 from f96f3d20e1321558d0cbe35dc8a9ab95d40cf20b to sc-v2-releaseandroid-build-team Robot
Change-Id: I17b2744653d0c8a30223b65e716c2f8b8a13c113
2021-04-21[automerger skipped] Merge "[DO NOT MERGE] Update ConnectionSpecTest for ↵Anton Hansson
cipher suite removal" into pie-cts-dev am: d99a2fdd77 -s ours am: 6dcbbe57a2 -s ours am: 7255b1b7b4 -s ours am: 1f68b1e09a -s ours am: 1693fef6e3 -s ours am: 3c85fdbfcc -s ours am: d1fc3d5856 -s ours am: f96f3d20e1 -s ours am skip reason: skip tag Change-Id I648b64dc77860bb758e09b6938d8f47a12c3a453 with SHA-1 81c69c6827 is already in history Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1669936 Change-Id: Ib6ceffb24f8418d2a2cca42c657c98f1ff8da691
2021-04-21[automerger skipped] Merge "[DO NOT MERGE] Update ConnectionSpecTest for ↵Anton Hansson
cipher suite removal" into pie-cts-dev am: d99a2fdd77 -s ours am: 6dcbbe57a2 -s ours am: 7255b1b7b4 -s ours am: 1f68b1e09a -s ours am: 1693fef6e3 -s ours am: 08359cbbea -s ours am: 512a40c4d0 -s ours am skip reason: skip tag Change-Id I648b64dc77860bb758e09b6938d8f47a12c3a453 with SHA-1 68a1cc1e1f is already in history Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1669936 Change-Id: Ie44c8798c195a1a09effd0c0bc0c76790265f46a
2021-04-21[automerger skipped] Merge "[DO NOT MERGE] Update ConnectionSpecTest for ↵Anton Hansson
cipher suite removal" into pie-cts-dev am: d99a2fdd77 -s ours am: 6dcbbe57a2 -s ours am: 7255b1b7b4 -s ours am: 1f68b1e09a -s ours am: 1693fef6e3 -s ours am: 3c85fdbfcc -s ours am: d1fc3d5856 -s ours am skip reason: subject contains skip directive Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1669936 Change-Id: I17810905f1fe5d6b3293c60a24acf9e91edb11b6
2021-04-21[automerger skipped] Merge "[DO NOT MERGE] Update ConnectionSpecTest for ↵Anton Hansson
cipher suite removal" into pie-cts-dev am: d99a2fdd77 -s ours am: 6dcbbe57a2 -s ours am: 7255b1b7b4 -s ours am: 1f68b1e09a -s ours am: 1693fef6e3 -s ours am: 08359cbbea -s ours am skip reason: subject contains skip directive Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1669936 Change-Id: I458634b0fdff00186c2a668c9ef93fa14243f71a
2021-04-21[automerger skipped] Merge "[DO NOT MERGE] Update ConnectionSpecTest for ↵Anton Hansson
cipher suite removal" into pie-cts-dev am: d99a2fdd77 -s ours am: 6dcbbe57a2 -s ours am: 7255b1b7b4 -s ours am: 1f68b1e09a -s ours am: 1693fef6e3 -s ours am: 3c85fdbfcc -s ours am skip reason: skip tag Change-Id I648b64dc77860bb758e09b6938d8f47a12c3a453 with SHA-1 68a1cc1e1f is already in history Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1669936 Change-Id: I15efe7ebfa0cec8eee1e0b08e2c54407a99d6c79
2021-04-21[automerger skipped] Merge "[DO NOT MERGE] Update ConnectionSpecTest for ↵Anton Hansson
cipher suite removal" into pie-cts-dev am: d99a2fdd77 -s ours am: 6dcbbe57a2 -s ours am: 7255b1b7b4 -s ours am: 1f68b1e09a -s ours am: 1693fef6e3 -s ours am skip reason: skip tag Change-Id I648b64dc77860bb758e09b6938d8f47a12c3a453 with SHA-1 68a1cc1e1f is already in history Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1669936 Change-Id: I455bf0d15c9c30cfe876fedb4e9a4d00ed7e2568
2021-04-21[automerger skipped] Merge "[DO NOT MERGE] Update ConnectionSpecTest for ↵Anton Hansson
cipher suite removal" into pie-cts-dev am: d99a2fdd77 -s ours am: 6dcbbe57a2 -s ours am: 7255b1b7b4 -s ours am: 1f68b1e09a -s ours am: 1693fef6e3 -s ours am skip reason: skip tag Change-Id I648b64dc77860bb758e09b6938d8f47a12c3a453 with SHA-1 68a1cc1e1f is already in history Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1669936 Change-Id: Id66ba8bff1c4c4c962cd4b8ead43e68833ad7a74
2021-04-21[automerger skipped] Merge "[DO NOT MERGE] Update ConnectionSpecTest for ↵Anton Hansson
cipher suite removal" into pie-cts-dev am: d99a2fdd77 -s ours am: 6dcbbe57a2 -s ours am: 7255b1b7b4 -s ours am: 1f68b1e09a -s ours am skip reason: subject contains skip directive Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1669936 Change-Id: Ia3f123fe66567a10c5f67e4ed6ca6880ecbe28d8
2021-04-21[automerger skipped] Merge "[DO NOT MERGE] Update ConnectionSpecTest for ↵Anton Hansson
cipher suite removal" into pie-cts-dev am: d99a2fdd77 -s ours am: 6dcbbe57a2 -s ours am: 7255b1b7b4 -s ours am skip reason: skip tag Change-Id I648b64dc77860bb758e09b6938d8f47a12c3a453 with SHA-1 68a1cc1e1f is already in history Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1669936 Change-Id: I42e68afb1d1f11532b7f3b1b596287d4a9a46ea2
2021-04-21[automerger skipped] Merge "[DO NOT MERGE] Update ConnectionSpecTest for ↵Anton Hansson
cipher suite removal" into pie-cts-dev am: d99a2fdd77 -s ours am: 6dcbbe57a2 -s ours am skip reason: subject contains skip directive Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1669936 Change-Id: Idd9de685bbc01b0713fd79c121f2c4d9e5d86792
2021-04-21[automerger skipped] Merge "[DO NOT MERGE] Update ConnectionSpecTest for ↵Anton Hansson
cipher suite removal" into pie-cts-dev am: d99a2fdd77 -s ours am skip reason: subject contains skip directive Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1669936 Change-Id: I96c123b7e400d8b1e840a0d3867dd291557b3bb4
2021-04-21Merge "[DO NOT MERGE] Update ConnectionSpecTest for cipher suite removal" ↵pie-cts-devAnton Hansson
into pie-cts-dev
2021-04-21Snap for 7298338 from 4d77777b9a8434e9369bc2e4d9974160112b2262 to sc-v2-releaseandroid-build-team Robot
Change-Id: I3f8432e5c1cd59c01451817bfa9e3ed70e6cfccc
2021-04-20[DO NOT MERGE] Update ConnectionSpecTest for cipher suite removalAdam Vartanian
Cherry-pick note: Vendor is back-porting a later BoringSSL to Android 9 (in collaboration with Android Security and Privacy team) for certification purposes and so the cipher suite used in this test is removed as described below. Backporting this change will allow such devices to pass this test without affecting existing Android 9 devices. NB this change explicitly *does not* cherry-pick the StandardNames change in the same topic as that would then cause tests to fail on Android 9 devices with the original BoringSSL. We will address those failures separately. Original Change Description: BoringSSL has removed support for some old cipher suites, swap uses of them in tests for the related GCM cipher suites, which are still supported. Bug: 178993246 Test: cts -m CtsLibcoreTestCases Test: cts -m CtsLibcoreOkHttpTestCases Change-Id: I648b64dc77860bb758e09b6938d8f47a12c3a453 Merged-In: I648b64dc77860bb758e09b6938d8f47a12c3a453 (cherry picked from commit 68a1cc1e1f3a54fb47a0a5f99ceb35d6bfc480d3)
2021-04-20Merge "Add okhttp-for-host" am: 8d7d225cc1 am: 28e13e972a am: c8c7bb4417 am: ↵Paul Duffin
4d77777b9a Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1679614 Change-Id: I7905bae2506b39f95b8c851d5c3c7ce1033e7331
2021-04-20Merge "Add okhttp-for-host" am: 8d7d225cc1 am: 28e13e972a am: c8c7bb4417Paul Duffin
Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1679614 Change-Id: Icdbe53bbd54f3fe3cef7de07e3d7e51f50f2e3c9
2021-04-20Merge "Add okhttp-for-host" am: 8d7d225cc1 am: 28e13e972aPaul Duffin
Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1679614 Change-Id: I7bc7b9714f9568f915255effec8fd54c2d222ebc
2021-04-20Merge "Add okhttp-for-host" am: 8d7d225cc1Paul Duffin
Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1679614 Change-Id: I8475825b448ed3b4e3a634c42dc5964de22373bc
2021-04-20Merge "Add okhttp-for-host"android-s-beta-2android-s-beta-1Paul Duffin
2021-04-19Add okhttp-for-hostPaul Duffin
For use by robolectric. Bug: 185789034 Test: m robolectric_android-all-device-deps layoutlib Change-Id: I93d8f68578157ed2fa345e993c5cf3a978e0ef02
2021-03-18Snap for 7216111 from 17fa1abc9d6882187502de0396e75bfa8231d0ec to sc-v2-releaseandroid-build-team Robot
Change-Id: Ib4428f5d4a2b30e339dc91b77253d2f23c5ae1ad
2021-03-17Merge "Make okhttp implementation source files available for libcore" am: ↵Paul Hu
d6206694e3 am: 6a44d6ede6 am: 80ddd786c0 Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1622890 Change-Id: Ia6dba13ab6a578a6565749e68da23598b49d8899
2021-03-16Merge "Make okhttp implementation source files available for libcore" am: ↵temp_ab_7272582Paul Hu
d6206694e3 am: 6a44d6ede6 Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1622890 Change-Id: I4cb6e324b259368ecf05b6600244a12fb64486ec
2021-03-16Merge "Make okhttp implementation source files available for libcore" am: ↵Paul Hu
d6206694e3 Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1622890 Change-Id: Ifa0db7610a1a2eabf324997b4f8afb4a69a04787
2021-03-16Merge "Make okhttp implementation source files available for libcore"Paul Hu
2021-03-09Make okhttp implementation source files available for libcorePaul Duffin
Bug: 182238821 Test: m update-api Change-Id: Ib5c8490eb756edc8ce3ef21e7104bd1c2349b0c9
2021-03-05Snap for 7185571 from 1410da3b035e664dc5f49d0e2557e12c7f5f599e to sc-v2-releaseandroid-build-team Robot
Change-Id: I7d6febc73411af3af696146102b54cf1f4dd889a
2021-03-04Merge "Add min_sdk_version for ART module." am: 502b3afc7b am: c254c8546a ↵Nicolas Geoffray
am: 4d49a34cec Original change: https://android-review.googlesource.com/c/platform/external/okhttp/+/1614809 MUST ONLY BE SUBMITTED BY AUTOMERGER Change-Id: I21f7c93d01a795344a0e485d242abf75e989768d