[automerger skipped] Merge Android 12 am: b6f4ef44de -s ours am: b2e0ea74ff -s ours

am skip reason: Merged-In I118a1dfd5c52cfe1dbc3b1099f29b4146aff1803 with SHA-1 bfaeeaf16c is already in history

Original change: https://android-review.googlesource.com/c/platform/frameworks/libs/service_entitlement/+/1847361

Change-Id: I811320adc8cb2704434ba3c97f86c0612c47457f
tree: 52f4cc8588931e1590e9b60f2f04e30035b9db37
  1. java/
  2. tests/
  3. Android.bp
  5. PREUPLOAD.cfg
  6. README.md

Service Entitlement

Service entitlement library exports the APIs for querying the service status, based on GSMA TS.43 spec.

How to debug

Log TAG to filter:

  • ServiceEntitlement

Enable logging the PII data:

Grand the permission:

adb root

Enable by system property:

adb shell setprop dbg.se.pii_loggable true

NOTE Debug option only available on devices which is built as userdebug.