Home
last modified time | relevance | path

Searched refs:mSmsManager (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Settings/src/com/android/settings/applications/
DAppStateSmsPremBridge.java31 private final SmsManager mSmsManager; field in AppStateSmsPremBridge
36 mSmsManager = SmsManager.getDefault(); in AppStateSmsPremBridge()
61 return mSmsManager.getPremiumSmsConsent(pkg); in getSmsState()
65 mSmsManager.setPremiumSmsConsent(pkg, state); in setSmsState()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DAppStatePremiumSmsBridgeTest.java44 private SmsManager mSmsManager; field in AppStatePremiumSmsBridgeTest
50 mBridge = new AppStatePremiumSmsBridge(mSmsManager); in setUp()
58 when(mSmsManager.getPremiumSmsConsent(package1)).thenReturn(value1); in loadExtraInfo()
63 when(mSmsManager.getPremiumSmsConsent(package2)).thenReturn(value2); in loadExtraInfo()
DPremiumSmsAccessPreferenceControllerTest.java70 private SmsManager mSmsManager; field in PremiumSmsAccessPreferenceControllerTest
82 ShadowSmsManager.setDefault(mSmsManager); in setUp()
154 verify(mSmsManager).setPremiumSmsConsent(packageName, updatedValue); in onPreferenceChange_setsPremiumSmsPermission()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DAppStatePremiumSmsBridge.java31 private final SmsManager mSmsManager; field in AppStatePremiumSmsBridge
34 mSmsManager = smsManager; in AppStatePremiumSmsBridge()
45 return mSmsManager.getPremiumSmsConsent(packageName); in getSmsState()
DPremiumSmsAccessPreferenceController.java64 private final SmsManager mSmsManager; field in PremiumSmsAccessPreferenceController
74 mSmsManager.setPremiumSmsConsent(entry.info.packageName, smsState);
98 mSmsManager = SmsManager.getDefault(); in PremiumSmsAccessPreferenceController()
109 mAppEntryListManager.init(new AppStatePremiumSmsBridge(mSmsManager), in onCreateInternal()