Added native and jni code to generate an image hash

Added the JNI wrapper and native code to allow Java to request a hash
from an image using a specified hash algorithm

The actual hashing implementation is just boiler plate code right now
and doesn't actually use any real hashing algorithm. The details will be
added later

Test: libextservices_test
Bug: 155825630
Change-Id: I9ed1ed6f534cc45802b98d9f0a549225ac0c45b2
12 files changed
tree: 75f923685544950ce4ea4186071fa91bb6df5e8b
  1. apex/
  2. java/
  3. jni/
  4. native/
  5. .clang-format
  6. Android.bp
  7. AndroidManifest.xml
  8. NOTICE
  9. OWNERS
  10. PREUPLOAD.cfg
  11. proguard.proguard
  12. README.md
  13. TEST_MAPPING
README.md

ExtServices module

Introduction

ExtServices is an updatable Mainline module that contains the logic used by Android framework components such as storage cache, autofill, textclassifier, package watchdog, notifications and notification ranking that run continually. For the new features or bug fixes of these platform defined services above or a new added platform service, it will provide more flexibility and benefits by updating ExtServices in a more frequent cycle than a platform release cycle.

Development (internal)

Before you start to develop on ExtServices, please read go/smart-os-extservices to get the guideline.

Other resources