Searched refs:mSmsManager (Results 1 – 5 of 5) sorted by relevance
31 private final SmsManager mSmsManager; field in AppStateSmsPremBridge36 mSmsManager = SmsManager.getDefault(); in AppStateSmsPremBridge()61 return mSmsManager.getPremiumSmsConsent(pkg); in getSmsState()65 mSmsManager.setPremiumSmsConsent(pkg, state); in setSmsState()
44 private SmsManager mSmsManager; field in AppStatePremiumSmsBridgeTest50 mBridge = new AppStatePremiumSmsBridge(mSmsManager); in setUp()58 when(mSmsManager.getPremiumSmsConsent(package1)).thenReturn(value1); in loadExtraInfo()63 when(mSmsManager.getPremiumSmsConsent(package2)).thenReturn(value2); in loadExtraInfo()
70 private SmsManager mSmsManager; field in PremiumSmsAccessPreferenceControllerTest82 ShadowSmsManager.setDefault(mSmsManager); in setUp()154 verify(mSmsManager).setPremiumSmsConsent(packageName, updatedValue); in onPreferenceChange_setsPremiumSmsPermission()
31 private final SmsManager mSmsManager; field in AppStatePremiumSmsBridge34 mSmsManager = smsManager; in AppStatePremiumSmsBridge()45 return mSmsManager.getPremiumSmsConsent(packageName); in getSmsState()
64 private final SmsManager mSmsManager; field in PremiumSmsAccessPreferenceController74 mSmsManager.setPremiumSmsConsent(entry.info.packageName, smsState);98 mSmsManager = SmsManager.getDefault(); in PremiumSmsAccessPreferenceController()109 mAppEntryListManager.init(new AppStatePremiumSmsBridge(mSmsManager), in onCreateInternal()