Searched refs:isActiveNetworkMetered (Results 1 – 12 of 12) sorted by relevance
19 import static com.android.cts.netpolicy.hostside.NetworkPolicyTestUtils.isActiveNetworkMetered;53 return isActiveNetworkMetered(true) || canChangeActiveNetworkMeteredness(); in isSupported()59 return isActiveNetworkMetered(false) || canChangeActiveNetworkMeteredness(); in ~METERED_NETWORK.getValue()
174 public static boolean isActiveNetworkMetered(boolean metered) { in isActiveNetworkMetered() method in NetworkPolicyTestUtils175 return getConnectivityManager().isActiveNetworkMetered() == metered; in isActiveNetworkMetered()193 if (isActiveNetworkMetered(metered)) { in setupActiveNetworkMeteredness()
29 public static boolean isActiveNetworkMetered(final ConnectivityManager manager) { in isActiveNetworkMetered() method in ConnectivityManagerCompatUtils
21 return connectivityManager.isActiveNetworkMetered(); in isNetworkMetered()
166 if (mConnectivityManager.isActiveNetworkMetered()) { in findImages()441 if (mConnectivityManager.isActiveNetworkMetered() || in getStream()
1524 assertTrue(mCM.isActiveNetworkMetered()); in testVpnMeterednessWithNoUnderlyingNetwork()1559 assertEquals(isNetworkMetered(mNetwork), mCM.isActiveNetworkMetered()); in testVpnMeterednessWithNullUnderlyingNetwork()1586 assertEquals(isNetworkMetered(mNetwork), mCM.isActiveNetworkMetered()); in testVpnMeterednessWithNonNullUnderlyingNetwork()1622 assertTrue(mCM.isActiveNetworkMetered()); in testAlwaysMeteredVpnWithNullUnderlyingNetwork()1647 assertTrue(mCM.isActiveNetworkMetered()); in testAlwaysMeteredVpnWithNonNullUnderlyingNetwork()
94 boolean isActiveNetworkMetered(); in isActiveNetworkMetered() method
3790 public boolean isActiveNetworkMetered() { in isActiveNetworkMetered() method in ConnectivityManager3792 return mService.isActiveNetworkMetered(); in isActiveNetworkMetered()
9580 assertTrue(mCm.isActiveNetworkMetered());9586 assertFalse(mCm.isActiveNetworkMetered());9592 assertTrue(mCm.isActiveNetworkMetered());9598 assertTrue(mCm.isActiveNetworkMetered());9604 assertTrue(mCm.isActiveNetworkMetered());9609 assertTrue(mCm.isActiveNetworkMetered());9619 assertTrue(mCm.isActiveNetworkMetered());9630 assertFalse(mCm.isActiveNetworkMetered());9636 assertFalse(mCm.isActiveNetworkMetered());9643 assertTrue(mCm.isActiveNetworkMetered());[all …]
205 Landroid/net/IConnectivityManager$Stub$Proxy;->isActiveNetworkMetered()Z347 Landroid/net/IConnectivityManager;->isActiveNetworkMetered()Z
87 …rmission(android.Manifest.permission.ACCESS_NETWORK_STATE) public boolean isActiveNetworkMetered();
3207 public boolean isActiveNetworkMetered() {