Home
last modified time | relevance | path

Searched defs:metered (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Connectivity/tests/cts/hostside/app/src/com/android/cts/net/hostside/
DNetworkPolicyTestUtils.java164 public static boolean isActiveNetworkMetered(boolean metered) { in isActiveNetworkMetered()
182 public static ThrowingRunnable setupActiveNetworkMeteredness(boolean metered) throws Exception { in setupActiveNetworkMeteredness()
220 private static void setWifiMeteredStatus(String ssid, boolean metered) throws Exception { in setWifiMeteredStatus()
DMeterednessConfigurationRule.java49 public void configureNetworkMeteredness(boolean metered) throws Exception { in configureNetworkMeteredness()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpServingParams.java85 public final boolean metered; field in DhcpServingParams
113 long dhcpLeaseTimeSecs, int linkMtu, boolean metered, Inet4Address singleClientAddr, in DhcpServingParams()
327 public Builder setMetered(boolean metered) { in setMetered()
DDhcpPacket.java1513 Inet4Address dhcpServerIdentifier, String domainName, String hostname, boolean metered, in buildOfferPacket()
1544 Inet4Address dhcpServerIdentifier, String domainName, String hostname, boolean metered, in buildOfferPacket()
1558 Inet4Address dhcpServerIdentifier, String domainName, String hostname, boolean metered, in buildAckPacket()
1589 Inet4Address dhcpServerIdentifier, String domainName, String hostname, boolean metered, in buildAckPacket()
/packages/modules/Connectivity/Tethering/src/android/net/dhcp/
DDhcpServingParamsParcelExt.java160 public DhcpServingParamsParcelExt setMetered(boolean metered) { in setMetered()
/packages/modules/Connectivity/tests/unit/java/com/android/server/net/
DNetworkStatsBaseTest.java60 int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, in assertValues()
DNetworkStatsFactoryTest.java560 int tag, int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, in assertStatsEntry()
/packages/modules/Connectivity/tests/unit/java/android/net/
DNetworkStatsTest.java1041 int tag, int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, in assertContains()
1050 int tag, int metered, int roaming, int defaultNetwork, long rxBytes, long rxPackets, in assertValues()
1058 NetworkStats.Entry entry, String iface, int uid, int set, int tag, int metered, in assertValues()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DConnectivityManagerTest.java1089 private void setWifiMeteredStatus(String ssid, String metered) throws Exception { in setWifiMeteredStatus()
1092 assertEquals(getWifiMeteredStatus(ssid), metered); in setWifiMeteredStatus() local
/packages/modules/Connectivity/service/src/com/android/server/
DConnectivityService.java8593 private static int getBlockedState(int reasons, boolean metered, boolean vpnBlocked) { in getBlockedState()