/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/ |
D | MobileDataTileTest.java | 73 when(mDataUsageController.isMobileDataEnabled()).thenReturn(false); in getQCItem_mobileDataDisabled_tileUnchecked() 82 when(mDataUsageController.isMobileDataEnabled()).thenReturn(true); in getQCItem_mobileDataEnabled_tileChecked() 91 when(mDataUsageController.isMobileDataEnabled()).thenReturn(true); in getQCItem_noNetworkName_setsDefaultSubtitle() 101 when(mDataUsageController.isMobileDataEnabled()).thenReturn(true); in getQCItem_hasNetworkName_setsSubtitle() 110 when(mDataUsageController.isMobileDataEnabled()).thenReturn(false); in getQCItem_dataDisabled_setsSubtitle() 120 when(mDataUsageController.isMobileDataEnabled()).thenReturn(true); in getQCItem_hasBaseUmRestriction_tileDisabled() 131 when(mDataUsageController.isMobileDataEnabled()).thenReturn(true); in getQCItem_hasUmRestriction_tileClickableWhileDisabled() 142 when(mDataUsageController.isMobileDataEnabled()).thenReturn(false); in onNotifyChange_togglesMobileData()
|
D | MobileDataRowTest.java | 73 when(mDataUsageController.isMobileDataEnabled()).thenReturn(false); in getQCItem_mobileDataDisabled_switchUnchecked() 82 when(mDataUsageController.isMobileDataEnabled()).thenReturn(true); in getQCItem_mobileDataEnabled_switchChecked() 91 when(mDataUsageController.isMobileDataEnabled()).thenReturn(true); in getQCItem_noNetworkName_nullSubtitle() 100 when(mDataUsageController.isMobileDataEnabled()).thenReturn(true); in getQCItem_hasNetworkName_setsSubtitle() 109 when(mDataUsageController.isMobileDataEnabled()).thenReturn(false); in getQCItem_dataDisabled_setsSubtitle() 119 when(mDataUsageController.isMobileDataEnabled()).thenReturn(true); in getQCItem_hasBaseUmRestriction_switchDisabled() 131 when(mDataUsageController.isMobileDataEnabled()).thenReturn(true); in getQCItem_hasUmRestriction_switchClickableWhileDisabled() 143 when(mDataUsageController.isMobileDataEnabled()).thenReturn(false); in onNotifyChange_togglesMobileData()
|
/packages/apps/Settings/src/com/android/settings/spa/network/ |
D | MobileDataSwitchingPreference.kt | 32 isMobileDataEnabled: () -> Boolean?, in <lambda>() 41 override val checked = { isMobileDataEnabled() } in <lambda>()
|
D | NetworkCellularGroupProvider.kt | 224 isMobileDataEnabled = { mobileDataStateChanged }, in MobileDataSectionImpl()
|
/packages/apps/Messaging/src/android/support/v7/mms/ |
D | MmsNetworkManager.java | 139 if (!isMobileDataEnabled()) { in acquireNetwork() 230 (state == NetworkInfo.State.DISCONNECTED && !isMobileDataEnabled())) { in onMmsConnectivityChange() 371 private boolean isMobileDataEnabled() { in isMobileDataEnabled() method in MmsNetworkManager
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | MobileDataSliceTest.java | 170 final boolean isMobileDataEnabled = mMobileDataSlice.isMobileDataEnabled(); in isMobileDataEnabled_mobileDataEnabled() 172 assertThat(isMobileDataEnabled).isEqualTo(seed); in isMobileDataEnabled_mobileDataEnabled()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | MobileDataSlice.java | 103 null /* actionTitle */, isMobileDataEnabled()); in getSlice() 127 isMobileDataEnabled()); in onNotifyChange() 206 boolean isMobileDataEnabled() { in isMobileDataEnabled() method in MobileDataSlice
|
D | MobileDataPreferenceController.java | 150 : mMobileNetworkInfoEntity.isMobileDataEnabled; in isChecked()
|
D | MobileNetworkUtils.java | 346 public static boolean isMobileDataEnabled(Context context) { in isMobileDataEnabled() method in MobileNetworkUtils
|
/packages/apps/Car/Settings/src/com/android/car/settings/qc/ |
D | MobileDataTile.java | 58 boolean dataEnabled = mDataUsageController.isMobileDataEnabled(); in getQCItem() 95 !mDataUsageController.isMobileDataEnabled()); in onNotifyChange()
|
D | MobileDataRow.java | 71 boolean dataEnabled = mDataUsageController.isMobileDataEnabled(); in getQCItem() 117 !mDataUsageController.isMobileDataEnabled()); in onNotifyChange()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | ProviderModelSliceHelper.java | 95 public boolean isMobileDataEnabled() { in isMobileDataEnabled() method in ProviderModelSliceHelper 192 "mobile_toggle" /* actionTitle */, isMobileDataEnabled()); in createCarrierRow() 259 if (!isMobileDataEnabled()) { in getMobileSummary()
|
D | ProviderModelSlice.java | 210 mHelper.isMobileDataEnabled()); in onNotifyChange() 232 isToggleAction ? newState : MobileNetworkUtils.isMobileDataEnabled(mContext); in onNotifyChange()
|
D | SubscriptionsPreferenceController.java | 513 if (!MobileNetworkUtils.isMobileDataEnabled(mContext)) { in connectCarrierNetwork()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | PhoneUtils.java | 220 public abstract boolean isMobileDataEnabled(); in isMobileDataEnabled() method in PhoneUtils 391 public boolean isMobileDataEnabled() { in isMobileDataEnabled() method in PhoneUtils.PhoneUtilsPreLMR1 613 public boolean isMobileDataEnabled() { in isMobileDataEnabled() method in PhoneUtils.PhoneUtilsLMR1
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | BugleActionToasts.java | 66 } else if (!isSms && !phoneUtils.isMobileDataEnabled()) { in onSendMessageOrManualDownloadActionCompleted()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | WifiCarrierInfoManager.java | 2154 && isMobileDataEnabled(subId); in isCarrierNetworkOffloadEnabled() 2161 private boolean isMobileDataEnabled(int subId) { in isMobileDataEnabled() method in WifiCarrierInfoManager
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 2030 return !phoneUtils.isAirplaneModeOn() && phoneUtils.isMobileDataEnabled(); in isMmsDataAvailable()
|