Add checkOp overload APIs that accept attributionTag

Add new checkOp overloads that accept attributionTag as a parameter to bring functionality parity with noteOp.
Since the checkOp APIs now have the same security check as noteOp/startOp, we can deprecate unsafe version of checkOps.

Flag: android.permission.flags.check_op_overload_api_enabled
Bug: 240617242
Test: CTS atest AppOpsTest
Change-Id: Iac486dafcb18464068df9e38243d34112a2b87e0
5 files changed