Service entitlement library exports the APIs for querying the service status, based on GSMA TS.43 spec.
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.