Add tests to improve the code coverage

Code coverage for each java file: https://docs.google.com/spreadsheets/d/1JLl7cGpCtbeC4miYWP3RjYapRKAg-xUBOo4B3EZkXO4/edit?resourcekey=0-ErUUgGfICLRntN_aSfcJtg#gid=2123452950
(Excludes auto-generated code: auto_value and Builder)

Bug: 191426388
Test: Unit tests
Change-Id: I2ea73ef0724110124ce3a15f2d9d4707bf912964
6 files changed
tree: ed314d729c59c3947f22a7b27d52da9270e5f2c2
  1. java/
  2. tests/
  3. Android.bp
  4. coverage.sh
  5. OWNERS
  6. PREUPLOAD.cfg
  7. README.md
  8. TEST_MAPPING
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.