/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | MobileDataPreferenceControllerTest.java | 99 doReturn(true).when(mTelephonyManager).isDataEnabled(); in isDialogNeeded_disableSingleSim_returnFalse() 108 doReturn(false).when(mTelephonyManager).isDataEnabled(); in isDialogNeeded_enableNonDefaultSimInMultiSimMode_returnTrue() 130 doReturn(true).when(mTelephonyManager).isDataEnabled(); in onPreferenceChange_singleSim_On_shouldEnableData() 141 doReturn(true).when(mTelephonyManager).isDataEnabled(); in onPreferenceChange_multiSim_On_shouldEnableData() 155 doReturn(true).when(mTelephonyManager).isDataEnabled(); in isChecked_returnUserDataEnabled()
|
D | NrDisabledInDsdsFooterPreferenceControllerTest.java | 71 when(mTelephonyManager.isDataEnabled()).thenReturn(true); in isAvailable_dataOnAndDsdsAnd5GSupported_Available() 81 when(mTelephonyManager.isDataEnabled()).thenReturn(true); in isAvailable_5gNotSupported_notAvailable() 91 when(mTelephonyManager.isDataEnabled()).thenReturn(false); in isAvailable_mobileDataOff_notAvailable() 101 when(mTelephonyManager.isDataEnabled()).thenReturn(true); in isAvailable_singleSimMode_notAvailable()
|
D | MmsMessagePreferenceControllerTest.java | 85 when(mTelephonyManager.isDataEnabled()).thenReturn(true); in getAvailabilityStatus_mobileDataOn_returnUnavailable() 100 when(mTelephonyManager.isDataEnabled()).thenReturn(false); in getAvailabilityStatus_mobileDataOffWithValidSubId_returnAvailable()
|
D | VideoCallingPreferenceControllerTest.java | 85 doReturn(true).when(mTelephonyManager).isDataEnabled(); in setUp() 104 doReturn(false).when(mTelephonyManager).isDataEnabled(); in isVideoCallEnabled_dataDisabled_returnFalse()
|
D | MobileDataSliceTest.java | 166 doReturn(seed).when(mTelephonyManager).isDataEnabled(); in isMobileDataEnabled_mobileDataEnabled()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/network/ |
D | MobileDataTogglePreferenceControllerTest.java | 173 assertThat(mTelephonyManager.isDataEnabled()).isFalse(); in handlePreferenceChanged_setFalse_isMultiSim_disablesData() 193 assertThat(mTelephonyManager.isDataEnabled()).isTrue(); in handlePreferenceChanged_setTrue_isSingleSim_enablesData() 215 assertThat(mTelephonyManager.isDataEnabled()).isTrue(); in handlePreferenceChanged_setTrue_isMultiSim_noOtherSimActive_enablesData() 263 assertThat(mTelephonyManager.isDataEnabled()).isFalse(); in disableSingleSimDialog_onConfirm_disablesData() 308 assertThat(mTelephonyManager.isDataEnabled()).isTrue(); in enableMutliSimDialog_onConfirm_enablesData()
|
/packages/apps/Settings/src/com/android/settings/datausage/ |
D | DataUsageBaseFragment.java | 75 && isDataEnabled(subId); in isNetworkPolicyModifiable() 78 private boolean isDataEnabled(int subId) { in isDataEnabled() method in DataUsageBaseFragment
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/ |
D | DataUsageBaseFragment.java | 75 && isDataEnabled(subId); in isNetworkPolicyModifiable() 78 private boolean isDataEnabled(int subId) { in isDataEnabled() method in DataUsageBaseFragment
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | SubscriptionsPreferenceController.java | 215 final boolean showCutOut = !isDefaultForData || !mgr.isDataEnabled(); in setIcon() 266 final boolean dataEnabled = telMgrForSub.isDataEnabled(); in getSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/ |
D | SubscriptionsPreferenceControllerTest.java | 305 when(mTelephonyManager.isDataEnabled()).thenReturn(true); in getSummary_twoSubsOneDefaultForEverythingDataActive() 508 when(mgrForSub.isDataEnabled()).thenReturn(mobileDataEnabled); in setupMockSubscriptions() 543 when(mgrForSub.isDataEnabled()).thenReturn(enabled); in setMockSubDataEnabled()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | NrDisabledInDsdsFooterPreferenceController.java | 91 if (teleManager.isDataEnabled() && activeSubCount >= 2 && is5GSupportedByRadio(teleManager) in getAvailabilityStatus()
|
D | MmsMessagePreferenceController.java | 56 && !telephonyManager.isDataEnabled() in getAvailabilityStatus()
|
D | MobileDataPreferenceController.java | 118 return mTelephonyManager.isDataEnabled(); in isChecked()
|
D | VideoCallingPreferenceController.java | 143 || telephonyManager.isDataEnabled()); in isVideoCallEnabled()
|
D | MobileDataSlice.java | 196 return mTelephonyManager.isDataEnabled(); in isMobileDataEnabled()
|
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/ |
D | ShadowTelephonyManager.java | 76 protected boolean isDataEnabled() { in isDataEnabled() method in ShadowTelephonyManager
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/ |
D | CellularDataConditionController.java | 67 return !mTelephonyManager.isDataEnabled(); in isDisplayable()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | CellularDataConditionController.java | 67 return !mTelephonyManager.isDataEnabled(); in isDisplayable()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | MobileDataPreferenceController.java | 118 return mTelephonyManager.isDataEnabled(); in isChecked()
|
D | VideoCallingPreferenceController.java | 145 || telephonyManager.isDataEnabled()); in isVideoCallEnabled()
|
D | MobileDataSlice.java | 211 return mTelephonyManager.isDataEnabled(); in isMobileDataEnabled()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | SubscriptionsPreferenceController.java | 193 } else if (!telMgrForSub.isDataEnabled()) { in getSummary()
|
/packages/apps/Car/Settings/src/com/android/car/settings/network/ |
D | MobileDataTogglePreferenceController.java | 128 mTelephonyManager != null ? mTelephonyManager.isDataEnabled() : false); in updateState()
|
/packages/services/Telephony/src/com/android/phone/ |
D | CallFeaturesSetting.java | 446 || mPhone.getDataEnabledSettings().isDataEnabled())) { in updateVtWfc()
|
D | PhoneInterfaceManager.java | 5763 public boolean isDataEnabled(int subId) { in isDataEnabled() method in PhoneInterfaceManager 5772 boolean retVal = phone.getDataEnabledSettings().isDataEnabled(); in isDataEnabled() 8225 return !isMetered || phone.getDataEnabledSettings().isDataEnabled(apnType); in isDataEnabledForApn()
|