Add unit test for RESULT_ERROR_SHORT_CODE_NEVER_ALLOWED

- add getAppPacakageName method in SmsTracker and
  refactor its usage for testability

Also fix checkCallingOrSelfPermission method in ContextFixture
for this unit test and also for supporting more telephony unit
tests in the future.

Test: runtest --path frameworks/opt/telephony/tests/telephonytests/
Bug: 34773406
Bug: 65205717
Change-Id: I6dae277ced9a87b89fbb6eac22856fc73b9fdbba
Merged-In: I6dae277ced9a87b89fbb6eac22856fc73b9fdbba
4 files changed