Searched refs:setDataEnabled (Results 1 – 16 of 16) sorted by relevance
77 mTelephonyManager.setDataEnabled(false); in setUp()142 mTelephonyManager.setDataEnabled(true); in refreshUi_dataEnabled_setChecked()150 mTelephonyManager.setDataEnabled(false); in refreshUi_dataDisabled_setUnchecked()169 mTelephonyManager.setDataEnabled(true); in handlePreferenceChanged_setFalse_isMultiSim_disablesData()179 mTelephonyManager.setDataEnabled(true); in handlePreferenceChanged_setFalse_isMultiSim_setsUnchecked()189 mTelephonyManager.setDataEnabled(false); in handlePreferenceChanged_setTrue_isSingleSim_enablesData()199 mTelephonyManager.setDataEnabled(false); in handlePreferenceChanged_setTrue_isSingleSim_setsChecked()209 mTelephonyManager.setDataEnabled(false); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_enablesData()221 mTelephonyManager.setDataEnabled(false); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_setsChecked()234 mTelephonyManager.setDataEnabled(false); in handlePreferenceChanged_setTrue_isMultiSim_otherSimActive_opensDialog()[all …]
126 verify(mTelephonyManager).setDataEnabled(true); in setMobileDataEnabled_setEnabled_enabled()127 verify(mTelephonyManager2, never()).setDataEnabled(anyBoolean()); in setMobileDataEnabled_setEnabled_enabled()134 verify(mTelephonyManager2).setDataEnabled(true); in setMobileDataEnabled_setDisabled_disabled()135 verify(mTelephonyManager, never()).setDataEnabled(anyBoolean()); in setMobileDataEnabled_setDisabled_disabled()142 verify(mTelephonyManager).setDataEnabled(true); in setMobileDataEnabled_disableOtherSubscriptions()143 verify(mTelephonyManager2).setDataEnabled(false); in setMobileDataEnabled_disableOtherSubscriptions()
117 verify(mTelephonyManager).setDataEnabled(true); in handleUriChange_turnedOn_updatesMobileData()129 verify(mTelephonyManager).setDataEnabled(false); in handleUriChange_turnedOff_updatesMobileData()141 verify(mTelephonyManager, times(0)).setDataEnabled(true); in handleUriChange_turnedOff_airplaneModeOn_mobileDataDoesNotUpdate()
136 verify(mTelephonyManager).setDataEnabled(true); in onPreferenceChange_singleSim_On_shouldEnableData()147 verify(mTelephonyManager).setDataEnabled(true); in onPreferenceChange_multiSim_On_shouldEnableData()
67 telephonyManager.setDataEnabled(enabled); in setMobileDataEnabled()77 subInfo.getSubscriptionId()).setDataEnabled(false); in setMobileDataEnabled()
159 getContext().getSystemService(TelephonyManager.class).setDataEnabled(mSubId, enabled); in setMobileDataEnabled()217 getContext().getSystemService(TelephonyManager.class).setDataEnabled(subId, false); in disableDataForOtherSubscriptions()
180 mTelephonyManager.setDataEnabled(mSubId, enabled); in setMobileDataEnabled()240 mTelephonyManager.setDataEnabled(subInfo.getSubscriptionId(), false); in disableDataForOtherSubscriptions()
226 telephonyManager.setDataEnabled(enabled); in setMobileDataEnabled()236 subInfo.getSubscriptionId()).setDataEnabled(false); in setMobileDataEnabled()
71 protected void setDataEnabled(boolean enable) { in setDataEnabled() method in ShadowTelephonyManager
78 mTelephonyManager.setDataEnabled(true); in onActionClick()
92 mTelephonyManager.setDataEnabled(true); in onActionClick()
153 telephonyManager.setDataEnabled(true); in setDefaultDataSubId()
297 telephonyManager.setDataEnabled(enabled); in setMobileDataEnabled()307 subInfo.getSubscriptionId()).setDataEnabled(false); in setMobileDataEnabled()
124 telephonyManager.setDataEnabled(true); in setDefaultDataSubId()
1239 mTelephonyManager.setDataEnabled(false);1242 mTelephonyManager.setDataEnabled(true);
1388 mTelephonyManager.setDataEnabled(false);1391 mTelephonyManager.setDataEnabled(true);