Searched refs:isMobileDataEnabled (Results 1 – 7 of 7) sorted by relevance
152 private TelephonyManager setupAndGetTelephonyManager(boolean isMobileDataEnabled) { in setupAndGetTelephonyManager() argument157 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()
102 int transportType, boolean isMobileDataEnabled) { in verifyBuildNetworkCapabilitiesCommon() argument126 isMobileDataEnabled); in verifyBuildNetworkCapabilitiesCommon()134 assertEquals(isMobileDataEnabled, vcnCaps.hasCapability(cap)); in verifyBuildNetworkCapabilitiesCommon()
587 public boolean isMobileDataEnabled() { in isMobileDataEnabled() method in Vcn592 public void setMobileDataEnabled(boolean isMobileDataEnabled) { in setMobileDataEnabled() argument593 mIsMobileDataEnabled = isMobileDataEnabled; in setMobileDataEnabled()673 boolean isMobileDataEnabled) { in newVcnGatewayConnection() argument680 isMobileDataEnabled); in newVcnGatewayConnection()
645 boolean isMobileDataEnabled) { in VcnGatewayConnection() argument652 isMobileDataEnabled, in VcnGatewayConnection()663 boolean isMobileDataEnabled, in VcnGatewayConnection() argument671 mIsMobileDataEnabled = isMobileDataEnabled; in VcnGatewayConnection()1975 boolean isMobileDataEnabled) { in buildNetworkCapabilities() argument1986 if (!isMobileDataEnabled in buildNetworkCapabilities()
125 if (mDataController.isMobileDataEnabled()) { in handleClick()186 && mDataController.isMobileDataEnabled(); in handleUpdateState()325 ? mDataController.isMobileDataEnabled() in getToggleState()
481 && mDataController.isMobileDataEnabled(); in handleUpdateCellularState()
241 public boolean isMobileDataEnabled() { in isMobileDataEnabled() method in DataUsageController