Add Performance-Optimization Methods to UiccAccessRule

Add a few methods that can be used for performance optimization.

-A method that allows comparison directly on bytes.
-A method that compares just the hash code of the SHA digests
 rather than comparing the entire byte string.

Bug: 162182054
Test: atest CarrierPrivilegesTrackerTest; #note: refactor-only
Flag: EXEMPT refactor
Change-Id: If7eb006788882384bc50d821aa61a55d8ee01052
1 file changed