Reschedule rekey in rekey state instead of TempFailureHandler

This commit does not schedule retry in TempFailureHandler anymore
but in the current state. Reason is that some events like rekey
should be scheduled by AlarmManager instead of in the handler.
This commit:
- Adds a method stub #rescheduleRekey in SaRecord
- Schedule rekey retry in rekey state

This CL is a preparation CL before we can switch to
use alarm manager to schedule the initial rekey and rekey retry.

Bug: 149058810
Test: atest FrameworksIkeTests
Change-Id: If4bbf9c889f130308839c4aa57334951a78f60dd
Merged-In: If4bbf9c889f130308839c4aa57334951a78f60dd
6 files changed
tree: 0bdd70ecbccb94e3a8f806800cf6607e93150da8
  1. apex/
  2. api/
  3. src/
  4. tests/
  5. Android.bp
  6. jarjar-rules-shared.txt
  7. OWNERS
  8. PREUPLOAD.cfg
  9. README.md
  10. 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.