Add unit test for RESULT_ERROR_SHORT_CODE_NEVER_ALLOWED
- add getAppPacakageName method in SmsTracker and refactor its usage for testability - add isDuringSuW method and refactor its usage for SmsUsageMonitor for testablity 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
Loading
Please register or sign in to comment