Home
last modified time | relevance | path

Searched refs:isMobileDataEnabled (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/tests/vcn/java/com/android/server/vcn/
DVcnTest.java152 private TelephonyManager setupAndGetTelephonyManager(boolean isMobileDataEnabled) { in setupAndGetTelephonyManager() argument
157 doReturn(isMobileDataEnabled).when(telephonyManager).isDataEnabled(); in setupAndGetTelephonyManager()
213 assertTrue(mVcn.isMobileDataEnabled()); in testMobileDataStateCheckedOnInitialization_enabled()
231 assertFalse(vcn.isMobileDataEnabled()); in testMobileDataStateCheckedOnInitialization_disabled()
251 assertTrue(mVcn.isMobileDataEnabled()); in testSubscriptionSnapshotUpdatesMobileDataState()
263 assertFalse(mVcn.isMobileDataEnabled()); in testSubscriptionSnapshotUpdatesMobileDataState()
439 assertEquals(endingToggleState, mVcn.isMobileDataEnabled()); in verifyMobileDataToggled()
DVcnGatewayConnectionTest.java102 int transportType, boolean isMobileDataEnabled) { in verifyBuildNetworkCapabilitiesCommon() argument
126 isMobileDataEnabled); in verifyBuildNetworkCapabilitiesCommon()
134 assertEquals(isMobileDataEnabled, vcnCaps.hasCapability(cap)); in verifyBuildNetworkCapabilitiesCommon()
/frameworks/base/services/core/java/com/android/server/vcn/
DVcn.java587 public boolean isMobileDataEnabled() { in isMobileDataEnabled() method in Vcn
592 public void setMobileDataEnabled(boolean isMobileDataEnabled) { in setMobileDataEnabled() argument
593 mIsMobileDataEnabled = isMobileDataEnabled; in setMobileDataEnabled()
673 boolean isMobileDataEnabled) { in newVcnGatewayConnection() argument
680 isMobileDataEnabled); in newVcnGatewayConnection()
DVcnGatewayConnection.java645 boolean isMobileDataEnabled) { in VcnGatewayConnection() argument
652 isMobileDataEnabled, in VcnGatewayConnection()
663 boolean isMobileDataEnabled, in VcnGatewayConnection() argument
671 mIsMobileDataEnabled = isMobileDataEnabled; in VcnGatewayConnection()
1975 boolean isMobileDataEnabled) { in buildNetworkCapabilities() argument
1986 if (!isMobileDataEnabled in buildNetworkCapabilities()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DCellularTile.java125 if (mDataController.isMobileDataEnabled()) { in handleClick()
186 && mDataController.isMobileDataEnabled(); in handleUpdateState()
325 ? mDataController.isMobileDataEnabled() in getToggleState()
DInternetTile.java481 && mDataController.isMobileDataEnabled(); in handleUpdateCellularState()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java241 public boolean isMobileDataEnabled() { in isMobileDataEnabled() method in DataUsageController