Searched refs:isNetworkMetered (Results 1 – 1 of 1) sorted by relevance
794 assertTrue(isNetworkMetered(mNetwork)); in testVpnMeterednessWithNoUnderlyingNetwork()819 assertEquals(isNetworkMetered(underlyingNetwork), isNetworkMetered(mNetwork)); in testVpnMeterednessWithNullUnderlyingNetwork()821 assertEquals(isNetworkMetered(mNetwork), mCM.isActiveNetworkMetered()); in testVpnMeterednessWithNullUnderlyingNetwork()846 assertEquals(isNetworkMetered(underlyingNetwork), isNetworkMetered(mNetwork)); in testVpnMeterednessWithNonNullUnderlyingNetwork()848 assertEquals(isNetworkMetered(mNetwork), mCM.isActiveNetworkMetered()); in testVpnMeterednessWithNonNullUnderlyingNetwork()871 assertTrue(isNetworkMetered(mNetwork)); in testAlwaysMeteredVpnWithNullUnderlyingNetwork()896 assertTrue(isNetworkMetered(mNetwork)); in testAlwaysMeteredVpnWithNonNullUnderlyingNetwork()900 private boolean isNetworkMetered(Network network) { in isNetworkMetered() method in VpnTest