Test: Adding test cases for PreferredSubscriptionService

Bug: 372488488

atest com.android.nfc:
"summary": {"PASSED": 952, "FAILED": 0, "IGNORED": 12}}}}, "total_summary": {"PASSED": 952, "FAILED": 0, "IGNORED": 12}}

Test Result:
{"args": "com.android.nfc.cardemulation.PreferredSubscriptionServiceTest --serial=localhost:44237", "test_runner": {"AtestTradefedTestRunner": {"arm64-v8a NfcNciUnitTests": {"PASSED": [{"test_name": "com.android.nfc.cardemulation.PreferredSubscriptionServiceTest#testGetPreferredSubscriptionId", "test_time": "(1.660s)", "details": null}, {"test_name": "com.android.nfc.cardemulation.PreferredSubscriptionServiceTest#testSetPreferredSubscriptionId", "test_time": "(76ms)", "details": null}, {"test_name": "com.android.nfc.cardemulation.PreferredSubscriptionServiceTest#testInitialize", "test_time": "(76ms)", "details": null}, {"test_name": "com.android.nfc.cardemulation.PreferredSubscriptionServiceTest#testOnActiveSubscriptionsUpdated", "test_time": "(77ms)", "details": null}], "summary": {"PASSED": 4, "FAILED": 0, "IGNORED": 0}}}}, "total_summary": {"PASSED": 4, "FAILED": 0, "IGNORED": 0}}

Change-Id: I9eb029223b37d12d53cc750c777adaba98e7bb4a
2 files changed