Home
last modified time | relevance | path

Searched refs:isUidRestrictedOnMeteredNetworks (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Connectivity/tests/cts/hostside-network-policy/app/src/com/android/cts/netpolicy/hostside/
DNetworkPolicyTestUtils.java463 PollingCheck.waitFor(() -> (expectedResult == isUidRestrictedOnMeteredNetworks(uid)),
477 public static boolean isUidRestrictedOnMeteredNetworks(int uid) {
481 return getNetworkPolicyManager().isUidRestrictedOnMeteredNetworks(uid);
/packages/modules/Connectivity/service/src/com/android/server/
DBpfNetMaps.java912 public boolean isUidRestrictedOnMeteredNetworks(final int uid) { in isUidRestrictedOnMeteredNetworks() method in BpfNetMaps
DConnectivityService.java8224 if (mBpfNetMaps.isUidRestrictedOnMeteredNetworks(uid)) {
8232 if (mPolicyManager.isUidRestrictedOnMeteredNetworks(uid)) {
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DBpfNetMapsTest.java1290 assertEquals(expectedRestricted, mBpfNetMaps.isUidRestrictedOnMeteredNetworks(TEST_UID)); in doTestIsUidRestrictedOnMeteredNetworks()