Searched refs:mSmsManager (Results 1 – 6 of 6) 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()
34 private final ISms mSmsManager; field in AppStateSmsPremBridge39 mSmsManager = ISms.Stub.asInterface(ServiceManager.getService("isms")); in AppStateSmsPremBridge()65 return mSmsManager.getPremiumSmsPermission(pkg); in getSmsState()73 mSmsManager.setPremiumSmsPermission(pkg, state); in setSmsState()
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()
31 private final SmsManager mSmsManager; field in AppStatePremiumSmsBridge34 mSmsManager = smsManager; in AppStatePremiumSmsBridge()45 return mSmsManager.getPremiumSmsConsent(packageName); in getSmsState()