Fix CTS which is broken by S finalization

This commit uses @IgnoreAfter(R) to replace
@SdkSuppress(maxSdkVersion = -1, codeName = "REL") for
tests that need to be skippeed on S/S+ devices.

There are few CTS tests that should be skipped if the current sdk
is larger than R. However, after sc-dev branch has changed S sdk
version to 31 and changed code name to "REL", those tests are not
skipped as expected.

To fix that, this commit uses @IgnoreAfter(R) that will work no
matter S is finalized (e.g. sc-dev) or not (e.g. aosp).

Bug: 191122988
Test: atest CtsIkeTestCases
Test: verified sc-dev test on http://ab/I54700009453517383
Original-Change: https://android-review.googlesource.com/1738054
Merged-In: I7495cd0b709446227791456f9486dca35e75cdfb
Change-Id: I7495cd0b709446227791456f9486dca35e75cdfb
2 files changed
tree: b98f775b3a39ffc52b37ef08ca4a81d78054dfdc
  1. apex/
  2. api/
  3. src/
  4. tests/
  5. Android.bp
  6. jarjar-rules-shared.txt
  7. jarjar-rules-test.txt
  8. lint-baseline.xml
  9. OWNERS
  10. PREUPLOAD.cfg
  11. README.md
  12. TEST_MAPPING
README.md

IKEv2 Library for Android

Introduction

This IKEv2 library is an in-process client library implementing the IKEv2 protocol as well as extensions necessary for the support of IWLAN. It is designed to work in a non-privileged fashion on top of the Android IPsec API surface.